1 2014-06-24 Wilco <wdijkstr@arm.com>
3 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
4 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
5 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
6 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
7 Call libc_fetestexcept_vfp.
8 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
9 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
10 __SOFTFP__ ifdef so that they can be built for softfp.
12 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
15 argument type signed char.
17 * Makerules (check-abi): Dump diff of symlist if the test
20 2014-06-23 Roland McGrath <roland@hack.frob.com>
22 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
25 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
26 Remove unused variable ST.
28 2014-06-23 Joseph Myers <joseph@codesourcery.com>
32 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
33 small arguments before calling __expm1.
34 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
35 small arguments before calling __expm1f.
36 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
37 small arguments before calling __expm1l.
38 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
40 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
41 * math/auto-libm-test-in: Add more cosh tests. Do not allow
42 spurious underflow for some cosh tests.
43 * math/auto-libm-test-out: Regenerated.
44 * sysdeps/i386/fpu/libm-test-ulps: Update.
47 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
48 (__ieee754_y1): Set errno if return value overflows.
49 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
50 (__ieee754_y1f): Set errno if return value overflows.
51 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
52 (__ieee754_y1l): Set errno if return value overflows.
53 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
54 (__ieee754_y1l): Set errno if return value overflows.
55 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
56 * math/auto-libm-test-out: Regenerated.
58 * math/gen-auto-libm-tests.c: Document use of
60 (input_flag_type): Add value flag_ignore_zero_inf_sign.
61 (input_flags): Add ignore-zero-inf-sign.
62 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
63 * math/gen-libm-test.pl (generate_testfile): Handle
65 * math/auto-libm-test-in: Mark some cpow tests with
66 ignore-zero-inf-sign and some with xfail-rounding.
67 * math/auto-libm-test-out: Regenerated.
68 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
69 * sysdeps/i386/fpu/libm-test-ulps: Update.
70 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
74 overflowing or underflowing operations take place with sign of
76 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
77 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
78 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
79 (__ieee754_pow): Recompute overflowing and underflowing results in
80 original rounding mode.
81 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
82 (__powl_helper): Allow negative argument X and scale negated value
83 as needed. Avoid passing value outside [-1, 1] to f2xm1.
84 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
85 overflowing or underflowing operations take place with sign of
87 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
89 * math/auto-libm-test-in: Add more tests of pow.
90 * math/auto-libm-test-out: Regenerated.
91 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
92 (pow_tonearest_test_data): Remove.
93 (pow_test_tonearest): Likewise.
94 (pow_towardzero_test_data): Likewise.
95 (pow_test_towardzero): Likewise.
96 (pow_downward_test_data): Likewise.
97 (pow_test_downward): Likewise.
98 (pow_upward_test_data): Likewise.
99 (pow_test_upward): Likewise.
100 (main): Don't call removed functions.
101 * sysdeps/i386/fpu/libm-test-ulps: Update.
102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
104 2014-06-23 Roland McGrath <roland@hack.frob.com>
106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
280 2014-06-23 Will Newton <will.newton@linaro.org>
281 Wilco <wdijkstr@arm.com>
283 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
284 implementation. Include get-rounding-mode.h.
285 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
286 [!libc_feholdsetround_noex_ctx]: Define
287 libc_feholdsetround_noex_ctx.
288 [!libc_feholdsetround_noexf_ctx]: Define
289 libc_feholdsetround_noexf_ctx.
290 [!libc_feholdsetround_noexl_ctx]: Define
291 libc_feholdsetround_noexl_ctx.
292 (libc_feholdsetround_ctx): New function.
293 (libc_feresetround_ctx): New function.
294 (libc_feholdsetround_noex_ctx): New function.
295 (libc_feresetround_noex_ctx): New function.
297 2014-06-23 Roland McGrath <roland@hack.frob.com>
299 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
300 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
301 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
302 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
303 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
304 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
306 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
307 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
308 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
309 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
310 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
311 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
312 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
313 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
314 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
315 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
316 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
318 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
320 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
321 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
322 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
323 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
324 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
326 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
327 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
328 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
329 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
330 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
331 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
332 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
333 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
335 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
336 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
338 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
339 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
340 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
341 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
343 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
344 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
345 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
346 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
347 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
348 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
349 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
350 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
351 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
352 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
354 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
356 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
357 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
358 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
359 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
360 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
361 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
362 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
363 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
364 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
365 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
366 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
367 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
368 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
370 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
371 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
372 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
373 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
374 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
375 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
377 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
378 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
379 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
380 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
381 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
383 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
384 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
385 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
386 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
387 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
388 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
389 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
390 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
391 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
392 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
393 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
394 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
395 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
396 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
397 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
398 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
399 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
400 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
401 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
402 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
403 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
404 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
405 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
406 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
407 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
408 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
409 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
410 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
412 2014-06-23 Joseph Myers <joseph@codesourcery.com>
414 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
415 (FALLOC_FL_COLLAPSE_RANGE): New macro.
416 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
417 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
418 (IPV6_PMTUDISC_INTERFACE): Likewise.
419 (IPV6_PMTUDISC_OMIT): Likewise.
421 2014-06-23 Andreas Schwab <schwab@suse.de>
423 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
424 Remove unused errout label.
426 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
428 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
429 macro: hardware supports Vector Crypto instructions.
431 2014-06-23 Will Newton <will.newton@linaro.org>
433 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
434 rather than __builtin_expect.
436 * elf/dl-lookup.c (undefined_msg): Remove variable.
437 (_dl_lookup_symbol_x): Replace undefined_msg with string
440 * elf/dl-lookup.c (do_lookup_unique): New function.
441 (do_lookup_x): Move STB_GNU_UNIQUE handling code
442 to a separate function.
444 2014-06-23 Andreas Schwab <schwab@suse.de>
447 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
448 before reading the next line.
450 2014-06-23 Will Newton <will.newton@linaro.org>
452 * test-skeleton.c (signal_handler): Use printf and %m
453 rather than perror. Use printf rather than fprintf to
454 stderr. Use puts rather than fputs to stderr.
457 2014-06-22 Ludovic Courtès <ludo@gnu.org>
459 * nscd/nscd.c (thread_info_t): Remove typedef.
460 (thread_info): Remove variable.
462 2014-06-21 Allan McRae <allan@archlinux.org>
464 * NEWS: Mention CVE-2014-4043.
466 2014-06-20 Roland McGrath <roland@hack.frob.com>
468 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
469 * nptl/smp.h: ... here.
471 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
473 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
474 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
475 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
476 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
478 * nptl/allocatestack.c: Include <stack-aliasing.h>.
479 * nptl/stack-aliasing.h: New file.
480 * sysdeps/i386/i686/stack-aliasing.h: New file.
481 * sysdeps/i386/i686/nptl/Makefile: File removed.
482 * sysdeps/x86_64/stack-aliasing.h: New file.
483 * sysdeps/x86_64/nptl/Makefile
484 (CFLAGS-pthread_create.c): Variable removed.
486 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
487 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
489 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
490 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
493 2014-06-21 Joseph Myers <joseph@codesourcery.com>
495 * sysdeps/unix/sysv/linux/arm/kernel-features.h
496 (__ASSUME_SIGFRAME_V2): Remove macro.
497 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
498 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
499 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
500 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
501 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
502 Declare as function. Remove conditional macro definitions.
503 (__default_rt_sa_restorer): Likewise.
504 (__default_sa_restorer_v1): Remove declaration.
505 (__default_sa_restorer_v2): Likewise.
506 (__default_rt_sa_restorer_v1): Likewise.
507 (__default_rt_sa_restorer_v2): Likewise.
508 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
509 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
510 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
512 2014-06-20 Roland McGrath <roland@hack.frob.com>
514 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
515 (libpthread-routines): Add sysdep.
516 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
517 * sysdeps/unix/sysv/linux/sparc/Versions
518 (libpthread: GLIBC_2.3.3): New version set.
519 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
520 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
521 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
522 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
523 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
524 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
526 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
527 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
528 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
529 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
530 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
531 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
532 * sysdeps/sparc/nptl/sem_init.c: ... here.
533 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
534 * sysdeps/sparc/nptl/sem_post.c: ... here.
535 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
536 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
537 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
538 * sysdeps/sparc/nptl/sem_wait.c: ... here.
539 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
540 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
541 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
542 (libpthread-routines): Add cpu_relax.
543 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
545 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
546 (librt: GLIBC_2.3.3): New version set.
547 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
548 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
549 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
550 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
551 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
552 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
553 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
554 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
556 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
557 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
558 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
559 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
560 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
561 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
562 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
563 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
564 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
565 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
567 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
569 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
571 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
573 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
575 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
577 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
579 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
581 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
583 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
585 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
587 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
589 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
590 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
591 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
592 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
593 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
594 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
595 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
596 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
597 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
598 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
599 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
601 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
602 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
603 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
604 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
605 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
607 2014-06-20 Joseph Myers <joseph@codesourcery.com>
609 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
610 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
611 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
612 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
613 * nscd/nscd.c: Likewise.
614 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
615 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
616 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
617 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
619 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
621 (init_mq_netlink): Remove conditional have_sock_cloexec
622 definitions. Remove code conditional on have_sock_cloexec < 0.
623 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
624 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
625 * sysdeps/unix/sysv/linux/opensock.c: Do not include
627 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
628 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
630 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
632 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
633 Add tests for memset_chk and memset.
635 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
638 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
641 * elf/tst-dl-iter-static.c: New file.
642 * elf/Makefile (tests-static): Add tst-dl-iter-static.
644 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
647 2014-06-20 Joseph Myers <joseph@codesourcery.com>
649 * sysdeps/unix/sysv/linux/kernel-features.h
650 (__ASSUME_F_GETOWN_EX): Remove macro.
651 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
653 (miss_F_GETOWN_EX): Remove variable or macro.
654 (do_fcntl): Do not check miss_F_GETOWN_EX.
655 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
657 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
659 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
660 [!__ASSUME_AT_RANDOM]: Remove conditional code.
661 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
663 * sysdeps/unix/sysv/linux/kernel-features.h
664 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
665 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
666 [ADJ_OFFSET_SS_READ]: Make code unconditional.
667 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
669 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
672 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
673 Fix calculation of the symbol's value.
674 * sysdeps/arm/tst-armtlsdescloc.c: New file.
675 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
676 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
677 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
678 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
679 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
680 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
681 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
682 (modules-names): Add `tst-armtlsdescmod',
683 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
684 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
685 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
686 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
687 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
688 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
689 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
690 ($(objpfx)tst-armtlsdescloc): New dependency.
691 ($(objpfx)tst-armtlsdescextnow): Likewise.
692 ($(objpfx)tst-armtlsdescextlazy): Likewise.
693 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
695 * sysdeps/arm/configure: Regenerate.
697 2014-06-20 Joseph Myers <joseph@codesourcery.com>
699 * include/fcntl.h (__atfct_seterrno): Remove prototype.
700 (__atfct_seterrno_2): Likewise.
701 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
703 (__ASSUME_ATFCTS): Do not undefine and redefine.
704 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
705 (__have_atfcts): Remove conditional definition.
706 (__fxstatat([__NR_fstatat64]: Make code unconditional.
707 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
708 unreachable if [__ASSUME_ATFCTS].
709 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
710 not undefine and redefine.
711 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
713 (faccessat) [__NR_faccessat]: Make code unconditional.
714 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
715 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
717 (fchmodat) [__NR_fchmodat]: Make code unconditional.
718 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
719 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
721 (fchownat) [__NR_fchownat]: Make code unconditional.
722 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
723 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
725 (futimesat) [__NR_futimesat]: Make code unconditional.
726 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
727 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
729 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
730 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
731 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
733 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
734 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
735 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
736 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
738 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
739 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
740 * sysdeps/unix/sysv/linux/linkat.c: Do not include
742 (linkat) [__NR_linkat]: Make code unconditional.
743 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
744 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
745 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
747 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
748 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
749 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
751 (mkdirat) [__NR_mkdirat]: Make code unconditional.
752 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
753 * sysdeps/unix/sysv/linux/openat.c: Do not include
755 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
756 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
757 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
758 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
759 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
760 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
762 (readlinkat) [__NR_readlinkat]: Make code unconditional.
763 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
764 result of INLINE_SYSCALL directly, not via int variable.
765 * sysdeps/unix/sysv/linux/renameat.c: Do not include
767 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
768 (renameat) [__NR_renameat]: Make code unconditional.
769 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
770 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
771 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
772 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
773 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
774 (__ASSUME_ATFCTS): Do not undefine and redefine.
775 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
777 (symlinkat) [__NR_symlinkat]: Make code unconditional.
778 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
779 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
781 (unlinkat) [__NR_unlinkat]: Make code unconditional.
782 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
783 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
784 (__ASSUME_ATFCTS): Do not undefine and redefine.
785 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
787 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
788 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
789 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
791 (__xmknodat) [__NR_mknodat]: Make code unconditional.
792 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
794 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
796 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
798 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
801 * posix/regcomp.c (parse_reg_exp): Deallocate partially
802 constructed tree before returning error.
803 * posix/bug-regexp36.c: Expand test case.
805 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
808 * math/libm-test.inc (scalbln_test_date):
809 Add errno expectations.
810 * math/w_scalblnf.c: New File.
811 Add wrapper which checks for setting errno to ERANGE.
812 Add weak_alias for corresponding scalbln function.
813 * math/w_scalbln.c: Likewise.
814 * math/w_scalblnl.c: Likewise.
815 * math/Makefile (libm-calls): Add w_scalbln.
816 * sysdeps/ieee754/flt-32/s_scalblnf.c:
817 Remove weak_alias for corresponding scalbln function.
818 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
819 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
820 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
821 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
822 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
823 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
824 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
825 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
826 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
827 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
828 Remove long_double_symbol for scalblnl function in libm, libc.
829 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
830 Add wrapper which checks for setting errno to ERANGE.
831 Add long_double_symbol for scalblnl function in libm, libc.
832 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
833 Remove long_double_symbol for scalblnl in libm.
834 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
835 Add wrapper which checks for setting errno to ERANGE.
836 Add long_double_symbol for scalblnl function in libm.
837 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
838 Do not use wrapper because of own implementation.
840 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
842 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
843 3 bytes for __pad1 for x32.
844 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
846 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
847 H.J. Lu <hongjiu.lu@intel.com>
849 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
850 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
851 * sysdeps/x86_64/multiarch/memset.S: Likewise.
852 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
853 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
855 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
858 * posix/regcomp.c (parse_expression): Deallocate partially
859 constructed tree before returning error.
860 * posix/Makefile.c (tests): Add bug-regex36.
861 (generated): Add bug-regex36.mtrace.
862 (tests-special): Add $(objpfx)bug-regex36-mem.out
863 (bug-regex36-ENV): New variable.
864 ($(objpfx)bug-regex36-mem.out): New rule.
865 * posix/bug-regex36.c: New file.
867 2014-06-19 Will Newton <will.newton@linaro.org>
869 * malloc/malloc.c (systrim): If extra is zero then return
872 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
874 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
876 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
878 * sysdeps/aarch64/strchr.S: New file.
880 2014-06-18 Joseph Myers <joseph@codesourcery.com>
883 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
884 from arguments -2 or below.
885 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
886 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
888 2014-06-18 Andreas Schwab <schwab@suse.de>
891 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
892 of a bracket expr not to run off the end of the string.
893 * posix/Makefile (tests): Add tst-fnmatch3.
894 * posix/tst-fnmatch3.c: New file.
896 2014-06-18 Joseph Myers <joseph@codesourcery.com>
898 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
899 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
900 [$(cross-compiling) = no]: Likewise.
901 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
902 [$(cross-compiling) = no]: Likewise.
904 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
907 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
908 double, adjusted for any remainder from the high double.
909 * math/libm-test.inc (nearbyint): Add tests.
912 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
914 * nptl/sysdeps/powerpc/Makefile: Moved ...
915 * sysdeps/powerpc/nptl/Makefile: ... here.
916 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
917 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
918 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
919 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
920 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
921 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
922 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
923 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
924 * nptl/sysdeps/powerpc/tls.h: Moved ...
925 * sysdeps/powerpc/nptl/tls.h: ... here.
927 2014-06-16 Joseph Myers <joseph@codesourcery.com>
930 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
931 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
932 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
933 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
934 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
935 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
936 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
937 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
938 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
940 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
942 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
944 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
946 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
949 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
952 2014-06-16 Florian Weimer <fweimer@redhat.com>
955 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
956 non-executed part of the test.
958 2014-06-16 Andreas Schwab <schwab@suse.de>
960 * string/bits/string2.h (strdup, strndup): Update feature guard.
962 2014-06-14 David S. Miller <davem@davemloft.net>
964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
966 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
968 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
969 that was previously under [RESET_PID].
970 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
972 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
973 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
974 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
975 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
976 (__libc_vfork): New strong alias.
977 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
979 2014-06-14 Andi Kleen <ak@linux.intel.com>
981 * sysdeps/generic/elide.h: New file.
983 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
985 * Makefile (installed-headers): Adjust path of pthread.h header.
987 2014-06-13 Roland McGrath <roland@hack.frob.com>
989 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
990 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
991 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
992 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
994 * nptl/sysdeps/s390/Makefile: Moved ...
995 * sysdeps/s390/nptl/Makefile: ... here.
996 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
997 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
998 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
999 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1000 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
1001 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
1002 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
1003 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
1004 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
1005 * sysdeps/s390/nptl/pthreaddef.h: ... here.
1006 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
1007 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
1008 * nptl/sysdeps/s390/tls.h: Moved ...
1009 * sysdeps/s390/nptl/tls.h: ... here.
1011 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
1012 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1014 2014-06-13 David S. Miller <davem@davemloft.net>
1016 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1017 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1018 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1019 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1020 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1021 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1022 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1023 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1024 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1025 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1026 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1027 Remove RESET_PID cpp guards.
1028 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1029 Remove RESET_PID cpp guards.
1030 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1032 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
1034 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1037 2014-06-13 Andi Kleen <ak@linux.intel.com>
1039 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1040 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1041 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1042 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1043 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1044 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1045 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1046 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1047 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1048 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1049 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1050 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1051 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1052 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1053 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1054 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1055 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1056 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1057 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1058 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
1060 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
1061 (pthread_rwlock_rdlock): Add elision.
1062 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1063 (pthread_rwlock_wrlock): Add elision.
1064 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1065 (pthread_rwlock_trywrlock): Add elision.
1066 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1067 (pthread_rwlock_tryrdlock): Add elision.
1068 * nptl/pthread_rwlock_unlock.c: Include elide.h.
1069 (pthread_rwlock_tryrdlock): Add elision unlock.
1070 * nptl/sysdeps/pthread/pthread.h:
1071 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1072 (PTHREAD_RWLOCK_INITIALIZER,
1073 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1074 Handle new elision field.
1075 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1076 * sysdeps/arm/nptl/bits/pthreadtypes.h
1077 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1078 * sysdeps/sh/nptl/bits/pthreadtypes.h
1079 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1080 * sysdeps/tile/nptl/bits/pthreadtypes.h
1081 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1082 * sysdeps/a/nptl/bits/pthreadtypes.h
1083 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1084 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1085 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1086 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1087 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1088 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1089 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1090 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1091 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1092 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1093 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1094 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1095 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1096 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1097 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1098 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1099 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1100 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1101 (elision_init): Set try_xbegin to zero when no RTM.
1102 * sysdeps/x86/nptl/bits/pthreadtypes.h
1103 (pthread_rwlock_t): Change __pad1 to __rwelision.
1104 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1106 2014-06-13 Andi Kleen <ak@linux.intel.com>
1108 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1109 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1110 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1111 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1113 2014-06-13 Meador Inge <meadori@codesourcery.com>
1116 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
1117 that the cached result has been set before returning it.
1119 2014-06-12 Roland McGrath <roland@hack.frob.com>
1121 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1122 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1123 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1124 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1125 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1126 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1128 * nptl/sysdeps/sparc/Makefile: Moved ...
1129 * sysdeps/sparc/nptl/Makefile: ... here.
1130 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1131 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1132 * nptl/sysdeps/sparc/tls.h: Moved ...
1133 * sysdeps/sparc/nptl/tls.h: ... here.
1134 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1135 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1136 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1137 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1138 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1139 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
1140 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
1141 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
1142 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
1143 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
1144 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
1145 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
1146 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
1147 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
1148 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
1149 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
1150 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
1151 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
1153 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
1154 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
1156 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
1157 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
1159 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
1160 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
1163 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1165 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
1166 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
1168 * sysdeps/pthread/posix-timer.h: Include <list.h>.
1169 (struct list_links): Type removed.
1170 (struct thread_node, struct timer_node): Replace struct list_links
1171 with struct list_head.
1172 (list_unlink_ip): Likewise.
1173 * sysdeps/pthread/timer_routines.c
1174 (timer_free_list, thread_free_list, thread_active_list): Likewise.
1175 (list_append, list_insbefore): Likewise.
1176 (list_init): Function removed.
1177 (thread_init, init_module): Use INIT_LIST_HEAD instead.
1178 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
1179 * sysdeps/pthread/Makefile: ... here, new file.
1181 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
1182 * sysdeps/nptl/Implies: ... here.
1183 * sysdeps/unix/sysv/linux/Implies: Add nptl.
1184 * nptl/sysdeps/pthread/list.h: Moved ...
1185 * include/list.h: ... here.
1186 * nptl/sysdeps/pthread/createthread.c: Moved ...
1187 * nptl/createthread.c: ... here.
1188 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
1189 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
1190 * nptl/pt-longjmp.c: ... here.
1191 * nptl/sysdeps/pthread/Makefile: Moved ...
1192 * sysdeps/nptl/Makefile: ... here.
1193 * nptl/sysdeps/pthread/Subdirs: Moved ...
1194 * sysdeps/nptl/Subdirs: ... here.
1195 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
1196 * sysdeps/nptl/aio_misc.h: ... here.
1197 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
1198 * sysdeps/nptl/bits/libc-lock.h: ... here.
1199 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
1200 * sysdeps/nptl/bits/libc-lockP.h: ... here.
1201 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
1202 * sysdeps/nptl/bits/stdio-lock.h: ... here.
1203 * nptl/sysdeps/pthread/configure: Moved ...
1204 * sysdeps/nptl/configure: ... here.
1205 * nptl/sysdeps/pthread/configure.ac: Moved ...
1206 * sysdeps/nptl/configure.ac: ... here.
1207 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
1208 * sysdeps/nptl/gai_misc.h: ... here.
1209 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
1210 * sysdeps/nptl/librt-cancellation.c: ... here.
1211 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
1212 * sysdeps/nptl/malloc-machine.h: ... here.
1213 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
1214 * sysdeps/nptl/pthread-functions.h: ... here.
1215 * nptl/sysdeps/pthread/pthread.h: Moved ...
1216 * sysdeps/nptl/pthread.h: ... here.
1217 * nptl/sysdeps/pthread/setxid.h: Moved ...
1218 * sysdeps/nptl/setxid.h: ... here.
1219 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
1220 * sysdeps/nptl/sigfillset.c: ... here.
1221 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
1222 * sysdeps/nptl/tcb-offsets.h: ... here.
1223 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
1224 * sysdeps/nptl/tst-mqueue8x.c: ... here.
1225 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
1226 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
1227 * nptl/sysdeps/pthread/allocalim.h: Moved ...
1228 * sysdeps/pthread/allocalim.h: ... here.
1229 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
1230 * sysdeps/pthread/bits/sigthread.h: ... here.
1231 * nptl/sysdeps/pthread/flockfile.c: Moved ...
1232 * sysdeps/pthread/flockfile.c: ... here.
1233 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
1234 * sysdeps/pthread/ftrylockfile.c: ... here.
1235 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
1236 * sysdeps/pthread/funlockfile.c: ... here.
1237 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
1238 * sysdeps/pthread/posix-timer.h: ... here.
1239 * nptl/sysdeps/pthread/timer_create.c: Moved ...
1240 * sysdeps/pthread/timer_create.c: ... here.
1241 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
1242 * sysdeps/pthread/timer_delete.c: ... here.
1243 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
1244 * sysdeps/pthread/timer_getoverr.c: ... here.
1245 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
1246 * sysdeps/pthread/timer_gettime.c: ... here.
1247 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
1248 * sysdeps/pthread/timer_routines.c: ... here.
1249 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
1250 * sysdeps/pthread/timer_settime.c: ... here.
1251 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
1252 * sysdeps/pthread/tst-timer.c: ... here.
1253 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
1254 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
1256 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
1257 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
1259 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
1260 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
1261 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
1262 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
1263 Update #include target.
1264 * nptl/sysdeps/i386/i686/Makefile: Moved ...
1265 * sysdeps/i386/i686/nptl/Makefile: ... here.
1266 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
1267 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
1268 Update #include target.
1269 * nptl/sysdeps/i386/i686/tls.h: Moved ...
1270 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
1271 * nptl/sysdeps/i386/Makefile: Moved ...
1272 * sysdeps/i386/nptl/Makefile: ... here.
1273 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
1274 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
1275 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
1276 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
1277 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
1278 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
1279 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
1280 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
1281 * sysdeps/i386/nptl/pthreaddef.h: ... here.
1282 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
1283 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
1284 * nptl/sysdeps/i386/tls.h: Moved ...
1285 * sysdeps/i386/nptl/tls.h: ... here.
1287 * sysdeps/sh/Makefile [$(subdir) = csu]
1288 (gen-as-const-headers): Add tcb-offsets.sym.
1289 * nptl/sysdeps/sh/Makefile: File removed.
1290 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
1291 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
1292 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
1293 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
1294 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
1295 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
1296 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
1297 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
1298 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
1299 * sysdeps/sh/nptl/pthreaddef.h: ... here.
1300 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
1301 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
1302 * nptl/sysdeps/sh/tls.h: Moved ...
1303 * sysdeps/sh/nptl/tls.h: ... here.
1304 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
1305 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
1306 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
1307 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
1308 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
1309 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
1310 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
1311 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
1312 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
1313 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
1314 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
1315 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
1316 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
1317 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
1318 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
1319 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
1320 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
1321 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
1322 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
1323 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
1324 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
1325 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
1326 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
1327 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
1328 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
1330 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
1331 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
1333 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
1334 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
1335 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
1336 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
1337 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
1338 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
1339 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
1340 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
1341 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
1342 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
1343 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
1344 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
1345 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
1346 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
1347 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
1348 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
1349 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
1350 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
1351 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
1353 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1355 * posix/spawn_faction_addopen.c: Include string.h.
1357 2014-06-11 Roland McGrath <roland@hack.frob.com>
1359 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
1360 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
1361 * nptl/sysdeps/x86_64/Makefile: Moved ...
1362 * sysdeps/x86_64/nptl/Makefile: ... here.
1363 * nptl/sysdeps/x86_64/configure: Moved ...
1364 * sysdeps/x86_64/nptl/configure: ... here.
1365 * nptl/sysdeps/x86_64/configure.ac: Moved ...
1366 * sysdeps/x86_64/nptl/configure.ac: ... here.
1367 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
1368 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
1369 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
1370 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
1371 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
1372 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
1373 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
1374 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
1375 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
1376 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
1377 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
1378 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
1379 * nptl/sysdeps/x86_64/tls.h: Moved ...
1380 * sysdeps/x86_64/nptl/tls.h: ... here.
1381 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
1382 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
1383 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
1384 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
1386 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
1388 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1392 2014-06-11 Joseph Myers <joseph@codesourcery.com>
1394 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
1396 [POSIX] (off_t): Likewise.
1397 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
1398 [POSIX] (S_ISBLK): Require macro.
1399 [POSIX] (S_ISCHR): Likewise.
1400 [POSIX] (S_ISDIR): Likewise.
1401 [POSIX] (S_ISFIFO): Likewise.
1402 [POSIX] (S_ISREG): Likewise.
1403 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
1405 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
1407 [POSIX] (time_t): Likewise.
1408 [POSIX] (timer_t): Likewise.
1410 2014-06-11 Florian Weimer <fweimer@redhat.com>
1413 * posix/spawn_int.h (struct __spawn_action): Make the path string
1414 non-const to support deallocation.
1415 * posix/spawn_faction_addopen.c
1416 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
1417 * posix/spawn_faction_destroy.c
1418 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
1419 path in all spawn_do_open actions.
1420 * posix/tst-spawn.c (do_test): Exercise the copy operation in
1421 posix_spawn_file_actions_addopen.
1423 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
1425 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
1426 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
1427 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
1428 conditional code always true.
1429 (__libc_vfork): New alias.
1431 2014-06-11 Roland McGrath <roland@hack.frob.com>
1433 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1434 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
1436 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
1438 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1439 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
1441 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1442 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
1444 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1445 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
1447 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1449 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
1450 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
1451 multiarch strcmp for PPC64.
1452 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
1453 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
1454 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
1455 multiarch optimizations.
1456 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1457 (__libc_ifunc_impl_list): Likewise.
1459 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1461 * benchtests/scripts/validate_benchout.py: New script.
1462 * benchtests/Makefile (bench-func): Call it.
1463 * benchtests/scripts/benchout.schema.json: New file.
1465 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
1467 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
1468 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
1469 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1470 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1471 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1472 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1473 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1474 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1475 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1476 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1477 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1478 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1479 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1480 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1481 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1482 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1483 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
1485 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
1487 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
1489 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1490 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
1492 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
1494 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
1496 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
1498 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
1500 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1501 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
1503 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
1505 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
1507 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
1509 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
1511 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1512 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
1514 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
1516 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
1518 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
1520 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
1522 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
1524 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
1526 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1527 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
1529 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
1531 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
1533 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
1535 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
1537 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
1539 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
1541 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1542 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
1544 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
1546 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
1548 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
1550 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
1552 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1553 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
1555 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
1557 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
1559 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
1562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1563 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
1565 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
1567 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
1569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
1571 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
1573 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
1575 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
1577 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1578 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
1580 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
1582 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
1584 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
1586 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1587 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1588 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1589 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1590 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
1592 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
1594 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1595 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1596 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1597 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1598 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1599 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1600 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1601 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1602 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1603 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1604 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1605 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1606 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
1608 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1609 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
1611 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1612 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1613 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1614 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
1616 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1617 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1618 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1619 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1620 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1621 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1622 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
1624 2014-06-10 Wilco <wdijkstr@arm.com>
1626 * math/test-fenv-return.c: New file.
1627 * math/Makefile: Add new test test-fenv-return.
1629 2014-06-10 Joseph Myers <joseph@codesourcery.com>
1632 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1634 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1635 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1636 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1637 0.0L for an argument of 1.0L.
1638 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1640 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1641 value when x - 1 is zero.
1642 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1643 * sysdeps/i386/fpu/libm-test-ulps: Update.
1644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1646 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
1649 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
1651 2014-06-09 Roland McGrath <roland@hack.frob.com>
1653 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
1654 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
1656 2014-06-09 Roland McGrath <roland@hack.frob.com>
1658 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1659 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
1661 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1662 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
1664 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1665 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
1667 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1668 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
1670 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
1671 if not already defined.
1672 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
1673 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
1674 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
1675 (TLS_INIT_TP): Use it.
1676 (TLS_DEFINE_INIT_TP): New macro.
1677 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
1679 2014-06-09 Joseph Myers <joseph@codesourcery.com>
1681 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
1683 [POSIX] (IXANY): Likewise.
1684 [POSIX] (OLCUC): Likewise.
1685 [POSIX || POSIX2008] (CBAUD): Do not allow.
1686 [POSIX || POSIX2008] (DEFECHO): Likewise.
1687 [POSIX || POSIX2008] (ECHOCTL): Likewise.
1688 [POSIX || POSIX2008] (ECHOKE): Likewise.
1689 [POSIX || POSIX2008] (ECHOPRT): Likewise.
1690 [POSIX || POSIX2008] (EXTA): Likewise.
1691 [POSIX || POSIX2008] (EXTB): Likewise.
1692 [POSIX || POSIX2008] (FLUSHO): Likewise.
1693 [POSIX || POSIX2008] (LOBLK): Likewise.
1694 [POSIX || POSIX2008] (PENDIN): Likewise.
1695 [POSIX || POSIX2008] (SWTCH): Likewise.
1696 [POSIX || POSIX2008] (VDISCARD): Likewise.
1697 [POSIX || POSIX2008] (VDSUSP): Likewise.
1698 [POSIX || POSIX2008] (VLNEXT): Likewise.
1699 [POSIX || POSIX2008] (VREPRINT): Likewise.
1700 [POSIX || POSIX2008] (VSTATUS): Likewise.
1701 [POSIX || POSIX2008] (VWERASE): Likewise.
1702 (B*): Change to B[0123456789]*.
1703 * conform/data/time.h-data [POSIX || UNIX98]
1704 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
1705 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1706 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
1707 [POSIX] (tm_*): Do not allow.
1709 2014-06-07 Joseph Myers <joseph@codesourcery.com>
1711 * Makefile (install): Don't set LANGUAGE.
1712 * Makefile.in (install): Likewise.
1713 * assert/Makefile (test-assert-ENV): Remove variable.
1714 (test-assert-perr-ENV): Likewise.
1715 * elf/Makefile (neededtest4-ENV): Likewise.
1716 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1717 [$(cross-compiling) = no]: Don't set LANGUAGE.
1718 * io/ftwtest-sh (LANG): Remove variable.
1719 * libio/Makefile (tst-widetext-ENV): Likewise.
1720 * manual/install.texi (Running make install): Don't refer to
1721 environment settings for make install.
1722 * INSTALL: Regenerated.
1723 * nptl/tst-tls6.sh: Don't set LANG.
1724 * posix/globtest.sh (LANG): Remove variable.
1725 * string/Makefile (tester-ENV): Likewise.
1726 (inl-tester-ENV): Likewise.
1727 (noinl-tester-ENV): Likewise.
1728 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1729 [$(cross-compiling) = no]: Don't set LANGUAGE.
1730 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
1731 without explicit environment settings.
1733 2014-06-06 Roland McGrath <roland@hack.frob.com>
1735 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
1736 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
1737 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
1738 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
1740 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
1742 * crypt/crypt-private.h [DOS]: Add some includes taken from the
1743 other files in the crypt directory.
1744 * crypt/crypt.c: Remove duplicate includes.
1745 * crypt/crypt-entry.c: Likewise.
1746 * crypt/crypt_util.c: Likewise.
1748 2014-06-06 Joseph Myers <joseph@codesourcery.com>
1750 * Makeconfig (run-program-env): New variable.
1751 (run-program-prefix-before-env): Likewise.
1752 (run-program-prefix-after-env): Likewise.
1753 (run-program-prefix): Define in terms of new variables.
1754 (built-program-cmd-before-env): New variable.
1755 (built-program-cmd-after-env): Likewise.
1756 (built-program-cmd): Define in terms of new variables.
1757 (test-program-prefix-before-env): New variable.
1758 (test-program-prefix-after-env): Likewise.
1759 (test-program-prefix): Define in terms of new variables.
1760 (test-program-cmd-before-env): New variable.
1761 (test-program-cmd-after-env): Likewise.
1762 (test-program-cmd): Define in terms of new variables.
1763 * Rules (make-test-out): Use $(run-program-env).
1764 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
1765 (help): Do not mention environment variables. Mention
1766 --timeoutfactor option.
1767 (timeoutfactor): New variable.
1768 (blacklist_exports): Remove function.
1769 (exports): Remove variable.
1770 (command): Do not include ${exports}.
1771 * manual/install.texi (Configuring and compiling): Do not mention
1772 test wrappers preserving environment variables. Mention that last
1773 assignment to a variable must take precedence.
1774 * INSTALL: Regenerated.
1775 * benchtests/Makefile (run-bench): Use $(run-program-env).
1776 * catgets/Makefile ($(objpfx)test1.cat): Use
1777 $(built-program-cmd-before-env), $(run-program-env) and
1778 $(built-program-cmd-after-env).
1779 ($(objpfx)test2.cat): Do not specify environment variables
1781 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
1782 $(run-program-env) and $(built-program-cmd-after-env).
1783 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
1784 $(run-program-env) and $(test-program-cmd-after-env).
1785 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
1787 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
1788 run_program_env and test_program_cmd_after_env arguments.
1789 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
1790 * elf/tst-pathopt.sh: Use run_program_env argument.
1791 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
1792 $(test-wrapper-env) and $(run-program-env).
1793 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
1794 run_program_env arguments.
1795 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
1796 * intl/Makefile ($(objpfx)tst-gettext.out): Use
1797 $(test-program-prefix-before-env), $(run-program-env) and
1798 $(test-program-prefix-after-env).
1799 ($(objpfx)tst-gettext2.out): Likewise.
1800 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
1801 run_program_env and test_program_prefix_after_env arguments.
1802 * intl/tst-gettext2.sh: Likewise.
1803 * intl/tst-gettext4.sh: Do not set environment variables
1805 * intl/tst-gettext6.sh: Likewise.
1806 * intl/tst-translit.sh: Likewise.
1807 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
1808 $(test-program-prefix-before-env), $(run-program-env) and
1809 $(test-program-prefix-after-env).
1810 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
1811 run_program_env and test_program_prefix_after_env arguments.
1812 * math/Makefile (run-regen-ulps): Use $(run-program-env).
1813 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
1814 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
1815 explicitly with each use of ${test_wrapper_env}.
1816 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
1817 $(test-program-prefix-before-env), $(run-program-env) and
1818 $(test-program-prefix-after-env).
1819 * posix/tst-getconf.sh: Do not set environment variables
1821 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
1822 run_program_env and test_program_prefix_after_env arguments.
1823 * stdio-common/tst-printf.sh: Do not set environment variables
1825 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
1826 $(test-program-prefix-before-env), $(run-program-env) and
1827 $(test-program-prefix-after-env).
1828 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
1829 run_program_env and test_program_prefix_after_env arguments.
1830 Split $test calls into $test_pre and $test.
1831 * timezone/Makefile (build-testdata): Use
1832 $(built-program-cmd-before-env), $(run-program-env) and
1833 $(built-program-cmd-after-env).
1835 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1837 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
1838 strlen for non SHARED builds.
1840 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1842 * nptl/allocatestack.c (check_list): Inlined function...
1843 (__reclaim_stacks): ... here.
1845 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
1848 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1851 2014-06-05 Joseph Myers <joseph@codesourcery.com>
1853 * Rules (make-test-out): Include
1854 LOCPATH=$(common-objpfx)localedata in default environment.
1855 * debug/Makefile (tst-chk1-ENV): Remove variable.
1856 (tst-chk2-ENV): Likewise.
1857 (tst-chk3-ENV): Likewise.
1858 (tst-chk4-ENV): Likewise.
1859 (tst-chk5-ENV): Likewise.
1860 (tst-chk6-ENV): Likewise.
1861 (tst-lfschk1-ENV): Likewise.
1862 (tst-lfschk2-ENV): Likewise.
1863 (tst-lfschk3-ENV): Likewise.
1864 (tst-lfschk4-ENV): Likewise.
1865 (tst-lfschk5-ENV): Likewise.
1866 (tst-lfschk6-ENV): Likewise.
1867 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
1868 (tst-iconv7-ENV): Likewise.
1869 * intl/Makefile (LOCPATH-ENV): Likewise.
1870 (tst-codeset-ENV): Likewise.
1871 (tst-gettext3-ENV): Likewise.
1872 (tst-gettext5-ENV): Likewise.
1873 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
1874 (tst-fopenloc-ENV): Likewise.
1875 (tst-fgetws-ENV): Remove variable.
1876 (tst-ungetwc1-ENV): Likewise.
1877 (tst-ungetwc2-ENV): Likewise.
1878 (bug-ungetwc2-ENV): Likewise.
1879 (tst-swscanf-ENV): Likewise.
1880 (bug-ftell-ENV): Likewise.
1881 (tst-fgetwc-ENV): Likewise.
1882 (tst-fseek-ENV): Likewise.
1883 (tst-ftell-partial-wide-ENV): Likewise.
1884 (tst-ftell-active-handler-ENV): Likewise.
1885 (tst-ftell-append-ENV): Likewise.
1886 * posix/Makefile (tst-fnmatch-ENV): Likewise.
1887 (tst-regexloc-ENV): Likewise.
1888 (bug-regex1-ENV): Likewise.
1889 (tst-regex-ENV): Likewise.
1890 (tst-regex2-ENV): Likewise.
1891 (bug-regex5-ENV): Likewise.
1892 (bug-regex6-ENV): Likewise.
1893 (bug-regex17-ENV): Likewise.
1894 (bug-regex18-ENV): Likewise.
1895 (bug-regex19-ENV): Likewise.
1896 (bug-regex20-ENV): Likewise.
1897 (bug-regex22-ENV): Likewise.
1898 (bug-regex23-ENV): Likewise.
1899 (bug-regex25-ENV): Likewise.
1900 (bug-regex26-ENV): Likewise.
1901 (bug-regex30-ENV): Likewise.
1902 (bug-regex32-ENV): Likewise.
1903 (bug-regex33-ENV): Likewise.
1904 (bug-regex34-ENV): Likewise.
1905 (bug-regex35-ENV): Likewise.
1906 (tst-rxspencer-ENV): Likewise.
1907 (tst-rxspencer-no-utf8-ENV): Likewise.
1908 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
1909 (tst-sscanf-ENV): Likewise.
1910 (tst-swprintf-ENV): Likewise.
1911 (tst-swscanf-ENV): Likewise.
1912 (test-vfprintf-ENV): Likewise.
1913 (scanf13-ENV): Likewise.
1914 (bug14-ENV): Likewise.
1915 (tst-grouping-ENV): Likewise.
1916 * stdlib/Makefile (tst-strtod-ENV): Likewise.
1917 (tst-strtod3-ENV): Likewise.
1918 (tst-strtod4-ENV): Likewise.
1919 (tst-strtod5-ENV): Likewise.
1920 (testmb2-ENV): Likewise./
1921 * string/Makefile (tst-strxfrm-ENV): Likewise.
1922 (tst-strxfrm2-ENV): Likewise.
1923 (bug-strcoll1-ENV): Likewise.
1924 (test-strcasecmp-ENV): Likewise.
1925 (test-strncasecmp-ENV): Likewise.
1926 * time/Makefile (tst-strptime-ENV): Likewise.
1927 (tst-ftime_l-ENV): Likewise.
1928 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
1929 (tst-mbrtowc-ENV): Likewise.
1930 (tst-wcrtomb-ENV): Likewise.
1931 (tst-mbrtowc2-ENV): Likewise.
1932 (tst-c16c32-1-ENV): Likewise.
1933 (tst-mbsnrtowcs-ENV): Likewise.
1935 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
1937 * manual/resource.texi (How to get information about the memory
1938 subsystem?): Fix typo.
1939 Reported by Peon de la Parra Ivan <peon@keba.com>
1941 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
1944 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
1945 (pthread_spin_lock): Branch out of spin loop to proper location.
1946 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
1947 (pthread_spin_lock): Likewise.
1949 * nptl/tst-spin4.c: New test.
1950 * nptl/Makefile (tests): Add tst-spin4.
1952 2014-06-03 Andreas Schwab <schwab@suse.de>
1955 * resolv/res_send.c (send_dg): Reload file descriptor after
1958 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
1960 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1962 2014-06-03 Richard Henderson <rth@redhat.com>
1964 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
1965 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
1966 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
1967 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
1968 in the SAVE_PID block.
1969 (__libc_vfork): New alias.
1970 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
1972 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
1973 child in registers, not on the stack. Remove RESET_PID conditionals.
1974 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
1976 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
1978 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1980 2014-06-03 Wilco <wdijkstr@arm.com>
1982 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
1983 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1984 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1985 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1986 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1989 2014-06-03 Wilco <wdijkstr@arm.com>
1991 * sysdeps/aarch64/fpu/math_private.h
1992 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1993 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1994 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1995 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1998 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2000 * crypt/crypt-private.h: Include ufc-crypt.h.
2001 (__b64_from_24bit): Declare extern.
2002 * crypt/crypt_util.c(__b64_from_24bit): New function.
2003 (b64t): New static const variable.
2004 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
2005 (b64t): Remove variable.
2006 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
2007 * crypt/sha256-crypt.c: Include crypt-private.h.
2008 (b64t): Remove variable.
2009 (__sha256_crypt_r): Remove b64_from_24bit and replace
2010 with __b64_from_24bit.
2011 * crypt/sha512-crypt.c: Likewise.
2013 2014-06-02 Roland McGrath <roland@hack.frob.com>
2015 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2016 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2017 Label the code __libc_vfork rather than __vfork.
2018 [!NOT_IN_libc] (vfork): Define as weak alias.
2019 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2020 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2021 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2023 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2025 * malloc/malloc.c (malloc_info): Fix format specifier for
2028 2014-06-02 Wilco <wdijkstr@arm.com>
2030 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2033 2014-06-02 Wilco <wdijkstr@arm.com>
2036 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2037 Rewrite to reduce FPCR/FPSR accesses.
2039 2014-06-01 David S. Miller <davem@davemloft.net>
2041 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2043 2014-05-31 David S. Miller <davem@davemloft.net>
2045 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2046 to occur in round to nearest mode when |x| >= 2.0
2048 2014-05-30 Richard Henderson <rth@twiddle.net>
2050 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2051 (PSEUDO_RET_NOERRNO): Remove.
2052 (ret): Don't redefine.
2053 (ret_NOERRNO): Define in terms of ret.
2054 (ret_ERRVAL): Likewise.
2056 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2057 use of PSEUDO_RET; perform the error check directly.
2059 2014-05-30 Marko Myllynen <myllynen@redhat.com>
2061 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2064 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2066 * malloc/malloc (malloc_info): Fix formatting.
2068 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2069 Roland McGrath <roland@hack.frob.com>
2071 * malloc/malloc (malloc_info): Also print mmapped statistics.
2073 2014-05-30 Roland McGrath <roland@hack.frob.com>
2075 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2076 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2078 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
2080 * malloc/malloc.c (malloc_info): Inline mi_arena.
2082 2014-05-29 Richard Henderson <rth@twiddle.net>
2084 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2085 Remove comma before expanding ASM_ARGS_##nr.
2086 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2087 Make _x0 a strict output; make _x8 a strict input; adjust expansion
2089 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2090 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2091 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2092 (ASM_ARGS_1): Add leading comma.
2094 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2095 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2096 to __errno_location.
2097 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2098 Remove the expected plt for __errno_location.
2100 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2101 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
2104 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2105 Always allocate 64 bytes of stack frame. Use ldp/stp to create
2106 it and break it down.
2107 (DOCARGS_0, DOCARGS_1): Do nothing.
2108 (DOCARGS_2): Update to store into the new stack frame.
2109 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2110 (UNDOCARGS_1): Update to restore from the new stack frame.
2111 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2112 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2114 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2115 (SINGLE_THREAD_P): New parameter for result regno.
2116 (PSEUDO): Update to match; use cbz instead of beq.
2118 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2119 Use ENTRY to define the _nocancel entry point. Share the syscall
2120 and syscall error check paths with the cancel path.
2123 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2124 whitespace; tabs before and after asm mnemonics.
2126 2014-05-29 Eric Wong <normalperson@yhbt.net>
2129 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2130 Call fstat64 or stat64 internally, depending on arguments passed.
2131 Replace stat buffer argument with file descriptor argument.
2132 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2133 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2134 Pass fd to __internal_statvfs instead of calling fstat64.
2135 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2136 Pass fd to __internal_statvfs64 instead of calling fstat64.
2137 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2138 Pass -1 to __internal_statvfs instead of calling stat64.
2139 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
2140 Pass -1 to __internal_statvfs64 instead of calling stat64.
2142 2014-05-28 Roland McGrath <roland@hack.frob.com>
2144 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
2145 that was previously under [RESET_PID].
2146 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
2148 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
2149 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
2151 2014-05-27 Roland McGrath <roland@hack.frob.com>
2153 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
2155 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
2156 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
2158 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
2160 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
2162 2014-05-27 Andreas Schwab <schwab@suse.de>
2164 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
2166 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2167 * elf/rtld.c (init_tls, dl_main): Likewise.
2168 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
2169 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
2170 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
2171 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
2172 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
2173 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
2174 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
2175 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
2176 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
2177 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
2178 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
2179 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
2180 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
2181 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
2182 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
2183 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
2184 * sysdeps/generic/tls.h: Update description.
2186 2014-05-27 Will Newton <will.newton@linaro.org>
2189 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
2190 and restore r2 rather than just restoring.
2192 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2195 * libio/tst-ftell-append.c: New test case.
2196 * libio/Makefile (tests): Add test case.
2197 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
2199 * libio/wfileops.c (do_ftell_wide): Likewise.
2201 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2205 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
2207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
2208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2209 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
2210 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
2211 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
2212 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
2213 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
2214 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
2215 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
2218 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
2221 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
2222 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
2223 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
2224 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
2225 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
2227 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
2228 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
2230 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
2232 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
2234 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
2235 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
2236 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
2238 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
2239 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
2240 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
2241 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
2243 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
2245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
2246 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
2248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
2249 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
2251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
2252 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
2256 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
2259 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
2263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
2264 conditional [RESET_PID].
2265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2266 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
2268 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
2271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
2273 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2274 (__libc_vfork): New strong alias.
2275 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
2277 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
2280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
2282 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
2283 (__libc_vfork): New strong alias.
2284 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
2286 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
2289 2014-05-26 Carlos O'Donell <carlos@redhat.com>
2291 * malloc/malloc.c (mi_arena): New function.
2292 (malloc_info): Remove nested function mi_arena. Call non-nosted
2295 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2297 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
2299 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
2300 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
2301 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
2302 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
2303 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
2304 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
2305 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
2307 2014-05-26 Andreas Schwab <schwab@suse.de>
2310 * locale/programs/repertoire.c (repertoire_read): Add slash
2311 between I18NPATH element and file name.
2312 * locale/programs/locfile.c (locfile_read): Likewise.
2314 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2316 * nptl/pthread_mutexattr_settype.c
2317 (__pthread_mutexattr_settype):
2318 Disable lock elision for PTHREAD_MUTEX_NORMAL.
2320 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2322 * nptl/tst-mutex5 (do_test):
2323 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
2325 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2327 * benchtests/README: Document 'init' directive.
2328 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
2330 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
2331 (parse_file): Recognize 'init' directive.
2333 2014-05-26 Kyle McMartin <kyle@redhat.com>
2336 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
2337 alignment of struct pthread.
2339 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2342 * nscd/netgroupcache.c (addgetnetgrentX): Look for
2343 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2344 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
2345 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2347 2014-05-25 Richard Henderson <rth@twiddle.net>
2349 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2350 (SINGLE_THREAD_P_PIC): Remove.
2351 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
2352 (SINGLE_THREAD_P_PIC): Remove.
2354 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
2355 branch to syscall error ...
2357 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
2358 from __local_syscall_error to .Lsyscall_error.
2359 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
2360 (SYSCALL_ERROR): Update label name.
2362 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2363 Do not use DOARGS/UNDOARGS.
2364 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
2365 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
2366 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
2367 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
2368 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
2370 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
2373 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
2374 define if !NOT_IN_libc.
2375 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
2376 define with non-default symbol versions.
2378 2014-05-23 Richard Henderson <rth@twiddle.net>
2380 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
2381 (vfork, __vfork): Define via compat_symbol.
2383 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
2384 [!HAVE_IFUNC] (vfork_compat): Remove.
2385 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
2387 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2390 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
2391 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
2394 2014-05-23 Richard Henderson <rth@twiddle.net>
2396 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
2397 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
2398 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
2399 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
2401 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
2402 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
2403 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
2404 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
2405 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
2406 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
2407 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
2408 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
2409 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
2410 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
2411 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
2412 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
2413 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
2414 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
2415 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
2416 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
2417 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
2418 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
2419 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
2420 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
2421 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
2422 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
2423 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
2424 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
2425 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
2426 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
2427 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
2428 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
2429 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
2430 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
2431 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
2432 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
2433 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
2434 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
2435 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
2436 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
2437 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
2438 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
2439 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
2440 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
2441 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
2442 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
2443 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
2444 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
2445 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
2446 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
2447 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
2448 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
2449 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
2450 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
2451 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
2452 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
2453 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
2454 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
2455 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
2456 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
2458 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
2459 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
2460 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
2461 before exiting on error.
2462 (__libc_vfork): New strong alias.
2463 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
2464 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
2466 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
2467 that was previously under [RESET_PID].
2468 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
2470 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2472 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2475 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2476 value when x - 1 is zero.
2477 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2478 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2479 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2480 0.0L for an argument of 1.0L.
2481 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2483 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2484 value when x - 1 is zero.
2485 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2486 * sysdeps/i386/fpu/libm-test-ulps: Update.
2487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2489 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2491 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2492 alphasort and versionsort.
2494 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2496 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2498 [copysignf]: Likewise.
2500 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2502 * crypt/md5-crypt.c: Fix formatting.
2504 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2506 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2507 (b64_from_24bit): New function.
2509 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2511 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2512 libc_hidden_builtin_def to ifunc.
2513 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2514 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2516 2014-05-21 Roland McGrath <roland@hack.frob.com>
2518 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2519 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2521 2014-05-21 Joseph Myers <joseph@codesourcery.com>
2523 * nscd/Depend (linuxthreads): Remove.
2525 * resolv/Depend (linuxthreads): Remove.
2526 * rt/Depend (linuxthreads): Remove.
2528 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2529 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2530 $(common-objpfx)elf/.
2531 (link-libc-before-gnulib): Likewise.
2532 (elfobjdir): Remove variable.
2533 * Makefile (install): Use $(elf-objpfx) instead of
2534 $(common-objpfx)elf/.
2535 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2537 (link-libc-deps): Likewise.
2538 ($(common-objpfx)libc.so): Likewise.
2539 ($(common-objpfx)linkobj/libc.so): Likewise.
2540 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2541 instead of $(common-objpfx)elf/.
2542 (symbolic-link-list): Likewise.
2543 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2544 [$(cross-compiling) = no]: Likewise.
2545 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2547 (static-gnulib-arch): Likewise.
2548 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2549 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2550 $(common-objpfx)elf/.
2552 2014-05-21 Richard Henderson <rth@redhat.com>
2554 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2555 (SINGLE_THREAD_P): Use the correct width load. Fold
2556 into the ldr offset.
2558 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2559 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2561 2014-05-20 Joseph Myers <joseph@codesourcery.com>
2563 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2564 (libgcc_s_resume): Use __attribute_used__.
2565 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2568 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2570 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2571 optimization when used with float constants.
2573 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2575 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
2578 * locale/nl_langinfo_l.c: Make direct reference to every
2579 _nl_current_CATEGORY symbol.
2580 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2581 (tests-static): Add tst-langinfo-static.
2582 (tests-special): Add tst-langinfo-static.out.
2583 ($(objpfx)tst-langinfo.out): Redirect output.
2584 ($(objpfx)tst-langinfo-static.out): New.
2585 * localedata/tst-langinfo.sh: Send output to stdout.
2586 * localedata/tst-langinfo-static.c: New file.
2589 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2590 when the shift amount is modulo the limb size.
2592 2014-05-20 Richard Henderson <rth@redhat.com>
2595 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2596 Change type of sa_flags from unsigned int to int.
2599 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
2601 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2603 2014-05-20 Will Newton <will.newton@linaro.org>
2605 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2606 Test the return value of the system call in the nocancel case.
2608 2014-05-20 Will Newton <will.newton@linaro.org>
2609 Yvan Roux <yvan.roux@linaro.org>
2611 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2612 #include of asm/ptrace.h.
2613 (PTRACE_GET_THREAD_AREA): Remove #undef.
2614 (PTRACE_GETHBPREGS): Likewise.
2615 (PTRACE_SETHBPREGS): Likewise.
2616 (struct user_regs_struct): New structure.
2617 (struct user_fpsimd_struct): New structure.
2618 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2619 #include of asm/ptrace.h and second #include of sys/user.h.
2620 (PTRACE_GET_THREAD_AREA): Remove #undef.
2621 (PTRACE_GETHBPREGS): Likewise.
2622 (PTRACE_SETHBPREGS): Likewise.
2623 (ELF_NGREG): Use new struct user_regs_struct.
2624 (elf_fpregset_t): Use new struct user_fpsimd_struct.
2626 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2628 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2629 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2631 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2634 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2635 membar to avoid block loads/stores to overlap previous stores.
2637 2014-05-17 Richard Henderson <rth@redhat.com>
2639 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2640 Create the __##syscall_name##_nocancel entry point.
2641 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2642 Remove; let the sysdep-cancel.h code create it.
2644 2014-05-17 David S. Miller <davem@davemloft.net>
2646 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
2647 Protect with __USE_GNU.
2648 (TIOCSET_TEMPT): Likewise.
2649 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2650 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
2651 these are already provided in bits/ioctl-types.h
2653 2014-05-16 Roland McGrath <roland@hack.frob.com>
2655 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
2656 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
2658 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
2659 Use wait4 regardless of [__NR_waitpid].
2661 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2664 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2665 (_FP_NANSIGN_Q): Set the quiet bit.
2667 2014-05-16 Joseph Myers <joseph@codesourcery.com>
2669 * benchtests/Makefile
2670 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
2671 not $(common-objpfx)math/libm.so.
2672 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
2673 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
2674 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
2675 $(common-objpfx)dlfcn/libdl.so.
2676 ($(objpfx)tst-audit8): Depend on $(libm), not
2677 $(common-objpfx)math/libm.so.
2678 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
2679 not $(common-objpfx)dlfcn/libdl.so.
2681 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2682 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
2683 [$(build-shared) = yes].
2684 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
2685 $(common-objpfx)nptl/libpthread.so.
2686 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
2687 $(common-objpfx)math/libm.so$(libm.so-version) or
2688 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
2689 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
2690 $(common-objpfx)dlfcn/libdl.so.
2691 * setjmp/Makefile (link-libm): Remove variable.
2692 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
2693 * stdio-common/Makefile (link-libm): Remove variable.
2694 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
2695 * stdlib/Makefile (link-libm): Remove variable.
2696 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
2697 ($(objpfx)tst-strtod-round): Likewise.
2698 ($(objpfx)tst-tininess): Likewise.
2699 ($(objpfx)tst-strtod-underflow): Likewise.
2700 ($(objpfx)tst-strtod6): Likewise.
2701 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
2702 $(libdl), not $(common-objpfx)nptl/libpthread.so and
2703 $(common-objpfx)dlfcn/libdl.so.
2705 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2707 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
2708 BSD terminal modes definitions.
2710 2014-05-16 Roland McGrath <roland@hack.frob.com>
2712 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
2713 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
2715 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
2716 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
2717 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
2718 Don't do #include_next.
2719 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
2720 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
2721 Don't do #include_next.
2722 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
2723 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
2724 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
2725 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
2727 2014-05-16 Allan McRae <allan@archlinux.org>
2729 * po/sv.po: Update Swedish translation from translation project.
2731 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
2734 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
2737 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
2738 errno if the TIOCGPTN ioctl fails with an error different than
2740 * login/tst-ptsname.c: New file.
2741 * login/Makefile (tests): Add tst-ptsname.
2744 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
2747 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2750 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
2751 herrno to return EAI_AGAIN.
2753 2014-05-14 Roland McGrath <roland@hack.frob.com>
2755 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
2756 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
2757 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
2758 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
2759 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
2760 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
2761 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
2762 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
2763 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
2764 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
2765 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
2766 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
2767 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
2768 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
2769 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
2770 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
2771 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
2772 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
2773 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
2774 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
2775 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
2776 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
2777 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
2778 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
2779 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
2780 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
2781 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
2782 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
2783 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
2784 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
2785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
2786 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
2787 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
2788 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
2789 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2791 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
2792 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
2793 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
2794 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
2795 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
2796 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
2797 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
2798 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
2799 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
2800 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
2801 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
2802 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
2803 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
2804 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
2805 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
2806 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
2807 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
2808 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
2809 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
2810 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
2811 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
2812 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
2813 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
2814 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
2815 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
2816 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
2817 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
2818 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2820 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
2821 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
2822 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
2823 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
2824 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
2825 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
2826 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
2827 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
2828 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
2829 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
2830 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
2831 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
2832 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
2833 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
2834 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
2835 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
2836 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
2837 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
2838 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
2839 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2841 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
2842 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
2843 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
2845 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
2846 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
2847 (libpthread-sysdep_routines): Add elision-related stuff here instead.
2848 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
2849 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
2850 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
2851 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
2852 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
2853 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
2854 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
2855 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
2856 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
2857 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
2858 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
2859 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
2860 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
2861 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
2862 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
2863 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
2864 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
2865 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
2866 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
2867 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
2868 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
2869 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
2870 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
2871 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
2872 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
2873 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
2874 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
2875 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
2877 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
2878 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
2880 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
2881 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
2882 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
2883 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
2884 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
2885 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
2887 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
2888 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2890 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
2891 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2893 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
2894 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
2896 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
2897 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
2898 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
2899 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2901 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
2902 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
2903 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
2904 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
2905 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
2906 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
2907 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
2908 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2910 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
2911 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2913 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2915 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
2916 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
2917 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
2918 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
2919 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2921 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2923 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
2925 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
2926 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
2927 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
2928 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
2929 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
2930 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
2932 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
2933 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2935 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
2936 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2938 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
2939 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
2941 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
2942 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
2943 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
2944 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
2946 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
2947 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
2948 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
2949 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
2950 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
2951 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
2952 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
2953 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2955 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
2956 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2958 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2960 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
2961 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
2962 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
2963 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
2964 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2966 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2968 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
2970 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
2971 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
2972 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
2973 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
2974 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
2975 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
2976 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
2977 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
2978 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
2979 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2981 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
2982 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2984 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2985 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2987 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2988 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2990 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2991 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2992 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2993 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2994 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2995 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2997 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2998 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2999 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3000 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
3001 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
3002 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
3003 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
3004 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3006 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
3007 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3009 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3011 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
3012 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
3013 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3014 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3015 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3017 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3019 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3021 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3022 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3023 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3024 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3025 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3026 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3027 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3028 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3029 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3030 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3031 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3033 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3034 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3036 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3037 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3039 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3040 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3041 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3042 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3043 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3044 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3045 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3046 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3047 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3048 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3049 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3050 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3051 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3052 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3053 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3054 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3055 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3056 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3058 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3059 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3060 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3061 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3063 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3064 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3065 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3066 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3067 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3068 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3069 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3070 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3072 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3073 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3075 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3076 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3077 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3078 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3079 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3080 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3081 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3082 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3083 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3084 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3085 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3086 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3087 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3088 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3089 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3090 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3091 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3093 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3094 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3095 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3096 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3097 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3099 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3100 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3101 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3102 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3103 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3104 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3105 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3106 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3107 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3108 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3110 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3111 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3113 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3114 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3115 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3116 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3117 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3118 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3119 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3120 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3121 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3122 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3123 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3124 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3125 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3126 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3127 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3129 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3131 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3133 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3135 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3137 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3139 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
3141 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3143 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
3145 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
3147 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
3148 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
3149 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
3150 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
3151 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
3152 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
3153 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
3154 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
3155 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
3156 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
3157 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
3158 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
3159 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
3160 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
3161 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3163 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
3164 that was previously under [RESET_PID].
3165 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3166 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
3167 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
3169 * sysdeps/i386/nptl/Implies: New file.
3170 * sysdeps/x86_64/nptl/Implies: New file.
3171 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
3172 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3173 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
3174 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
3176 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
3177 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3178 (__libc_vfork): New strong alias.
3179 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
3180 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
3182 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
3183 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3184 (__libc_vfork): New strong alias.
3185 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
3186 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
3188 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
3189 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3190 (__libc_vfork): New strong alias.
3191 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
3192 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
3193 * nptl/pt-vfork.c: New file.
3194 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
3195 (libpthread: GLIBC_2.20): New version set (empty).
3197 2014-05-14 Will Newton <will.newton@linaro.org>
3199 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
3202 2014-05-14 Joseph Myers <joseph@codesourcery.com>
3205 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
3206 arguments with exponent 65 or above.
3207 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
3208 arguments 0x1p113L or above.
3209 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
3210 to arguments 0x1p107L or above.
3211 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
3212 positive arguments with exponent 65 or above.
3213 * math/auto-libm-test-in: Add more tests of log1p.
3214 * math/auto-libm-test-out: Regenerated.
3217 * math/s_cacos.c (__cacos): Ensure zero real part of result from
3218 non-finite arguments is +0.
3219 * math/s_cacosf.c (__cacosf): Likewise.
3220 * math/s_cacosl.c (__cacosl): Likewise.
3221 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
3222 * sysdeps/i386/fpu/libm-test-ulps: Update.
3223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3226 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
3228 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
3229 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
3230 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
3231 for explicit high bit of mantissa when testing for argument equal
3233 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
3234 * sysdeps/i386/fpu/libm-test-ulps: Update.
3235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3238 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
3239 (__erf): Scale by 16 instead of 8 in potentially underflowing
3240 case. Ensure exception if result actually underflows.
3241 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
3242 (__erff): Scale by 16 instead of 8 in potentially underflowing
3243 case. Ensure exception if result actually underflows.
3244 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
3245 (efx8): Remove variable.
3246 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3247 case. Ensure exception if result actually underflows.
3248 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
3249 (efx8): Remove variable.
3250 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3251 case. Ensure exception if result actually underflows.
3252 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
3253 (efx8): Remove variable.
3254 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3255 case. Ensure exception if result actually underflows.
3256 * math/auto-libm-test-in: Add more tests of erf.
3257 * math/auto-libm-test-out: Regenerated.
3259 2014-05-14 Andreas Schwab <schwab@suse.de>
3261 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
3262 Remove code conditionalized on USE___THREAD.
3264 * config.h.in (HAVE_PT_CHOWN): Define as 0.
3265 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
3268 2014-05-14 Joseph Myers <joseph@codesourcery.com>
3270 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
3271 Define unconditionally.
3272 (__ASSUME_O_CLOEXEC): Likewise.
3273 (__ASSUME_SOCK_CLOEXEC): Likewise.
3274 (__ASSUME_IN_NONBLOCK): Likewise.
3275 (__ASSUME_PIPE2): Likewise.
3276 (__ASSUME_EVENTFD2): Likewise.
3277 (__ASSUME_SIGNALFD4): Likewise.
3278 (__ASSUME_DUP3): Likewise.
3279 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3280 (__ASSUME_DUP3): Do not define.
3281 (__ASSUME_EVENTFD2): Likewise.
3282 (__ASSUME_IN_NONBLOCK): Likewise.
3283 (__ASSUME_O_CLOEXEC): Likewise.
3284 (__ASSUME_PIPE2): Likewise.
3285 (__ASSUME_SIGNALFD4): Likewise.
3286 (__ASSUME_SOCK_CLOEXEC): Likewise.
3287 (__ASSUME_UTIMES): Undefine.
3288 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3289 (__ASSUME_UTIMES): Do not define.
3290 (__ASSUME_O_CLOEXEC): Likewise.
3291 (__ASSUME_SOCK_CLOEXEC): Likewise.
3292 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
3293 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
3295 (__ASSUME_PIPE2): Likewise.
3296 (__ASSUME_EVENTFD2): Likewise.
3297 (__ASSUME_SIGNALFD4): Likewise.
3298 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
3299 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
3301 (__ASSUME_EVENTFD2): Likewise.
3302 (__ASSUME_SIGNALFD4): Likewise.
3303 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3304 (__ASSUME_32BITUIDS): Likewise.
3305 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3306 (__ASSUME_IPC64): Likewise.
3307 (__ASSUME_ST_INO_64_BIT): Likewise.
3308 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
3309 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
3310 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3311 (__ASSUME_UTIMES): Do not define.
3312 (__ASSUME_PSELECT): Likewise.
3313 (__ASSUME_PPOLL): Likewise.
3314 (__ASSUME_O_CLOEXEC): Likewise.
3315 (__ASSUME_SOCK_CLOEXEC): Likewise.
3316 (__ASSUME_IN_NONBLOCK): Likewise.
3317 (__ASSUME_PIPE2): Likewise.
3318 (__ASSUME_EVENTFD2): Likewise.
3319 (__ASSUME_SIGNALFD4): Likewise.
3320 (__ASSUME_DUP3): Likewise.
3321 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3322 (__ASSUME_UTIMES): Likewise.
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/microblaze/kernel-features.h
3331 (__ASSUME_UTIMES): Likewise.
3332 (__ASSUME_O_CLOEXEC): Likewise.
3333 (__ASSUME_SOCK_CLOEXEC): Likewise.
3334 (__ASSUME_IN_NONBLOCK): Likewise.
3335 (__ASSUME_PIPE2): Likewise.
3336 (__ASSUME_EVENTFD2): Likewise.
3337 (__ASSUME_SIGNALFD4): Likewise.
3338 (__ASSUME_DUP3): Likewise.
3339 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
3341 (__ASSUME_UTIMES): Likewise.
3342 (__ASSUME_EVENTFD2): Likewise.
3343 (__ASSUME_SIGNALFD4): Likewise.
3344 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3345 (__ASSUME_O_CLOEXEC): Likewise.
3346 (__ASSUME_SOCK_CLOEXEC): Likewise.
3347 (__ASSUME_IN_NONBLOCK): Likewise.
3348 (__ASSUME_PIPE2): Likewise.
3349 (__ASSUME_EVENTFD2): Likewise.
3350 (__ASSUME_SIGNALFD4): Likewise.
3351 (__ASSUME_DUP3): Likewise.
3352 (__ASSUME_UTIMES): Undefine.
3354 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
3355 feclearexcept. Remove symbol versioning code.
3356 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
3357 symbol versioning code.
3358 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
3359 symbol versioning code.
3360 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
3361 feupdateenv. Remove symbol versioning code.
3362 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
3363 fegetexceptflag. Remove symbol versioning code.
3364 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
3365 fesetexceptflag. Remove symbol versioning code.
3366 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
3367 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
3368 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
3369 (__posix_fadvise64_l32): Remove prototype.
3370 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
3373 2014-05-13 Roland McGrath <roland@hack.frob.com>
3375 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
3376 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
3377 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
3378 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
3380 2014-05-13 Sami Kerola <kerolasa@iki.fi>
3382 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
3383 current working directory
3385 2014-05-13 Roland McGrath <roland@hack.frob.com>
3387 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
3388 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
3389 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
3390 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
3391 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
3392 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
3393 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
3394 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
3395 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
3396 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
3397 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
3398 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
3399 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
3400 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
3401 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
3402 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
3403 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
3404 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
3405 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
3406 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
3407 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
3408 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
3409 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
3410 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
3411 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
3412 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
3413 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
3414 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
3415 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
3416 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
3417 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
3418 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
3419 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
3420 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
3421 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
3422 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
3423 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
3424 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
3425 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
3426 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
3427 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
3428 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
3430 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
3431 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
3433 * sysdeps/unix/sysv/linux/arm/Makefile
3434 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3435 Add rt-aeabi_unwind_cpp_pr1.
3436 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
3437 Add nptl-aeabi_unwind_cpp_pr1.
3438 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
3439 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
3440 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
3441 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3442 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
3443 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3445 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
3446 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
3447 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
3448 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
3450 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
3451 Deconditionalize the code that was previously under [RESET_PID].
3452 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
3454 * sysdeps/generic/exit-thread.h: New file.
3455 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
3456 * include/unistd.h (__exit_thread): Remove declaration.
3457 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
3458 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
3459 * csu/libc-start.c: Include <exit-thread.h>.
3460 (LIBC_START_MAIN): Pass no argument to __exit_thread.
3461 * nptl/pthread_create.c: Include <exit-thread.h>.
3462 (start_thread): Call __exit_thread in place of __exit_thread_inline.
3463 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
3464 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
3465 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
3466 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
3467 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
3468 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
3469 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3470 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3471 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3472 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3473 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3474 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3475 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3476 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3477 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3478 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3480 2014-05-13 Andreas Schwab <schwab@suse.de>
3482 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3484 2014-05-12 Joseph Myers <joseph@codesourcery.com>
3486 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3487 (__ASSUME_UTIMES): Do not condition on kernel version.
3488 (__ASSUME_PSELECT): Define unconditionally.
3489 (__ASSUME_PPOLL): Likewise.
3490 (__ASSUME_ATFCTS): Likewise.
3491 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3492 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3493 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3494 (__ASSUME_UTIMENSAT): Define unconditionally.
3495 (__ASSUME_PRIVATE_FUTEX): Likewise.
3496 (__ASSUME_FALLOCATE): Likewise.
3497 (__ASSUME_O_CLOEXEC): Likewise.
3498 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3499 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3500 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3501 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3502 (__ASSUME_IN_NONBLOCK): Likewise.
3503 (__ASSUME_PIPE2): Likewise.
3504 (__ASSUME_EVENTFD2): Likewise.
3505 (__ASSUME_SIGNALFD4): Likewise.
3506 (__ASSUME_DUP3): Likewise.
3507 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3508 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3509 (__ASSUME_AT_RANDOM): Likewise.
3510 (__ASSUME_PREADV): Likewise.
3511 (__ASSUME_PWRITEV): Likewise.
3512 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3513 (__ASSUME_F_GETOWN_EX): Define unconditionally.
3514 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3515 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3516 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3517 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3518 (__ASSUME_O_CLOEXEC): Define unconditionally.
3519 (__ASSUME_PSELECT): Do not undefine conditionally.
3520 (__ASSUME_PPOLL): Likewise.
3521 (__ASSUME_ATFCTS): Likewise.
3522 (__ASSUME_SET_ROBUST_LIST): Likewise.
3523 (__ASSUME_UTIMENSAT): Likewise.
3524 (__ASSUME_FDATASYNC): Define unconditionally.
3525 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3526 (__ASSUME_SIGFRAME_V2): Likewise.
3527 )__ASSUME_EVENTFD2): Likewise.
3528 (__ASSUME_SIGNALFD4): Likewise.
3529 (__ASSUME_PSELECT): Do not undefine conditionally.
3530 (__ASSUME_PPOLL): Likewise.
3531 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3532 (__ASSUME_PSELECT): Define unconditionally.
3533 (__ASSUME_PPOLL): Likewise.
3534 (__ASSUME_O_CLOEXEC): Likewise.
3535 (__ASSUME_SOCK_CLOEXEC): Likewise.
3536 (__ASSUME_IN_NONBLOCK): Likewise.
3537 (__ASSUME_PIPE2): Likewise.
3538 (__ASSUME_EVENTFD2): Likewise.
3539 (__ASSUME_SIGNALFD4): Likewise.
3540 (__ASSUME_DUP3): Likewise.
3541 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3542 (__ASSUME_O_CLOEXEC): Likewise.
3543 (__ASSUME_SOCK_CLOEXEC): Likewise.
3544 (__ASSUME_IN_NONBLOCK): Likewise.
3545 (__ASSUME_PIPE2): Likewise.
3546 (__ASSUME_EVENTFD2): Likewise.
3547 (__ASSUME_SIGNALFD4): Likewise.
3548 (__ASSUME_DUP3): Likewise.
3549 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3550 (__ASSUME_EVENTFD2): Likewise.
3551 (__ASSUME_SIGNALFD4): Likewise.
3552 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3554 2014-05-12 Andreas Schwab <schwab@suse.de>
3557 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3558 (_nss_nis_gethostbyname4_r): Return error if item length is larger
3559 than maximum RPC packet size.
3560 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3561 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3562 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3563 (_nss_nis_getservbyport_r): Likewise.
3565 2014-05-12 Will Newton <will.newton@linaro.org>
3567 * malloc/Makefile (tests): Add tst-mallopt.
3568 * malloc/tst-mallopt.c: New file.
3570 2014-05-09 Roland McGrath <roland@hack.frob.com>
3572 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3573 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3575 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3577 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3578 (tst-tlsmod6.so): Likewise.
3580 2014-05-09 Roland McGrath <roland@hack.frob.com>
3582 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3584 2014-05-09 Joseph Myers <joseph@codesourcery.com>
3587 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3588 and <dl-procinfo.h>.
3589 (__fegetenv): Save SSE state in envp->__eip if supported.
3590 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3591 envp->__eip if supported.
3592 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3593 and <dl-procinfo.h>.
3594 (__fesetenv): Always set __eip, __cs_selector, __opcode,
3595 __data_offset and __data_selector in environment to 0. Set SSE
3597 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3599 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3601 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3603 2014-05-09 Will Newton <will.newton@linaro.org>
3605 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3606 and libc_relro_required for ARM.
3607 * sysdeps/arm/preconfigure: Regenerate.
3609 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
3610 Stefan Liebler <stli@linux.vnet.ibm.com>
3612 * config.make.in (enable-lock-elision): New Makefile variable.
3613 * configure.ac: Likewise.
3614 * configure: Regenerate.
3615 * sysdeps/s390/configure.ac:
3616 Add check for gcc transactions support.
3617 * sysdeps/s390/configure: Regenerate.
3618 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3619 Build elision files if enabled.
3620 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3621 Add lock elision support for s390.
3622 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3623 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3624 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3625 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3626 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3627 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3628 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3630 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3632 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3634 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3636 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3637 (__lll_timedlock_elision, __lll_lock_elision)
3638 (__lll_unlock_elision, __lll_trylock_elision)
3639 (lll_timedlock_elision, lll_lock_elision)
3640 (lll_unlock_elision, lll_trylock_elision): Add.
3641 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3642 (pthread_mutex_t): Add lock elision support for s390.
3644 2014-05-14 Wilco <wdijkstr@arm.com>
3646 * sysdeps/arm/fclrexcpt.c: Cleanup.
3647 * sysdeps/arm/fedisblxcpt.c: Cleanup.
3648 * sysdeps/arm/feenablxcpt.c: Cleanup.
3649 * sysdeps/arm/fegetenv.c: Cleanup.
3650 * sysdeps/arm/fegetexcept.c: Cleanup.
3651 * sysdeps/arm/fegetround.c: Cleanup.
3652 * sysdeps/arm/feholdexcpt.c: Cleanup.
3653 * sysdeps/arm/fesetenv.c: Cleanup.
3654 * sysdeps/arm/fesetround.c: Cleanup.
3655 * sysdeps/arm/feupdateenv.c: Cleanup.
3656 * sysdeps/arm/fgetexcptflg.c: Cleanup.
3657 * sysdeps/arm/fraiseexcpt.c: Cleanup.
3658 * sysdeps/arm/fsetexcptflg.c: Cleanup.
3659 * sysdeps/arm/ftestexcept.c: Cleanup.
3660 * sysdeps/arm/get-rounding-mode.h: Cleanup.
3661 * sysdeps/arm/setfpucw.c: Cleanup.
3663 2014-05-09 Will Newton <will.newton@linaro.org>
3665 * sysdeps/arm/armv7/strcmp.S: New file.
3666 * NEWS: Mention addition of ARMv7 optimized strcmp.
3668 2014-05-08 Roland McGrath <roland@hack.frob.com>
3670 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
3671 look for %.ac rather than %.in.
3673 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
3674 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
3675 * sysdeps/mach/hurd/configure: Regenerated.
3676 * sysdeps/unix/sysv/linux/configure: Regenerated.
3678 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
3680 2014-05-07 Steve Ellcey <sellcey@mips.com>
3683 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
3687 2014-05-07 Andreas Schwab <schwab@suse.de>
3689 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
3690 when skipping over non-matching result from nscd.
3692 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
3695 * nptl/sockperf.c (client): Check socket return value.
3698 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
3699 nscd security class.
3701 2014-05-06 Roland McGrath <roland@hack.frob.com>
3703 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
3704 * sysdeps/arm/unwind.h: ... here.
3706 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
3709 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
3712 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3714 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
3715 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
3716 multiarch strncpy for PPC64.
3717 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
3718 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
3719 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
3720 multiarch optimizations.
3721 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3722 (__libc_ifunc_impl_list): Likewise.
3723 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
3724 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
3725 multiarch stpncpy for PPC64.
3726 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
3727 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
3729 2014-05-06 Andreas Schwab <schwab@suse.de>
3732 * gmon/mcount.c (_MCOUNT_DECL): Use
3733 atomic_compare_and_exchange_bool_acq instead of
3734 catomic_compare_and_exchange_bool_acq.
3736 2014-05-05 Roland McGrath <roland@hack.frob.com>
3738 * elf/Makefile (others, install-bin): Remove pldd.
3739 (pldd-modules): Variable removed.
3740 ($(objpfx)pldd): Target removed.
3741 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
3742 (others, install-bin): Append pldd here.
3743 ($(objpfx)pldd): New target.
3745 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
3746 to 0, so the first #if test emitted later doesn't see it undefined.
3747 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
3748 * sysdeps/gnu/errlist.c: Regenerated.
3750 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3752 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3753 [libc_hidden_builtin_def]: Define to empty value.
3754 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
3755 [libc_hidden_builtin_def]: Likewise.
3756 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
3757 [libc_hidden_builtin_def]: Likewise.
3758 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
3759 [libc_hidden_builtin_def]: Likewise.
3760 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
3761 __redirect_memcpy and define ifunc as default hidden symbol.
3762 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
3763 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
3765 2014-05-04 Adam Conrad <adconrad@0c3.net>
3767 * locale/iso-4217.def: Reintroduce XDR currency.
3769 2014-05-04 Allan McRae <allan@archlinux.org>
3771 * po/eo.po: Update Esperanto translation from translation project.
3773 2014-05-02 Carlos O'Donell <carlos@redhat.com>
3775 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
3776 and FEATURE_INDEX_MAX to 1.
3777 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
3779 2014-05-01 Steve Ellcey <sellcey@mips.com>
3781 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
3782 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
3783 * iconvdata/big5.c (ONE_DIRECTION): Define.
3784 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
3785 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
3786 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
3787 * iconvdata/cp932.c (ONE_DIRECTION): Define.
3788 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
3789 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
3790 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
3791 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
3792 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
3793 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
3794 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
3795 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
3796 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
3797 * iconvdata/gbk.c (ONE_DIRECTION): Define.
3798 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
3799 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
3800 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
3801 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
3802 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
3803 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
3804 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
3805 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
3806 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
3807 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
3808 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
3809 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
3810 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
3811 * iconvdata/iso646.c (ONE_DIRECTION): Define.
3812 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
3813 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
3814 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
3815 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
3816 * iconvdata/johab.c (ONE_DIRECTION): Define.
3817 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
3818 * iconvdata/sjis.c (ONE_DIRECTION): Define.
3819 * iconvdata/t.61.c (ONE_DIRECTION): Define.
3820 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
3821 * iconvdata/tscii.c (ONE_DIRECTION): Define.
3822 * iconvdata/uhc.c (ONE_DIRECTION): Define.
3823 * iconvdata/unicode.c (ONE_DIRECTION): Define.
3824 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
3825 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
3826 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
3828 2014-05-01 Roland McGrath <roland@hack.frob.com>
3830 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
3831 (_IO_JUMPS_OFFSET): Define to 0.
3833 * nptl/sysdeps/pthread/bits/libc-lock.h
3834 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3835 (__libc_lock_define_initialized_recursive): Always define using
3836 initializer. Modern compilers treat uninitialized (implicit zero) and
3837 explicit zero initializers the same (i.e. put the datum in bss).
3839 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3841 * nscd/nscd-client.h: Include <string.h>.
3843 2014-05-01 David S. Miller <davem@davemloft.net>
3846 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
3847 multiple zero bytes exist at the end of a string.
3848 Reported by Aurelien Jarno <aurelien@aurel32.net>
3850 * string/test-strcmp.c (check): Add explicit test for situations where
3851 there are multiple zero bytes after the first.
3853 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3856 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
3857 when compiling wprintf.
3858 * stdio-common/tstdiomisc.c (t3): New function.
3861 2014-05-01 Steve Ellcey <sellcey@mips.com>
3863 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
3864 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
3865 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
3866 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
3868 2014-05-01 Steve Ellcey <sellcey@mips.com>
3870 * stdlib/longlong.h: Updated from GCC.
3872 2014-05-01 Will Newton <will.newton@linaro.org>
3873 Bernard Ogden <bernie.ogden@linaro.org>
3875 * NEWS: Update fixed bug list.
3878 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
3880 2014-04-30 David S. Miller <davem@davemloft.net>
3882 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
3883 (libc_feholdexcept_setround_sparc_ctx): New function.
3884 (libc_fesetenv_sparc_ctx): Likewise.
3885 (libc_feupdateenv_sparc_ctx): Likewise.
3886 (libc_feholdsetround_sparc_ctx): Likewise.
3887 (libc_feholdexcept_setround_ctx): Define.
3888 (libc_feholdexcept_setroundf_ctx): Likewise.
3889 (libc_feholdexcept_setroundl_ctx): Likewise.
3890 (libc_fesetenv_ctx): Likewise.
3891 (libc_fesetenvf_ctx): Likewise.
3892 (libc_fesetenvl_ctx): Likewise.
3893 (libc_feupdateenv_ctx): Likewise.
3894 (libc_feupdateenvf_ctx): Likewise.
3895 (libc_feupdateenvl_ctx): Likewise.
3896 (libc_feresetround_ctx): Likewise.
3897 (libc_feresetroundf_ctx): Likewise.
3898 (libc_feresetroundl_ctx): Likewise.
3899 (libc_feholdsetround_ctx): Likewise.
3900 (libc_feholdsetroundf_ctx): Likewise.
3901 (libc_feholdsetroundl_ctx): Likewise.
3903 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3904 with __USE_GNU instead of XOPEN cpp guards.
3906 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
3909 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3910 with XOPEN cpp guards.
3912 2014-04-30 Julian Brown <julian@codesourcery.com>
3915 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
3918 2014-04-30 Joseph Myers <joseph@codesourcery.com>
3921 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3923 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
3924 * sysdeps/unix/sysv/linux/configure: Regenerated.
3925 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
3926 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
3927 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
3928 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
3929 * README: Update reference to required Linux kernel version.
3930 * manual/install.texi (Linux): Update reference to required Linux
3931 kernel headers version.
3932 * INSTALL: Regenerated.
3934 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
3936 [POSIX] (limits.h): Likewise.
3937 [POSIX] (math.h): Likewise.
3938 [POSIX] (sys/wait.h): Likewise.
3939 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
3941 [POSIX] (stddef.h): Do not allow header inclusion.
3943 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3945 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
3947 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
3949 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3950 Return immediately after lll_futex_wake.
3952 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3955 * nscd/nscd-client.h (datahead_init_common): Initialize entire
3957 (datahead_init_pos): Call datahead_init_common early.
3958 (datahead_init_neg): Likewise.
3960 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
3961 datahead_init_neg): New functions.
3962 * nscd/aicache.c (addhstaiX): Use them.
3963 * nscd/grpcache.c (cache_addgr): Likewise.
3964 * nscd/hstcache.c (cache_addhst): Likewise.
3965 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3966 * nscd/netgroupcache.c (do_notfound): Likewise.
3967 (addgetnetgrentX): Likewise.
3968 (addinnetgrX): Likewise.
3969 * nscd/pwdcache.c (cache_addpw): Likewise.
3970 * nscd/servicescache.c (cache_addserv): Likewise.
3972 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3973 Atsushi Onoe <atsushi@onoe.org>
3978 * resolv/res_query.c (__libc_res_nsearch): Return if at least
3979 one response is valid.
3980 * resolv/res_send.c (send_dg): Check for validity of other
3981 response if the current response is a referral.
3983 2014-04-29 Steve Ellcey <sellcey@mips.com>
3985 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3987 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
3990 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3991 Always divide by positive zero when computing -Inf result.
3992 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3993 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3995 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3997 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3998 FPSCR if value do not change.
3999 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4000 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
4001 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4002 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4003 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4004 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
4007 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
4009 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
4010 * sysdeps/unix/sysv/linux/hppa: Move directory from
4011 ports/systeps/unix/sysv/linux/hppa.
4012 * README: Update listing for hppa-*-linux-gnu.
4014 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
4017 * manual/stdio.texi (Hook functions): Fix types of stream hook
4020 * socket/sys/socket.h: Fix typo in comment.
4022 2014-04-28 Wilco <wdijkstr@arm.com>
4024 * sysdeps/arm/fenv_private.h: New file.
4025 * sysdeps/arm/math_private.h: New file.
4026 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4028 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
4030 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4032 (La_x86_64_retval): Likewise.
4034 2014-04-24 Ian Bolton <ian.bolton@arm.com>
4036 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4037 fpsr if value didn't change.
4038 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4039 to fpcr if value didn't change.
4040 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4041 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4042 fpsr or fpcr if value didn't change.
4043 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4044 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4045 fpcr if value didn't change.
4046 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4047 to fpsr if value didn't change.
4049 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4051 * nptl/tst-sem3.c: Use test-skeleton.c
4052 (main): Rename to do_test. Use return instead of
4054 * nptl/tst-sem4.c: Use test-skeleton.c
4055 (main): Rename to do_test.
4057 2014-04-22 David S. Miller <davem@davemloft.net>
4059 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4060 (struct sigaction): New struct member __glibc_reserved0, change
4061 type of sa_flags to int.
4063 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
4065 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4066 (COUNT_LEADING_ZEROS_0): Define for AArch64.
4068 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4070 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4071 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4073 2014-04-22 Will Newton <will.newton@linaro.org>
4074 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
4076 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4077 (__longjmp): Add longjmp and longjmp_target SystemTap
4079 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4080 (__sigsetjmp): Add setjmp SystemTap probe.
4082 2014-04-17 Carlos O'Donell <carlos@redhat.com>
4084 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4087 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4089 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4091 * sysdeps/powerpc/fpu/fenv_private.h
4092 (libc_feholdexcept_setroundl_ctx): Define to
4093 libc_feholdexcept_setround_ppc_ctx.
4094 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4095 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4096 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4097 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4099 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4101 * sysdeps/aarch64/math-tests.h: New file.
4103 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
4105 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4107 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4108 Check and set bit_AVX2_Usable.
4109 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4111 (bit_AVX2): Likewise.
4112 (index_AVX2_Usable): Likewise.
4113 (CPUID_AVX2): Likewise.
4114 (HAS_AVX2): Likewise.
4116 2014-04-17 Will Newton <will.newton@linaro.org>
4118 * manual/setjmp.texi (System V contexts): Add note that
4119 calling setcontext on a context created by a call to a
4120 signal handler is undefined. Update text to note that
4121 setcontext from a signal handler is possible but not
4125 * stdlib/tst-setcontext.c: Include signal.h.
4126 (main): Check that the signal stack before and
4127 after swapcontext is the same.
4129 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4130 Re-implement to restore registers in user code and avoid
4131 rt_sigreturn system call.
4133 2014-04-17 Wilco <wdijkstr@arm.com>
4135 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4136 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4137 * math/test-fenv.c: Skip exception trap tests on targets which only
4138 support non-stop mode.
4140 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4141 Wilco Dijkstra <wilco.dijkstra@arm.com>
4143 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
4144 (libc_feholdsetround_aarch64_ctx)
4145 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
4146 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
4147 (libc_feresetround_ctx, libc_feresetroundf_ctx)
4148 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
4149 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
4150 (libc_feresetround_noexl_ctx): Define.
4152 2014-04-16 Richard Henderson <rth@redhat.com>
4154 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
4156 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
4159 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
4160 const from the non-libc, non-ldso copy.
4162 * sysdeps/alpha/libm-test-ulps: Regenerate.
4164 2014-04-16 Ian Bolton <ian.bolton@arm.com>
4165 Wilco Dijkstra <wilco.dijkstra@arm.com>
4167 * sysdeps/aarch64/fpu/math_private.h: New file.
4169 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
4171 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4173 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
4175 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
4176 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
4177 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
4178 Intel MPX bound registers before _dl_profile_fixup.
4179 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
4180 registers after _dl_profile_fixup. Save and restore bound
4181 registers bnd0/bnd1 when calling _dl_call_pltexit.
4182 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
4183 (LR_BND_OFFSET): Likewise.
4184 (LRV_BND0_OFFSET): Likewise.
4185 (LRV_BND1_OFFSET): Likewise.
4187 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4189 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
4191 * sysdeps/mach/hurd/i386/tls.h: ... here.
4192 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
4193 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
4196 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4198 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
4200 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4202 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4204 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4207 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
4208 * sysdeps/s390/configure: Regenerate.
4211 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
4212 Set round-to-nearest internally to reduce error accumulation.
4214 2014-04-16 Alan Modra <amodra@gmail.com>
4218 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
4219 * math/libm-test.inc (frexp_test_data): Add tests.
4220 * NEWS: Update fixed bug list.
4222 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4224 * benchtests/Makefile: Depend on libraries in build directory.
4225 (bench-math): Separate out math tests.
4226 (bench-pthread): Separate out pthread tests.
4227 (bench): Include math and pthread tests.
4229 2014-04-14 Carlos O'Donell <carlos@redhat.com>
4232 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
4233 _dl_debug_initialize.
4235 * configure.ac: Remove SELinux header check.
4236 * configure: Regenerate.
4237 * nscd/selinux.c (perms): Array of const char* to permission names.
4238 (nscd_request_avc_has_perm): Call security_deny_unknown to find
4239 default policy. Call string_to_security_class and string_to_av_perm to
4240 translate strings. Enforce default policy and call avs_has_perm with
4241 results of translated strings.
4243 2014-04-13 David S. Miller <davem@davemloft.net>
4245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4247 2014-04-12 Allan McRae <allan@archlinux.org>
4250 * manual/string.texi (Collation Functions): Fix qsort argument
4252 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4254 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
4256 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
4257 Make the test a no-op if there are no exceptions defined.
4259 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
4261 * elf/Makefile (tests): make tst-dlopen-aout conditional on
4262 enable-hardcoded-path-in-tests
4264 2014-04-11 Will Newton <will.newton@linaro.org>
4266 * benchtests/Makefile (extra-objs): Add json-lib.o.
4267 (bench-func): Tidy up JSON output.
4268 * benchtests/bench-skeleton.c: Include json-lib.h.
4269 (main): Use JSON library functions to do output of
4271 * benchtests/bench-timing-type.c (main): Output the
4272 timing type simply, leaving formatting to the user.
4273 * benchtests/json-lib.c: New file.
4274 * benchtests/json-lib.h: Likewise.
4276 2014-04-11 Torvald Riegel <triegel@redhat.com>
4279 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
4280 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
4281 memory barriers. Add comments.
4282 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
4283 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
4284 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
4285 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
4286 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
4287 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
4289 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4291 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
4292 * sysdeps/s390/s390-64/configure.ac: ... this ...
4293 * sysdeps/s390/configure.ac: ... to here.
4294 * sysdeps/s390/s390-32/configure: Delete file.
4295 * sysdeps/s390/s390-64/configure: Delete file.
4296 * sysdeps/s390/configure: Regenerate.
4298 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
4300 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
4302 2014-04-11 Will Newton <will.newton@linaro.org>
4304 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
4305 to zero if it is not defined elsewhere. (mtrim): Test
4306 the value of MALLOC_DEBUG with #if rather than #ifdef.
4308 2014-04-10 Torvald Riegel <triegel@redhat.com>
4310 * benchtests/pthread_once-inputs: New file.
4311 * benchtests/pthread_once-source.c: New file.
4312 * benchtests/README: Update documentation.
4314 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
4315 H.J. Lu <hongjiu.lu@intel.com>
4317 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
4318 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
4319 * sysdeps/x86_64/configure: Regenerated.
4320 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
4322 (REGISTER_SAVE_RAX): Likewise.
4323 (REGISTER_SAVE_RCX): Likewise.
4324 (REGISTER_SAVE_RDX): Likewise.
4325 (REGISTER_SAVE_RSI): Likewise.
4326 (REGISTER_SAVE_RDI): Likewise.
4327 (REGISTER_SAVE_R8): Likewise.
4328 (REGISTER_SAVE_R9): Likewise.
4329 (REGISTER_SAVE_BND0): Likewise.
4330 (REGISTER_SAVE_BND1): Likewise.
4331 (REGISTER_SAVE_BND2): Likewise.
4332 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
4333 bound registers when calling _dl_fixup.
4335 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4337 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
4338 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
4340 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
4341 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
4342 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
4343 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
4344 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
4345 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
4346 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
4348 2014-04-09 Peter Brett <peter@peter-b.co.uk>
4351 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
4352 pathconf(_PC_NAME_MAX).
4354 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4356 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
4358 (__PTHREAD_SPINS): Move definition to ...
4359 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4360 (__PTHREAD_SPINS): ... here.
4361 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4362 (__PTHREAD_SPIN): Likewise.
4363 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
4364 (__PTHREAD_SPIN): Likewise.
4365 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
4366 (__PTHREAD_SPIN): Likewise.
4367 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
4368 (__PTHREAD_SPIN): Likewise.
4369 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4370 (__PTHREAD_SPIN): Likewise.
4371 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4372 (__PTHREAD_SPIN): Likewise.
4373 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
4374 (__PTHREAD_SPIN): Likewise.
4375 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4376 (__PTHREAD_SPIN): Likewise.
4377 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4378 (__PTHREAD_SPIN): Likewise.
4379 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4380 (__PTHREAD_SPIN): Likewise.
4381 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4382 (__PTHREAD_SPIN): Likewise.
4383 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
4384 (__PTHREAD_SPIN): Likewise.
4386 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
4387 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
4388 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
4389 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
4391 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
4392 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
4393 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
4394 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
4396 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
4397 strlen symbol for non multi-arch builds.
4398 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
4399 missing hidden_def and weak_alias.
4401 2014-04-08 Carlos O'Donell <carlos@redhat.com>
4403 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
4405 2014-04-07 Will Newton <will.newton@linaro.org>
4407 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
4408 and contents. [!_LIBC] Remove #ifndef and contents.
4409 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
4410 * string/memccpy.c (__memccpy): Use ANSI prototype.
4411 * string/memfrob.c (memfrob): Likewise.
4412 * string/strcoll.c (STRCOLL): Likewise.
4413 * string/strlen.c (strlen): Likewise.
4414 * string/strtok.c (STRTOK): Likewise.
4415 * string/strcat.c: Remove unused #include of memcopy.h.
4416 (strcat): Use ANSI prototype.
4417 * string/strchr.c: Remove unused #include of memcopy.h.
4418 (strchr): Use ANSI prototype.
4419 * string/strcmp.c: Remove unused #include of memcopy.h.
4420 (strcmp): Use ANSI prototype.
4421 * string/strcpy.c: Remove unused #include of memcopy.h.
4422 (strcpy): Use ANSI prototype.
4424 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4426 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
4427 * config.make.in (config-extra-cppflags): Set it from
4428 libc_extra_cppflags.
4429 * configure.ac (libc_extra_cflags): Make it accumulate over
4430 configure fragments.
4431 (libc_extra_cppflags): New flag.
4432 * configure. Regenerate.
4433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4434 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
4435 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
4436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4439 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
4440 result for FE_DOWNWARD rounding mode.
4441 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4445 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
4447 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
4448 in function argument name.
4450 2014-04-03 David Svoboda <svoboda@cert.org>
4453 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
4456 2014-04-03 Roland McGrath <roland@hack.frob.com>
4458 * elf/dl-unmap-segments.h: New file.
4459 * sysdeps/generic/ldsodefs.h
4460 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
4461 * elf/dl-close.c: Include <dl-unmap-segments.h>.
4462 * elf/dl-fptr.c: Likewise.
4463 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
4464 * sysdeps/aarch64/tlsdesc.c: Likewise.
4465 * sysdeps/arm/tlsdesc.c: Likewise.
4466 * sysdeps/i386/tlsdesc.c: Likewise.
4467 * sysdeps/tile/dl-runtime.c: Likewise.
4468 * sysdeps/x86_64/tlsdesc.c: Likewise.
4469 * elf/dl-load.h: New file.
4470 * elf/dl-load.c: Include it.
4471 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4472 Macros moved to dl-load.h.
4473 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4474 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4475 Use _dl_unmap_segments in place of __munmap.
4476 Break out segment-mapping loop into ...
4477 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4479 2014-04-03 Will Newton <will.newton@linaro.org>
4481 * elf/dl-lookup.c (do_lookup_x): Remove comment
4482 referring to nested function and move variable
4483 declarations down to before first use.
4485 2014-04-02 Joseph Myers <joseph@codesourcery.com>
4489 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4491 * math/s_catanf.c (__catanf): Likewise.
4492 * math/s_catanh.c (__catanh): Likewise.
4493 * math/s_catanhf.c (__catanhf): Likewise.
4494 * math/s_catanhl.c (__catanhl): Likewise.
4495 * math/s_catanl.c (__catanl): Likewise.
4496 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4497 by positive zero when computing -Inf result.
4498 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4499 (catanh_test): Likewise.
4500 * sysdeps/i386/fpu/libm-test-ulps: Update.
4501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4504 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4505 instead of using underflowing value in computing result.
4506 * math/s_clog10.c (__clog10): Likewise.
4507 * math/s_clog10f.c (__clog10f): Likewise.
4508 * math/s_clog10l.c (__clog10l): Likewise.
4509 * math/s_clogf.c (__clogf): Likewise.
4510 * math/s_clogl.c (__clogl): Likewise.
4511 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4512 (clog10_test): Likewise.
4513 * sysdeps/i386/fpu/libm-test-ulps: Update.
4514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4516 2014-04-02 Alan Modra <amodra@gmail.com>
4519 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4520 output when value is near a power of two. Use int64_t for lx and
4521 remove casts. Use decimal rather than hex exponent constants.
4522 Don't use long double multiplication when double will suffice.
4523 * math/libm-test.inc (nextafter_test_data): Add tests.
4524 * NEWS: Add 16739 and 16786 to bug list.
4526 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4528 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4530 2014-04-01 Will Newton <will.newton@linaro.org>
4532 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4533 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
4535 2014-04-01 Florian Weimer <fweimer@redhat.com>
4538 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4539 * nptl/tst-setuid2.c: New file.
4540 * nptl/Makefile (xtests): Add tst-setuid2.
4542 2014-04-01 Alan Modra <amodra@gmail.com>
4545 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4547 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4551 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4552 set errno as appropriate.
4553 * math/w_scalbf.c (__scalbf): Likewise.
4554 * math/w_scalbl.c (__scalbl): Likewise.
4555 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4556 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4557 * math/libm-test.inc (scalb_test_data): Add errno expectations.
4561 * math/w_atan2.c: Include <errno.h>.
4562 (__atan2): Set errno for result underflowing to zero.
4563 * math/w_atan2f.c: Include <errno.h>.
4564 (__atan2f): Set errno for result underflowing to zero.
4565 * math/w_atan2l.c: Include <errno.h>.
4566 (__atan2l): Set errno for result underflowing to zero.
4567 * math/auto-libm-test-in: Don't allow missing errno for some atan2
4569 * math/auto-libm-test-out: Regenerated.
4571 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4573 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4574 Encode instruction correctly in little endian.
4575 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4577 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4579 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4581 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4584 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4587 * sysdeps/unix/sysv/linux/kernel-features.h
4588 [__sparc__ && !__arch64__ && !__sparc_v9__]
4589 (__ASSUME_SET_ROBUST_LIST): Do not define.
4590 [__sparc__ && !__arch64__ && !__sparc_v9__]
4591 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4592 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4594 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4595 (__ASSUME_FUTEX_LOCK_PI): Undefine.
4596 (__ASSUME_REQUEUE_PI): Likewise.
4597 (__ASSUME_SET_ROBUST_LIST): Likewise.
4598 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4599 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4601 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4602 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4604 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4606 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4608 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4609 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4611 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4612 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4616 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4617 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4618 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4620 2014-03-31 Will Newton <will.newton@linaro.org>
4622 * benchtests/Makefile (bench): Add ffs and ffsll to list
4624 * benchtests/ffs-inputs: New file.
4625 * benchtests/ffsll-inputs: Likewise.
4627 2014-03-29 Joseph Myers <joseph@codesourcery.com>
4630 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4631 too large before casting to int.
4632 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4633 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4634 * math/libm-test.inc (scalb_test_data): Add more tests.
4636 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4638 * benchtests/Makefile (DETAILED_OPT): New make option.
4639 (bench-func): Run benchmark program with -d if DETAILED_OPT is
4641 * benchtests/bench-skeleton.c: Include stdbool.h.
4642 (main): Store and print timings per input.
4643 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4644 member to each argument value.
4645 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4646 (_print_arg_data): Initialize per-input timing to 0.
4648 * benchtests/Makefile (timing-type): New binary.
4649 (bench-clean): Also remove bench-timing-type.
4650 (bench): New target for timing-type.
4651 (bench-func): Print output in JSON format.
4652 * benchtests/bench-skeleton.c (main): Print output in JSON
4654 * benchtests/bench-timing-type.c: New file.
4655 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
4656 (TIMING_PRINT_STATS): Remove.
4657 * benchtests/scripts/bench.py (_print_arg_data): Store variant
4660 * benchtests/bench-modf.c: Remove.
4661 * benchtests/modf-inputs: New inputs file.
4663 2014-03-28 Joseph Myers <joseph@codesourcery.com>
4666 * math/s_clog10.c (M_PI_LOG10E): New macro.
4667 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
4668 imaginary parts are 0.
4669 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
4670 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
4671 imaginary parts are 0.
4672 * math/s_clog10l.c (M_PI_LOG10El): New macro.
4673 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
4674 imaginary parts are 0.
4675 * math/libm-test.inc (clog10_test_data): Update expected results
4676 for when real and imaginary parts are 0.
4678 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
4680 * elf/dl-load.c: Finish conversion of __builtin_expect into
4683 2014-03-27 Joseph Myers <joseph@codesourcery.com>
4686 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
4687 1+x for argument with exponent below -67.
4688 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
4690 * math/auto-libm-test-in: Add more tests of exp.
4691 * math/auto-libm-test-out: Regenerated.
4693 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4696 * inet/getnetgrent_r.c (get_nonempty_val): New function.
4697 (nscd_getnetgrent): Use it.
4700 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
4703 2014-03-27 Andi Kleen <ak@linux.intel.com>
4705 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
4706 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4707 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4708 (lll_robust_unlock): Remove out of line section. Use cfi
4710 (LLL_STUB_UNWIND_INFO*): Remove.
4711 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
4712 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4713 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4714 (lll_robust_unlock): Remove out of line section. Use cfi
4716 (LLL_STUB_UNWIND_INFO*): Remove.
4718 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4721 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
4724 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
4726 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
4728 2014-03-26 Joseph Myers <joseph@codesourcery.com>
4731 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
4733 * math/test-fenv-preserve.c: New file.
4734 * math/Makefile (tests): Add test-fenv-preserve.
4736 2014-03-26 Will Newton <will.newton@linaro.org>
4738 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
4740 2014-03-25 Roland McGrath <roland@hack.frob.com>
4742 * scripts/versionlist.awk: Partition the version sets and emit all
4743 GLIBC_* (sorted) before all others (sorted).
4745 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4747 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
4748 GLIBC_2.2.5 version.
4750 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4752 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
4755 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
4758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4760 2014-03-25 Andreas Schwab <schwab@suse.de>
4762 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
4763 label to be used after in6ailist is initialized.
4765 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4767 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4768 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4770 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4774 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
4776 (fp_formats): Update initializers.
4777 (init_fp_formats): Initialize new field.
4778 (output_for_one_input_case): Allow underflow for results up to
4780 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
4781 * math/auto-libm-test-in: Don't mark some underflows from asin and
4783 * math/auto-libm-test-out: Regenerated.
4784 * sysdeps/i386/fpu/libm-test-ulps: Update.
4785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4787 2014-03-25 Andreas Schwab <schwab@suse.de>
4789 * libio/Makefile (tst-ftell-partial-wide-ENV)
4790 (tst-ftell-active-handler-ENV): Define.
4792 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4794 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
4796 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4798 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
4800 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4802 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
4803 * sysdeps/x86_64/fpu/multiarch/e_exp.c
4804 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4806 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4809 * elf/dl-load.c (open_verify): Add mode parameter.
4810 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
4811 (open_path): Change from boolean 'secure' to complete flag 'mode'
4812 (_dl_map_object): Adjust.
4813 * elf/Makefile (tests): Add tst-dlopen-aout.
4814 * elf/tst-dlopen-aout.c: New test.
4816 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4819 * sysdeps/unix/sysv/linux/s390/bits/stat.h
4820 (struct stat): Rename member pad0 to __glibc_reserved0.
4823 * sysdeps/s390/s390-32/bits/wordsize.h
4824 (__WORDSIZE32_SIZE_ULONG): New define.
4825 * sysdeps/s390/s390-64/bits/wordsize.h
4826 (__WORDSIZE32_SIZE_ULONG): Likewise.
4827 * sysdeps/generic/stdint.h (SIZE_MAX):
4828 Define as UL if __WORDSIZE32_SIZE_ULONG.
4831 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4832 (__glibc_reserved0): New variable.
4833 (sa_flags): Change type to int.
4835 * posix/Makefile (before-compile): Use += before-compile instead
4838 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4839 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4841 2014-03-20 Andreas Schwab <schwab@suse.de>
4844 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
4845 non-matching result from nscd.
4847 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4849 * scripts/bench.py: Moved to ...
4850 * benchtests/scripts/bench.py: ... here.
4851 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
4853 2014-03-24 Andreas Schwab <schwab@suse.de>
4856 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
4857 alloca_account and account alloca use for struct in6ailist.
4859 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4862 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
4863 rounding mode to recompute results that overflow to infinity or
4865 * math/auto-libm-test-in: Don't mark tests as expected to fail for
4867 * math/auto-libm-test-out: Regenerated.
4868 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
4869 (ccosh_test): Likewise.
4870 (csin_test_data): Use plus_oflow.
4871 (csin_test): Use ALL_RM_TEST.
4872 (csinh_test_data): Use plus_oflow.
4873 (csinh_test): Use ALL_RM_TEST.
4874 * sysdeps/i386/fpu/libm-test-ulps: Update.
4875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4877 2014-03-21 Joseph Myers <joseph@codesourcery.com>
4879 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
4880 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
4881 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
4884 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
4886 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
4887 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
4888 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4889 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
4891 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
4892 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
4894 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
4895 * sysdeps/i386/fpu/libm-test-ulps: Update.
4896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4898 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4900 * scripts/bench.pl: Remove file.
4901 * scripts/bench.py: New benchmark script.
4902 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
4903 * benchtests/README: Mention python dependency.
4904 * scripts/pylintrc: New file.
4905 * scripts/pylint: New file.
4907 * bits/mathdef.h: Use #ifdef instead of #if.
4908 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
4909 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4910 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
4911 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4912 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
4913 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4915 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4916 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4918 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
4919 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
4920 and strpbrk-ppc64 objects.
4921 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4922 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
4923 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
4924 multiarch strpbrk for POWER7.
4925 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
4926 multiarch strpbrk for PPC64.
4927 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
4929 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
4932 2014-03-20 Joseph Myers <joseph@codesourcery.com>
4934 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
4935 (atan_test): Likewise.
4936 (atanh_test_data): Use NO_TEST_INLINE for two tests.
4937 (atanh_test): Use ALL_RM_TEST.
4938 (atan2_test_data): Likewise.
4939 (cabs_test): Likewise.
4940 (cacosh_test): Likewise.
4941 (carg_test): Likewise.
4942 (casin_test): Likewise.
4943 (casinh_test): Likewise.
4944 (cbrt_test): Likewise.
4945 (csqrt_test): Likewise.
4946 (erf_test): Likewise.
4947 (erfc_test): Likewise.
4948 (pow10_test): Likewise.
4949 (exp2_test): Likewise.
4950 (hypot_test): Likewise.
4951 (j0_test): Likewise.
4952 (j1_test): Likewise.
4953 (lgamma_test): Likewise.
4954 (gamma_test): Likewise.
4955 (sincos_test): Likewise.
4956 (tanh_test): Likewise.
4957 (y0_test): Likewise.
4958 (y1_test): Likewise.
4959 * sysdeps/i386/fpu/libm-test-ulps: Update.
4960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4962 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4964 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
4965 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
4966 and strcspn-ppc64 objects.
4967 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4968 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
4969 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
4970 multiarch strcspn for POWER7.
4971 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
4972 multiarch strcspn for PPC64.
4973 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
4975 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
4978 2014-03-20 Joseph Myers <joseph@codesourcery.com>
4980 * math/gen-libm-test.pl (generate_testfile): Expect only function
4981 name as argument to AUTO_TESTS_* and pass results for all rounding
4982 modes to parse_args.
4983 (parse_auto_input): Separate inputs of automatic tests from
4984 outputs before storing in %auto_tests.
4985 * math/libm-test.inc (acos_test_data): Update call to
4987 (acos_test): Use ALL_RM_TEST.
4988 (acos_tonearest_test_data): Remove.
4989 (acos_test_tonearest): Likewise.
4990 (acos_towardzero_test_data): Likewise.
4991 (acos_test_towardzero): Likewise.
4992 (acos_downward_test_data): Likewise.
4993 (acos_test_downward): Likewise.
4994 (acos_upward_test_data): Likewise.
4995 (acos_test_upward): Likewise.
4996 (acosh_test_data): Update call to AUTO_TESTS_f_f.
4997 (asin_test_data): Likewise.
4998 (asin_test): Use ALL_RM_TEST.
4999 (asin_tonearest_test_data): Remove.
5000 (asin_test_tonearest): Likewise.
5001 (asin_towardzero_test_data): Likewise.
5002 (asin_test_towardzero): Likewise.
5003 (asin_downward_test_data): Likewise.
5004 (asin_test_downward): Likewise.
5005 (asin_upward_test_data): Likewise.
5006 (asin_test_upward): Likewise.
5007 (asinh_test_data): Update call to AUTO_TESTS_f_f.
5008 (atan_test_data): Likewise.
5009 (atanh_test_data): Likewise.
5010 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
5011 (cabs_test_data): Update call to AUTO_TESTS_c_f.
5012 (carg_test_data): Likewise.
5013 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5014 (ccos_test_data): Update call to AUTO_TESTS_c_c.
5015 (ccosh_test_data): Likewise.
5016 (cexp_test_data): Likewise.
5017 (clog_test_data): Likewise.
5018 (clog10_test_data): Likewise.
5019 (cos_test_data): Update call to AUTO_TESTS_f_f.
5020 (cos_test): Use ALL_RM_TEST.
5021 (cos_tonearest_test_data): Remove.
5022 (cos_test_tonearest): Likewise.
5023 (cos_towardzero_test_data): Likewise.
5024 (cos_test_towardzero): Likewise.
5025 (cos_downward_test_data): Likewise.
5026 (cos_test_downward): Likewise.
5027 (cos_upward_test_data): Likewise.
5028 (cos_test_upward): Likewise.
5029 (cosh_test_data): Update call to AUTO_TESTS_f_f.
5030 (cosh_test): Use ALL_RM_TEST.
5031 (cosh_tonearest_test_data): Remove.
5032 (cosh_test_tonearest): Likewise.
5033 (cosh_towardzero_test_data): Likewise.
5034 (cosh_test_towardzero): Likewise.
5035 (cosh_downward_test_data): Likewise.
5036 (cosh_test_downward): Likewise.
5037 (cosh_upward_test_data): Likewise.
5038 (cosh_test_upward): Likewise.
5039 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5040 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5041 (ctan_test_data): Likewise.
5042 (ctan_test): Use ALL_RM_TEST.
5043 (ctan_tonearest_test_data): Remove.
5044 (ctan_test_tonearest): Likewise.
5045 (ctan_towardzero_test_data): Likewise.
5046 (ctan_test_towardzero): Likewise.
5047 (ctan_downward_test_data): Likewise.
5048 (ctan_test_downward): Likewise.
5049 (ctan_upward_test_data): Likewise.
5050 (ctan_test_upward): Likewise.
5051 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5052 (ctanh_test): Use ALL_RM_TEST.
5053 (ctanh_tonearest_test_data): Remove.
5054 (ctanh_test_tonearest): Likewise.
5055 (ctanh_towardzero_test_data): Likewise.
5056 (ctanh_test_towardzero): Likewise.
5057 (ctanh_downward_test_data): Likewise.
5058 (ctanh_test_downward): Likewise.
5059 (ctanh_upward_test_data): Likewise.
5060 (ctanh_test_upward): Likewise.
5061 (erf_test_data): Update call to AUTO_TESTS_f_f.
5062 (erfc_test_data): Likewise.
5063 (exp_test_data): Likewise.
5064 (exp_test): Use ALL_RM_TEST.
5065 (exp_tonearest_test_data): Remove.
5066 (exp_test_tonearest): Likewise.
5067 (exp_towardzero_test_data): Likewise.
5068 (exp_test_towardzero): Likewise.
5069 (exp_downward_test_data): Likewise.
5070 (exp_test_downward): Likewise.
5071 (exp_upward_test_data): Likewise.
5072 (exp_test_upward): Likewise.
5073 (exp10_test_data): Update call to AUTO_TESTS_f_f.
5074 (exp10_test): Use ALL_RM_TEST.
5075 (exp10_tonearest_test_data): Remove.
5076 (exp10_test_tonearest): Likewise.
5077 (exp10_towardzero_test_data): Likewise.
5078 (exp10_test_towardzero): Likewise.
5079 (exp10_downward_test_data): Likewise.
5080 (exp10_test_downward): Likewise.
5081 (exp10_upward_test_data): Likewise.
5082 (exp10_test_upward): Likewise.
5083 (exp2_test_data): Update call to AUTO_TESTS_f_f.
5084 (expm1_test_data): Likewise.
5085 (expm1_test): Use ALL_RM_TEST.
5086 (expm1_tonearest_test_data): Remove.
5087 (expm1_test_tonearest): Likewise.
5088 (expm1_towardzero_test_data): Likewise.
5089 (expm1_test_towardzero): Likewise.
5090 (expm1_downward_test_data): Likewise.
5091 (expm1_test_downward): Likewise.
5092 (expm1_upward_test_data): Likewise.
5093 (expm1_test_upward): Likewise.
5094 (fma_test_data): Update call to AUTO_TESTS_fff_f.
5095 (fma_test): Use ALL_RM_TEST.
5096 (fma_towardzero_test_data): Remove.
5097 (fma_test_towardzero): Likewise.
5098 (fma_downward_test_data): Likewise.
5099 (fma_test_downward): Likewise.
5100 (fma_upward_test_data): Likewise.
5101 (fma_test_upward): Likewise.
5102 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5103 (j0_test_data): Update call to AUTO_TESTS_f_f.
5104 (j1_test_data): Likewise.
5105 (jn_test_data): Update call to AUTO_TESTS_if_f.
5106 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5107 (log_test_data): Update call to AUTO_TESTS_f_f.
5108 (log10_test_data): Likewise.
5109 (log1p_test_data): Likewise.
5110 (log2_test_data): Likewise.
5111 (pow_test_data): Update call to AUTO_TESTS_ff_f.
5112 (pow_tonearest_test_data): Likewise.
5113 (sin_test_data): Update call to AUTO_TESTS_f_f.
5114 (sin_test): Use ALL_RM_TEST.
5115 (sin_tonearest_test_data): Remove.
5116 (sin_test_tonearest): Likewise.
5117 (sin_towardzero_test_data): Likewise.
5118 (sin_test_towardzero): Likewise.
5119 (sin_downward_test_data): Likewise.
5120 (sin_test_downward): Likewise.
5121 (sin_upward_test_data): Likewise.
5122 (sin_test_upward): Likewise.
5123 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5124 (sinh_test_data): Update call to AUTO_TESTS_f_f.
5125 (sinh_test): Use ALL_RM_TEST.
5126 (sinh_tonearest_test_data): Remove.
5127 (sinh_test_tonearest): Likewise.
5128 (sinh_towardzero_test_data): Likewise.
5129 (sinh_test_towardzero): Likewise.
5130 (sinh_downward_test_data): Likewise.
5131 (sinh_test_downward): Likewise.
5132 (sinh_upward_test_data): Likewise.
5133 (sinh_test_upward): Likewise.
5134 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5135 (sqrt_test): Use ALL_RM_TEST.
5136 (sqrt_tonearest_test_data): Remove.
5137 (sqrt_test_tonearest): Likewise.
5138 (sqrt_towardzero_test_data): Likewise.
5139 (sqrt_test_towardzero): Likewise.
5140 (sqrt_downward_test_data): Likewise.
5141 (sqrt_test_downward): Likewise.
5142 (sqrt_upward_test_data): Likewise.
5143 (sqrt_test_upward): Likewise.
5144 (tan_test_data): Update call to AUTO_TESTS_f_f.
5145 (tan_test): Use ALL_RM_TEST.
5146 (tan_tonearest_test_data): Remove.
5147 (tan_test_tonearest): Likewise.
5148 (tan_towardzero_test_data): Likewise.
5149 (tan_test_towardzero): Likewise.
5150 (tan_downward_test_data): Likewise.
5151 (tan_test_downward): Likewise.
5152 (tan_upward_test_data): Likewise.
5153 (tan_test_upward): Likewise.
5154 (tanh_test_data): Update call to AUTO_TESTS_f_f.
5155 (tgamma_test_data): Likewise.
5156 (y0_test_data): Likewise.
5157 (y1_test_data): Likewise.
5158 (yn_test_data): Update call to AUTO_TESTS_if_f.
5159 (main): Do not call removed functions.
5161 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5163 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
5164 (ldexp_test_data): Remove.
5165 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
5167 (scalb_test): Use ALL_RM_TEST.
5169 2014-03-19 Andreas Schwab <schwab@suse.de>
5171 * nscd/nscd.service: Also invalidate netgroup cache on reload.
5173 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5176 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5177 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
5178 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
5179 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5180 (__ASSUME_PREADV): Undefine.
5181 (__ASSUME_PWRITEV): Likewise.
5183 2014-03-18 Roland McGrath <roland@hack.frob.com>
5185 * bits/mman-linux.h: Add comment about non-Linux use.
5186 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
5187 bits/mman-linux.h resting place.
5189 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
5190 * bits/mman-linux.h: ... here.
5192 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5194 * conform/conformtest.pl: Add standard definition when calling C
5195 preprocessor on data files.
5196 (checknamespace): Remove unused variable.
5198 2014-03-18 Joseph Myers <joseph@codesourcery.com>
5200 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
5201 minus_oflow, plus_uflow and minus_uflow in expected results.
5202 * math/libm-test.inc (scalbn_test_data): Add more tests of
5203 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
5205 (scalbn_test): Use ALL_RM_TEST.
5206 (scalbln_test_data): Add more tests of negative arguments. Use
5207 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
5208 (scalbln_test): Use ALL_RM_TEST.
5210 2014-03-18 Roland McGrath <roland@hack.frob.com>
5212 * scripts/abilist.awk: Ignore symbols marked with .hidden.
5214 2014-03-18 Will Newton <will.newton@linaro.org>
5216 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
5219 2014-03-18 Joseph Myers <joseph@codesourcery.com>
5221 * Makerules [!subdir] (check-abi): Exit with error status if a
5224 2014-03-17 Joseph Myers <joseph@codesourcery.com>
5226 * math/libm-test.inc (nearbyint_test_data): Include all tests used
5227 for rint. Include results for all rounding modes.
5228 (nearbyint_test): Use ALL_RM_TEST.
5229 (rint_test_data): Include all tests used for nearbyint.
5231 2014-03-17 Will Newton <will.newton@linaro.org>
5233 * nptl/sysdeps/pthread/pthread.h: Revert previous
5236 * sysdeps/generic/ldsodefs.h: Revert previous
5239 * libio/genops.c: Revert previous change.
5240 * libio/libioP.h: Likewise.
5241 * stdio-common/vfprintf.c: Likewise.
5243 * sysdeps/generic/math_private.h: Revert previous
5246 * sysdeps/generic/math_private.h: Check whether
5247 HAVE_RM_CTX is defined with #ifdef rather
5250 * argp/argp-fmtstream.h: Check whether
5251 __STRICT_ANSI__ is defined with #ifdef rather
5253 * argp/argp.h: Likewise.
5255 * libio/genops.c: Check whether
5256 _IO_JUMPS_OFFSET is defined with #ifdef rather
5258 * libio/libioP.h: Likewise.
5259 * stdio-common/vfprintf.c: Likewise.
5261 * sysdeps/generic/ldsodefs.h: Check whether
5262 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
5265 * nptl/sysdeps/pthread/pthread.h: Check
5266 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
5269 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5271 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
5273 * libio/tst-ftell-active-handler.c (do_append_test): Add a
5277 * libio/fileops.c (_IO_file_open): Seek to end of file but
5278 don't cache the offset.
5279 (get_file_offset): Remove function.
5280 (do_ftell): Use cached offset when available.
5281 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
5282 don't cache the offset.
5283 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
5285 (do_one_test): Call it.
5286 (do_ftell_test): Fix up expected old offset for a+ mode.
5287 * libio/wfileops.c (do_ftell_wide): Used cached offset when
5290 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
5291 up test status with function return status.
5292 (do_write_test): Likewise.
5293 (do_append_test): Likewise.
5295 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
5296 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
5299 2014-03-17 Joseph Myers <joseph@codesourcery.com>
5301 * math/gen-libm-test.pl (parse_args): Handle results specified for
5302 each rounding mode separately.
5303 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
5304 tests and results from lrint_tonearest_test_data,
5305 lrint_towardzero_test_data, lrint_downward_test_data and
5306 lrint_upward_test_data.
5307 (lrint_test): Use ALL_RM_TEST.
5308 (lrint_tonearest_test_data): Remove.
5309 (lrint_test_tonearest): Likewise.
5310 (lrint_towardzero_test_data): Likewise.
5311 (lrint_test_towardzero): Likewise.
5312 (lrint_downward_test_data): Likewise.
5313 (lrint_test_downward): Likewise.
5314 (lrint_upward_test_data): Likewise.
5315 (lrint_test_upward): Likewise.
5316 (llrint_test_data): Merge in per-rounding-mode tests and results
5317 from llrint_tonearest_test_data, llrint_towardzero_test_data,
5318 llrint_downward_test_data and llrint_upward_test_data.
5319 (llrint_test): Use ALL_RM_TEST.
5320 (llrint_tonearest_test_data): Remove.
5321 (llrint_test_tonearest): Likewise.
5322 (llrint_towardzero_test_data): Likewise.
5323 (llrint_test_towardzero): Likewise.
5324 (llrint_downward_test_data): Likewise.
5325 (llrint_test_downward): Likewise.
5326 (llrint_upward_test_data): Likewise.
5327 (llrint_test_upward): Likewise.
5328 (rint_test_data): Merge in per-rounding-mode tests and results
5329 from rint_tonearest_test_data, rint_towardzero_test_data,
5330 rint_downward_test_data and rint_upward_test_data. Add
5331 per-rounding-mode results for tests not in those arrays.
5332 (rint_test): Use ALL_RM_TEST.
5333 (rint_tonearest_test_data): Remove.
5334 (rint_test_tonearest): Likewise.
5335 (rint_towardzero_test_data): Likewise.
5336 (rint_test_towardzero): Likewise.
5337 (rint_downward_test_data): Likewise.
5338 (rint_test_downward): Likewise.
5339 (rint_upward_test_data): Likewise.
5340 (rint_test_upward): Likewise.
5341 (main): Don't call removed functions.
5343 2014-03-14 Roland McGrath <roland@hack.frob.com>
5345 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
5346 "Compiled on ..." crapola. It is anti-useful.
5348 2014-03-14 Joseph Myers <joseph@codesourcery.com>
5350 * scripts/evaluate-test.sh: Handle fourth argument to determine
5351 whether test run should stop on failure.
5352 * Makeconfig (stop-on-test-failure): New variable.
5353 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
5354 $(stop-on-test-failure).
5355 * Makefile (tests): Give a summary of results from testing and
5356 exit with failure status if they include an ERROR or FAIL.
5358 * manual/install.texi (Configuring and compiling): Mention
5359 stop-on-test-failure=y.
5360 * INSTALL: Regenerated.
5362 2014-03-14 Roland McGrath <roland@hack.frob.com>
5364 * scripts/versionlist.awk: New file.
5365 * Makerules [$(build-shared) = yes]
5366 (postclean-generated): Add Versions.def, not Versions.def.v and
5368 ($(common-objpfx)Versions.def.v.i): Target removed.
5369 ($(common-objpfx)Versions.def): New target.
5370 ($(common-objpfx)Versions.all): Depend on that rather that
5371 $(common-objpfx)Versions.def.v.
5372 * Versions.def: File removed.
5374 * Makeconfig (+gccwarn): Add -Wundef.
5375 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
5376 a dl-sysdep.h breaking its contract.
5377 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
5378 * include/stackinfo.h: New file.
5379 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
5380 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
5381 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
5382 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
5383 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
5384 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
5385 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5386 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5387 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5388 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5389 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5390 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
5391 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5392 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5393 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5395 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5398 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
5400 * math/libm-test.inc (round_test_data): Add more tests.
5403 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
5405 * math/libm-test.inc (nearbyint_test_data): Add more tests.
5408 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
5410 * math/libm-test.inc (ceil_test_data): Add more tests.
5412 * math/libm-test.inc (trunc_test_data): Add more tests related to
5415 2014-03-14 Roland McGrath <roland@hack.frob.com>
5417 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
5418 with #if rather than #ifdef.
5419 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
5421 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
5423 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
5424 first. Disable AVX-512 GCC support if assembler doesn't support
5426 * sysdeps/x86_64/configure: Regenerated.
5428 2014-03-13 Carlos O'Donell <carlos@redhat.com>
5430 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
5431 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
5432 (__old_pthread_attr_setstack): Likewise.
5433 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
5434 [!_STACK_GROWS_DOWN]: Likewise.
5436 2014-03-13 Mike Frysinger <vapier@gentoo.org>
5438 * config.make.in (have-bash2): Delete.
5439 * configure.ac (libc_cv_have_bash2): Delete.
5440 * configure: Regenerate.
5441 * elf/Makefile (common-ldd-rewrite): Rename to ...
5442 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
5443 (sh-ldd-rewrite): Delete.
5444 (bash-ldd-rewrite): Delete.
5445 (have-bash2): Delete checks.
5446 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
5449 * config.make.in (have-ksh): Delete.
5451 * configure.ac (libc_cv_have_ksh): Delete.
5452 * configure: Regenerate.
5454 * elf/Makefile: Delete $(have-ksh) check.
5455 ($(objpfx)sotruss): Change KSH to BASH.
5456 * elf/sotruss.ksh: Rename to ...
5457 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
5458 function style to match POSIX. Drop ksh vim mode setting.
5460 * manual/time.texi (Specifying the Time Zone with TZ): Change
5461 Tuesday to Thursday.
5463 * debug/tst-longjmp_chk2.c: Update header comment.
5464 (stackoverflow_handler): Add comment. Call assert on pass value.
5466 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
5468 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
5469 (HAVE_AVX512_ASM_SUPPORT): Likewise.
5470 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5471 (La_x86_64_vector): Add zmm.
5472 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5473 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5474 ($(objpfx)tst-audit10): New target.
5475 ($(objpfx)tst-audit10.out): Likewise.
5476 (tst-audit10-ENV): New.
5477 (AVX512-CFLAGS): Likewise.
5478 (CFLAGS-tst-audit10.c): Likewise.
5479 (CFLAGS-tst-auditmod10a.c): Likewise.
5480 (CFLAGS-tst-auditmod10b.c): Likewise.
5481 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5482 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5483 * sysdeps/x86_64/configure: Regenerated.
5484 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5485 AVX-512 zmm register support.
5486 (_dl_x86_64_save_sse): Likewise.
5487 (_dl_x86_64_restore_sse): Likewise.
5488 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5489 size vector registers.
5490 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5491 (ZMM_SIZE): Likewise.
5492 * sysdeps/x86_64/tst-audit10.c: New file.
5493 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5494 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5496 2014-03-13 Roland McGrath <roland@hack.frob.com>
5498 * configure.ac (HAVE_EHDR_START): New check.
5499 * configure: Regenerated.
5500 * config.h.in (HAVE_EHDR_START): New #undef.
5501 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5502 assuming the lowest-addressed segment maps the start of the file.
5504 2014-03-13 Joseph Myers <joseph@codesourcery.com>
5506 * INSTALL: Regenerated.
5508 2014-03-13 Will Newton <will.newton@linaro.org>
5510 * manual/setjmp.texi (System V contexts): Improve
5511 clarity and grammar of documentation.
5513 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
5516 * elf/Makefile (tests): Add tst-pie2.
5517 (tests-pie): Add tst-pie2.
5518 * elf/tst-pie2.c: New file.
5519 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5521 * elf/rtld.c (map_doit): Load executable as lt_executable.
5522 (dl_main): Likewise.
5524 2014-03-12 Joseph Myers <joseph@codesourcery.com>
5527 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5528 (__ASSUME_PSELECT): Undefine.
5530 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5533 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5534 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5536 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5537 selector for static builds.
5539 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5542 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5545 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5547 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5548 IFUNC selector for static builds.
5550 2014-03-11 Joseph Myers <joseph@codesourcery.com>
5552 * sysdeps/mips/math_private.h [__mips_hard_float]
5553 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5554 libc_feresetround_mips_ctx.
5555 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5556 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5557 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5560 * math/s_nextafter.c (__nextafter): Do not return value from
5561 overflowing computation.
5562 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5563 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5564 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5566 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5568 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5569 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5571 2014-03-11 Roland McGrath <roland@hack.frob.com>
5573 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5574 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5575 Move sfi_sp use from the load-multiple (that no longer sets sp) to
5576 the new mov targetting sp.
5578 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5581 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5582 Define it for static builds as well.
5583 (NO_BZERO_IMPL): Likewise.
5585 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5587 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5588 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5589 multiarch strspn for PPC64.
5590 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5591 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5592 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5593 (__libc_ifunc_impl_list): Likewise.
5594 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5595 multiarch optimizations
5596 * string/strspn.c (strspn): Using macro to redefine symbol name.
5598 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5599 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5601 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5602 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5603 multiarch strncat for PPC64.
5604 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5605 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5606 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5607 (__libc_ifunc_impl_list): Likewise.
5608 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5609 multiarch optimizations
5611 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5614 * nscd/nscd.service: Make service type forking.
5616 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5618 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5619 sign in non default rounding modes.
5620 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5622 2014-03-08 Joseph Myers <joseph@codesourcery.com>
5624 * math/libm-test.inc (ALL_RM_TEST): New macro.
5625 (ceil_test): Use ALL_RM_TEST.
5626 (cimag_test): Likewise.
5627 (conj_test): Likewise.
5628 (copysign_test): Likewise.
5629 (cproj_test): Likewise.
5630 (creal_test): Likewise.
5631 (fabs_test): Likewise.
5632 (floor_test): Likewise.
5633 (fmax_test): Likewise.
5634 (fmin_test): Likewise.
5635 (fmod_test): Likewise.
5636 (fpclassify_test): Likewise.
5637 (frexp_test): Likewise.
5638 (ilogb_test): Likewise.
5639 (isfinite_test): Likewise.
5640 (finite_test): Likewise.
5641 (isgreater_test): Likewise.
5642 (isgreaterequal_test): Likewise.
5643 (isinf_test): Likewise.
5644 (isless_test): Likewise.
5645 (islessequal_test): Likewise.
5646 (islessgreater_test): Likewise.
5647 (isnan_test): Likewise.
5648 (isnormal_test): Likewise.
5649 (issignaling_test): Likewise.
5650 (isunordered_test): Likewise.
5651 (logb_test): Likewise.
5652 (logb_downward_test_data): Remove.
5653 (logb_test_downward): Likewise.
5654 (lround_test): Use ALL_RM_TEST.
5655 (llround_test): Likewise.
5656 (modf_test): Likewise.
5657 (nexttoward_test): Likewise.
5658 (remainder_test): Likewise.
5659 (drem_test): Likewise.
5660 (remainder_tonearest_test_data): Likewise.
5661 (remainder_test_tonearest): Likewise.
5662 (drem_test_tonearest): Likewise.
5663 (remainder_towardzero_test_data): Likewise.
5664 (remainder_test_towardzero): Likewise.
5665 (drem_test_towardzero): Likewise.
5666 (remainder_downward_test_data): Likewise.
5667 (remainder_test_downward): Likewise.
5668 (drem_test_downward): Likewise.
5669 (remainder_upward_test_data): Likewise.
5670 (remainder_test_upward): Likewise.
5671 (drem_test_upward): Likewise.
5672 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
5673 (round_test): Use ALL_RM_TEST.
5674 (signbit_test): Likewise.
5675 (trunc_test): Likewise.
5676 (significand_test): Likewise.
5677 (main): Don't call removed functions.
5679 2014-03-07 Joseph Myers <joseph@codesourcery.com>
5682 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
5684 (ILL_ILLOPN): Likewise.
5685 (ILL_ILLADR): Likewise.
5686 (ILL_ILLTRP): Likewise.
5687 (ILL_PRVOPC): Likewise.
5688 (ILL_PRVREG): Likewise.
5689 (ILL_COPROC): Likewise.
5690 (ILL_BADSTK): Likewise.
5691 (FPE_INTDIV): Likewise.
5692 (FPE_INTOVF): Likewise.
5693 (FPE_FLTDIV): Likewise.
5694 (FPE_FLTOVF): Likewise.
5695 (FPE_FLTUND): Likewise.
5696 (FPE_FLTRES): Likewise.
5697 (FPE_FLTINV): Likewise.
5698 (FPE_FLTSUB): Likewise.
5699 (SEGV_MAPERR): Likewise.
5700 (SEGV_ACCERR): Likewise.
5701 (BUS_ADRALN): Likewise.
5702 (BUS_ADRERR): Likewise.
5703 (BUS_OBJERR): Likewise.
5704 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5705 (TRAP_TRACE): Likewise.
5706 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5708 (CLD_KILLED): Likewise.
5709 (CLD_DUMPED): Likewise.
5710 (CLD_TRAPPED): Likewise.
5711 (CLD_STOPPED): Likewise.
5712 (CLD_CONTINUED): Likewise.
5713 (POLL_IN): Likewise.
5714 (POLL_OUT): Likewise.
5715 (POLL_MSG): Likewise.
5716 (POLL_ERR): Likewise.
5717 (POLL_PRI): Likewise.
5718 (POLL_HUP): Likewise.
5719 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
5721 (ILL_ILLOPN): Likewise.
5722 (ILL_ILLADR): Likewise.
5723 (ILL_ILLTRP): Likewise.
5724 (ILL_PRVOPC): Likewise.
5725 (ILL_PRVREG): Likewise.
5726 (ILL_COPROC): Likewise.
5727 (ILL_BADSTK): Likewise.
5728 (FPE_INTDIV): Likewise.
5729 (FPE_INTOVF): Likewise.
5730 (FPE_FLTDIV): Likewise.
5731 (FPE_FLTOVF): Likewise.
5732 (FPE_FLTUND): Likewise.
5733 (FPE_FLTRES): Likewise.
5734 (FPE_FLTINV): Likewise.
5735 (FPE_FLTSUB): Likewise.
5736 (SEGV_MAPERR): Likewise.
5737 (SEGV_ACCERR): Likewise.
5738 (BUS_ADRALN): Likewise.
5739 (BUS_ADRERR): Likewise.
5740 (BUS_OBJERR): Likewise.
5741 (BUS_MCEERR_AR): Likewise.
5742 (BUS_MCEERR_AO): Likewise.
5743 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5744 (TRAP_TRACE): Likewise.
5745 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5747 (CLD_KILLED): Likewise.
5748 (CLD_DUMPED): Likewise.
5749 (CLD_TRAPPED): Likewise.
5750 (CLD_STOPPED): Likewise.
5751 (CLD_CONTINUED): Likewise.
5752 (POLL_IN): Likewise.
5753 (POLL_OUT): Likewise.
5754 (POLL_MSG): Likewise.
5755 (POLL_ERR): Likewise.
5756 (POLL_PRI): Likewise.
5757 (POLL_HUP): Likewise.
5758 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
5759 (ILL_ILLOPN): Likewise.
5760 (ILL_ILLADR): Likewise.
5761 (ILL_ILLTRP): Likewise.
5762 (ILL_PRVOPC): Likewise.
5763 (ILL_PRVREG): Likewise.
5764 (ILL_COPROC): Likewise.
5765 (ILL_BADSTK): Likewise.
5766 (FPE_INTDIV): Likewise.
5767 (FPE_INTOVF): Likewise.
5768 (FPE_FLTDIV): Likewise.
5769 (FPE_FLTOVF): Likewise.
5770 (FPE_FLTUND): Likewise.
5771 (FPE_FLTRES): Likewise.
5772 (FPE_FLTINV): Likewise.
5773 (FPE_FLTSUB): Likewise.
5774 (SEGV_MAPERR): Likewise.
5775 (SEGV_ACCERR): Likewise.
5776 (BUS_ADRALN): Likewise.
5777 (BUS_ADRERR): Likewise.
5778 (BUS_OBJERR): Likewise.
5779 (BUS_MCEERR_AR): Likewise.
5780 (BUS_MCEERR_AO): Likewise.
5781 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5782 (TRAP_TRACE): Likewise.
5783 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5785 (CLD_KILLED): Likewise.
5786 (CLD_DUMPED): Likewise.
5787 (CLD_TRAPPED): Likewise.
5788 (CLD_STOPPED): Likewise.
5789 (CLD_CONTINUED): Likewise.
5790 (POLL_IN): Likewise.
5791 (POLL_OUT): Likewise.
5792 (POLL_MSG): Likewise.
5793 (POLL_ERR): Likewise.
5794 (POLL_PRI): Likewise.
5795 (POLL_HUP): Likewise.
5796 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
5798 (ILL_ILLOPN): Likewise.
5799 (ILL_ILLADR): Likewise.
5800 (ILL_ILLTRP): Likewise.
5801 (ILL_PRVOPC): Likewise.
5802 (ILL_PRVREG): Likewise.
5803 (ILL_COPROC): Likewise.
5804 (ILL_BADSTK): Likewise.
5805 (ILL_BADIADDR): Likewise.
5806 (ILL_BREAK): Likewise.
5807 (FPE_INTDIV): Likewise.
5808 (FPE_INTOVF): Likewise.
5809 (FPE_FLTDIV): Likewise.
5810 (FPE_FLTOVF): Likewise.
5811 (FPE_FLTUND): Likewise.
5812 (FPE_FLTRES): Likewise.
5813 (FPE_FLTINV): Likewise.
5814 (FPE_FLTSUB): Likewise.
5815 (FPE_DECOVF): Likewise.
5816 (FPE_DECDIV): Likewise.
5817 (FPE_DECERR): Likewise.
5818 (FPE_INVASC): Likewise.
5819 (FPE_INVDEC): Likewise.
5820 (SEGV_MAPERR): Likewise.
5821 (SEGV_ACCERR): Likewise.
5822 (SEGV_PSTKOVF): Likewise.
5823 (BUS_ADRALN): Likewise.
5824 (BUS_ADRERR): Likewise.
5825 (BUS_OBJERR): Likewise.
5826 (BUS_MCEERR_AR): Likewise.
5827 (BUS_MCEERR_AO): Likewise.
5828 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5829 (TRAP_TRACE): Likewise.
5830 (TRAP_BRANCH): Likewise.
5831 (TRAP_HWBKPT): Likewise.
5832 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5834 (CLD_KILLED): Likewise.
5835 (CLD_DUMPED): Likewise.
5836 (CLD_TRAPPED): Likewise.
5837 (CLD_STOPPED): Likewise.
5838 (CLD_CONTINUED): Likewise.
5839 (POLL_IN): Likewise.
5840 (POLL_OUT): Likewise.
5841 (POLL_MSG): Likewise.
5842 (POLL_ERR): Likewise.
5843 (POLL_PRI): Likewise.
5844 (POLL_HUP): Likewise.
5845 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
5846 (ILL_ILLOPN): Likewise.
5847 (ILL_ILLADR): Likewise.
5848 (ILL_ILLTRP): Likewise.
5849 (ILL_PRVOPC): Likewise.
5850 (ILL_PRVREG): Likewise.
5851 (ILL_COPROC): Likewise.
5852 (ILL_BADSTK): Likewise.
5853 (FPE_INTDIV): Likewise.
5854 (FPE_INTOVF): Likewise.
5855 (FPE_FLTDIV): Likewise.
5856 (FPE_FLTOVF): Likewise.
5857 (FPE_FLTUND): Likewise.
5858 (FPE_FLTRES): Likewise.
5859 (FPE_FLTINV): Likewise.
5860 (FPE_FLTSUB): Likewise.
5861 (SEGV_MAPERR): Likewise.
5862 (SEGV_ACCERR): Likewise.
5863 (BUS_ADRALN): Likewise.
5864 (BUS_ADRERR): Likewise.
5865 (BUS_OBJERR): Likewise.
5866 (BUS_MCEERR_AR): Likewise.
5867 (BUS_MCEERR_AO): Likewise.
5868 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5869 (TRAP_TRACE): Likewise.
5870 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5872 (CLD_KILLED): Likewise.
5873 (CLD_DUMPED): Likewise.
5874 (CLD_TRAPPED): Likewise.
5875 (CLD_STOPPED): Likewise.
5876 (CLD_CONTINUED): Likewise.
5877 (POLL_IN): Likewise.
5878 (POLL_OUT): Likewise.
5879 (POLL_MSG): Likewise.
5880 (POLL_ERR): Likewise.
5881 (POLL_PRI): Likewise.
5882 (POLL_HUP): Likewise.
5883 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
5884 (ILL_ILLOPN): Likewise.
5885 (ILL_ILLADR): Likewise.
5886 (ILL_ILLTRP): Likewise.
5887 (ILL_PRVOPC): Likewise.
5888 (ILL_PRVREG): Likewise.
5889 (ILL_COPROC): Likewise.
5890 (ILL_BADSTK): Likewise.
5891 (FPE_INTDIV): Likewise.
5892 (FPE_INTOVF): Likewise.
5893 (FPE_FLTDIV): Likewise.
5894 (FPE_FLTOVF): Likewise.
5895 (FPE_FLTUND): Likewise.
5896 (FPE_FLTRES): Likewise.
5897 (FPE_FLTINV): Likewise.
5898 (FPE_FLTSUB): Likewise.
5899 (SEGV_MAPERR): Likewise.
5900 (SEGV_ACCERR): Likewise.
5901 (BUS_ADRALN): Likewise.
5902 (BUS_ADRERR): Likewise.
5903 (BUS_OBJERR): Likewise.
5904 (BUS_MCEERR_AR): Likewise.
5905 (BUS_MCEERR_AO): Likewise.
5906 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5907 (TRAP_TRACE): Likewise.
5908 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5910 (CLD_KILLED): Likewise.
5911 (CLD_DUMPED): Likewise.
5912 (CLD_TRAPPED): Likewise.
5913 (CLD_STOPPED): Likewise.
5914 (CLD_CONTINUED): Likewise.
5915 (POLL_IN): Likewise.
5916 (POLL_OUT): Likewise.
5917 (POLL_MSG): Likewise.
5918 (POLL_ERR): Likewise.
5919 (POLL_PRI): Likewise.
5920 (POLL_HUP): Likewise.
5921 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
5922 (ILL_ILLOPN): Likewise.
5923 (ILL_ILLADR): Likewise.
5924 (ILL_ILLTRP): Likewise.
5925 (ILL_PRVOPC): Likewise.
5926 (ILL_PRVREG): Likewise.
5927 (ILL_COPROC): Likewise.
5928 (ILL_BADSTK): Likewise.
5929 (FPE_INTDIV): Likewise.
5930 (FPE_INTOVF): Likewise.
5931 (FPE_FLTDIV): Likewise.
5932 (FPE_FLTOVF): Likewise.
5933 (FPE_FLTUND): Likewise.
5934 (FPE_FLTRES): Likewise.
5935 (FPE_FLTINV): Likewise.
5936 (FPE_FLTSUB): Likewise.
5937 (SEGV_MAPERR): Likewise.
5938 (SEGV_ACCERR): Likewise.
5939 (BUS_ADRALN): Likewise.
5940 (BUS_ADRERR): Likewise.
5941 (BUS_OBJERR): Likewise.
5942 (BUS_MCEERR_AR): Likewise.
5943 (BUS_MCEERR_AO): Likewise.
5944 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5945 (TRAP_TRACE): Likewise.
5946 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5948 (CLD_KILLED): Likewise.
5949 (CLD_DUMPED): Likewise.
5950 (CLD_TRAPPED): Likewise.
5951 (CLD_STOPPED): Likewise.
5952 (CLD_CONTINUED): Likewise.
5953 (POLL_IN): Likewise.
5954 (POLL_OUT): Likewise.
5955 (POLL_MSG): Likewise.
5956 (POLL_ERR): Likewise.
5957 (POLL_PRI): Likewise.
5958 (POLL_HUP): Likewise.
5959 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
5960 (ILL_ILLOPN): Likewise.
5961 (ILL_ILLADR): Likewise.
5962 (ILL_ILLTRP): Likewise.
5963 (ILL_PRVOPC): Likewise.
5964 (ILL_PRVREG): Likewise.
5965 (ILL_COPROC): Likewise.
5966 (ILL_BADSTK): Likewise.
5967 (ILL_DBLFLT): Likewise.
5968 (ILL_HARDWALL): Likewise.
5969 (FPE_INTDIV): Likewise.
5970 (FPE_INTOVF): Likewise.
5971 (FPE_FLTDIV): Likewise.
5972 (FPE_FLTOVF): Likewise.
5973 (FPE_FLTUND): Likewise.
5974 (FPE_FLTRES): Likewise.
5975 (FPE_FLTINV): Likewise.
5976 (FPE_FLTSUB): Likewise.
5977 (SEGV_MAPERR): Likewise.
5978 (SEGV_ACCERR): Likewise.
5979 (BUS_ADRALN): Likewise.
5980 (BUS_ADRERR): Likewise.
5981 (BUS_OBJERR): Likewise.
5982 (BUS_MCEERR_AR): Likewise.
5983 (BUS_MCEERR_AO): Likewise.
5984 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5985 (TRAP_TRACE): Likewise.
5986 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5988 (CLD_KILLED): Likewise.
5989 (CLD_DUMPED): Likewise.
5990 (CLD_TRAPPED): Likewise.
5991 (CLD_STOPPED): Likewise.
5992 (CLD_CONTINUED): Likewise.
5993 (POLL_IN): Likewise.
5994 (POLL_OUT): Likewise.
5995 (POLL_MSG): Likewise.
5996 (POLL_ERR): Likewise.
5997 (POLL_PRI): Likewise.
5998 (POLL_HUP): Likewise.
5999 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6000 (ILL_ILLOPN): Likewise.
6001 (ILL_ILLADR): Likewise.
6002 (ILL_ILLTRP): Likewise.
6003 (ILL_PRVOPC): Likewise.
6004 (ILL_PRVREG): Likewise.
6005 (ILL_COPROC): Likewise.
6006 (ILL_BADSTK): Likewise.
6007 (FPE_INTDIV): Likewise.
6008 (FPE_INTOVF): Likewise.
6009 (FPE_FLTDIV): Likewise.
6010 (FPE_FLTOVF): Likewise.
6011 (FPE_FLTUND): Likewise.
6012 (FPE_FLTRES): Likewise.
6013 (FPE_FLTINV): Likewise.
6014 (FPE_FLTSUB): Likewise.
6015 (SEGV_MAPERR): Likewise.
6016 (SEGV_ACCERR): Likewise.
6017 (BUS_ADRALN): Likewise.
6018 (BUS_ADRERR): Likewise.
6019 (BUS_OBJERR): Likewise.
6020 (BUS_MCEERR_AR): Likewise.
6021 (BUS_MCEERR_AO): Likewise.
6022 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6023 (TRAP_TRACE): Likewise.
6024 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6026 (CLD_KILLED): Likewise.
6027 (CLD_DUMPED): Likewise.
6028 (CLD_TRAPPED): Likewise.
6029 (CLD_STOPPED): Likewise.
6030 (CLD_CONTINUED): Likewise.
6031 (POLL_IN): Likewise.
6032 (POLL_OUT): Likewise.
6033 (POLL_MSG): Likewise.
6034 (POLL_ERR): Likewise.
6035 (POLL_PRI): Likewise.
6036 (POLL_HUP): Likewise.
6037 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6038 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6041 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6042 before #include of <time.h>.
6043 [!__USE_XOPEN2K] (__need_timespec): Likewise.
6044 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6045 (test-xfail-UNIX98/sched.h/conform): Likewise.
6047 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
6049 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6050 error absence of trapping exception support.
6051 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6053 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6055 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6056 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6057 * timezone/Makefile (testdata): Move definition above include of
6059 (test-zones): New variable.
6060 (tests-special): Add zone files.
6061 (build-testdata): Use $(evaluate-test).
6063 * elf/Makefile (tests-special): Rename tests to end with .out.
6064 ($(objpfx)noload-mem): Likewise.
6065 ($(objpfx)tst-leaks1-mem): Likewise.
6066 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6067 * iconv/Makefile (xtests-special): Change test-iconvconfig to
6068 $(objpfx)test-iconvconfig.out.
6069 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
6070 set -e inside subshell and redirect output to file.
6071 * iconvdata/Makefile (generated): Rename tests to end with .out.
6073 (tests-special): Rename tests to end with .out.
6074 ($(objpfx)mtrace-tst-loading): Likewise.
6075 * intl/Makefile (generated): Likewise.
6076 (tests-special): Likewise.
6077 ($(objpfx)mtrace-tst-gettext): Likewise.
6078 * misc/Makefile (generated): Likewise.
6079 (tests-special): Likewise.
6080 ($(objpfx)tst-error1-mem): Likewise.
6081 * nptl/Makefile (tests-special): Likewise.
6082 ($(objpfx)tst-stack3-mem): Likewise.
6083 (generated): Likewise.
6084 * posix/Makefile (generated): Likewise.
6085 (tests-special): Likewise.
6086 (xtests-special): Likewise.
6087 ($(objpfx)tst-fnmatch-mem): Likewise.
6088 ($(objpfx)bug-regex2-mem): Likewise.
6089 ($(objpfx)bug-regex14-mem): Likewise.
6090 ($(objpfx)bug-regex21-mem): Likewise.
6091 ($(objpfx)bug-regex31-mem): Likewise.
6092 ($(objpfx)tst-vfork3-mem): Likewise.
6093 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6094 ($(objpfx)tst-pcre-mem): Likewise.
6095 ($(objpfx)tst-boost-mem): Likewise.
6096 ($(objpfx)bug-ga2-mem): Likewise.
6097 ($(objpfx)bug-glob2-mem): Likewise.
6098 * resolv/Makefile (generate): Likewise.
6099 (tests-special): Likewise.
6100 (xtests-special): Likewise.
6101 (generated): Likewise.
6102 ($(objpfx)mtrace-tst-leaks): Likewise.
6103 ($(objpfx)mtrace-tst-leaks2): Likewise.
6105 * scripts/merge-test-results.sh: New file.
6106 * Makefile (tests-special-notdir): New variable.
6107 (tests): Run merge-test-results.sh.
6109 * Rules (tests-special-notdir): New variable.
6110 (xtests-special-notdir): Likewise.
6111 (tests): Run merge-test-results.sh
6114 * Makeconfig (test-xfail-name): New variable.
6115 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6116 compute variable name for expected failures.
6117 * conform/Makefile (conformtest-headers-data): New variable.
6118 (conformtest-standards): Likewise.
6119 (conformtest-headers-ISO): Likewise.
6120 (conformtest-headers-ISO99): Likewise.
6121 (conformtest-headers-ISO11): Likewise.
6122 (conformtest-headers-POSIX): Likewise.
6123 (conformtest-headers-XPG3): Likewise.
6124 (conformtest-headers-XPG4): Likewise.
6125 (conformtest-headers-UNIX98): Likewise.
6126 (conformtest-headers-XOPEN2K): Likewise.
6127 (conformtest-headers-POSIX2008): Likewise.
6128 (conformtest-headers-XOPEN2K8): Likewise.
6129 (conformtest-header-list-base): Likewise.
6130 (conformtest-header-list-tests): Likewise.
6131 (conformtest-header-base): Likewise.
6132 (conformtest-header-tests): Likewise.
6133 (tests-special): Add $(conformtest-header-list-tests). If
6134 [$(fast-check) && !$(cross-compiling)], add
6135 $(conformtest-header-tests) instead of
6136 $(objpfx)run-conformtest.out.
6137 (generated): Add $(conformtest-header-list-base). If
6138 [$(fast-check) && !$(cross-compiling)], add
6139 $(conformtest-header-base). Remove previous setting.
6140 ($(conformtest-header-list-tests)): New target.
6141 (test-xfail-run-conformtest): Remove variable.
6142 ($(objpfx)run-conformtest.out): Remove target.
6143 (test-xfail-ISO11/complex.h/conform): New variable.
6144 (test-xfail-ISO11/stdalign.h/conform): Likewise.
6145 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6146 (test-xfail-XPG3/varargs.h/conform): Likewise.
6147 (test-xfail-XPG4/varargs.h/conform): Likewise.
6148 (test-xfail-UNIX98/varargs.h/conform): Likewise.
6149 (test-xfail-XPG4/ndbm.h/conform): Likewise.
6150 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
6151 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
6152 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
6153 (test-xfail-XPG3/fcntl.h/conform): Likewise.
6154 (test-xfail-XPG3/ftw.h/conform): Likewise.
6155 (test-xfail-XPG3/grp.h/conform): Likewise.
6156 (test-xfail-XPG3/langinfo.h/conform): Likewise.
6157 (test-xfail-XPG3/limits.h/conform): Likewise.
6158 (test-xfail-XPG3/pwd.h/conform): Likewise.
6159 (test-xfail-XPG3/search.h/conform): Likewise.
6160 (test-xfail-XPG3/signal.h/conform): Likewise.
6161 (test-xfail-XPG3/stdio.h/conform): Likewise.
6162 (test-xfail-XPG3/stdlib.h/conform): Likewise.
6163 (test-xfail-XPG3/string.h/conform): Likewise.
6164 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
6165 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
6166 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6167 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6168 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
6169 (test-xfail-XPG3/sys/types.h/conform): Likewise.
6170 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
6171 (test-xfail-XPG3/termios.h/conform): Likewise.
6172 (test-xfail-XPG3/time.h/conform): Likewise.
6173 (test-xfail-XPG3/unistd.h/conform): Likewise.
6174 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
6175 (test-xfail-XPG4/fcntl.h/conform): Likewise.
6176 (test-xfail-XPG4/langinfo.h/conform): Likewise.
6177 (test-xfail-XPG4/netdb.h/conform): Likewise.
6178 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
6179 (test-xfail-XPG4/signal.h/conform): Likewise.
6180 (test-xfail-XPG4/stdio.h/conform): Likewise.
6181 (test-xfail-XPG4/stdlib.h/conform): Likewise.
6182 (test-xfail-XPG4/stropts.h/conform): Likewise.
6183 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
6184 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6185 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
6186 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6187 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
6188 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
6189 (test-xfail-XPG4/sys/time.h/conform): Likewise.
6190 (test-xfail-XPG4/sys/types.h/conform): Likewise.
6191 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
6192 (test-xfail-XPG4/termios.h/conform): Likewise.
6193 (test-xfail-XPG4/ucontext.h/conform): Likewise.
6194 (test-xfail-XPG4/unistd.h/conform): Likewise.
6195 (test-xfail-XPG4/utmpx.h/conform): Likewise.
6196 (test-xfail-POSIX/sched.h/conform): Likewise.
6197 (test-xfail-POSIX/signal.h/conform): Likewise.
6198 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6199 (test-xfail-POSIX/tar.h/conform): Likewise.
6200 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
6201 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
6202 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6203 (test-xfail-UNIX98/netdb.h/conform): Likewise.
6204 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
6205 (test-xfail-UNIX98/sched.h/conform): Likewise.
6206 (test-xfail-UNIX98/signal.h/conform): Likewise.
6207 (test-xfail-UNIX98/stdio.h/conform): Likewise.
6208 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6209 (test-xfail-UNIX98/stropts.h/conform): Likewise.
6210 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
6211 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
6212 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
6213 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
6214 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
6215 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6216 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
6217 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
6218 (test-xfail-UNIX98/unistd.h/conform): Likewise.
6219 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6220 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
6221 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
6222 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6223 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
6224 (test-xfail-XOPEN2K/math.h/conform): Likewise.
6225 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6226 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
6227 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
6228 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
6229 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
6230 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
6231 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
6232 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
6233 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
6234 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
6235 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
6236 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
6237 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
6238 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
6239 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
6240 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6241 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
6242 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
6243 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
6244 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
6245 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6246 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6247 (test-xfail-POSIX2008/signal.h/conform): Likewise.
6248 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
6249 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6250 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
6251 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
6252 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
6253 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
6254 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6255 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
6256 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
6257 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
6258 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
6259 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
6260 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
6261 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
6262 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
6263 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
6264 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
6265 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
6266 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
6267 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
6268 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6269 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6270 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
6271 (conformtest-cc-flags): Likewise.
6272 ($(conformtest-header-tests): New target.
6273 * conform/check-header-lists.sh: New file.
6274 * conform/run-conformtest.sh: Remove.
6276 * conform/conformtest.pl: Allow ' and \ in values given for
6278 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
6280 [POSIX] (sys/types.h): Likewise.
6281 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
6283 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
6285 * conform/data/signal.h-data (SIGIO): Remove expectation.
6286 [XPG3] (SIGBUS): Do not expect.
6287 [POSIX || XPG3] (SIGPOLL): Likewise.
6288 [POSIX || XPG3] (SIGPROF): Likewise.
6289 [POSIX || XPG3] (SIGSYS): Likewise.
6290 [XPG3] (SIGTRAP): Likewise.
6291 [POSIX || XPG3] (SIGURG): Likewise.
6292 [POSIX || XPG3] (SIGVTALRM): Likewise.
6293 [POSIX || XPG3] (SIGXCPU): Likewise.
6294 [POSIX || XPG3] (SIGXFSZ): Likewise.
6295 [POSIX] (SA_SIGINFO): Expect.
6296 [XPG3] (siginfo_t): Do not expect type or contents.
6297 [POSIX] (si_pid): Do not expect element.
6298 [POSIX] (si_uid): Likewise.
6299 [POSIX] (si_addr): Likewise.
6300 [POSIX] (si_status): Likewise.
6301 [POSIX] (si_band): Likewise.
6302 [XPG4] (si_value): Likewise.
6303 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
6304 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
6305 [POSIX || XPG3] (ILL_ILLADR): Likewise.
6306 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
6307 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
6308 [POSIX || XPG3] (ILL_PRVREG): Likewise.
6309 [POSIX || XPG3] (ILL_COPROC): Likewise.
6310 [POSIX || XPG3] (ILL_BADSTK): Likewise.
6311 [POSIX || XPG3] (FPE_INTDIV): Likewise.
6312 [POSIX || XPG3] (FPE_INTOVF): Likewise.
6313 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
6314 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
6315 [POSIX || XPG3] (FPE_FLTUND): Likewise.
6316 [POSIX || XPG3] (FPE_FLTRES): Likewise.
6317 [POSIX || XPG3] (FPE_FLTINV): Likewise.
6318 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
6319 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
6320 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
6321 [POSIX || XPG3] (BUS_ADRALN): Likewise.
6322 [POSIX || XPG3] (BUS_ADRERR): Likewise.
6323 [POSIX || XPG3] (BUS_OBJERR): Likewise.
6324 [POSIX || XPG3] (CLD_EXITED): Likewise.
6325 [POSIX || XPG3] (CLD_KILLED): Likewise.
6326 [POSIX || XPG3] (CLD_DUMPED): Likewise.
6327 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
6328 [POSIX || XPG3] (CLD_STOPPED): Likewise.
6329 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
6330 [POSIX || XPG3] (POLL_IN): Likewise.
6331 [POSIX || XPG3] (POLL_OUT): Likewise.
6332 [POSIX || XPG3] (POLL_MSG): Likewise.
6333 [POSIX || XPG3] (POLL_ERR): Likewise.
6334 [POSIX || XPG3] (POLL_PRI): Likewise.
6335 [POSIX || XPG3] (POLL_HUP): Likewise.
6336 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
6337 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
6338 (SIG*): Do not allow.
6339 [XPG3] (si_*): Likewise.
6340 [XPG3] (SI_*): Likewise.
6341 [XPG3 || XPG4] (sigev_*): Likewise.
6342 [XPG3 || XPG4] (SIGEV_*): Likewise.
6343 [XPG3 || XPG4] (sival_*): Likewise.
6344 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
6345 [POSIX || XPG3] (BUS_*): Likewise.
6346 [POSIX || XPG3] (CLD_*): Likewise.
6347 [POSIX || XPG3] (FPE_*): Likewise.
6348 [POSIX || XPG3] (ILL_*): Likewise.
6349 [POSIX || XPG3] (POLL_*): Likewise.
6350 [POSIX || XPG3] (SEGV_*): Likewise.
6351 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
6352 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
6353 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
6354 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
6355 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
6356 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
6357 Specify type and value.
6358 (TVERSLEN): Likewise.
6359 (REGTYPE): Likewise.
6360 (AREGTYPE): Likewise.
6361 (LNKTYPE): Likewise.
6362 (SYMTYPE): Likewise.
6363 (CHRTYPE): Likewise.
6364 (BLKTYPE): Likewise.
6365 (DIRTYPE): Likewise.
6366 (FIFOTYPE): Likewise.
6367 (CONTTYPE): Likewise.
6372 (TUWRITE): Likewise.
6375 (TGWRITE): Likewise.
6378 (TOWRITE): Likewise.
6380 [POSIX] (TSVTX): Expect constant.
6382 2014-03-06 Joseph Myers <joseph@codesourcery.com>
6384 * Makefile (tests): Change dependencies to ....
6385 (tests-special): ... additions to this variable.
6386 (tests): Depend on $(tests-special).
6387 * Makerules (check-abi-list): New variable.
6388 (check-abi): Depend on $(check-abi-list).
6389 [$(subdir) = elf] (tests-special): Add
6390 $(objpfx)check-abi-libc.out.
6391 [$(build-shared) = yes && subdir] (tests-special): Add
6393 [$(build-shared) = yes && subdir] (tests): Do not depend on
6395 * Rules (tests): Depend on $(tests-special).
6396 (xtests): Depend on $(xtests-special).
6397 * catgets/Makefile (tests): Change dependencies to ....
6398 (tests-special): ... additions to this variable.
6399 * conform/Makefile (tests): Change dependencies to ....
6400 (tests-special): ... additions to this variable.
6401 * elf/Makefile (tests): Change dependencies to ....
6402 (tests-special): ... additions to this variable.
6403 * grp/Makefile (tests): Change dependencies to ....
6404 (tests-special): ... additions to this variable.
6405 * iconv/Makefile (xtests): Change dependencies to ....
6406 (xtests-special): ... additions to this variable.
6407 * iconvdata/Makefile (tests): Change dependencies to ....
6408 (tests-special): ... additions to this variable.
6409 * intl/Makefile (tests): Change dependencies to ....
6410 (tests-special): ... additions to this variable. Also add
6411 $(objpfx)tst-gettext.out.
6412 * io/Makefile (tests): Change dependencies to ....
6413 (tests-special): ... additions to this variable.
6414 * libio/Makefile (tests): Change dependencies to ....
6415 (tests-special): ... additions to this variable.
6416 * malloc/Makefile (tests): Change dependencies to ....
6417 (tests-special): ... additions to this variable.
6418 * misc/Makefile (tests): Change dependencies to ....
6419 (tests-special): ... additions to this variable.
6420 * nptl/Makefile (tests): Change dependencies to ....
6421 (tests-special): ... additions to this variable.
6422 * nptl_db/Makefile (tests): Change dependencies to ....
6423 (tests-special): ... additions to this variable.
6424 * posix/Makefile (tests): Change dependencies to ....
6425 (tests-special): ... additions to this variable.
6426 (xtests): Change dependencies to ....
6427 (xtests-special): ... additions to this variable.
6428 * resolv/Makefile (tests): Change dependencies to ....
6429 (tests-special): ... additions to this variable.
6430 (xtests): Change dependencies to ....
6431 (xtests-special): ... additions to this variable.
6432 * stdio-common/Makefile (tests): Change dependencies to ....
6433 (tests-special): ... additions to this variable.
6434 (do-tst-unbputc): Remove target.
6435 (do-tst-printf): Likewise.
6436 * stdlib/Makefile (tests): Change dependencies to ....
6437 (tests-special): ... additions to this variable.
6438 * string/Makefile (tests): Change dependencies to ....
6439 (tests-special): ... additions to this variable.
6440 * sysdeps/x86/Makefile (tests): Change dependencies to ....
6441 (tests-special): ... additions to this variable.
6443 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
6445 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
6447 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
6448 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
6450 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
6451 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
6452 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
6453 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
6454 * conform/data/libgen.h-data [XPG3]: Likewise.
6455 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
6456 * conform/data/ndbm.h-data [XPG3]: Likewise.
6457 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6458 * conform/data/netdb.h-data [XPG3]: Likewise.
6459 * conform/data/netinet/in.h-data [XPG3]: Likewise.
6460 * conform/data/poll.h-data [XPG3]: Likewise.
6461 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6462 * conform/data/strings.h-data [XPG3]: Likewise.
6463 * conform/data/stropts.h-data [XPG3]: Likewise.
6464 * conform/data/sys/mman.h-data [XPG3]: Likewise.
6465 * conform/data/sys/resource.h-data [XPG3]: Likewise.
6466 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
6468 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
6469 * conform/data/sys/time.h-data [XPG3]: Likewise.
6470 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6471 * conform/data/sys/uio.h-data [XPG3]: Likewise.
6472 * conform/data/sys/un.h-data [XPG3]: Likewise.
6473 * conform/data/syslog.h-data [XPG3]: Likewise.
6474 * conform/data/ucontext.h-data [XPG3]: Likewise.
6475 * conform/data/utmpx.h-data [XPG3]: Likewise.
6476 * conform/data/varargs.h-data [UNIX98]: Enable file.
6478 * manual/Makefile (INSTALL_INFO): Remove variable setting.
6480 * math/libm-test.inc (struct test_f_f_data): Move expected results
6481 into structure for each rounding mode.
6482 (struct test_ff_f_data): Likewise.
6483 (struct test_ff_f_data_nexttoward): Likewise.
6484 (struct test_fi_f_data): Likewise.
6485 (struct test_fl_f_data): Likewise.
6486 (struct test_if_f_data): Likewise.
6487 (struct test_fff_f_data): Likewise.
6488 (struct test_c_f_data): Likewise.
6489 (struct test_f_f1_data): Likewise.
6490 (struct test_fF_f1_data): Likewise.
6491 (struct test_ffI_f1_data): Likewise.
6492 (struct test_c_c_data): Likewise.
6493 (struct test_cc_c_data): Likewise.
6494 (struct test_f_i_data): Likewise.
6495 (struct test_ff_i_data): Likewise.
6496 (struct test_f_l_data): Likewise.
6497 (struct test_f_L_data): Likewise.
6498 (struct test_fFF_11_data): Likewise.
6500 (RM_FE_DOWNWARD): Likewise.
6501 (RM_FE_TONEAREST): Likewise.
6502 (RM_FE_TOWARDZERO): Likewise.
6503 (RM_FE_UPWARD): Likewise.
6504 (RUN_TEST_LOOP_f_f): Update references to expected results.
6505 (RUN_TEST_LOOP_2_f): Likewise.
6506 (RUN_TEST_LOOP_fff_f): Likewise.
6507 (RUN_TEST_LOOP_c_f): Likewise.
6508 (RUN_TEST_LOOP_f_f1): Likewise.
6509 (RUN_TEST_LOOP_fF_f1): Likewise.
6510 (RUN_TEST_LOOP_fI_f1): Likewise.
6511 (RUN_TEST_LOOP_ffI_f1): Likewise.
6512 (RUN_TEST_LOOP_c_c): Likewise.
6513 (RUN_TEST_LOOP_cc_c): Likewise.
6514 (RUN_TEST_LOOP_f_i): Likewise.
6515 (RUN_TEST_LOOP_f_i_tg): Likewise.
6516 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6517 (RUN_TEST_LOOP_f_b): Likewise.
6518 (RUN_TEST_LOOP_f_b_tg): Likewise.
6519 (RUN_TEST_LOOP_f_l): Likewise.
6520 (RUN_TEST_LOOP_f_L): Likewise.
6521 (RUN_TEST_LOOP_fFF_11): Likewise.
6522 * math/gen-libm-test.pl (parse_args): Output four copies of
6523 expected results for each test.
6525 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6526 (__ASSUME_UTIMES): Remove.
6527 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6528 (__ASSUME_UTIMES): Likewise.
6530 * math/gen-auto-libm-tests.c: Update comment on output format.
6531 (output_for_one_input_case): Generate before-rounding and
6532 after-rounding information as conditions on output flags not
6533 floating-point format.
6534 * math/auto-libm-test-out: Regenerated.
6535 * math/gen-libm-test.pl (cond_value): New function.
6536 (or_cond_value): Use cond_value.
6537 (generate_testfile): Handle conditional exceptions.
6539 2014-03-05 Joseph Myers <joseph@codesourcery.com>
6541 * math/libm-test.inc (max_valid_error): New variable.
6542 (init_max_error): Take new argument specifying whether function
6543 results are exactly determined. Set max_valid_error and bound
6544 other variables for errors based on this argument.
6545 (set_max_error): Do not record results above max_valid_error.
6546 (check_float_internal): Only accept errors of up to 0.5ulps if
6547 also at most max_valid_error.
6548 (START): Take new argument EXACT and pass it to init_max_error.
6549 (acos_test): Update call to START.
6550 (acos_test_tonearest): Likewise.
6551 (acos_test_towardzero): Likewise.
6552 (acos_test_downward): Likewise.
6553 (acos_test_upward): Likewise.
6554 (acosh_test): Likewise.
6555 (asin_test): Likewise.
6556 (asin_test_tonearest): Likewise.
6557 (asin_test_towardzero): Likewise.
6558 (asin_test_downward): Likewise.
6559 (asin_test_upward): Likewise.
6560 (asinh_test): Likewise.
6561 (atan_test): Likewise.
6562 (atanh_test): Likewise.
6563 (atan2_test): Likewise.
6564 (cabs_test): Likewise.
6565 (cacos_test): Likewise.
6566 (cacosh_test): Likewise.
6567 (carg_test): Likewise.
6568 (casin_test): Likewise.
6569 (casinh_test): Likewise.
6570 (catan_test): Likewise.
6571 (catanh_test): Likewise.
6572 (cbrt_test): Likewise.
6573 (ccos_test): Likewise.
6574 (ccosh_test): Likewise.
6575 (ceil_test): Likewise.
6576 (cexp_test): Likewise.
6577 (cimag_test): Likewise.
6578 (clog_test): Likewise.
6579 (clog10_test): Likewise.
6580 (conj_test): Likewise.
6581 (copysign_test): Likewise.
6582 (cos_test): Likewise.
6583 (cos_test_tonearest): Likewise.
6584 (cos_test_towardzero): Likewise.
6585 (cos_test_downward): Likewise.
6586 (cos_test_upward): Likewise.
6587 (cosh_test): Likewise.
6588 (cosh_test_tonearest): Likewise.
6589 (cosh_test_towardzero): Likewise.
6590 (cosh_test_downward): Likewise.
6591 (cosh_test_upward): Likewise.
6592 (cpow_test): Likewise.
6593 (cproj_test): Likewise.
6594 (creal_test): Likewise.
6595 (csin_test): Likewise.
6596 (csinh_test): Likewise.
6597 (csqrt_test): Likewise.
6598 (ctan_test): Likewise.
6599 (ctan_test_tonearest): Likewise.
6600 (ctan_test_towardzero): Likewise.
6601 (ctan_test_downward): Likewise.
6602 (ctan_test_upward): Likewise.
6603 (ctanh_test): Likewise.
6604 (ctanh_test_tonearest): Likewise.
6605 (ctanh_test_towardzero): Likewise.
6606 (ctanh_test_downward): Likewise.
6607 (ctanh_test_upward): Likewise.
6608 (erf_test): Likewise.
6609 (erfc_test): Likewise.
6610 (exp_test): Likewise.
6611 (exp_test_tonearest): Likewise.
6612 (exp_test_towardzero): Likewise.
6613 (exp_test_downward): Likewise.
6614 (exp_test_upward): Likewise.
6615 (exp10_test): Likewise.
6616 (exp10_test_tonearest): Likewise.
6617 (exp10_test_towardzero): Likewise.
6618 (exp10_test_downward): Likewise.
6619 (exp10_test_upward): Likewise.
6620 (pow10_test): Likewise.
6621 (exp2_test): Likewise.
6622 (expm1_test): Likewise.
6623 (expm1_test_tonearest): Likewise.
6624 (expm1_test_towardzero): Likewise.
6625 (expm1_test_downward): Likewise.
6626 (expm1_test_upward): Likewise.
6627 (fabs_test): Likewise.
6628 (fdim_test): Likewise.
6629 (floor_test): Likewise.
6630 (fma_test): Likewise.
6631 (fma_test_towardzero): Likewise.
6632 (fma_test_downward): Likewise.
6633 (fma_test_upward): Likewise.
6634 (fmax_test): Likewise.
6635 (fmin_test): Likewise.
6636 (fmod_test): Likewise.
6637 (fpclassify_test): Likewise.
6638 (frexp_test): Likewise.
6639 (hypot_test): Likewise.
6640 (ilogb_test): Likewise.
6641 (isfinite_test): Likewise.
6642 (finite_test): Likewise.
6643 (isgreater_test): Likewise.
6644 (isgreaterequal_test): Likewise.
6645 (isinf_test): Likewise.
6646 (isless_test): Likewise.
6647 (islessequal_test): Likewise.
6648 (islessgreater_test): Likewise.
6649 (isnan_test): Likewise.
6650 (isnormal_test): Likewise.
6651 (issignaling_test): Likewise.
6652 (isunordered_test): Likewise.
6653 (j0_test): Likewise.
6654 (j1_test): Likewise.
6655 (jn_test): Likewise.
6656 (ldexp_test): Likewise.
6657 (lgamma_test): Likewise.
6658 (gamma_test): Likewise.
6659 (lrint_test): Likewise.
6660 (lrint_test_tonearest): Likewise.
6661 (lrint_test_towardzero): Likewise.
6662 (lrint_test_downward): Likewise.
6663 (lrint_test_upward): Likewise.
6664 (llrint_test): Likewise.
6665 (llrint_test_tonearest): Likewise.
6666 (llrint_test_towardzero): Likewise.
6667 (llrint_test_downward): Likewise.
6668 (llrint_test_upward): Likewise.
6669 (log_test): Likewise.
6670 (log10_test): Likewise.
6671 (log1p_test): Likewise.
6672 (log2_test): Likewise.
6673 (logb_test): Likewise.
6674 (logb_test_downward): Likewise.
6675 (lround_test): Likewise.
6676 (llround_test): Likewise.
6677 (modf_test): Likewise.
6678 (nearbyint_test): Likewise.
6679 (nextafter_test): Likewise.
6680 (nexttoward_test): Likewise.
6681 (pow_test): Likewise.
6682 (pow_test_tonearest): Likewise.
6683 (pow_test_towardzero): Likewise.
6684 (pow_test_downward): Likewise.
6685 (pow_test_upward): Likewise.
6686 (remainder_test): Likewise.
6687 (drem_test): Likewise.
6688 (remainder_test_tonearest): Likewise.
6689 (drem_test_tonearest): Likewise.
6690 (remainder_test_towardzero): Likewise.
6691 (drem_test_towardzero): Likewise.
6692 (remainder_test_downward): Likewise.
6693 (drem_test_downward): Likewise.
6694 (remainder_test_upward): Likewise.
6695 (drem_test_upward): Likewise.
6696 (remquo_test): Likewise.
6697 (rint_test): Likewise.
6698 (rint_test_tonearest): Likewise.
6699 (rint_test_towardzero): Likewise.
6700 (rint_test_downward): Likewise.
6701 (rint_test_upward): Likewise.
6702 (round_test): Likewise.
6703 (scalb_test): Likewise.
6704 (scalbn_test): Likewise.
6705 (scalbln_test): Likewise.
6706 (signbit_test): Likewise.
6707 (sin_test): Likewise.
6708 (sin_test_tonearest): Likewise.
6709 (sin_test_towardzero): Likewise.
6710 (sin_test_downward): Likewise.
6711 (sin_test_upward): Likewise.
6712 (sincos_test): Likewise.
6713 (sinh_test): Likewise.
6714 (sinh_test_tonearest): Likewise.
6715 (sinh_test_towardzero): Likewise.
6716 (sinh_test_downward): Likewise.
6717 (sinh_test_upward): Likewise.
6718 (sqrt_test): Likewise.
6719 (sqrt_test_tonearest): Likewise.
6720 (sqrt_test_towardzero): Likewise.
6721 (sqrt_test_downward): Likewise.
6722 (sqrt_test_upward): Likewise.
6723 (tan_test): Likewise.
6724 (tan_test_tonearest): Likewise.
6725 (tan_test_towardzero): Likewise.
6726 (tan_test_downward): Likewise.
6727 (tan_test_upward): Likewise.
6728 (tanh_test): Likewise.
6729 (tgamma_test): Likewise.
6730 (trunc_test): Likewise.
6731 (y0_test): Likewise.
6732 (y1_test): Likewise.
6733 (yn_test): Likewise.
6734 (significand_test): Likewise.
6736 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
6737 individual tests in comment.
6738 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6739 (prev_max_error): New variable.
6740 (prev_real_max_error): Likewise.
6741 (prev_imag_max_error): Likewise.
6742 (compare_ulp_data): Don't refer to test names in comment.
6743 (find_test_ulps): Remove function.
6744 (find_function_ulps): Likewise.
6745 (find_complex_function_ulps): Likewise.
6746 (init_max_error): Take function name as argument. Look up ulps
6748 (print_ulps): Remove function.
6749 (print_max_error): Use prev_max_error instead of calling
6751 (print_complex_max_error): Use prev_real_max_error and
6752 prev_imag_max_error instead of calling find_complex_function_ulps.
6753 (check_float_internal): Take max_ulp parameter instead of calling
6754 find_test_ulps. Don't call print_ulps.
6755 (check_float): Update call to check_float_internal.
6756 (check_complex): Update calls to check_float_internal.
6757 (START): Pass argument to init_max_error.
6758 * math/gen-libm-test.pl (%results): Don't include "kind"
6760 (parse_ulps): Don't handle ulps of individual tests.
6761 (print_ulps_file): Likewise.
6762 (output_ulps): Likewise.
6763 * math/README.libm-test: Update.
6764 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
6766 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
6767 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6768 * sysdeps/arm/libm-test-ulps: Likewise.
6769 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6770 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6771 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
6772 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6773 * sysdeps/microblaze/libm-test-ulps: Likewise.
6774 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6775 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6776 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6777 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6778 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6779 * sysdeps/sh/libm-test-ulps: Likewise.
6780 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6781 * sysdeps/tile/libm-test-ulps: Likewise.
6782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6784 2014-03-04 Joseph Myers <joseph@codesourcery.com>
6786 * math/libm-test.inc (print_complex_max_error): Check separately
6787 whether real and imaginary errors are within allowed range and
6788 pass 0 to print_complex_function_ulps instead of value within
6791 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6793 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
6795 (get_handles_fopen): Likewise.
6796 (do_write_test): Likewise.
6798 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
6800 * libio/fileops.c (do_ftell): Use cached offset when
6802 * libio/iofwide.c (do_ftell_wide): Likewise.
6803 * libio/iofdopen.c (_IO_new_fdopen): Don't use
6805 * libio/wfileops.c (_IO_fwide): Don't cache offset.
6808 * libio/libioP.h (get_file_offset): New function.
6809 * libio/fileops.c (get_file_offset): Likewise.
6810 (do_ftell): Likewise.
6811 (_IO_new_file_seekoff): Split out ftell logic.
6812 * libio/wfileops.c (do_ftell_wide): Likewise.
6813 (_IO_wfile_seekoff): Split out ftell logic.
6814 * libio/tst-ftell-active-handler.c: New test case.
6815 * libio/Makefile (tests): Add it.
6817 2014-03-03 Roland McGrath <roland@hack.frob.com>
6819 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
6820 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
6822 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6825 * nscd/connections.c (nscd_init): Call do_exit.
6826 (start_threads): Call do_exit and notify_parent.
6827 (begin_drop_privileges): Call do_exit.
6828 (finish_drop_privileges): Likewise.
6829 * nscd/selinux.c (preserve_capabilities): Likewise.
6830 (install_real_capabilities): Likewise.
6831 (nscd_selinux_enabled): Likewise.
6832 (avc_create_thread): Likewise.
6833 (avc_alloc_lock): Likewise.
6834 (nscd_avc_init): Likewise.
6835 * nscd/nscd.c (parent_fd): New static variable.
6836 (main): Create a pipe between parent and child processes.
6837 Skip closing parent_fd.
6838 (monitor_child): New function.
6839 (do_exit): Likewise.
6840 (notify_parent): Likewise.
6841 * nscd/nscd.h (notify_parent): Likewise.
6842 (do_exit): Likewise.
6844 2014-03-03 Carlos O'Donell <carlos@redhat.com>
6846 * malloc/malloc.c (__libc_calloc): Revert last change.
6848 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6852 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6854 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
6855 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
6857 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6858 (__libc_ifunc_impl_list): Likewise.
6859 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
6860 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
6861 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
6862 * string/strrchr.c: Define STRRCHR.
6864 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
6866 * benchtest/bench-strtok.c (simple_strtok): Delete.
6867 (strtok_string): Use as benchmark.
6868 * string/strtok (STRTOK): New macro.
6870 2014-02-28 Carlos O'Donell <carlos@redhat.com>
6872 * manual/threads.texi: Add header and standard comments to all
6875 * elf/dl-lookup.c (check_match): New function.
6876 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
6877 (do_lookup_x): Remove nested function check_match. Use non-nested
6878 function check_match.
6880 2014-02-28 Roland McGrath <roland@hack.frob.com>
6882 * csu/Makefile (generated, before-compile): Use += rather than =.
6883 * catgets/Makefile (generated, generated-dirs): Likewise.
6884 * debug/Makefile (generated): Likewise.
6885 * dlfcn/Makefile (generated): Likewise.
6886 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
6887 * iconvdata/Makefile (before-compile, generated): Likewise.
6888 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
6889 * libio/Makefile (generated): Likewise.
6890 * malloc/Makefile (generated): Likewise.
6891 * manual/Makefile (generated, generated-dirs): Likewise.
6892 * misc/Makefile (generated): Likewise.
6893 * posix/Makefile (generated): Likewise.
6894 * resolv/Makefile (generated): Likewise.
6895 * sunrpc/Makefile (generated, generated-dirs): Likewise.
6896 * timezone/Makefile (generated, generated-dirs): Likewise.
6898 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
6900 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6902 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6903 power8 implementation.
6904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
6905 file: POWER8 llround ifunc implementation.
6906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6907 (__lllround): Add POWER8 implementation.
6908 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
6909 POWER8 llround implementation.
6911 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
6912 power8 implementation.
6913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
6914 file: POWER8 llrint ifunc implementation.
6915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
6916 Add POWER8 implementation.
6917 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
6918 POWER8 llrint implementation.
6920 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
6921 power8 implementation.
6922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
6923 file: POWER8 finite ifunc implementation.
6924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
6925 Add POWER8 implementation.
6926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
6928 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
6929 POWER8 finite implementation.
6930 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
6932 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
6933 power8 implementation.
6934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
6935 file: POWER8 isinf ifunc implementation.
6936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
6937 POWER8 implementation.
6938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
6940 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
6941 isinf implementation.
6942 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
6944 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
6945 (INIT_ARCH): Add hwcap2 initialization.
6946 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6947 power8 implementation.
6948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
6949 file: POWER8 isnan ifunc implementation.
6950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
6951 POWER8 implementation.
6952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
6954 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
6955 isnan implementation.
6956 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
6958 2014-02-27 Joey Ye <joey.ye@arm.com>
6960 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6961 (_FP_NANFRAC_Q): Set to zero.
6963 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6966 * math/auto-libm-test-in: New test inputs.
6967 * math/auto-libm-test-out: Regenerate.
6968 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
6971 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6973 2014-02-27 Joseph Myers <joseph@codesourcery.com>
6975 * scripts/evaluate-test.sh: Take new argument indicating whether
6976 failure is expected.
6977 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6978 indicating whether failure is expected.
6979 * conform/Makefile (test-xfail-run-conformtest): New variable.
6980 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
6982 * posix/Makefile (test-xfail-annexc): New variable.
6983 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6985 2014-02-26 Joseph Myers <joseph@codesourcery.com>
6987 * argp/Makefile: Include Makeconfig immediately after defining
6989 * assert/Makefile: Likewise.
6990 * benchtests/Makefile: Likewise.
6991 * catgets/Makefile: Likewise.
6992 * conform/Makefile: Likewise.
6993 * crypt/Makefile: Likewise.
6994 * csu/Makefile: Likewise.
6995 (all): Remove target.
6996 * ctype/Makefile: Include Makeconfig immediately after defining
6998 * debug/Makefile: Likewise.
6999 * dirent/Makefile: Likewise.
7000 * dlfcn/Makefile: Likewise.
7001 * gmon/Makefile: Likewise.
7002 * gnulib/Makefile: Likewise.
7003 * grp/Makefile: Likewise.
7004 * gshadow/Makefile: Likewise.
7005 * hesiod/Makefile: Likewise.
7006 * hurd/Makefile: Likewise.
7007 (all): Remove target.
7008 * iconvdata/Makefile: Include Makeconfig immediately after
7010 * inet/Makefile: Likewise.
7011 * intl/Makefile: Likewise.
7012 * io/Makefile: Likewise.
7013 * libio/Makefile: Likewise.
7014 (all): Remove target.
7015 * locale/Makefile: Include Makeconfig immediately after defining
7017 * login/Makefile: Likewise.
7018 * mach/Makefile: Likewise.
7019 (all): Remove target.
7020 * malloc/Makefile: Include Makeconfig immediately after defining
7022 (all): Remove target.
7023 * manual/Makefile: Include Makeconfig immediately after defining
7025 * math/Makefile: Likewise.
7026 * misc/Makefile: Likewise.
7027 * nis/Makefile: Likewise.
7028 * nss/Makefile: Likewise.
7029 * po/Makefile: Likewise.
7030 (all): Remove target.
7031 * posix/Makefile: Include Makeconfig immediately after defining
7033 * pwd/Makefile: Likewise.
7034 * resolv/Makefile: Likewise.
7035 * resource/Makefile: Likewise.
7036 * rt/Makefile: Likewise.
7037 * setjmp/Makefile: Likewise.
7038 * shadow/Makefile: Likewise.
7039 * signal/Makefile: Likewise.
7040 * socket/Makefile: Likewise.
7041 * soft-fp/Makefile: Likewise.
7042 * stdio-common/Makefile: Likewise.
7043 * stdlib/Makefile: Likewise.
7044 * streams/Makefile: Likewise.
7045 * string/Makefile: Likewise.
7046 * sunrpc/Makefile: Likewise.
7047 (all): Remove target.
7048 * sysvipc/Makefile: Include Makeconfig immediately after defining
7050 * termios/Makefile: Likewise.
7051 * time/Makefile: Likewise.
7052 * timezone/Makefile: Likewise.
7053 (all): Remove target.
7054 * wcsmbs/Makefile: Include Makeconfig immediately after defining
7056 * wctype/Makefile: Likewise.
7058 2014-02-26 Steve Ellcey <sellcey@mips.com>
7060 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7061 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7062 (libc_feholdexcept_setround_mips): Ditto.
7063 (libc_feholdsetround): New.
7064 (libc_feholdsetroundf): New.
7065 (libc_feholdsetroundl): New.
7066 (libc_feupdateenv_test_mips): New.
7067 (libc_feupdateenv_test): New.
7068 (libc_feupdateenv_testf): New.
7069 (libc_feupdateenv_testl): New.
7070 (libc_feresetround): New.
7071 (libc_feresetroundf): New.
7072 (libc_feresetroundl): New.
7073 (libc_fetestexcept_mips): New.
7074 (libc_fetestexcept): New.
7075 (libc_fetestexceptf): New.
7076 (libc_fetestexceptl): New.
7078 (libc_feholdexcept_setround_mips_ctx): New.
7079 (libc_feholdexcept_setround_ctx): New.
7080 (libc_feholdexcept_setroundf_ctx): New.
7081 (libc_feholdexcept_setroundl_ctx): New.
7082 (libc_fesetenv_mips_ctx): New.
7083 (libc_fesetenv_ctx): New.
7084 (libc_fesetenv_ctxf): New.
7085 (libc_fesetenv_ctxl): New.
7086 (libc_feupdateenv_mips_ctx): New.
7087 (libc_feupdateenv_ctx): New.
7088 (libc_feupdateenvf_ctx): New.
7089 (libc_feupdateenvl_ctx): New.
7090 (libc_feholdsetround_mips_ctx): New.
7091 (libc_feholdsetround_ctx): New.
7092 (libc_feholdsetroundf_ctx): New.
7093 (libc_feholdsetroundl_ctx): New.
7094 (libc_feresetround_mips_ctx): New.
7095 (libc_feresetround_ctx): New.
7096 (libc_feresetroundf_ctx): New.
7097 (libc_feresetroundl_ctx): New.
7099 2014-02-26 Carlos O'Donell <carlos@redhat.com>
7101 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7103 * manual/ipc.texi: New file.
7104 * manual/Makefile (chapters): Add ipc.
7105 * manual/job.texi: Add "Inter-Process Communication" to next.
7106 * manual/process.texi: Add "Inter-Process Communication" to prev.
7108 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7110 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7112 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
7114 * malloc/malloc.c (__libc_calloc): Simplify implementation.
7116 * manual/arith.texi: Fix spaces after sentences.
7117 * manual/charset.texi: Likewise.
7118 * manual/errno.texi: Likewise.
7119 * manual/install.texi: Likewise.
7120 * manual/llio.texi: Likewise.
7121 * manual/locale.texi: Likewise.
7122 * manual/maint.texi: Likewise.
7123 * manual/math.texi: Likewise.
7124 * manual/memory.texi: Likewise.
7125 * manual/message.texi: Likewise.
7126 * manual/probes.texi: Likewise.
7127 * manual/resource.texi: Likewise.
7128 * manual/signal.texi: Likewise.
7129 * manual/socket.texi: Likewise.
7130 * manual/stdio.texi: Likewise.
7131 * manual/string.texi: Likewise.
7132 * manual/time.texi: Likewise.
7133 * manual/users.texi: Likewise.
7135 2014-02-25 Carlos O'Donell <carlos@redhat.com>
7138 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7139 _DEFAULT_SOURCE is defined.
7141 2014-02-25 Ulrich Drepper <drepper@gmail.com>
7142 Carlos O'Donell <carlos@redhat.com>
7145 * elf/dl-tls.c (_dl_count_modids): New function.
7146 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7147 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
7148 audit library and increment generation counter.
7149 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
7150 * elf/tst-audit9.c: New file.
7151 * elf/tst-auditmod9a.c: New file.
7152 * elf/tst-auditmod9b.c: New file.
7153 * elf/Makefile: Add rules to build and run tst-audit9.
7155 2014-02-25 Florian Weimer <fweimer@redhat.com>
7158 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
7160 2014-02-25 Will Newton <will.newton@linaro.org>
7162 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
7163 (__longjmp): Restore sp and lr before restoring callee
7164 saved registers. Add longjmp and longjmp_target
7165 SystemTap probe point.
7166 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
7167 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
7168 Define to zero to match jmpbuf layout.
7169 * sysdeps/arm/setjmp.S: Include stap-probe.h.
7170 (__sigsetjmp): Save sp and lr before saving callee
7171 saved registers. Add setjmp SystemTap probe point.
7173 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7175 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7177 2014-02-24 Andreas Schwab <schwab@suse.de>
7180 * elf/pldd.c (wait_for_ptrace_stop): New function.
7181 (main): Call it after attaching.
7183 2014-02-22 Roland McGrath <roland@hack.frob.com>
7185 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
7186 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
7187 Versions files is now verboten.
7188 * hurd/Versions (libc: GLIBC_2.0):
7189 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
7190 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
7191 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
7192 * mach/Versions: Likewise.
7194 * csu/Versions: Remove unused %include.
7195 * resolv/Versions: Likewise.
7197 2014-02-21 Joseph Myers <joseph@codesourcery.com>
7199 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
7200 ($(objpfx)check-local-headers.out): Likewise.
7201 ($(objpfx)begin-end-check.out): Likewise.
7202 * Makerules (check-abi-%.out): Likewise.
7203 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
7204 ($(objpfx)test2.cat): Likewise.
7205 ($(objpfx)de/libc.cat): Likewise.
7206 ($(objpfx)test-gencat.out): Likewise.
7207 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
7208 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
7209 ($(objpfx)noload-mem): Likewise.
7210 ($(objpfx)tst-pathopt.out): Likewise.
7211 ($(objpfx)tst-rtld-load-self.out): Likewise.
7212 ($(objpfx)tst-array1-cmp.out): Likewise.
7213 ($(objpfx)tst-array1-static-cmp.out): Likewise.
7214 ($(objpfx)tst-array2-cmp.out): Likewise.
7215 ($(objpfx)tst-array3-cmp.out): Likewise.
7216 ($(objpfx)tst-array4-cmp.out): Likewise.
7217 ($(objpfx)tst-array5-cmp.out): Likewise.
7218 ($(objpfx)tst-array5-static-cmp.out): Likewise.
7219 ($(objpfx)check-textrel.out): Likewise.
7220 ($(objpfx)check-execstack.out): Likewise.
7221 ($(objpfx)check-localplt.out): Likewise.
7222 ($(objpfx)order2-cmp.out): Likewise.
7223 ($(objpfx)tst-leaks1-mem): Likewise.
7224 ($(objpfx)tst-leaks1-static-mem): Likewise.
7225 ($(objpfx)tst-initorder-cmp.out): Likewise.
7226 ($(objpfx)tst-initorder2-cmp.out): Likewise.
7227 ($(objpfx)tst-unused-dep.out): Likewise.
7228 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
7229 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7230 * iconv/Makefile (test-iconvconfig): Likewise.
7231 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
7232 ($(objpfx)iconv-test.out): Likewise.
7233 ($(objpfx)tst-tables.out): Likewise.
7234 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
7235 ($(objpfx)tst-gettext.out): Likewise.
7236 ($(objpfx)tst-translit.out): Likewise.
7237 ($(objpfx)tst-gettext2.out): Likewise.
7238 ($(objpfx)tst-gettext4.out): Likewise.
7239 ($(objpfx)tst-gettext6.out): Likewise.
7240 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
7241 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7242 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
7243 ($(objpfx)tst-fopenloc-mem.out): Likewise.
7244 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
7245 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
7246 * posix/Makefile ($(objpfx)globtest.out): Likewise.
7247 ($(objpfx)wordexp-tst.out): Likewise.
7248 ($(objpfx)annexc.out): Likewise.
7249 ($(objpfx)tst-fnmatch-mem): Likewise.
7250 ($(objpfx)bug-regex2-mem): Likewise.
7251 ($(objpfx)bug-regex14-mem): Likewise.
7252 ($(objpfx)bug-regex21-mem): Likewise.
7253 ($(objpfx)bug-regex31-mem): Likewise.
7254 ($(objpfx)tst-vfork3-mem): Likewise.
7255 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7256 ($(objpfx)tst-pcre-mem): Likewise.
7257 ($(objpfx)tst-boost-mem): Likewise.
7258 ($(objpfx)tst-getconf.out): Likewise.
7259 ($(objpfx)bug-ga2-mem): Likewise.
7260 ($(objpfx)bug-glob2-mem): Likewise.
7261 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
7262 ($(objpfx)mtrace-tst-leaks2): Likewise.
7263 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
7264 ($(objpfx)tst-printf.out): Likewise.
7265 ($(objpfx)tst-setvbuf1.out): Likewise.
7266 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
7267 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
7268 ($(objpfx)tst-fmtmsg.out): Likewise.
7269 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
7270 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
7272 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
7273 * bits/sigaction.h [__USE_MISC]: Likewise.
7274 * bits/waitstatus.h: Update #endif comments.
7275 * ctype/ctype.h: Likewise.
7276 * dirent/dirent.h: Likewise.
7277 [__USE_MISC]: Remove redundant conditionals.
7278 * grp/grp.h: Update #endif comments.
7279 [__USE_GNU]: Remove redundant conditionals.
7280 [__USE_MISC]: Likewise.
7281 * inet/netinet/in.h [__USE_GNU]: Likewise.
7282 * io/sys/stat.h [__USE_MISC]: Likewise.
7283 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
7284 * libio/bits/stdio.h: Update #endif comments.
7285 [__USE_MISC]: Remove redundant conditionals.
7286 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
7287 * libio/stdio.h: Update #endif comments.
7288 [__USE_MISC]: Remove redundant conditionals.
7289 * math/bits/math-finite.h [__USE_MISC]: Likewise.
7290 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
7291 * math/math.h: Update #else and #endif comments.
7292 [__USE_MISC]: Remove redundant conditionals.
7293 * misc/sys/uio.h: Update #endif comments.
7294 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
7295 * posix/glob.h [__USE_MISC]: Likewise.
7296 * posix/sys/types.h: Update #endif comments.
7297 [__USE_MISC]: Remove redundant conditionals.
7298 * posix/sys/wait.h: Update #endif comments.
7299 [__USE_MISC]: Remove redundant conditionals.
7300 * posix/unistd.h: Update #endif comments.
7301 [__USE_MISC]: Remove redundant conditionals.
7302 * pwd/pwd.h [__USE_GNU]: Likewise.
7303 [__USE_MISC]: Likewise.
7304 * resolv/netdb.h [__USE_GNU]: Likewise.
7305 * signal/signal.h: Update #endif comments.
7306 [__USE_MISC]: Remove redundant conditionals.
7307 * stdlib/stdlib.h: Update #else and #endif comments.
7308 [__USE_MISC]: Remove redundant conditionals.
7309 [__USE_GNU]: Likewise.
7310 * string/bits/string2.h [__USE_MISC]: Likewise.
7311 * string/string.h: Update #endif comments.
7312 [__USE_MISC]: Remove redundant conditionals.
7313 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
7315 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
7316 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
7317 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
7319 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
7321 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
7323 [__USE_MISC]: Remove redundant conditionals.
7324 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
7325 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
7326 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
7327 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
7328 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
7330 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
7331 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
7333 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
7334 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
7336 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
7338 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
7339 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
7341 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
7343 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
7344 * sysdeps/x86/bits/string.h: Update #endif comments.
7345 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
7347 * time/sys/time.h: Update #endif comments.
7348 * time/time.h: Likewise.
7349 [__USE_MISC]: Remove redundant conditionals.
7351 2014-02-21 Yury Gribov <y.gribov@samsung.com>
7354 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
7356 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
7358 * Versions.def (librt): Add GLIBC_2.17.
7360 2014-02-21 Adam Conrad <adconrad@0c3.net>
7362 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
7363 synonym for _SYS_AUXV_H to allow direct inclusion.
7364 * sysdeps/sparc/bits/hwcap.h: Likewise.
7365 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
7366 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
7367 * sysdeps/sparc/sysdep.h: Likewise.
7369 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7371 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
7373 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7375 * benchtests/bench-strrchr.c: Print length instead of position.
7377 2014-02-20 Joseph Myers <joseph@codesourcery.com>
7380 * sysdeps/unix/sysv/linux/kernel-features.h
7381 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
7382 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
7383 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
7384 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
7386 [__i386__ || __powerpc__ || __sh__ || __sparc__]
7387 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7388 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
7389 (__ASSUME_SENDMMSG): Define instead of using previous
7390 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
7391 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7392 (__ASSUME_SENDMMSG_SYSCALL): Define.
7393 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7394 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
7396 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7397 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7399 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7400 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7402 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
7403 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7404 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7405 [__ASSUME_SENDMMSG]: Change conditionals to
7406 [__ASSUME_SENDMMSG_SOCKETCALL].
7407 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7408 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
7410 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7411 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
7413 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
7414 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7415 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7416 [!__ASSUME_SENDMMSG]: Change conditional to
7417 [!__ASSUME_SENDMMSG_SOCKETCALL].
7418 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7419 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7423 * sysdeps/unix/sysv/linux/kernel-features.h
7424 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
7425 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
7426 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
7427 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
7428 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7429 [__i386__ || __sparc__]
7430 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7431 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
7432 (__ASSUME_RECVMMSG): Define instead of using previous
7433 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
7434 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7435 (__ASSUME_RECVMMSG_SYSCALL): Define.
7436 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7437 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7439 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7440 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7442 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7443 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7445 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
7446 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7447 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7448 [__ASSUME_RECVMMSG]: Change condition to
7449 [__ASSUME_RECVMMSG_SOCKETCALL].
7450 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7451 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7453 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7454 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7455 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7457 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
7458 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7459 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7460 [!__ASSUME_RECVMMSG]: Change condition to
7461 [!__ASSUME_RECVMMSG_SOCKETCALL].
7462 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7463 (__ASSUME_RECVMMSG_SYSCALL): Define.
7466 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
7467 __powerpc__ || __s390__ || __sh__ || __sparc__]
7468 (__ASSUME_SOCKETCALL): Define.
7469 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7470 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7471 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7472 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7473 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7474 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7475 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7476 (__ASSUME_ACCEPT4): Define instead of using previous
7477 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7478 __powerpc__ || __sparc__ || __s390__)] condition.
7479 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7480 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7481 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7482 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7483 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7484 [!__ASSUME_ACCEPT4]: Change condition to
7485 [!__ASSUME_ACCEPT4_SOCKETCALL].
7486 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7487 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
7488 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7489 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7490 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7491 __ASSUME_ACCEPT4_SYSCALL.
7492 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7493 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7494 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7495 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7496 __ASSUME_ACCEPT4_SYSCALL.
7497 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7498 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7499 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7500 [__ASSUME_ACCEPT4]: Change condition to
7501 [__ASSUME_ACCEPT4_SOCKETCALL].
7502 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7503 (__ASSUME_SOCKETCALL): Define.
7504 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7505 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7506 (__ASSUME_SOCKETCALL): Define.
7507 (__ASSUME_ACCEPT4): Remove.
7508 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7510 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7511 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7513 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7514 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7516 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7518 (HWCAP_ARM_LPAE): Likewise.
7519 (HWCAP_ARM_EVTSTRM): Likewise.
7520 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7521 Add vpfd32, lpae and evtstrm.
7522 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7525 2014-02-19 Joseph Myers <joseph@codesourcery.com>
7527 * math/auto-libm-test-in: Add tests of clog10.
7528 * math/auto-libm-test-out: Regenerated.
7529 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7530 * sysdeps/i386/fpu/libm-test-ulps: Update.
7531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7533 2014-02-18 Andreas Schwab <schwab@suse.de>
7536 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7537 Store non-zero if the second buffer was newly allocated.
7538 (send_dg): Likewise.
7539 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7540 to send_vc and send_dg.
7541 (res_nsend): Pass NULL for ansp2_malloced.
7542 * resolv/res_query.c (__libc_res_nquery): Add parameter
7543 answerp2_malloced and pass it down to __libc_res_nsend.
7544 (res_nquery): Pass additional NULL to __libc_res_nquery.
7545 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7546 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
7547 second answer buffer if answerp2_malloced was set.
7548 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7549 (__libc_res_nquerydomain): Add parameter
7550 answerp2_malloced and pass it down to __libc_res_nquery.
7551 (res_nquerydomain): Pass additional NULL to
7552 __libc_res_nquerydomain.
7553 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7554 additional NULL to __libc_res_nsend and __libc_res_nquery.
7555 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7556 additional NULL to __libc_res_nsearch.
7557 (_nss_dns_gethostbyname4_r): Revert last change. Use new
7558 parameter of __libc_res_nsearch to check for separately allocated
7560 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7562 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7563 additional NULL to __libc_res_nquery.
7564 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7566 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7567 * include/resolv.h: Update prototypes of __libc_res_nquery,
7568 __libc_res_nsearch, __libc_res_nsend.
7570 2014-02-18 Joseph Myers <joseph@codesourcery.com>
7572 * math/auto-libm-test-in: Add tests of fma.
7573 * math/auto-libm-test-out: Regenerated.
7574 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7575 (fma_towardzero_test_data): Likewise.
7576 (fma_downward_test_data): Likewise.
7577 (fma_upward_test_data): Likewise.
7578 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7580 (rounding_modes): Add values for new field.
7581 (func_calc_method): Add value mpfr_fff_f.
7582 (func_calc_desc): Add mpfr_fff_f union field.
7583 (test_function): Add field exact_args.
7584 (FUNC): Add macro argument EXACT_ARGS.
7585 (FUNC_mpfr_f_f): Update call to FUNC.
7586 (FUNC_mpfr_f_f): Likewise.
7587 (FUNC_mpfr_ff_f): Likewise.
7588 (FUNC_mpfr_if_f): Likewise.
7589 (FUNC_mpc_c_f): Likewise.
7590 (FUNC_mpc_c_c): Likewise.
7591 (test_functions): Add fma. Update calls to FUNC.
7592 (handle_input_arg): Add argument exact_args.
7593 (add_test): Update call to handle_input_arg.
7594 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
7595 (output_for_one_input_case): Update call to calc_generic_results.
7596 Recalculate exact zero results in each rounding mode.
7598 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7599 non-negative before setting low bit.
7600 * math/auto-libm-test-in: Mark one asin test possibly having
7602 * math/auto-libm-test-out: Regenerated.
7603 * sysdeps/i386/fpu/libm-test-ulps: Update.
7604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7606 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
7608 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7609 * sysdeps/unix/sysv/linux/microblaze: Move directory from
7610 ports/sysdeps/unix/sysv/linux/microblaze.
7611 * README: Add missing listing for microblaze*-*-linux-gnu.
7613 2014-02-16 Mike Frysinger <vapier@gentoo.org>
7615 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7616 * sysdeps/unix/sysv/linux/ia64: Move directory from
7617 ports/sysdeps/unix/sysv/linux/ia64.
7618 * README: Update listing for ia64-*-linux-gnu.
7620 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
7621 Joseph Myers <joseph@codesourcery.com>
7623 * Makeconfig (test-name): New variable.
7624 (evaluate-test): Likewise.
7625 * Makerules (do-test-clean): Remove .test-result files.
7626 (common-mostlyclean): Likewise.
7627 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7628 * scripts/evaluate-test.sh: New file.
7630 2014-02-14 Joseph Myers <joseph@codesourcery.com>
7632 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7633 separate $(objpfx)tst-fopenloc-cmp.out and
7634 $(objpfx)tst-fopenloc-mem.out targets.
7635 (tests): Update dependencies.
7636 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7637 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7638 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7639 (tst-rxspencer-no-utf8-ARGS): New variable.
7640 (tst-rxspencer-no-utf8-ENV): Likewise.
7641 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7642 instead of $(objpfx)tst-rxspencer-mem.
7643 ($(objpfx)tst-rxspencer-mem): Change target to
7644 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
7645 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7646 * posix/tst-rxspencer-no-utf8.c: New file.
7648 * elf/Makefile ($(objpfx)order.out): Remove rule.
7649 [$(run-built-tests) = yes] (tests): Depend on
7650 $(objpfx)order-cmp.out.
7651 ($(objpfx)order-cmp.out): New rule.
7652 [$(run-built-tests) = yes] (tests): Depend on
7653 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
7654 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
7655 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
7656 $(objpfx)tst-array5-static-cmp.out.
7657 ($(objpfx)tst-array1.out): Remove rule.
7658 ($(objpfx)tst-array1-cmp.out): New rule.
7659 ($(objpfx)tst-array1-static.out): Remove rule.
7660 ($(objpfx)tst-array1-static-cmp.out): New rule.
7661 ($(objpfx)tst-array2.out): Remove rule.
7662 ($(objpfx)tst-array2-cmp.out): New rule.
7663 ($(objpfx)tst-array3.out): Remove rule.
7664 ($(objpfx)tst-array3-cmp.out): New rule.
7665 ($(objpfx)tst-array4.out): Remove rule.
7666 ($(objpfx)tst-array4-cmp.out): New rule.
7667 ($(objpfx)tst-array5.out): Remove rule.
7668 ($(objpfx)tst-array5-cmp.out): New rule.
7669 ($(objpfx)tst-array5-static.out): Remove rule.
7670 ($(objpfx)tst-array5-static-cmp.out): New rule.
7671 [$(run-built-tests) = yes] (tests): Depend on
7672 $(objpfx)order2-cmp.out.
7673 ($(objpfx)order2.out): Remove rule.
7674 ($(objpfx)order2-cmp.out): New rule.
7675 ($(objpfx)tst-initorder.out): Remove rule.
7676 [$(run-built-tests) = yes] (tests): Depend on
7677 $(objpfx)tst-initorder-cmp.out.
7678 ($(objpfx)tst-initorder-cmp.out): New rule.
7679 ($(objpfx)tst-initorder2.out): Remove rule.
7680 [$(run-built-tests) = yes] (tests): Depend on
7681 $(objpfx)tst-initorder2-cmp.out.
7682 ($(objpfx)tst-initorder2-cmp.out): New rule.
7683 [$(run-built-tests) = yes] (tests): Depend on
7684 $(objpfx)tst-unused-dep-cmp.out.
7685 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
7686 ($(objpfx)tst-unused-dep-cmp.out): New rule.
7687 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
7688 on $(objpfx)tst-setvbuf1-cmp.out.
7689 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
7690 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
7691 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
7692 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
7693 ($(objpfx)tst-svc.out): Remove rule.
7694 ($(objpfx)tst-svc-cmp.out): New rule.
7696 2014-02-13 Joseph Myers <joseph@codesourcery.com>
7698 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
7699 * ctype/ctype.h [__USE_MISC]: Likewise.
7700 * dirent/dirent.h [__USE_MISC]: Likewise.
7701 * grp/grp.h [__USE_MISC]: Likewise.
7702 * io/fcntl.h [__USE_MISC]: Likewise.
7703 * io/sys/stat.h [__USE_MISC]: Likewise.
7704 * libio/stdio.h [__USE_MISC]: Likewise.
7705 * posix/unistd.h [__USE_MISC]: Likewise.
7706 * pwd/pwd.h [__USE_MISC]: Likewise.
7707 * stdlib.h [__USE_MISC]: Likewise.
7708 * string/bits/string2.h [__USE_MISC]: Likewise.
7709 * string/string.h [__USE_MISC]: Likewise.
7710 * time/time.h [__USE_MISC]: Likewise.
7712 2014-02-13 Andreas Schwab <schwab@suse.de>
7715 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
7716 second answer buffer if it was separately allocated.
7718 2014-02-12 Joseph Myers <joseph@codesourcery.com>
7720 * sysdeps/mips/math-tests.h: Include <features.h>.
7721 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7722 (ROUNDING_TESTS_long_double): Do not define.
7723 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7724 (EXCEPTION_TESTS_long_double): Likewise.
7725 * sysdeps/mips/mips64/libm-test-ulps: Update.
7727 * include/features.h (__USE_BSD): Remove macro definitions.
7728 (__USE_SVID): Likewise.
7729 (_BSD_SOURCE): Likewise.
7730 (_SVID_SOURCE): Likewise.
7731 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
7732 from definition of _DEFAULT_SOURCE.
7733 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
7735 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
7736 * bits/mman.h [__USE_BSD]: Likewise.
7737 * bits/termios.h [__USE_BSD]: Likewise.
7738 * bits/waitstatus.h [__USE_BSD]: Likewise.
7739 * ctype/ctype.h [__USE_SVID]: Likewise.
7740 * dirent/dirent.h [__USE_BSD]: Likewise.
7741 * grp/grp.h [__USE_SVID]: Likewise.
7742 [__USE_BSD]: Likewise.
7743 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
7744 * io/fcntl.h [__USE_BSD]: Likewise.
7745 * io/ftw.h [__USE_BSD]: Likewise.
7746 * io/sys/stat.h [__USE_BSD]: Likewise.
7747 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
7748 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
7749 * libio/stdio.h [__USE_SVID]: Likewise.
7750 [__USE_BSD]: Likewise.
7751 * math/math.h [__USE_SVID]: Likewise.
7752 [__USE_BSD]: Likewise.
7753 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
7754 * misc/bits/syslog.h [__USE_BSD]: Likewise.
7755 * misc/search.h [__USE_SVID]: Likewise.
7756 * misc/sys/mman.h [__USE_BSD]: Likewise.
7757 * misc/sys/syslog.h [__USE_BSD]: Likewise.
7758 * misc/sys/uio.h [__USE_BSD]: Likewise.
7759 * posix/bits/unistd.h [__USE_BSD]: Likewise.
7760 * posix/glob.h [__USE_BSD]: Likewise.
7761 * posix/regex.h [__USE_BSD]: Likewise.
7762 * posix/sys/types.h [__USE_BSD]: Likewise.
7763 [__USE_SVID]: Likewise.
7764 * posix/sys/utsname.h [__USE_SVID]: Likewise.
7765 * posix/sys/wait.h [__USE_BSD]: Likewise.
7766 [__USE_SVID]: Likewise.
7767 * posix/unistd.h [__USE_BSD]: Likewise.
7768 [__USE_SVID]: Likewise.
7769 * pwd/pwd.h [__USE_SVID]: Likewise.
7770 * resolv/netdb.h [__USE_BSD]: Likewise.
7771 * setjmp/setjmp.h [__USE_BSD]: Likewise.
7772 * signal/signal.h [__USE_BSD]: Likewise.
7773 [__USE_SVID]: Likewise.
7774 * socket/sys/socket.h [__USE_BSD]: Likewise.
7775 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
7776 * stdlib/stdlib.h [__USE_BSD]: Likewise.
7777 [__USE_SVID]: Likewise.
7778 * string/bits/string2.h [__USE_BSD]: Likewise.
7779 [__USE_SVID]: Likewise.
7780 * string/bits/string3.h [__USE_BSD]: Likewise.
7781 * string/endian.h [__USE_BSD]: Likewise.
7782 * string/string.h [__USE_SVID]: Likewise.
7783 [__USE_BSD]: Likewise.
7784 * string/strings.h [__USE_BSD]: Likewise.
7785 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
7786 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
7787 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
7788 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
7789 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
7790 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
7792 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
7794 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
7795 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
7797 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
7798 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
7800 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
7802 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
7803 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
7804 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
7806 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
7808 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
7809 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
7810 * termios/termios.h [__USE_BSD]: Likewise.
7811 * time/sys/time.h [__USE_BSD]: Likewise.
7812 * time/time.h [__USE_BSD]: Likewise.
7813 [__USE_SVID]: Likewise.
7815 * Makefile (subdir_targets): Remove subdir_lint.out.
7817 * stdio-common/Makefile (do-tst-unbputc): Remove target.
7818 (do-tst-printf): Likewise.
7819 (tests): Depend directly on $(objpfx)tst-unbputc.out and
7820 $(objpfx)tst-printf.out.
7822 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
7824 * Makerules (check-abi-%): Change target to
7825 $(objpfx)check-abi-%.out.
7826 (check-abi target): Update dependencies.
7827 (check-abi-pattern variable): Redirect output of diff to $@.
7828 (check-abi variable): Likewise.
7829 * elf/Makefile (check-abi): Update dependencies.
7831 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
7833 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
7834 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
7836 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
7837 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
7838 value has largest subnormal exponent.
7839 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
7840 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
7841 * sysdeps/aarch64/soft-fp/sfp-machine.h
7842 (_FP_TININESS_AFTER_ROUNDING): New macro.
7843 * sysdeps/alpha/soft-fp/sfp-machine.h
7844 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7845 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7847 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
7848 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7849 * sysdeps/mips/soft-fp/sfp-machine.h
7850 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7851 * sysdeps/powerpc/soft-fp/sfp-machine.h
7852 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7853 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7855 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7856 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7857 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7858 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7859 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7862 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
7865 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
7868 2014-02-12 Richard Henderson <rth@redhat.com>
7870 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
7871 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
7872 * sysdeps/unix/sysv/linux/alpha: Move directory from
7873 ports/sysdeps/unix/sysv/linux/alpha.
7874 * README: Update listing for alpha-*-linux-gnu.
7876 2014-02-11 Joseph Myers <joseph@codesourcery.com>
7878 * include/features.h: Update comment documenting feature test
7880 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
7882 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
7883 (_SVID_SOURCE): Likewise.
7884 (_DEFAULT_SOURCE): Update description of default features.
7885 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
7887 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
7888 (S_ISVTX): Likewise.
7889 * manual/math.texi (Mathematical Constants): Likewise.
7890 * manual/signal.texi (Interrupted Primitives): Likewise.
7891 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
7892 * math/test-matherr.c (_SVID_SOURCE): Do not define.
7893 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
7894 Don't refer to _SVID_SOURCE in warning text.
7896 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7898 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
7900 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
7901 * sysdeps/mips/dl-lookup.c: Remove.
7902 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
7904 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7907 * math/auto-libm-test-in: Add testcase for expl.
7908 * math/auto-libm-test-out: Regenerate.
7909 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
7910 calculation of unsafe.
7911 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
7913 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
7915 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
7916 * sysdeps/unix/sysv/linux/aarch64: Move directory from
7917 ports/sysdeps/unix/sysv/linux/aarch64.
7918 * README: Update listing for aarch64*-*-linux-gnu.
7920 2014-02-11 Will Newton <will.newton@linaro.org>
7922 * manual/probes.texi (Mathematical Function Probes): Use
7923 "triggered" instead of "hit".
7925 * manual/probes.texi (Internal Probes): Add documentation
7926 of setjmp, longjmp and longjmp_target probes.
7928 * include/stap-probe.h: Add comment about probe argument
7931 * malloc/mtrace.c (attribute_hidden): Remove unused macro
7932 definition. (tr_where, tr_freehook, tr_mallochook,
7933 tr_reallochook, tr_memalignhook): Use ANSI protoype.
7935 2014-02-11 David S. Miller <davem@davemloft.net>
7937 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
7938 processing int_tests.
7940 2014-02-10 Joseph Myers <joseph@codesourcery.com>
7942 * sysdeps/mips: Move directory from ports/sysdeps/mips.
7943 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
7944 * sysdeps/unix/sysv/linux/mips: Move directory from
7945 ports/sysdeps/unix/sysv/linux/mips.
7946 * README: Update listing for mips-*-linux-gnu and
7949 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
7951 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
7952 * sysdeps/unix/sysv/linux/m68k: Move directory from
7953 ports/sysdeps/unix/sysv/linux/m68k.
7954 * README: Update listing for m68k-*-linux-gnu.
7956 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
7958 * sysdeps/tile: Move directory from ports/sysdeps/tile.
7959 * sysdeps/unix/sysv/linux/generic: Move directory from
7960 ports/sysdeps/unix/sysv/linux/generic.
7961 * sysdeps/unix/sysv/linux/tile: Move directory from
7962 ports/sysdeps/unix/sysv/linux/tile.
7963 * README: Update listing for tile*-*-linux-gnu.
7965 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
7967 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
7969 * benchtests/bench-memmem.c (simple_memmem): Likewise.
7970 * catgets/open_catalog.c (__open_catalog): Likewise.
7971 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
7972 * debug/confstr_chk.c: Likewise.
7973 * debug/fread_chk.c (__fread_chk): Likewise.
7974 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
7975 * debug/getgroups_chk.c: Likewise.
7976 * debug/mbsnrtowcs_chk.c: Likewise.
7977 * debug/mbsrtowcs_chk.c: Likewise.
7978 * debug/mbstowcs_chk.c: Likewise.
7979 * debug/memcpy_chk.c: Likewise.
7980 * debug/memmove_chk.c: Likewise.
7981 * debug/mempcpy_chk.c: Likewise.
7982 * debug/memset_chk.c: Likewise.
7983 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7984 * debug/strcat_chk.c (__strcat_chk): Likewise.
7985 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7986 * debug/strncat_chk.c (__strncat_chk): Likewise.
7987 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7988 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7989 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7990 * debug/wcpncpy_chk.c: Likewise.
7991 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7992 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7993 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7994 * debug/wcsncpy_chk.c: Likewise.
7995 * debug/wcsnrtombs_chk.c: Likewise.
7996 * debug/wcsrtombs_chk.c: Likewise.
7997 * debug/wcstombs_chk.c: Likewise.
7998 * debug/wmemcpy_chk.c: Likewise.
7999 * debug/wmemmove_chk.c: Likewise.
8000 * debug/wmempcpy_chk.c: Likewise.
8001 * debug/wmemset_chk.c: Likewise.
8002 * dirent/scandirat.c (SCANDIRAT): Likewise.
8003 * dlfcn/dladdr1.c (dladdr1): Likewise.
8004 * dlfcn/dladdr.c (dladdr): Likewise.
8005 * dlfcn/dlclose.c (dlclose_doit): Likewise.
8006 * dlfcn/dlerror.c (__dlerror): Likewise.
8007 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
8008 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8009 * dlfcn/dlopen.c (dlopen_doit): Likewise.
8010 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
8011 * dlfcn/dlsym.c (dlsym_doit): Likewise.
8012 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
8013 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8014 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8016 * elf/dl-conflict.c: Likewise.
8017 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8018 * elf/dl-dst.h: Likewise.
8019 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8020 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8021 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8022 * elf/dl-init.c (call_init, _dl_init): Likewise.
8023 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
8024 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8025 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8027 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8029 * elf/dl-minimal.c (__libc_memalign): Likewise.
8030 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8031 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8032 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8033 * elf/dl-sym.c (do_sym): Likewise.
8034 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8035 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
8036 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8037 * elf/dl-writev.h (_dl_writev): Likewise.
8038 * elf/ldconfig.c (search_dir): Likewise.
8039 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8040 (dl_main): Likewise.
8041 * elf/setup-vdso.h (setup_vdso): Likewise.
8042 * grp/compat-initgroups.c (compat_call): Likewise.
8043 * grp/fgetgrent.c (fgetgrent): Likewise.
8044 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8045 * grp/putgrent.c (putgrent): Likewise.
8046 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8048 * hurd/hurdinit.c: Likewise.
8049 * iconvdata/8bit-gap.c (struct): Likewise.
8050 * iconvdata/ansi_x3.110.c : Likewise.
8051 * iconvdata/big5.c : Likewise.
8052 * iconvdata/big5hkscs.c : Likewise.
8053 * iconvdata/cp1255.c: Likewise.
8054 * iconvdata/cp1258.c : Likewise.
8055 * iconvdata/cp932.c : Likewise.
8056 * iconvdata/euc-cn.c: Likewise.
8057 * iconvdata/euc-jisx0213.c : Likewise.
8058 * iconvdata/euc-jp.c: Likewise.
8059 * iconvdata/euc-jp-ms.c : Likewise.
8060 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8061 * iconvdata/gb18030.c : Likewise.
8062 * iconvdata/gbbig5.c (const): Likewise.
8063 * iconvdata/gbgbk.c: Likewise.
8064 * iconvdata/gbk.c : Likewise.
8065 * iconvdata/ibm1364.c : Likewise.
8066 * iconvdata/ibm930.c : Likewise.
8067 * iconvdata/ibm932.c: Likewise.
8068 * iconvdata/ibm933.c : Likewise.
8069 * iconvdata/ibm935.c : Likewise.
8070 * iconvdata/ibm937.c : Likewise.
8071 * iconvdata/ibm939.c : Likewise.
8072 * iconvdata/ibm943.c: Likewise.
8073 * iconvdata/iso_11548-1.c: Likewise.
8074 * iconvdata/iso-2022-cn.c : Likewise.
8075 * iconvdata/iso-2022-cn-ext.c : Likewise.
8076 * iconvdata/iso-2022-jp-3.c: Likewise.
8077 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8078 * iconvdata/iso-2022-kr.c : Likewise.
8079 * iconvdata/iso646.c (gconv_end): Likewise.
8080 * iconvdata/iso_6937-2.c : Likewise.
8081 * iconvdata/iso_6937.c : Likewise.
8082 * iconvdata/iso8859-1.c: Likewise.
8083 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8084 * iconvdata/shift_jisx0213.c : Likewise.
8085 * iconvdata/sjis.c : Likewise.
8086 * iconvdata/t.61.c : Likewise.
8087 * iconvdata/tcvn5712-1.c : Likewise.
8088 * iconvdata/tscii.c: Likewise.
8089 * iconvdata/uhc.c : Likewise.
8090 * iconvdata/unicode.c (gconv_end): Likewise.
8091 * iconvdata/utf-16.c (gconv_end): Likewise.
8092 * iconvdata/utf-32.c (gconv_end): Likewise.
8093 * iconvdata/utf-7.c (base64): Likewise.
8094 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8095 * iconv/gconv_close.c (__gconv_close): Likewise.
8096 * iconv/gconv_open.c (__gconv_open): Likewise.
8097 * iconv/gconv_simple.c (internal_ucs4_loop_single)
8098 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8099 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8100 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8101 (ucs4le_internal_loop_single): Likewise.
8102 * iconv/iconv.c (iconv): Likewise.
8103 * iconv/iconv_close.c: Likewise.
8104 * iconv/loop.c (SINGLE): Likewise.
8105 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8106 * include/atomic.h: Likewise.
8107 * inet/inet6_option.c (option_alloc): Likewise.
8108 * intl/bindtextdom.c (set_binding_values): Likewise.
8109 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8110 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8111 * intl/localealias.c (read_alias_file): Likewise.
8112 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8113 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8114 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
8115 * libio/fmemopen.c (fmemopen): Likewise.
8116 * libio/iofgets.c (_IO_fgets): Likewise.
8117 * libio/iofgets_u.c (fgets_unlocked): Likewise.
8118 * libio/iofgetws.c (fgetws): Likewise.
8119 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8120 * libio/iogetdelim.c (_IO_getdelim): Likewise.
8121 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8122 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
8123 * locale/findlocale.c (_nl_find_locale): Likewise.
8124 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8125 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8127 * locale/setlocale.c (setlocale): Likewise.
8128 * login/programs/pt_chown.c (main): Likewise.
8129 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8130 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
8131 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8132 (mmap, mmap64, mremap, munmap): Likewise.
8133 * math/e_exp2l.c: Likewise.
8134 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8135 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8136 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8137 * math/s_catan.c (__catan): Likewise.
8138 * math/s_catanf.c (__catanf): Likewise.
8139 * math/s_catanh.c (__catanh): Likewise.
8140 * math/s_catanhf.c (__catanhf): Likewise.
8141 * math/s_catanhl.c (__catanhl): Likewise.
8142 * math/s_catanl.c (__catanl): Likewise.
8143 * math/s_ccosh.c (__ccosh): Likewise.
8144 * math/s_ccoshf.c (__ccoshf): Likewise.
8145 * math/s_ccoshl.c (__ccoshl): Likewise.
8146 * math/s_cexp.c (__cexp): Likewise.
8147 * math/s_cexpf.c (__cexpf): Likewise.
8148 * math/s_cexpl.c (__cexpl): Likewise.
8149 * math/s_clog10.c (__clog10): Likewise.
8150 * math/s_clog10f.c (__clog10f): Likewise.
8151 * math/s_clog10l.c (__clog10l): Likewise.
8152 * math/s_clog.c (__clog): Likewise.
8153 * math/s_clogf.c (__clogf): Likewise.
8154 * math/s_clogl.c (__clogl): Likewise.
8155 * math/s_csin.c (__csin): Likewise.
8156 * math/s_csinf.c (__csinf): Likewise.
8157 * math/s_csinh.c (__csinh): Likewise.
8158 * math/s_csinhf.c (__csinhf): Likewise.
8159 * math/s_csinhl.c (__csinhl): Likewise.
8160 * math/s_csinl.c (__csinl): Likewise.
8161 * math/s_csqrt.c (__csqrt): Likewise.
8162 * math/s_csqrtf.c (__csqrtf): Likewise.
8163 * math/s_csqrtl.c (__csqrtl): Likewise.
8164 * math/s_ctan.c (__ctan): Likewise.
8165 * math/s_ctanf.c (__ctanf): Likewise.
8166 * math/s_ctanh.c (__ctanh): Likewise.
8167 * math/s_ctanhf.c (__ctanhf): Likewise.
8168 * math/s_ctanhl.c (__ctanhl): Likewise.
8169 * math/s_ctanl.c (__ctanl): Likewise.
8170 * math/w_pow.c: Likewise.
8171 * math/w_powf.c: Likewise.
8172 * math/w_powl.c: Likewise.
8173 * math/w_scalb.c (sysv_scalb): Likewise.
8174 * math/w_scalbf.c (sysv_scalbf): Likewise.
8175 * math/w_scalbl.c (sysv_scalbl): Likewise.
8176 * misc/error.c (error_tail): Likewise.
8177 * misc/pselect.c (__pselect): Likewise.
8178 * nis/nis_callback.c (__nis_create_callback): Likewise.
8179 * nis/nis_call.c (__nisfind_server): Likewise.
8180 * nis/nis_creategroup.c (nis_creategroup): Likewise.
8181 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
8182 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
8183 * nis/nis_getservlist.c (nis_getservlist): Likewise.
8184 * nis/nis_lookup.c (nis_lookup): Likewise.
8185 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
8186 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
8187 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
8188 * nis/nis_xdr.c (xdr_endpoint): Likewise.
8189 * nis/nss_compat/compat-grp.c (getgrent_next_file)
8190 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
8191 * nis/nss_compat/compat-initgroups.c (add_group)
8192 (internal_getgrent_r): Likewise.
8193 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
8194 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
8195 * nis/nss_compat/compat-spwd.c (getspent_next_file)
8196 (internal_getspnam_r): Likewise.
8197 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
8198 (_nss_nis_getaliasbyname_r): Likewise.
8199 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
8200 (_nss_nis_getntohost_r): Likewise.
8201 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
8202 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
8203 (_nss_nis_getgrgid_r): Likewise.
8204 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
8205 (internal_nis_gethostent_r, internal_gethostbyname2_r)
8206 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
8207 (_nss_nis_gethostbyname4_r): Likewise.
8208 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
8209 (initgroups_netid): Likewise.
8210 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8211 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
8212 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
8213 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
8214 (_nss_nis_getprotobynumber_r): Likewise.
8215 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
8216 (_nss_nis_getsecretkey): Likewise.
8217 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
8218 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
8219 (_nss_nis_getpwuid_r): Likewise.
8220 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
8221 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
8222 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
8223 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
8224 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
8225 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
8226 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8228 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
8229 (_nss_nisplus_getntohost_r): Likewise.
8230 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
8231 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
8232 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
8233 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
8235 * nis/nss_nisplus/nisplus-initgroups.c
8236 (_nss_nisplus_initgroups_dyn): Likewise.
8237 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
8238 (_nss_nisplus_getnetbyaddr_r): Likewise.
8239 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
8240 (_nss_nisplus_getprotobynumber_r): Likewise.
8241 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
8242 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
8243 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
8245 * nis/nss_nisplus/nisplus-service.c
8246 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
8247 (_nss_nisplus_getservbyport_r): Likewise.
8248 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
8249 (_nss_nisplus_getspnam_r): Likewise.
8250 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
8252 * nscd/aicache.c (addhstaiX): Likewise.
8253 * nscd/cache.c (cache_search, prune_cache): Likewise.
8254 * nscd/connections.c (register_traced_file, send_ro_fd)
8255 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
8256 (main_loop_epoll): Likewise.
8257 * nscd/grpcache.c (addgrbyX): Likewise.
8258 * nscd/hstcache.c (addhstbyX): Likewise.
8259 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8260 * nscd/mem.c (gc, mempool_alloc): Likewise.
8261 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
8262 (addinnetgrX): Likewise.
8263 * nscd/nscd-client.h (__nscd_acquire_maplock)
8264 (__nscd_drop_map_ref): Likewise.
8265 * nscd/nscd_getai.c (__nscd_getai): Likewise.
8266 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8267 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
8269 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
8270 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8271 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
8272 (__nscd_get_map_ref): Likewise.
8273 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
8274 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
8276 * nscd/pwdcache.c (addpwbyX): Likewise.
8277 * nscd/selinux.c (preserve_capabilities): Likewise.
8278 * nscd/servicescache.c (addservbyX): Likewise.
8279 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
8280 * posix/fnmatch.c (fnmatch): Likewise.
8281 * posix/getopt.c (_getopt_internal_r): Likewise.
8282 * posix/glob.c (glob, glob_in_dir): Likewise.
8283 * posix/wordexp.c (exec_comm_child): Likewise.
8284 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
8285 (getanswer_r, gaih_getanswer_slice): Likewise.
8286 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
8287 * resolv/res_init.c: Likewise.
8288 * resolv/res_mkquery.c (res_nmkquery): Likewise.
8289 * resolv/res_query.c (__libc_res_nquery): Likewise.
8290 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
8292 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
8293 * stdio-common/perror.c (perror): Likewise.
8294 * stdio-common/printf_fp.c (___printf_fp): Likewise.
8295 * stdio-common/tmpnam.c (tmpnam): Likewise.
8296 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8297 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
8298 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8300 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8301 * stdlib/putenv.c (putenv): Likewise.
8302 * stdlib/setenv.c (__add_to_environ): Likewise.
8303 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8304 * stdlib/strtol_l.c (INTERNAL): Likewise.
8305 * string/memmem.c (memmem): Likewise.
8306 * string/strerror.c (strerror): Likewise.
8307 * string/strnlen.c (__strnlen): Likewise.
8308 * string/test-memmem.c (simple_memmem): Likewise.
8309 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
8310 * sunrpc/pm_getport.c (__get_socket): Likewise.
8311 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
8312 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8313 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
8314 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
8316 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8317 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8318 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
8319 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
8320 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
8321 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
8323 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
8325 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
8326 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8327 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8328 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8329 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8330 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
8331 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8332 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
8333 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
8334 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8335 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8336 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
8338 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
8340 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
8342 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
8343 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8344 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
8345 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
8346 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8347 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
8348 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8349 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
8350 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
8351 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
8352 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
8353 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8354 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8355 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
8356 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8357 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8359 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
8361 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
8363 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
8365 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8366 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8367 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
8369 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
8370 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
8371 * sysdeps/posix/opendir.c (__opendirat): Likewise.
8372 * sysdeps/posix/sleep.c: Likewise.
8373 * sysdeps/posix/tempname.c: Likewise.
8374 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
8375 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8377 * sysdeps/powerpc/powerpc32/dl-machine.h
8378 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
8379 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8380 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8381 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
8382 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
8384 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
8385 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
8386 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8387 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
8388 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8389 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
8390 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
8391 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
8392 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8393 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
8394 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
8395 (elf_machine_lazy_rel): Likewise.
8396 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8397 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
8398 (elf_machine_lazy_rel): Likewise.
8399 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
8400 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
8401 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
8402 * sysdeps/unix/grantpt.c (grantpt): Likewise.
8403 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
8404 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
8405 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
8406 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8408 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8409 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8410 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
8411 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
8412 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8413 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8414 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
8415 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
8416 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
8417 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8418 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8420 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
8421 (__posix_fallocate64_l64): Likewise.
8422 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
8423 (posix_fallocate): Likewise.
8424 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8426 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8427 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
8428 (getifaddrs_internal): Likewise.
8429 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
8430 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
8431 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8432 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8433 * sysdeps/unix/sysv/linux/posix_fallocate64.c
8434 (__posix_fallocate64_l64): Likewise.
8435 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8437 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
8438 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8439 (__get_clockfreq): Likewise.
8440 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
8441 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8442 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
8443 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8444 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8445 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
8446 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8447 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
8449 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
8450 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
8451 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8452 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
8453 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8454 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
8455 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
8457 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8458 (posix_fallocate): Likewise.
8459 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8460 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8461 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
8462 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
8463 (elf_machine_rela, elf_machine_rela_relative)
8464 (elf_machine_lazy_rel): Likewise.
8465 * time/asctime.c (asctime_internal): Likewise.
8466 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
8467 * time/tzset.c (__tzset_parse_tz): Likewise.
8468 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8469 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8470 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8471 * wcsmbs/wcsmbsload.h: Likewise.
8474 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8476 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8477 (arena_get2): Remove THREAD_STATS conditionals.
8478 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8479 (__malloc_stats, int): Likewise.
8481 2014-02-08 Mike Frysinger <vapier@gentoo.org>
8483 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8484 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
8486 * manual/setjmp.texi: Fix typos/grammar errors.
8488 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8489 Only return early when n is <= 0. Delete unused return statement.
8491 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8492 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8493 * debug/tst-longjmp_chk3.c: New file.
8495 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8496 (test_main): Replace code with set_fortify_handler call.
8497 * debug/test-strcpy_chk.c: Likewise.
8498 * debug/tst-chk1.c: Likewise.
8499 * debug/tst-longjmp_chk.c: Likewise.
8500 * test-skeleton.c: Include fcntl.h & paths.h
8501 (set_fortify_handler): Define.
8503 * debug/tst-longjmp_chk.c: Add header comment and include
8505 (do_test): Mark static.
8506 (TEST_FUNCTION): Define.
8508 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8509 (IP_PMTUDISC_INTERFACE): Likewise.
8510 (IP_MULTICAST_IF): Likewise.
8511 (IP_MULTICAST_TTL): Likewise.
8512 (IP_MULTICAST_LOOP): Likewise.
8513 (IP_ADD_MEMBERSHIP): Likewise.
8514 (IP_DROP_MEMBERSHIP): Likewise.
8515 (IP_UNBLOCK_SOURCE): Likewise.
8516 (IP_BLOCK_SOURCE): Likewise.
8517 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8518 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8519 (IP_MSFILTER): Likewise.
8520 (MCAST_JOIN_GROUP): Likewise.
8521 (MCAST_BLOCK_SOURCE): Likewise.
8522 (MCAST_UNBLOCK_SOURCE): Likewise.
8523 (MCAST_LEAVE_GROUP): Likewise.
8524 (MCAST_JOIN_SOURCE_GROUP): Likewise.
8525 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8526 (MCAST_MSFILTER): Likewise.
8527 (IP_MULTICAST_ALL): Likewise.
8528 (IP_UNICAST_IF): Likewise.
8530 * timezone/Makefile: Delete $(have-ksh) check.
8531 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8532 * timezone/tzselect.ksh: Add +x mode bits.
8534 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8535 (ANON_INODE_FS_MAGIC): Likewise.
8536 (BDEVFS_MAGIC): Likewise.
8537 (BINFMTFS_MAGIC): Likewise.
8538 (BTRFS_TEST_MAGIC): Likewise.
8539 (CRAMFS_MAGIC_WEND): Likewise.
8540 (DEBUGFS_MAGIC): Likewise.
8541 (ECRYPTFS_SUPER_MAGIC): Likewise.
8542 (EXT3_SUPER_MAGIC): Likewise.
8543 (EXT4_SUPER_MAGIC): Likewise.
8544 (FUTEXFS_SUPER_MAGIC): Likewise.
8545 (HOSTFS_SUPER_MAGIC): Likewise.
8546 (HUGETLBFS_MAGIC): Likewise.
8547 (MINIX3_SUPER_MAGIC): Likewise.
8548 (MTD_INODE_FS_MAGIC): Likewise.
8549 (NILFS_SUPER_MAGIC): Likewise.
8550 (OPENPROM_SUPER_MAGIC): Likewise.
8551 (PIPEFS_MAGIC): Likewise.
8552 (PSTOREFS_MAGIC): Likewise.
8553 (QNX6_SUPER_MAGIC): Likewise.
8554 (RAMFS_MAGIC): Likewise.
8555 (REISERFS_SUPER_MAGIC_STRING): Likewise.
8556 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8557 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8558 (SECURITYFS_MAGIC): Likewise.
8559 (SELINUX_MAGIC): Likewise.
8560 (SMACK_MAGIC): Likewise.
8561 (SOCKFS_MAGIC): Likewise.
8562 (SQUASHFS_MAGIC): Likewise.
8563 (STACK_END_MAGIC): Likewise.
8564 (TMPFS_MAGIC): Likewise.
8565 (USBDEVICE_SUPER_MAGIC): Likewise.
8566 (V9FS_MAGIC): Likewise.
8567 (XENFS_SUPER_MAGIC): Likewise.
8568 (CRAMFS_MAGIC): Fix typo in comment.
8569 (EXT2_SUPER_MAGIC): Update comment.
8570 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8572 2014-02-08 Joseph Myers <joseph@codesourcery.com>
8574 * sysdeps/arm: Move directory from ports/sysdeps/arm.
8575 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8576 * sysdeps/unix/sysv/linux/arm: Move directory from
8577 ports/sysdeps/unix/sysv/linux/arm.
8578 * README: Update listing for arm-*-linux-gnueabi.
8580 * README: Remove mention of am33.
8582 2014-02-07 Roland McGrath <roland@hack.frob.com>
8584 * bits/sigset.h (__sigemptyset): Use a statement expression rather
8585 than the comma operator, to avoid "rhs of comma has no effect"
8587 (__sigfillset, __sigandset, __sigorset): Likewise.
8588 * include/signal.h (__sigemptyset): Likewise.
8589 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8591 2014-02-07 Allan McRae <allan@archlinux.org>
8593 * version.h (RELEASE): Set to "development".
8594 (VERSION): Set to "2.19.90"
8595 * NEWS: Add 2.20 section.
8597 2014-02-06 Carlos O'Donell <carlos@redhat.com>
8600 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8602 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8604 * manual/contrib.texi: Update entry for Carlos O'Donell,
8605 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8607 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
8609 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8611 * sysdeps/unix/sysv/linux/kernel-features.h
8612 [__LINUX_KERNEL_VERSION >= 0x020621]
8613 (__ASSUME_PROC_PID_TASK_COMM): Define.
8615 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8618 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8619 conversion when destination buffer does not have enough space.
8620 * libio/tst-ftell-partial-wide.c: New test case.
8621 * libio/Makefile (tests): Add tst-ftell-partial-wide.
8623 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8624 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
8625 Leonard and Allan McRae.
8627 2014-02-04 David S. Miller <davem@davemloft.net>
8629 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8632 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8661 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8663 * nptl/shlib-versions: Change powerpc*le start to 2.17.
8664 * shlib-versions: Likewise.
8666 2014-02-04 Roland McGrath <roland@hack.frob.com>
8667 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8669 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
8670 (abilist-pattern): New variable, set to %-le.abilist.
8672 * Makerules (abilist-pattern): New variable.
8673 (vpath): Use $(abilist-pattern) in place of %.abilist.
8674 (check-abi-% pattern rule): Likewise.
8675 (check-abi, update-abi): Likewise.
8677 2014-02-04 Eric Wong <normalperson@yhbt.net>
8679 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8681 2014-02-03 Carlos O'Donell <carlos@redhat.com>
8683 * manual/startup.texi: Add next, previous, and top entries for
8684 the `Program Arguments' and `Environment Variables' nodes.
8686 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
8688 * manual/macros.texi: Add comments before MTASC-safety macros.
8690 * manual/users.texi: Document MTASC-safety properties.
8692 * manual/threads.texi (pthread_key_create, pthread_key_delete)
8693 (pthread_getspecific, pthread_setspecific): Format with
8694 @deftypefun, and add @safety note.
8695 * manual/signal.texi: Move comments that analyze the above
8696 functions to their home place.
8698 2014-02-03 Allan McRae <allan@archlinux.org>
8700 * po/sl.po: Update Slovenian translation from translation project.
8702 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
8704 * manual/time.texi (timegm): Add missing blank after @c.
8705 Reported by Joseph Myers <joseph@codesourcery.com>.
8707 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
8709 * manual/check-safety.sh: New.
8710 * manual/Makefile ($(objpfx)stamp-summary): Run it.
8712 * manual/terminal.texi: Document MTASC-safety properties.
8714 * manual/filesys.texi: Document MTASC-safety properties.
8716 * manual/errno.texi: Document MTASC-safety properties.
8718 * manual/intro.texi: Document safety identifiers and
8721 * manual/string.texi (wcstok): Fix prototype.
8722 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
8724 * manual/time.texi: Document MTASC-safety properties.
8726 * manual/string.texi: Document MTASC-safety properties.
8728 * manual/threads.texi: Document MTASC-safety properties.
8730 * manual/stdio.texi: Document MTASC-safety properties.
8732 * manual/syslog.texi: Document MTASC-safety properties.
8734 * manual/sysinfo.texi: Document MTASC-safety properties.
8736 * manual/startup.texi: Document MTASC-safety properties.
8738 * manual/socket.texi: Document MTASC-safety properties.
8740 * manual/signal.texi: Document MTASC-safety properties.
8742 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
8744 * manual/setjmp.texi: Document MTASC-safety properties.
8746 * manual/search.texi: Document MTASC-safety properties.
8748 * manual/resource.texi: Document MTASC-safety properties.
8750 * manual/process.texi: Document MTASC-safety properties.
8752 * manual/platform.texi: Document MTASC-safety properties.
8754 * manual/pipe.texi: Document MTASC-safety properties.
8756 * manual/pattern.texi: Document MTASC-safety properties.
8758 * manual/message.texi: Document MTASC-safety properties.
8761 * manual/memory.texi: Document MTASC-safety properties.
8763 * manual/math.texi: Document MTASC-safety properties.
8765 * manual/locale.texi: Document MTASC-safety properties.
8767 * manual/llio.texi: Document MTASC-safety properties.
8769 * manual/libdl.texi: New.
8771 * manual/lang.texi: Document MTASC-safety properties.
8773 * manual/job.texi: Document MTASC-safety properties.
8775 * manual/getopt.texi: Document MTASC-safety properties.
8777 * manual/ctype.texi: Document MTASC-safety properties.
8779 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
8782 * csu/libc-tls.c (static_map): Remove variable.
8783 (__libc_setup_tls): Use main executable's link map for TLS data.
8784 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
8785 casing for LM_ID_BASE and GL(dl_nns).
8786 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
8787 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
8788 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
8789 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
8790 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
8792 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
8795 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
8797 * manual/debug.texi: Document MTASC-safety properties.
8799 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
8802 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
8803 of __x86_64__ when disabling x87 inline functions.
8805 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
8807 * manual/charset.texi: Document MTASC-safety properties.
8809 * manual/crypt.texi: Document MTASC-safety properties.
8811 * manual/conf.texi: Document MTASC-safety properties.
8813 * manual/arith.texi: Document MTASC-safety properties.
8815 * manual/argp.texi: Document MTASC-safety properties.
8817 * manual/macros.texi: Introduce macros to document multi
8818 thread, asynchronous signal and asynchronous cancellation
8820 * manual/intro.texi: Introduce the properties themselves.
8822 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8824 * sysdeps/sh/sh4/Makefile: New file.
8826 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
8828 * math/gen-libm-test.pl ($srcdir): New variable.
8829 ($auto_input): Use it.
8831 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8834 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
8835 access beyond array bounds when parsing netgroups file.
8837 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
8838 the old buffer before realloc.
8840 2014-01-27 Allan McRae <allan@archlinux.org>
8842 * po/fr.po: Update French translation from translation project.
8844 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8846 * sysdeps/sh/libm-test-ulps: Regenerate.
8848 2014-01-24 David S. Miller <davem@davemloft.net>
8850 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
8852 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8854 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
8855 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
8857 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8860 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
8861 string pointers after reallocation.
8863 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8865 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
8866 __SH4A__ instead of __SH_FPU_ANY__.
8868 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8870 * sysdeps/sh/fpu_control.h: New file.
8871 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
8872 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8873 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
8874 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
8875 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
8876 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
8877 * sysdeps/sh/sys/ucontext.h: Remove.
8878 * sysdeps/sh/sys: Remove directory.
8880 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8882 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
8883 s390/sys/ucontext.h.
8884 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
8885 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
8887 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
8890 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
8892 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8895 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8896 Adjust the vDSO correctly for internal calls.
8897 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8899 2014-01-20 Allan McRae <allan@archlinux.org>
8901 * po/ca.po: Update Catalan translation from translation project.
8903 2014-01-16 Mike Frysinger <vapier@gentoo.org>
8905 * sysdeps/s390/sotruss-lib.c: New file.
8907 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8910 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
8911 (__GI___gettimeofday): Alias for a different internal symbol to avoid
8912 local calls issues by not having a PLT stub required for IFUNC calls.
8913 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
8915 2014-01-16 Joseph Myers <joseph@codesourcery.com>
8917 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
8918 * math/test-fpucw-static.c: Likewise.
8920 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8923 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
8925 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8927 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
8928 implementation for powerpc.
8930 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
8933 * sysdeps/posix/system.c (__libc_system): Do not enable
8934 asynchronous cancellation.
8936 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8939 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
8940 handling only for numbers special also in the IEEE case.
8942 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8944 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8946 2014-01-11 Allan McRae <allan@archlinux.org>
8948 * po/bg.po: Update Bulgarian translation from translation project.
8950 * po/de.po: Update German translation from translation project.
8952 2014-01-10 Roland McGrath <roland@hack.frob.com>
8954 * sysdeps/generic/gcc-compat.h: New file.
8956 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8958 * benchtests/asin-inputs: Correct slow inputs.
8959 * benchtests/acos-inputs: Likewise.
8961 2014-01-10 Allan McRae <allan@archlinux.org>
8963 * po:sv.po: Update Swedish translation from translation project.
8965 * po/vi.po: Update Vietnamese translation from translation project.
8967 * po/eo.po: Update Esperanto translation from translation project.
8969 * po/cs.po: Update Czech translation from translation project.
8971 * po/nl.po: Update Dutch translation from translation project.
8973 * po/pl.po: Update Polish translation from translation project.
8975 * po/ru.po: Update Russian translation from translation project.
8977 * po/uk.po: Update Ukrainian translation from translation project.
8979 2014-01-08 Brooks Moses <bmoses@google.com>
8981 * elf/dl-load.c: Fix comment typo.
8983 2014-01-08 Carlos O'Donell <carlos@redhat.com>
8985 * po/header.pot: Rename to...
8986 * po/pot.header: ... this.
8987 * po/Makefile: Use pot.header.
8989 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
8990 Maxim Kuvyrkov <maxim@kugelworks.com>
8993 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8994 SRC and DEST against LEN.
8996 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8999 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9001 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
9003 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9007 2014-01-08 Joseph Myers <joseph@codesourcery.com>
9010 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9011 for large positive arguments.
9013 2014-01-07 Joseph Myers <joseph@codesourcery.com>
9015 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9017 * math/auto-libm-test-in: Mark various tests with
9018 xfail-rounding:ldbl-128ibm.
9019 * math/auto-libm-test-out: Regenerated.
9022 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9023 Increase overflow threshold.
9025 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
9028 * stdio-common/vfprintf.c: Check for integer overflow.
9030 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9032 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9033 the first argument and return value of __tls_get_addr_internal.
9035 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9037 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9038 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9040 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9042 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9043 * sysdeps/s390/rtld-global-offsets.sym: New file.
9044 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9046 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9047 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9048 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9050 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9051 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9055 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9057 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9058 halfs of GPRs for high_gprs contexts.
9059 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9060 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
9062 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9064 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9066 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9067 for high GPRs (uc_high_gprs) and for future extensions
9069 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9070 for future extensions (__reserved).
9071 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9073 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9074 SC_HIGHGPRS offset definition.
9075 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9076 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9078 * Versions.def: Add GLIBC_2.19 for libpthread.
9079 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9080 siglongjmp for libpthread with GLIBC_2.19 symver.
9081 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9082 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9083 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9084 * sysdeps/s390/__longjmp.c: New file.
9085 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9086 * sysdeps/s390/longjmp.c: New file.
9087 * sysdeps/s390/setjmp.S: New file.
9088 * sysdeps/s390/sigjmp.S: New file.
9089 * sysdeps/s390/v1-longjmp.c: New file.
9090 * sysdeps/s390/v1-setjmp.h: New file.
9091 * sysdeps/s390/v1-sigjmp.c: New file.
9092 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9093 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9095 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9096 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9097 versioned symbols for ____longjmp_chk.
9098 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9108 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9109 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9110 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9111 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9112 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9113 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9114 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9115 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9116 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9117 * sysdeps/s390/rtld-__longjmp.c: New file.
9118 * sysdeps/s390/rtld-setjmp.S: New file.
9120 2014-01-06 Joseph Myers <joseph@codesourcery.com>
9123 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9124 Return -__logl (x) for small positive arguments without evaluating
9127 2014-01-06 Mike Frysinger <vapier@gentoo.org>
9129 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9131 (__ptrace_peeksiginfo_args): ... this.
9132 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9133 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9134 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9136 2014-01-06 Allan McRae <allan@archlinux.org>
9138 * inet/netinet/in.h: Fix typo in comment.
9140 2014-01-05 Andreas Jaeger <aj@suse.de>
9142 * sysdeps/i386/fpu/libm-test-ulps: Update.
9144 2014-01-05 Allan McRae <allan@archlinux.org>
9146 * po/libc.pot: Regenerated.
9148 * malloc/memusagestat.c: Fix gettext call formatting.
9150 2014-01-04 Sami Kerola <kerolasa@iki.fi>
9152 * nscd/nscd.c: Improve usage() output.
9154 2014-01-04 Mike Frysinger <vapier@gentoo.org>
9156 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
9157 * sysdeps/unix/sysv/linux/configure: Regenerated.
9158 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
9159 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
9161 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9164 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9165 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
9167 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9169 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
9170 extra tokens at end of #undef directive.
9171 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9172 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9173 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9175 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9177 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9179 * math/auto-libm-test-in: Mark various tests with
9180 xfail-rounding:ldbl-128ibm.
9181 * math/auto-libm-test-out: Regenerated.
9183 2014-01-02 Joseph Myers <joseph@codesourcery.com>
9186 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
9187 numbers with subnormal high part when calculating exponent.
9190 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
9194 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
9196 (__ieee754_acoshl): Use __log1pl not __log1p.
9198 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
9200 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
9201 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
9202 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
9203 (grow_heap, heap_trim, _int_new_arena, get_free_list)
9204 (reused_arena, arena_get2): Convert to GNU style.
9205 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
9206 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
9207 (memalign_check, __malloc_set_state): Likewise.
9208 * malloc/mallocbug.c (main): Likewise.
9209 * malloc/malloc.c (__malloc_assert, malloc_init_state)
9210 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
9211 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
9212 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
9213 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
9214 (__posix_memalign, malloc_info): Likewise.
9215 * malloc/malloc.h: Likewise.
9216 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
9217 (mallochook, memalignhook, reallochook, mabort): Likewise.
9218 * malloc/mcheck.h: Likewise.
9219 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
9220 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
9221 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
9222 * malloc/morecore.c (__default_morecore): Likewise.
9223 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
9224 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
9225 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
9226 (print_and_abort): Likewise.
9227 * malloc/obstack.h: Likewise.
9228 * malloc/set-freeres.c (__libc_freeres): Likewise.
9229 * malloc/tst-mallocstate.c (main): Likewise.
9230 * malloc/tst-mtrace.c (main): Likewise.
9231 * malloc/tst-realloc.c (do_test): Likewise.
9233 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9236 * nscd/netgroupcache.c (do_notfound): New function.
9237 (addgetnetgrentX): Use it.
9240 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
9241 NSS_STATUS_NOTFOUND.
9243 2014-01-01 Joseph Myers <joseph@codesourcery.com>
9245 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9248 2014-01-01 Allan McRae <allan@archlinux.org>
9250 * scripts/update-copyrights: Update configure input file suffix.
9252 * NEWS: Update copyright year.
9253 * catgets/gencat.c: Likewise.
9254 * csu/version.c: Likewise.
9255 * debug/catchsegv.sh: Likewise.
9256 * debug/pcprofiledump.c: Likewise.
9257 * debug/xtrace.sh: Likewise.
9258 * elf/ldconfig.c: Likewise.
9259 * elf/ldd.bash.in: Likewise.
9260 * elf/pldd.c: Likewise.
9261 * elf/sotruss.ksh: Likewise.
9262 * elf/sprof.c: Likewise.
9263 * iconv/iconv_prog.c: Likewise.
9264 * iconv/iconvconfig.c: Likewise.
9265 * locale/programs/locale.c: Likewise.
9266 * locale/programs/localedef.c: Likewise.
9267 * login/programs/pt_chown.c: Likewise.
9268 * malloc/memusage.sh: Likewise.
9269 * malloc/memusagestat.c: Likewise.
9270 * malloc/mtrace.pl: Likewise.
9271 * manual/libc.texinfo: Likewise.
9272 * nscd/nscd.c: Likewise.
9273 * nss/getent.c: Likewise.
9274 * nss/makedb.c: Likewise.
9275 * posix/getconf.c: Likewise.
9276 * scripts/test-installation.pl: Likewise.
9278 * All files with FSF copyright notices: Update copyright dates
9279 using scripts/update-copyrights.
9280 * intl/plural.c: Regenerated.
9281 * locale/programs/charmap-kw.h: Likewise.
9282 * locale/programs/locfile-kw.h: Likewise.
9284 2013-12-31 Mike Frysinger <vapier@gentoo.org>
9286 * sysdeps/unix/sysv/linux/configure: Regenerated.
9287 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
9288 the linux/fanotify.h header.
9289 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
9290 HAVE_LINUX_FANOTIFY_H is defined.
9292 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9294 * benchtests/cos-inputs: New inputs.
9295 * benchtests/sin-inputs: Likewise.
9297 * benchtests/atan-inputs: New inputs. Fix name of multiple
9298 precision fallback inputs.
9300 * benchtests/atanh-inputs: New inputs.
9301 * benchtests/tanh-inputs: Likewise.
9303 * benchtests/acosh-inputs: New inputs.
9304 * benchtests/asinh-inputs: Likewise.
9306 * benchtests/cosh-inputs: New inputs.
9307 * benchtests/sinh-inputs: Likewise.
9309 * benchtests/acos-inputs: Add more inputs.
9310 * benchtests/asin-inputs: Likewise.
9312 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
9315 * manual/arith.texi: Fix spelling.
9316 * manual/charset.texi: Likewise.
9317 * manual/errno.texi: Likewise.
9318 * manual/filesys.texi: Likewise.
9319 * manual/lang.texi: Likewise.
9320 * manual/llio.texi: Likewise.
9321 * manual/locale.texi: Likewise.
9322 * manual/message.texi: Likewise.
9323 * manual/resource.texi: Likewise.
9324 * manual/search.texi: Likewise.
9325 * manual/setjmp.texi: Likewise.
9326 * manual/stdio.texi: Likewise.
9327 * manual/string.texi: Likewise.
9328 * manual/sysinfo.texi: Likewise.
9329 * manual/time.texi: Likewise.
9331 2013-12-27 Carlos O'Donell <carlos@redhat.com>
9333 * po/sl.po: New file.
9335 2013-12-27 Mike Frysinger <vapier@gentoo.org>
9337 * .gitignore: Add core/.gdbinit/.gdb_history.
9339 2013-12-27 Allan McRae <allan@archlinux.org>
9342 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
9343 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
9345 2013-12-24 Brooks Moses <bmoses@google.com>
9347 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
9348 all compilers that claim C++98 compliance, not just GCC.
9349 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9352 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9354 * NEWS: Restore accidentally deleted bug-fix entries.
9356 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9357 Ondřej Bílka <neleai@seznam.cz>
9360 * malloc/malloc.c (_int_free): Perform sanity check only if we
9363 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
9366 * manual/stdio.texi (String Input Conversions): Clarify that character
9367 classes are not supported.
9369 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9373 2013-12-22 Joseph Myers <joseph@codesourcery.com>
9376 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9377 Calculate results for small negative arguments directly rather
9378 than using reflection formula with special underflow handling.
9380 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
9381 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
9382 sysdeps/unix/bsd/bsd4.4/syscalls.list.
9383 (fchflags): Likewise.
9385 (setlogin): Likewise.
9386 (sigaltstack): Likewise.
9389 (sigsetmask): Likewise.
9391 (waitpid): Likewise.
9392 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
9393 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
9395 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
9396 * sysdeps/unix/bsd/Makefile: ... here.
9397 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
9398 * sysdeps/unix/bsd/Versions: ... here.
9399 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
9400 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
9401 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
9402 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
9403 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
9404 * sysdeps/unix/bsd/sigblock.c: ... here.
9405 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
9406 * sysdeps/unix/bsd/sigsetmask.c: ... here.
9407 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
9408 * sysdeps/unix/bsd/sigvec.c: ... here.
9409 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
9410 * sysdeps/unix/bsd/tcdrain.c: ... here.
9411 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
9412 * sysdeps/unix/bsd/tcgetattr.c: ... here.
9413 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
9414 * sysdeps/unix/bsd/tcsetattr.c: ... here.
9415 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
9416 * sysdeps/unix/bsd/wait.c: ... here.
9417 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
9418 * sysdeps/unix/bsd/wait3.c: ... here.
9419 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
9420 * sysdeps/unix/bsd/waitpid.c: ... here.
9422 2013-12-21 Joseph Myers <joseph@codesourcery.com>
9425 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
9426 round-to-nearest for [!USE_AS_EXPM1L].
9427 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9428 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
9429 more tests of exp and exp10. Expect some exp10 tests to miss
9430 exceptions or fail in directed rounding modes.
9431 * math/auto-libm-test-out: Regenerated.
9432 * math/libm-test.inc (exp10_tonearest_test_data): New array.
9433 (exp10_test_tonearest): New function.
9434 (exp10_towardzero_test_data): New array.
9435 (exp10_test_towardzero): New function.
9436 (exp10_downward_test_data): New array.
9437 (exp10_test_downward): New function.
9438 (exp10_upward_test_data): New array.
9439 (exp10_test_upward): New function.
9440 (main): Call the new functions.
9441 * sysdeps/i386/fpu/libm-test-ulps: Update.
9442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9444 2013-12-20 Joseph Myers <joseph@codesourcery.com>
9446 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9447 asinh, atan, atan2, atanh, cbrt, cos and cosh.
9448 * math/auto-libm-test-out: Regenerated.
9449 * math/libm-test.inc (acosh_test_data): Add more tests.
9450 (atanh_test_data): Likewise.
9451 (ceil_test_data): Likewise.
9452 (copysign_test_data): Likewise.
9453 * sysdeps/i386/fpu/libm-test-ulps: Update.
9454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9456 * timezone/checktab.awk: Update from tzcode 2013i.
9457 * timezone/private.h: Likewise.
9458 * timezone/scheck.c: Likewise.
9459 * timezone/tzfile.h: Likewise.
9460 * timezone/tzselect.ksh: Likewise.
9461 * timezone/zdump.c: Likewise.
9462 * timezone/zic.c: Likewise.
9464 * math/auto-libm-test-in: Add tests of cpow.
9465 * math/auto-libm-test-out: Regenerated.
9466 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
9467 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9469 (func_calc_desc): Add mpc_cc_c union field.
9470 (test_functions): Add cpow.
9471 (special_fill_2pi): New function.
9472 (special_real_inputs): Add 2pi.
9473 (calc_generic_results): Handle mpc_cc_c.
9474 * sysdeps/i386/fpu/libm-test-ulps: Update.
9475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9477 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9478 csqrt, ctan and ctanh.
9479 * math/auto-libm-test-out: Regenerated.
9480 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9481 (TEST_COND_x86): Likewise.
9482 (ccos_test_data): Use AUTO_TESTS_c_c.
9483 (ccosh_test_data): Likewise.
9484 (cexp_test_data): Likewise.
9485 (clog_test_data): Likewise.
9486 (csqrt_test_data): Likewise.
9487 (ctan_test_data): Likewise.
9488 (ctan_tonearest_test_data): Likewise.
9489 (ctan_towardzero_test_data): Likewise.
9490 (ctan_downward_test_data): Likewise.
9491 (ctan_upward_test_data): Likewise.
9492 (ctanh_test_data): Likewise.
9493 (ctanh_tonearest_test_data): Likewise.
9494 (ctanh_towardzero_test_data): Likewise.
9495 (ctanh_downward_test_data): Likewise.
9496 (ctanh_upward_test_data): Likewise.
9497 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9499 (func_calc_desc): Add mpc_c_c union field.
9500 (FUNC_mpc_c_c): New macro.
9501 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9502 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9504 (special_fill_min_subnorm_p120): New function.
9505 (special_real_inputs): Add min_subnorm_p120.
9506 (calc_generic_results): Handle mpc_c_c.
9507 * sysdeps/i386/fpu/libm-test-ulps: Update.
9508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9510 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9512 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9513 (do_sin_slow): New functions.
9514 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9515 (cslow2, csloww1, csloww2): Use the new functions.
9517 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9518 Use M to change sign of result instead of X. Assume X is
9520 (csloww1): Likewise.
9524 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9529 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9531 (sloww1): Don't adjust sign of DX.
9532 (csloww1): Likewise.
9533 (sloww2): Use X directly and don't adjust sign of DX.
9534 (csloww2): Likewise.
9536 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9538 * math/auto-libm-test-in: Add tests of cabs and carg.
9539 * math/auto-libm-test-out: Regenerated.
9540 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9541 (carg_test_data): Likewise.
9542 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9544 (func_calc_desc): Add mpc_c_f union field.
9545 (test_functions): Add cabs and carg.
9546 (calc_generic_results): Handle mpc_c_f.
9548 * sysdeps/powerpc/powerpc32/libgcc-compat.S
9549 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9550 as a macro and a compat symbol.
9551 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9552 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9553 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9554 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9555 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9556 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9558 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9560 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9562 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9564 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9566 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9568 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9569 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9572 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9574 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9576 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9578 * manual/texinfo.tex: Update to version 2013-11-26.10 with
9579 trailing whitespace removed.
9580 * scripts/config.guess: Update to version 2013-11-29.
9581 * scripts/config.sub: Update to version 2013-10-01.
9583 * math/auto-libm-test-in: Add tests of sincos.
9584 * math/auto-libm-test-out: Regenerated.
9585 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9586 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9588 (func_calc_desc): Add mpfr_f_11 union field.
9589 (test_functions): Add sincos.
9590 (calc_generic_results): Handle mpfr_f_11.
9591 * sysdeps/i386/fpu/libm-test-ulps: Update.
9592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9594 2013-12-19 Andreas Schwab <schwab@suse.de>
9596 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9598 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9599 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9600 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9602 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9604 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9605 * sysdeps/i386/fpu/libm-test-ulps: Update.
9606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9609 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9610 round-to-nearest mode when using frndint.
9611 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9612 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9613 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9615 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
9617 * math/auto-libm-test-out: Regenerated.
9618 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9619 (TEST_COND_x86): Likewise.
9620 (expm1_tonearest_test_data): New array.
9621 (expm1_test_tonearest): New function.
9622 (expm1_towardzero_test_data): New array.
9623 (expm1_test_towardzero): New function.
9624 (expm1_downward_test_data): New array.
9625 (expm1_test_downward): New function.
9626 (expm1_upward_test_data): New array.
9627 (expm1_test_upward): New function.
9628 (main): Run the new test functions.
9629 * sysdeps/i386/fpu/libm-test-ulps: Update.
9630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9632 * include/features.h: Update comment documenting feature test
9633 macros. Mention _DEFAULT_SOURCE in comment.
9634 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9635 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9636 _BSD_SOURCE and _SVID_SOURCE.
9637 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9638 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9639 !_SVID_SOURCE]: Likewise.
9640 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9641 (__USE_POSIX_IMPLICITLY): Define.
9642 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9643 (_POSIX_SOURCE): Undefine and redefine.
9644 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9645 (_POSIX_C_SOURCE): Likewise.
9646 * manual/creature.texi (_DEFAULT_SOURCE): Document.
9647 (Feature Test Macros): Update documentation of default features.
9649 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9651 * benchtests/Makefile: Add bench-strtok.
9652 * benchtests/bench-strtok.c: New file: strtok benchtest.
9654 2013-12-19 Allan McRae <allan@archlinux.org>
9656 * manual/install.texi: Suppress menu for plain text output.
9657 * INSTALL: Regenerated.
9659 2013-12-18 Brooks Moses <bmoses@google.com>
9662 * misc/getauxval.c: Include errno.h.
9663 (__getauxval): Set errno to ENOENT if the requested type is not
9665 * misc/sys/auxv.h (getauxval): Document that it may set errno;
9666 don't declare with __attribute_const__.
9667 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
9668 * manual/startup.texi: Document that getauxval sets errno.
9670 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9672 * math/auto-libm-test-in: Add tests of jn and yn.
9673 * math/auto-libm-test-out: Regenerated.
9674 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
9675 (yn_test_data): Likewise.
9676 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9678 (func_calc_desc): Add mpfr_if_f union field.
9679 (FUNC_mpfr_if_f): New macro.
9680 (test_functions): Add jn and yn.
9681 (calc_generic_results): Assert type of second input for
9682 mpfr_ff_f. Handle mpfr_if_f.
9683 (output_for_one_input_case): Disable all checking for arguments
9684 fitting floating-point types in case of an integer argument.
9685 * sysdeps/i386/fpu/libm-test-ulps: Update.
9686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9689 Don't expect fegetround reference in libm.so.
9691 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9693 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
9694 $(config-cflags-nofma).
9696 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9698 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
9699 * math/auto-libm-test-out: Regenerated.
9702 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
9703 to determine exponent and adjust argument to have exponent of -1.
9704 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9706 * math/auto-libm-test-out: Regenerated.
9707 * sysdeps/i386/fpu/libm-test-ulps: Update.
9708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9710 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
9712 * manual/probes.texi: Remove cases when per-thread arenas are
9715 2013-12-18 Andreas Schwab <schwab@suse.de>
9717 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
9718 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
9719 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
9720 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
9721 * sysdeps/i386/i686/multiarch/Makefile: Update.
9722 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
9724 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9726 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
9727 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9729 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
9732 Support TZ transition times < 00:00:00.
9733 This is needed for version-3 tz-format files; it supports time
9734 stamps past 2037 for America/Godthab (the only entry in the tz
9735 database for which this change is relevant).
9736 * manual/time.texi (TZ Variable): Document transition times
9737 from -167:59:59 through -00:00:01.
9738 * time/tzset.c (tz_rule): Time of day is now signed.
9739 (__tzset_parse_tz): Parse negative time of day.
9741 Document TZ transition times >= 25:00:00.
9742 * manual/time.texi (TZ Variable): Document transition times from
9743 25:00:00 through 167:59:59. These are already supported, and this
9744 support will help with version-3 tz-format files.
9746 * manual/time.texi (TZ Variable): Modernize North America example
9747 to reflect current (i.e., 2007-and-later) daylight saving rules.
9749 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
9751 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9753 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
9754 * sysdeps/unix/bsd/bits/stat.h: Likewise.
9755 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
9756 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9757 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
9758 * sysdeps/unix/bsd/bsdstat.h: Likewise.
9759 * sysdeps/unix/bsd/clock.c: Likewise.
9760 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
9761 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
9762 * sysdeps/unix/bsd/init-posix.c: Likewise.
9763 * sysdeps/unix/bsd/poll.c: Likewise.
9764 * sysdeps/unix/bsd/ptsname.c: Likewise.
9765 * sysdeps/unix/bsd/seekdir.c: Likewise.
9766 * sysdeps/unix/bsd/setegid.c: Likewise.
9767 * sysdeps/unix/bsd/seteuid.c: Likewise.
9768 * sysdeps/unix/bsd/setgid.c: Likewise.
9769 * sysdeps/unix/bsd/setrgid.c: Likewise.
9770 * sysdeps/unix/bsd/setruid.c: Likewise.
9771 * sysdeps/unix/bsd/setsid.c: Likewise.
9772 * sysdeps/unix/bsd/setuid.c: Likewise.
9773 * sysdeps/unix/bsd/sigaction.c: Likewise.
9774 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
9775 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
9776 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9777 * sysdeps/unix/bsd/telldir.c: Likewise.
9778 * sysdeps/unix/bsd/times.c: Likewise.
9779 * sysdeps/unix/bsd/usleep.c: Likewise.
9781 * misc/Makefile (install-lib): Remove libbsd-compat.a.
9782 ($(objpfx)libbsd-compat.a): Remove rule.
9784 * include/features.h (__FAVOR_BSD): Do not define.
9785 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
9786 features conflicting with POSIX.
9787 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
9788 (_BSD_SOURCE): Remove description of not being a subset of other
9789 feature test macros.
9790 * manual/job.texi (getpgrp): Do not document BSD version.
9791 (getpgid): Do not document by reference to BSD getpgrp.
9792 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
9793 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
9794 * signal/signal.h [__FAVOR_BSD]: Likewise.
9795 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
9796 instead of making contents conditional on [__FAVOR_BSD].
9797 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
9799 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9803 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9806 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
9807 values below 2**-450, not 2**-500.
9808 * math/auto-libm-test-in: Don't allow spurious underflow from
9810 * math/auto-libm-test-out: Regenerated.
9814 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
9815 values of ha and hb and sort them after adjusting subnormal
9817 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9819 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
9820 values of ea and eb and sort them after adjusting subnormal
9822 * math/auto-libm-test-in: Do not expect some hypot tests of
9823 subnormals to fail. Add more hypot tests.
9824 * math/auto-libm-test-out: Regenerated.
9826 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9829 * sysdeps/sh/s_fma.c: New file.
9830 * sysdeps/sh/s_fmaf.c: New file.
9831 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
9833 * sysdeps/sh/Implies: Add sh/soft-fp.
9835 2013-12-16 Roland McGrath <roland@hack.frob.com>
9837 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
9838 level of indirection to members `objname', `errstring', `malloced'.
9839 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
9840 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
9841 it as the __longjmp argument (just pass 1 instead).
9842 (_dl_catch_error): Initialize C with argument pointers and address of
9843 volatile local ERRCODE rather than copying values out of C at return.
9845 2013-12-16 Joseph Myers <joseph@codesourcery.com>
9847 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
9848 * math/auto-libm-test-out: Regenerated.
9849 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
9850 (hypot_test_data): Likewise.
9851 (pow_test_data): Likewise.
9852 (pow_tonearest_test_data): Likewise.
9853 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9855 (func_calc_desc): Add mpfr_ff_f union field.
9856 (FUNC_mpfr_ff_f): New macro.
9857 (test_functions): Add atan2, hypot and pow.
9858 (special_fill_min): New function.
9859 (special_fill_minus_min): Likewise.
9860 (special_fill_min_subnorm): Likewise.
9861 (special_fill_minus_min_subnorm): Likewise.
9862 (special_real_inputs): Add min, -min, min_subnorm and
9864 (calc_generic_results): Handle mpfr_ff_f.
9865 * sysdeps/i386/fpu/libm-test-ulps: Update.
9866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9868 2013-12-16 Will Newton <will.newton@linaro.org>
9870 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
9871 (Aligned Memory Blocks): Add documentation for aligned_alloc
9872 and suggest it as an alternative to posix_memalign.
9873 (Hooks for Malloc): Document __memalign_hook is also called
9874 for aligned_alloc. (Summary of Malloc): Add summary for
9875 aligned alloc. Document __memalign_hook is also called
9878 2013-12-16 Will Newton <will.newton@linaro.org>
9880 * manual/memory.texi (Malloc Examples): Clarify default
9881 alignment documentation. Suggest posix_memalign rather
9882 than memalign or valloc.
9883 (Aligned Memory Blocks): Remove suggestion to use memalign
9884 or valloc. Remove obsolete comment about BSD.
9885 Document memalign errno values and mark the function obsolete.
9886 Document posix_memalign returned error codes. Mark valloc
9887 as obsolete. (Hooks for Malloc): __memalign_hook is also
9888 called for posix_memalign and valloc.
9889 (Summary of Malloc): Add posix_memalign to function summary.
9890 __memalign_hook is also called for posix_memalign and valloc.
9892 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9894 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
9898 (sloww): Use mynumber union. Expand ternary operator into
9900 (cslow): use mynumber union.
9902 2013-12-16 Allan McRae <allan@archlinux.org>
9904 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
9905 * configure: Regenerated.
9907 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
9910 * configure.ac: Added --enable-maintainer-mode. Check for
9911 autoconf when enabled.
9912 * configure: Regenerated.
9914 * nscd/nscd.service: New file.
9915 * nscd/nscd.tmpfiles: New file.
9917 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
9920 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
9921 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
9922 * sysdeps/x86_64/multiarch/strstr.c: ... here.
9923 (strstr): Add __strstr_sse2_unaligned ifunc.
9924 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
9925 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
9926 (strcasestr): Remove __strcasestr_sse42 ifunc.
9927 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
9928 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9929 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9931 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9933 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
9934 * sysdeps/sh/bits/fenv.h: ... here.
9935 * sysdeps/sh/sh4/fpu/bits: Remove directory.
9937 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9939 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
9941 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
9942 hypotf multiarch implementations.
9943 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
9944 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
9945 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
9946 multiarch hypot for PPC64.
9947 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
9948 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
9949 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
9950 multiarch hypotf for PPC64.
9952 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
9953 modff multiarch implementations.
9954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
9955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
9956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
9957 multiarch modf for PPC64.
9958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
9959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
9960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
9961 multiarch modff for PPC64.
9963 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
9964 and logl multiarch implementations.
9965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
9966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
9967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
9968 multiarch logb for PPC64.
9969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
9970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
9971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
9972 multiarch logb for PPC64.
9973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
9974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
9975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
9976 multiarch logb for PPC64.
9978 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
9979 isinff multiarch implementation.
9980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
9982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
9983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9984 multiarch isinf for PPC64.
9985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9988 multiarch isinff for PPC64.
9990 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9991 finitef multiarch implementation.
9992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9996 multiarch finite for PPC64.
9997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10000 multiarch finitef for PPC64.
10002 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
10003 lrint multiarch implementation.
10004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
10006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
10007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
10008 multiarch llrint for PPC64.
10009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
10010 multiarch lrint for PPC64.
10012 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
10013 copysignf multiarch implementation.
10014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10019 multiarch copysign for PPC64.
10020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10021 multiarch copysignf for PPC64.
10023 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10024 multiarch implementation.
10025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10033 multiarch llround for PPC64.
10034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10035 multiarch trunc for PPC64.
10036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10037 multiarch truncf for PPC64.
10039 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10040 multiarch implementation.
10041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10049 multiarch llround for PPC64.
10050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10051 multiarch round for PPC64.
10052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10053 multiarch roundf for PPC64.
10055 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10056 multiarch implementation.
10057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10065 multiarch llround for PPC64.
10066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10067 multiarch floor for PPC64.
10068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10069 multiarch floorf for PPC64.
10071 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10072 multiarch implementation.
10073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10081 multiarch llround for PPC64.
10082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10083 multiarch ceil for PPC64.
10084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10085 multiarch ceilf for PPC64.
10087 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10088 multiarch implementation.
10089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10096 multiarch llround for PPC64.
10097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10098 multiarch lround for PPC64.
10100 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10101 multiarch implementation.
10102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10109 multiarch isnan for PPC64.
10110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10111 multiarch isnanf for PPC64.
10113 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10114 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10115 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10116 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10117 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10120 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10121 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10122 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10123 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10125 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10126 multiarch implementations.
10127 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10128 (__libc_ifunc_impl_list): Likewise.
10129 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10130 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10131 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10132 multiarch stpcpy for PPC64.
10134 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10135 multiarch implementations.
10136 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10137 (__libc_ifunc_impl_list): Likewise.
10138 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10139 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
10140 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10141 multiarch strcpy for PPC64.
10143 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
10144 redefine function name.
10145 (_wordcopy_fwd_dest_aligned): Likewise.
10146 (_wordcopy_bwd_aligned): Likewise.
10147 (_wordcopy_bwd_dest_aligned): Likewise.
10148 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
10149 multiarch implementations.
10150 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10151 (__libc_ifunc_impl_list): Likewise.
10152 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
10153 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
10154 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
10155 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
10156 multiarch wcscpy for PPC64.
10158 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
10159 multiarch implementations.
10160 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10161 (__libc_ifunc_impl_list): Likewise.
10162 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
10163 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
10164 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
10165 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
10166 multiarch wcscpy for PPC64.
10168 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
10169 multiarch implementations.
10170 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10171 (__libc_ifunc_impl_list): Likewise.
10172 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
10173 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
10174 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
10175 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
10176 multiarch wcsrchr for PPC64.
10178 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
10179 multiarch implementations.
10180 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10181 (__libc_ifunc_impl_list): Likewise.
10182 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
10183 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
10184 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
10185 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
10186 multiarch wcschr for PPC64.
10188 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
10189 multiarch implementations.
10190 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10191 (__libc_ifunc_impl_list): Likewise.
10192 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
10193 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
10194 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
10195 multiarch strchrnul for PPC64.
10197 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
10199 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10200 (__libc_ifunc_impl_list): Likewise.
10201 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
10202 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
10203 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
10204 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
10207 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
10209 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10210 (__libc_ifunc_impl_list): Likewise.
10211 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
10212 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
10213 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
10214 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
10217 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
10218 multiarch implementations.
10219 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10220 (__libc_ifunc_impl_list): Likewise.
10221 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
10222 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
10223 strncasecmp for PPC64.
10224 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
10225 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
10226 multiarch strncasecmp_l for PPC64.
10228 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
10229 multiarch implementations.
10230 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10231 (__libc_ifunc_impl_list): Likewise.
10232 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
10233 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
10234 multiarch strcasecmp for PPC64.
10235 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
10237 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
10238 multiarch strcasecmp_l for PPC64.
10240 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
10242 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10243 (__libc_ifunc_impl_list): Likewise.
10244 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
10245 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
10246 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
10249 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
10251 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10252 (__libc_ifunc_impl_list): Likewise.
10253 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
10254 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
10255 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
10258 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
10260 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10261 (__libc_ifunc_impl_list): Likewise.
10262 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
10263 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
10264 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
10265 rawmemrchr for PPC64.
10267 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
10269 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10270 (__libc_ifunc_impl_list): Likewise.
10271 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
10272 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
10273 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
10276 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
10278 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10279 (__libc_ifunc_impl_list): Likewise.
10280 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
10281 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
10282 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
10285 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
10287 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10288 (__libc_ifunc_impl_list): Likewise.
10289 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
10290 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
10291 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
10294 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
10295 avoid cretion of __bzero symbol.
10296 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
10298 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
10300 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
10302 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
10303 multiarch implementations.
10304 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10305 (__libc_ifunc_impl_list): Likewise.
10306 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
10307 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
10308 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
10309 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
10311 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
10312 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
10313 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
10314 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
10315 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
10317 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
10319 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
10320 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
10322 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10323 (__libc_ifunc_impl_list): Likewise.
10324 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
10325 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
10326 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
10327 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
10330 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
10331 multiarch for POWER/PPC64.
10332 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10333 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
10334 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
10335 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
10336 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
10337 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
10338 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
10339 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
10340 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
10343 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
10344 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
10345 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
10346 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
10347 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
10348 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
10349 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
10350 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
10351 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
10352 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
10353 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
10354 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
10355 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
10356 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
10357 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
10358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
10359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
10360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
10361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
10362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
10363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
10364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
10366 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10368 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
10370 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10372 * benchtests/Makefile (bench): Add exp2 and log2.
10373 (LDLIBS-bench-exp2): Add -lm.
10374 (LDLIBS-bench-log2): Likewise.
10375 * benchtests/exp2-inputs: New inputs file.
10376 * benchtests/log2-inputs: New inputs file.
10377 * benchtests/log-inputs: Add new inputs.
10378 * benchtests/tan-inputs: Likewise.
10380 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10382 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
10384 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
10385 (csloww2): ... from here.
10387 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
10388 instead of structures.
10389 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
10390 (POLYNOMIAL): Likewise.
10391 (TAYLOR_SLOW): Likewise.
10397 (sloww1); Likewise.
10398 (sloww2): Likewise.
10399 (bsloww1): Likewise.
10400 (bsloww2): Likewise.
10401 (cslow2): Likewise.
10402 (csloww): Likewise.
10403 (csloww1): Likewise.
10404 (csloww2): Likewise.
10406 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
10408 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
10409 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
10410 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
10411 * malloc/hooks.c (realloc_check): Likewise.
10413 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
10414 * malloc/arena.c: Remove PER_THREAD conditional.
10415 [!PER_THREAD]: Remove code.
10416 (ptmalloc_unlock_all2): Likewise.
10417 (ptmalloc_init): Likewise.
10418 (_int_new_arena): Likewise.
10419 (arena_get2): Likewise.
10420 * malloc/hooks.c (__malloc_get_state): Likewise.
10421 (__malloc_set_state): Likewise.
10422 * malloc/malloc.c: Likewise.
10423 (struct malloc_state): Likewise.
10424 (struct malloc_par): Likewise.
10425 (__libc_realloc): Likewise.
10426 (__libc_mallopt): Likewise.
10428 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10430 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
10432 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
10434 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
10435 macro to a function. Check for zero perturb_byte.
10436 (_int_malloc, _int_free): Remove zero perturb_byte checks.
10438 * malloc/malloc.c: (force_reg): Remove.
10439 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
10440 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
10441 force_reg by atomic_forced_read.
10442 * malloc/arena.c (ptmalloc_init): Likewise.
10443 * malloc/hooks.c (top_check): Likewise.
10445 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10449 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
10451 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10453 2013-12-08 Joseph Myers <joseph@codesourcery.com>
10455 * math/auto-libm-test-in: Add tests of lgamma.
10456 * math/auto-libm-test-out: Regenerated.
10457 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
10458 (M_LOG_2_SQRT_PIl): Likewise.
10459 (lgamma_test_data): Use AUTO_TESTS_f_f1.
10460 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10462 (func_calc_desc): Add mpfr_f_f1 union field.
10463 (ARGS1): New macro.
10471 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10472 (test_functions): Add lgamma.
10473 (calc_generic_results): Handle mpfr_f_f1.
10474 * sysdeps/i386/fpu/libm-test-ulps: Update.
10475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10477 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10479 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10480 __mpn_add_n for PowerPC64/POWER7.
10481 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10482 __mpn_sub_n for PowerPC64/POWER7.
10484 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10485 __mpn_addmul_1 for PowerPC64.
10486 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10487 __mpn_submul_1 for PowerPC64.
10488 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10490 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10493 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
10496 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10498 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10500 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10502 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10503 add multiarch folders.
10504 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10505 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10506 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10507 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10508 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10509 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10510 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10511 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10512 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10513 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10514 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10523 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10529 multiarch __ieee754_hypot for PowerPC32.
10530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10535 multiarch __ieee754_hypotf for PowerPC32.
10537 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10538 long_double_symbol only if __logbl is defined.
10539 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10540 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10541 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10542 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10543 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10544 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10545 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10546 path for implementation.
10547 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10548 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10550 logb, and logbl multiarch implementations for PowerPC32.
10551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10556 multiarch logb for PowerPC32.
10557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10562 multiarch logbf for PowerPC32.
10563 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10567 multiarch logbl implementation for PowerPC32.
10569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10570 and modff multiarch implementations.
10571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10576 multiarch modf for PowerPC32.
10577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10582 multiarch modff for PowerPC32.
10584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10585 and lrintf multiarch implementations.
10586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10591 multiarch lrint for PowerPC32.
10592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10593 file: multiarch lrintf for PowerPC32.
10595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10596 and lroundf multiarch implementations.
10597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10604 multiarch lround for PowerPC32.
10605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10606 file: multiarch lroundf for PowerPC32.
10608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10609 copysign and copysignf multiarch implementations.
10610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10615 file: multiarch copysign for PowerPC32.
10616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10617 file: multiarch copysignf for PowerPC32.
10619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10620 and truncf multiarch implementations.
10621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10626 multiarch trunc for PowerPC32.
10627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10632 multiarch truncf for PowerPC32.
10634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10635 and roundf multiarch implementations.
10636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10641 multiarch round for PowerPC32.
10642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
10647 multiarch roundf for PowerPC32.
10649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
10650 and floorf multiarch implementations.
10651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
10653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
10655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
10656 multiarch floor for PowerPC32.
10657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
10659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
10661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
10662 multiarch floorf for PowerPC32.
10664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
10665 and ceilf multiarch implementations.
10666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
10668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
10670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
10671 multiarch ceil for PowerPC32.
10672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
10674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
10676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
10677 multiarch ceilf for PowerPC32.
10679 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
10681 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
10682 FINITEF is defined.
10683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
10684 and finitef multiarch implementations.
10685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
10687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
10689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
10690 multiarch finite for PowerPC32.
10691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
10693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
10694 file: multiarch finitef for PowerPC32.
10696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
10697 and isinff multiarch implementations.
10698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
10700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
10702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
10703 multiarch isinf for PowerPC32.
10704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
10706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
10707 multiarch isinff for PowerPC32.
10709 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
10710 alias when __isnan is defined.
10711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
10712 and isnanf multiarch implementations.
10713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
10715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
10717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
10719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
10721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
10722 multiarch isnan for PowerPC32.
10723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
10725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
10727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
10728 multiarch isnanf for PowerPC32.
10730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
10731 and sqrtf multiarch implementations.
10732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
10734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
10736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
10737 multiarch sqrt for PowerPC32.
10738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
10740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
10742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
10743 multiarch sqrtf for PowerPC32.
10745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
10746 and llroundf multiarch implementations.
10747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
10749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
10751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
10753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
10754 file: multiarch llround for PowerPC32.
10755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
10756 file: multiarch llroundf for PowerPC32.
10758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
10759 multiarch PowerPC32 fpu implementations.
10760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
10762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
10764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
10765 multiarch llrint for PowerPC32.
10766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
10768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
10770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
10773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
10775 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
10777 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
10779 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
10781 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
10782 multiarch wordcopy for PPC32.
10783 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10785 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10786 (__libc_ifunc_impl_list): Likewise.
10787 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
10788 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
10789 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
10790 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
10791 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
10792 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
10794 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
10795 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
10797 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
10799 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
10801 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
10802 multiarch wcscpy for PPC32.
10803 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10805 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10806 (__libc_ifunc_impl_list): Likewise.
10807 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10808 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10809 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
10810 sysdeps/powerpc/power6/wcscpy.c.
10812 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
10813 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
10815 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
10817 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
10819 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
10820 multiarch wcsrchr for PPC32.
10821 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10823 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10824 (__libc_ifunc_impl_list): Likewise.
10825 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10826 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10827 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
10828 sysdeps/powerpc/power6/wcsrchr.c.
10830 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
10832 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
10834 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
10835 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
10836 multiarch wcschr for PPc32.
10837 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10839 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10840 (__libc_ifunc_impl_list): Likewise.
10841 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
10842 * sysdeps/powerpc/power6/wcschr.c: ... to here.
10843 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
10844 sysdeps/powerpc/power6/wcschr.c.
10846 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
10847 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
10849 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
10850 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
10851 file: multiarch strchr for PPC32.
10852 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
10854 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10855 (__libc_ifunc_impl_list): Likewise.
10857 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
10859 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
10861 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
10863 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
10864 multiarch strchrnul for PPC32.
10865 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
10867 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10868 (__libc_ifunc_impl_list): Likewise.
10870 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
10872 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
10873 multiarch strncasecmp for PPC32.
10874 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
10876 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
10877 multiarch strncasecmp_l for PPC32.
10878 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
10879 strncasecmp multiarch objects.
10880 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10881 (__libc_ifunc_impl_list): Likewise.
10883 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
10885 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
10886 multiarch strncasecmp for PPC32.
10887 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10889 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
10890 multiarch strcasecmp_l for PPC32.
10891 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
10893 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10894 (__libc_ifunc_impl_list): Likewise.
10896 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
10898 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
10900 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
10901 multiarch strncmp for PPC32.
10902 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
10904 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10905 (__libc_ifunc_impl_list): Likewise.
10907 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
10908 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
10910 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
10911 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
10912 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
10914 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10915 (__libc_ifunc_impl_list): Likewise.
10917 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
10919 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
10921 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
10922 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
10924 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10925 (__libc_ifunc_impl_list): Likewise.
10927 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
10929 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
10931 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
10932 multiarch rawmemchr for PPC32.
10933 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
10935 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10936 (__libc_ifunc_impl_list): Likewise.
10938 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
10940 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
10942 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
10943 file: memrchr multiarch for PPC32.
10944 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
10946 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10947 (__libc_ifunc_impl_list): Likewise.
10949 * string/memchr.c (__memchr): Using macro to redefine symbol name.
10950 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
10952 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
10953 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
10954 multiarch memchr for PPC32.
10955 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
10957 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10958 (__libc_ifunc_impl_list): Likewise.
10960 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
10961 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
10963 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
10965 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
10966 file: multiarch mempcpy for PPC32.
10967 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
10969 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10970 (__libc_ifunc_impl_list): Likewise.
10972 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
10973 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
10974 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
10975 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
10976 multiarch bzero for PPC32.
10977 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
10979 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10981 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
10982 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
10983 file: multiarch memset for PPC32.
10984 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10985 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10986 memset multiarch objects.
10987 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10988 (__libc_ifunc_impl_list): Likewise.
10990 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10992 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10993 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10995 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10996 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10998 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10999 (__libc_ifunc_impl_list): Likewise.
11001 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
11002 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
11003 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
11005 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
11007 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11009 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
11010 multiarch memcpy for PPC32.
11011 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
11013 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11014 (__libc_ifunc_impl_list): Likewise.
11016 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11017 support multiarch for POWER/PPC32.
11018 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11020 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11022 Implies file to make multiarch folder appers before the fpu and
11023 default folder for power4 configuration.
11025 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11027 * scripts/bench.pl: Append volatile keyword to type.
11029 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11031 * sysdeps/sh/sotruss-lib.c: New file.
11032 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11034 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11036 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11038 2013-12-05 Joseph Myers <joseph@codesourcery.com>
11041 * math/w_tgamma.c: Include <errno.h>.
11042 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
11043 * math/w_tgammaf.c: Include <errno.h>.
11044 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
11045 * math/w_tgammal.c: Include <errno.h>.
11046 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
11047 * math/auto-libm-test-in: Do not allow missing errno on tgamma
11048 underflow. Add more tgamma tests.
11049 * math/auto-libm-test-out: Regenerated.
11050 * sysdeps/i386/fpu/libm-test-ulps: Update.
11051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11053 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11054 sin, sinh, tan, tanh, tgamma, y0 and y1.
11055 * math/auto-libm-test-out: Regenerated.
11056 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11057 (TEST_COND_x86): Likewise.
11058 (M_E2l): Remove macro.
11060 (M_2_SQRT_PIl): Likewise.
11061 (M_SQRT_PIl): Likewise.
11062 (M_1_DIV_El): Likewise.
11063 (log_test_data): Use AUTO_TESTS_f_f.
11064 (log10_test_data): Likewise.
11065 (log1p_test_data): Likewise.
11066 (log2_test_data): Likewise.
11067 (sin_test_data): Likewise.
11068 (sin_tonearest_test_data): Likewise.
11069 (sin_towardzero_test_data): Likewise.
11070 (sin_downward_test_data): Likewise.
11071 (sin_upward_test_data): Likewise.
11072 (sinh_test_data): Likewise.
11073 (sinh_tonearest_test_data): Likewise.
11074 (sinh_towardzero_test_data): Likewise.
11075 (sinh_downward_test_data): Likewise.
11076 (sinh_upward_test_data): Likewise.
11077 (tan_test_data): Likewise.
11078 (tan_tonearest_test_data): Likewise.
11079 (tan_towardzero_test_data): Likewise.
11080 (tan_downward_test_data): Likewise.
11081 (tan_upward_test_data): Likewise.
11082 (tanh_test_data): Likewise.
11083 (tgamma_test_data): Likewise.
11084 (y0_test_data): Likewise.
11085 (y1_test_data): Likewise.
11086 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11087 (special_real_inputs): Add pi/4.
11088 * sysdeps/i386/fpu/libm-test-ulps: Update.
11089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11091 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11093 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11094 "longjmp_target" static probes.
11095 (__longjmp): Rename to __longjmp_symbol.
11096 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11097 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11098 on which longjmp to generate.
11099 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11100 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11102 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11103 (__sigjmp_save): Rename to __sigjmp_save_symbol.
11104 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11105 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11106 and __sigjmp_save_symbol based on which sigsetjmp to generated.
11107 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11109 __longjmp_symbol based on which __longjmp to generate.
11110 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11112 (setjmp): Rename to setjmp_symbol.
11113 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11114 (_setjmp): Rename to _setjmp_symbol.
11115 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11116 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11117 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11118 which setjmp to generate.
11119 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11120 "longjmp_target" static probes.
11122 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11124 * benchtests/README: Add note about output arguments.
11125 * benchtests/bench-sincos.c: Remove file.
11126 * benchtests/sincos-inputs: New file.
11127 * scripts/bench.pl: Identify output arguments and define
11128 static variables for them.
11130 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11133 * Makefile (INSTALL): Add install-plain.texi as the primary
11135 * manual/install-plain.texi: New file.
11136 * manual/install.texi: Include node directive only for
11137 non-plaintext output.
11139 2013-12-04 Joseph Myers <joseph@codesourcery.com>
11141 * stdlib/longlong.h: Update from GCC.
11145 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
11146 * math/w_j0f.c (y0f): Likewise.
11147 * math/w_j0l.c (__y0l): Likewise.
11148 * math/w_j1.c (y1): Likewise.
11149 * math/w_j1f.c (y1f): Likewise.
11150 * math/w_j1l.c (__y1l): Likewise
11151 * math/w_jn.c (yn): Likewise.
11152 * math/w_jnf.c (ynf): Likewise.
11153 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
11154 Bessel function pole errors in _POSIX_ mode. Use NAN as return
11155 value for Bessel function domain errors outside _SVID_ mode.
11156 Adjust sign of return value for yn (negative integer, 0).
11157 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
11158 by zero in return for negative x and set sign appropriately for
11160 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
11161 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11162 * math/libm-test.inc (y0_test_data): Add more tests and adjust
11163 expectations in error cases.
11164 (y1_test_data): Likewise.
11165 (yn_test_data): Likewise.
11166 * sysdeps/i386/fpu/libm-test-ulps: Update.
11167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11169 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11171 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
11172 "64" to "64-v1". Add "64-v2".
11173 (abi-64-options): Rename to ...
11174 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
11175 (abi-64-condition): Rename to ...
11176 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
11177 (abi-64-ld-soname): Rename to ...
11178 (abi-64-v1-ld-soname): ... this.
11179 (abi-64-v2-options): Define.
11180 (abi-64-v2-condition): Likewise.
11181 (abi-64-v2-ld-soname): Likewise.
11182 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
11183 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
11184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
11185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
11186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
11188 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11189 Alan Modra <amodra@gmail.com>
11191 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
11192 New versions for use with the ELFv2 ABI.
11193 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
11194 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
11196 (struct La_ppc64v2_retval): Likewise.
11197 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
11198 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
11199 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
11200 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
11201 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
11202 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11203 Do not save or restore CR.
11204 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
11205 (_dl_profile_resolve): Do no save or restore CR. Support extended
11206 return values for ELFv2 ABI. Fix location of FPR return registers.
11207 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
11208 updated values for _CALL_ELF == 2.
11209 (La_regs, La_retval, int_retval): Likewise.
11211 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11213 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
11214 (FRAME_MIN_SIZE_PARM): Likewise.
11215 (FRAME_BACKCHAIN): Likewise.
11216 (FRAME_CR_SAVE): Likewise.
11217 (FRAME_LR_SAVE): Likewise.
11218 (FRAME_TOC_SAVE): Likewise.
11219 (FRAME_PARM_SAVE): Likewise.
11220 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
11221 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
11222 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11223 (call_mcount_parm_offset): New macro.
11224 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
11225 (PROF): Use symbolic stack frame offsets.
11226 (TAIL_CALL_SYSCALL_ERROR): Likewise.
11227 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
11228 Redefine in terms of FRAME_MIN_SIZE.
11229 (_dl_runtime_resolve): Use symbolic stack frame offsets.
11230 (_dl_profile_resolve): Likewise. Update comment.
11231 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
11232 symbols stack frame offsets.
11233 (__sigsetjmp): Likewise.
11234 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
11235 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
11236 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
11237 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
11239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
11240 (FRAME_BACKCHAIN): Remove.
11241 (FRAME_CR_SAVE): Likewise.
11242 (FRAME_LR_SAVE): Likewise.
11243 (FRAME_COMPILER_DW): Likewise.
11244 (FRAME_LINKER_DW): Likewise.
11245 (FRAME_TOC_SAVE): Likewise.
11246 (FRAME_PARM_SAVE): Likewise.
11247 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
11248 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
11249 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
11251 (CHECK_SP): Use symbolic stack frame offsets.
11252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
11253 zone" instead of caller's parameter save area for temp storage.
11254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11255 Likewise. Also, use symbolic stack frame offsets.
11256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
11257 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
11258 our own stack frame instead of the caller's.
11259 (__socket): Use symbolic stack frame offsets.
11261 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11262 Alan Modra <amodra@gmail.com>
11264 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
11266 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
11267 (PPC64_LOCAL_ENTRY_OFFSET): Define.
11268 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
11270 (elf_machine_fixup_plt): Call it.
11271 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
11273 (elf_machine_rela): Update call to elf_machine_plt_conflict.
11274 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11275 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
11276 r2 before calling target.
11278 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11279 Alan Modra <amodra@gmail.com>
11281 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
11282 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
11283 versions of macros to support ELFv2 ABI.
11284 (LOCALENTRY): New macro.
11285 (ENTRY, EALIGN): Use it.
11286 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
11287 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
11288 fall through into ENTRY entry point.
11289 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
11290 Only define if _CALL_ELF != 2.
11292 (elf_machine_matches_host): Verify ABI version matches.
11293 (RTLD_START): Use LOCALENTRY.
11294 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
11295 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
11296 (PLT_ENTRY_WORDS): New macro.
11297 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
11298 (elf_machine_runtime_setup): Support ELFv2 ABI.
11299 (elf_machine_fixup_plt): Likewise.
11300 (elf_machine_plt_conflict): Likewise.
11301 (resolve_ifunc): Likewise.
11302 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11303 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
11306 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
11307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11308 (makecontext): Support ELFv2 ABI.
11309 * elf/elf.h (EF_PPC64_ABI): Define.
11311 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11313 * sysdeps/powerpc/powerpc64/sysdep.h
11314 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
11315 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
11316 (ENTRY) [ASSEMBLER]: ... but instead here ...
11317 (EALIGN) [ASSEMBLER]: ... and here.
11318 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
11319 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
11320 (ENTRY_2) [!ASSEMBLER]: Use it.
11321 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
11322 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
11323 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11324 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
11325 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
11326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
11327 Use PPC64_LOAD_FUNCPTR.
11329 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
11331 2013-12-04 Alan Modra <amodra@gmail.com>
11333 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
11334 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
11335 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
11336 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
11338 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
11339 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
11340 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
11341 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
11342 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
11343 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
11345 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11348 (__makecontext): Fix incorrect CFI when backtracing out of
11349 context created via makecontext.
11350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
11351 (__setcontext): Fix incorrect CFI during switch to new context.
11352 (__novec_setcontext): Likewise.
11354 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
11357 * time/strptime_l.c (__strptime_internal): Allow modifiers
11359 * time/tst-strptime.c (day_tests): Add testcase.
11361 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11363 * scripts/bench.pl: Skip over blank lines.
11365 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
11368 * manual/time.texi (Calendar Time): Clarify what timezone functions
11371 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11373 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11375 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
11377 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
11379 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11380 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11381 * debug/memset_chk.c (__memset_chk): Likewise.
11382 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
11383 * debug/strncpy_chk.c: Likewise.
11385 2013-12-03 Joseph Myers <joseph@codesourcery.com>
11389 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
11390 (__ieee754_exp): For possibly underflowing results, check size of
11391 result and force underflow exception if required.
11392 * math/auto-libm-test-in: Add more tests of exp.
11393 * math/auto-libm-test-out: Regenerated.
11394 * sysdeps/i386/fpu/libm-test-ulps: Update.
11395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11398 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
11399 * math/w_exp2f.c (__exp2f): Likewise.
11400 * math/w_exp2l.c (__exp2l): Likewise.
11401 * math/auto-libm-test-in: Do not allow missing errno on exp2
11403 * math/auto-libm-test-out: Regenerated.
11405 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
11408 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
11409 handle filename validation.
11410 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
11413 2013-12-03 Joseph Myers <joseph@codesourcery.com>
11416 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
11417 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
11418 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
11420 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
11421 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
11422 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11423 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
11424 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11425 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
11426 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11427 * math/auto-libm-test-in: Don't allow missing errno from erfc.
11428 Add more erfc tests.
11429 * math/auto-libm-test-out: Regenerated.
11430 * sysdeps/i386/fpu/libm-test-ulps: Update.
11431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11433 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
11434 exp2, expm1, j0 and j1.
11435 * math/auto-libm-test-out: Regenerated.
11436 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
11437 (erfc_test_data): Likewise.
11438 (exp_test_data): Likewise.
11439 (exp_tonearest_test_data): Likewise.
11440 (exp_towardzero_test_data): Likewise.
11441 (exp_downward_test_data): Likewise.
11442 (exp_upward_test_data): Likewise.
11443 (exp10_test_data): Likewise.
11444 (exp2_test_data): Likewise.
11445 (expm1_test_data): Likewise.
11446 (j0_test_data): Likewise.
11447 (j1_test_data): Likewise.
11448 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
11449 (input_flag_type): Add flag_xfail_rounding.
11450 (input_flags): Add xfail-rounding.
11451 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
11452 (output_for_one_input_case): Handle flag_xfail_rounding.
11453 * sysdeps/i386/fpu/libm-test-ulps: Update.
11454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11456 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
11459 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
11462 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11465 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
11466 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
11467 (STAP_PROBE0): New macro.
11468 (STAP_PROBE1): Likewise.
11469 (STAP_PROBE2): Likewise.
11470 (STAP_PROBE3): Likewise.
11471 (STAP_PROBE4): Likewise.
11473 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
11475 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11477 2013-12-02 Steve Ellcey <sellcey@mips.com>
11479 * benchtests/Makefile (bench): Add sqrt.
11480 (LDLIBS-bench-sqrt): New.
11481 * benchtests/sqrt-input: New.
11483 2013-12-02 Pavel Simerda <psimerda@redhat.com>
11485 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11486 (GAIH_EAI): Likewise.
11487 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11488 (gaih_inet): Likewise.
11489 (getaddrinfo): Don't use GAIH_EAI.
11491 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11492 (struct gaih): Remove definition.
11494 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11496 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11497 Use HERRNOP directly.
11499 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11501 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11503 2013-11-30 Joseph Myers <joseph@codesourcery.com>
11505 * math/gen-auto-libm-tests.c (test_functions): Add more
11506 single-argument functions.
11507 (special_fill_pi_2): New function.
11508 (special_fill_minus_pi_2): Likewise.
11509 (special_fill_pi_6): Likewise.
11510 (special_fill_minus_pi_6): Likewise.
11511 (special_fill_pi_3): Likewise.
11512 (special_fill_2pi_3): Likewise.
11513 (special_fill_e): Likewise.
11514 (special_fill_1_e): Likewise.
11515 (special_fill_e_minus_1): Likewise.
11516 (special_real_inputs): Add more special inputs.
11517 (output_for_one_input_case): Do not require ERANGE on underflow to
11518 zero if round-to-nearest result does not underflow to zero, unless
11519 exact results required.
11520 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11521 atan, atanh, cbrt, cos and cosh.
11522 * math/auto-libm-test-out: Regenerated.
11523 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11524 (acos_tonearest_test_data): Likewise.
11525 (acos_towardzero_test_data): Likewise.
11526 (acos_downward_test_data): Likewise.
11527 (acos_upward_test_data): Likewise.
11528 (acosh_test_data): Likewise.
11529 (asin_test_data): Likewise.
11530 (asin_tonearest_test_data): Likewise.
11531 (asin_towardzero_test_data): Likewise.
11532 (asin_upward_test_data): Likewise.
11533 (asinh_test_data): Likewise.
11534 (atan_test_data): Likewise.
11535 (atanh_test_data): Likewise.
11536 (cbrt_test_data): Likewise.
11537 (cos_test_data): Likewise.
11538 (cos_tonearest_test_data): Likewise.
11539 (cos_towardzero_test_data): Likewise.
11540 (cos_downward_test_data): Likewise.
11541 (cos_upward_test_data): Likewise.
11542 (cosh_test_data): Likewise.
11543 (cosh_tonearest_test_data): Likewise.
11544 (cosh_towardzero_test_data): Likewise.
11545 (cosh_downward_test_data): Likewise.
11546 (cosh_upward_test_data): Likewise.
11547 * sysdeps/i386/fpu/libm-test-ulps: Update.
11548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11550 2013-11-29 Joseph Myers <joseph@codesourcery.com>
11553 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11554 * math/w_exp10f.c (__exp10f): Likewise.
11555 * math/w_exp10l.c (__exp10l): Likewise.
11556 * math/libm-test.inc (exp10_test_data): Add more tests and expect
11557 errno settings in existing tests.
11560 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11561 precision control set to double precision.
11562 * sysdeps/i386/fpu/w_sqrt.c: New file.
11563 * math/auto-libm-test-in: Add more tests.
11564 * math/auto-libm-test-out: Update.
11566 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11567 (sqrt_test_tonearest): New function.
11568 (sqrt_towardzero_test_data): New variable.
11569 (sqrt_test_towardzero): New function.
11570 (sqrt_downward_test_data): New variable.
11571 (sqrt_test_downward): New function.
11572 (sqrt_upward_test_data): New variable.
11573 (sqrt_test_upward): New function.
11574 (main): Call the new functions.
11576 * math/gen-auto-libm-tests.c: New file.
11577 * math/auto-libm-test-in: Likewise.
11578 * math/auto-libm-test-out: New generated file.
11579 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11581 (%beautify): Add generated representations of zero.
11582 (top level): Set $auto_input and call parse_auto_input.
11583 (beautify): Remove trailing "f" from hex float constants.
11584 (parse_args): Handle XFAIL_TEST.
11585 (convert_condition): New function.
11586 (or_value): Likewise.
11587 (or_cond_value): Likewise.
11588 (generate_testfile): Handle AUTO_TESTS_* lines.
11589 (parse_auto_input): New function.
11590 * math/libm-test.inc (XFAIL_TEST): New macro.
11591 (ERRNO_UNCHANGED): Update value.
11592 (ERRNO_EDOM): Likewise.
11593 (ERRNO_ERANGE): Likewise.
11594 (IGNORE_RESULT): Likewise.
11595 (TEST_COND_flt_32): New macro.
11596 (TEST_COND_dbl_64): Likewise.
11597 (TEST_COND_ldbl_96_intel): Likewise.
11598 (TEST_COND_ldbl_96_m68k): Likewise.
11599 (TEST_COND_ldbl_128): Likewise.
11600 (TEST_COND_ldbl_128ibm): Likewise.
11601 (TEST_COND_long32): Likewise.
11602 (TEST_COND_long64): Likewise.
11603 (TEST_COND_before_rounding): Likewise.
11604 (TEST_COND_after_rounding): Likewise.
11605 (enable_test): Handle XFAIL_TEST flag.
11606 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11607 with finite results.
11608 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11609 auto-libm-test-out.
11611 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11612 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11615 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11616 __tls_get_addr_internal instead of __tls_get_offset in order to
11617 avoid GOT pointer dependency. Make rtld export
11618 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11619 __tls_get_addr since we are a __tls_get_offset platform.
11620 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11621 GOT pointer being set up before.
11622 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11624 2013-11-28 Joseph Myers <joseph@codesourcery.com>
11626 * manual/math.texi (Errors in Math Functions): Document accuracy
11630 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11631 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11632 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11633 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11634 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11635 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11636 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11637 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11638 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11639 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11640 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11641 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11642 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11643 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11644 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11645 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11647 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
11648 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
11649 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
11650 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
11651 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
11653 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
11655 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
11657 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
11658 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11659 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
11660 atomic-feupdateenv and flt-rounds.
11661 * sysdeps/powerpc/nofpu/Versions (libc): Add
11662 __atomic_feholdexcept, __atomic_feclearexcept,
11663 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
11664 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
11665 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
11666 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
11667 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
11669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11672 * manual/arith.texi (FP Exceptions): Document that exceptions may
11673 not be raised when matherr is used.
11674 (Math Error Reporting): Document overflow in directed rounding
11675 modes. Document that errno may not be set when finite values are
11676 returned on overflow. Document intent to set errno on underflow
11677 only for underflow to zero.
11680 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
11681 round-to-nearest then adjust result for other rounding modes.
11682 * include/fenv.h (fegetround): Use libm_hidden_proto.
11683 * math/fegetround.c (fegetround): Use libm_hidden_def.
11684 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11685 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11686 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11687 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11689 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
11690 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11691 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11692 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
11694 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11697 * nss/Versions (libnss_files): Add
11698 _nss_files_gethostbyname3_r.
11699 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
11701 (HOST_DB_LOOKUP): Remove macro.
11702 (_nss_files_gethostbyname_r): Implement function without the
11703 HOST_DB_LOOKUP macro.
11704 (_nss_files_gethostbyname2_r): Likewise.
11706 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
11708 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
11710 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
11712 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
11713 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
11716 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11718 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
11719 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
11720 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11721 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11722 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
11723 __fe_nomask_env_priv and attribute_hidden.
11724 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
11725 (libc_feupdateenv_test_ppc): Likewise.
11726 (libc_feresetround_ppc): Likewise.
11727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11728 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
11729 compat_symbol macro.
11730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11731 (__fe_nomask_env): Likewise.
11732 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
11734 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11736 * string/Makefile: Remove ifunc tests.
11737 * string/test-string.h: Define TEST_IFUNC.
11738 * string/test-bcopy-ifunc.c: Remove.
11739 * string/test-bzero-ifunc.c: Likewise.
11740 * string/test-memccpy-ifunc.c: Likewise.
11741 * string/test-memchr-ifunc.c: Likewise.
11742 * string/test-memcmp-ifunc.c: Likewise.
11743 * string/test-memcpy-ifunc.c: Likewise.
11744 * string/test-memmem-ifunc.c: Likewise.
11745 * string/test-memmove-ifunc.c: Likewise.
11746 * string/test-mempcpy-ifunc.c: Likewise.
11747 * string/test-memrchr-ifunc.c: Likewise.
11748 * string/test-memset-ifunc.c: Likewise.
11749 * string/test-rawmemchr-ifunc.c: Likewise.
11750 * string/test-stpcpy-ifunc.c: Likewise.
11751 * string/test-stpncpy-ifunc.c: Likewise.
11752 * string/test-strcasecmp-ifunc.c: Likewise.
11753 * string/test-strcasestr-ifunc.c: Likewise.
11754 * string/test-strcat-ifunc.c: Likewise.
11755 * string/test-strchr-ifunc.c: Likewise.
11756 * string/test-strchrnul-ifunc.c: Likewise.
11757 * string/test-strcmp-ifunc.c: Likewise.
11758 * string/test-strcpy-ifunc.c: Likewise.
11759 * string/test-strcspn-ifunc.c: Likewise.
11760 * string/test-strlen-ifunc.c: Likewise.
11761 * string/test-strncasecmp-ifunc.c: Likewise.
11762 * string/test-strncat-ifunc.c: Likewise.
11763 * string/test-strncmp-ifunc.c: Likewise.
11764 * string/test-strncpy-ifunc.c: Likewise.
11765 * string/test-strnlen-ifunc.c: Likewise.
11766 * string/test-strpbrk-ifunc.c: Likewise.
11767 * string/test-strrchr-ifunc.c: Likewise.
11768 * string/test-strspn-ifunc.c: Likewise.
11769 * string/test-strstr-ifunc.c: Likewise.
11771 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11773 * benchtests/Makefile: Remove ifunc tests.
11774 * benchtests/bench-string.h: Define TEST_IFUNC.
11775 * benchtests/bench-bcopy-ifunc.c: Remove.
11776 * benchtests/bench-bzero-ifunc.c: Likewise.
11777 * benchtests/bench-memccpy-ifunc.c: Likewise.
11778 * benchtests/bench-memchr-ifunc.c: Likewise.
11779 * benchtests/bench-memcmp-ifunc.c: Likewise.
11780 * benchtests/bench-memcpy-ifunc.c: Likewise.
11781 * benchtests/bench-memmem-ifunc.c: Likewise.
11782 * benchtests/bench-memmove-ifunc.c: Likewise.
11783 * benchtests/bench-mempcpy-ifunc.c: Likewise.
11784 * benchtests/bench-memrchr-ifunc.c: Likewise.
11785 * benchtests/bench-memset-ifunc.c: Likewise.
11786 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
11787 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
11788 * benchtests/bench-stpcpy-ifunc.c: Likewise.
11789 * benchtests/bench-stpncpy-ifunc.c: Likewise.
11790 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
11791 * benchtests/bench-strcasestr-ifunc.c: Likewise.
11792 * benchtests/bench-strcat-ifunc.c: Likewise.
11793 * benchtests/bench-strchr-ifunc.c: Likewise.
11794 * benchtests/bench-strchrnul-ifunc.c: Likewise.
11795 * benchtests/bench-strcmp-ifunc.c: Likewise.
11796 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
11797 * benchtests/bench-strcpy-ifunc.c: Likewise.
11798 * benchtests/bench-strcspn-ifunc.c: Likewise.
11799 * benchtests/bench-strlen-ifunc.c: Likewise.
11800 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
11801 * benchtests/bench-strncat-ifunc.c: Likewise.
11802 * benchtests/bench-strncmp-ifunc.c: Likewise.
11803 * benchtests/bench-strncpy-ifunc.c: Likewise.
11804 * benchtests/bench-strnlen-ifunc.c: Likewise.
11805 * benchtests/bench-strpbrk-ifunc.c: Likewise.
11806 * benchtests/bench-strrchr-ifunc.c: Likewise.
11807 * benchtests/bench-strsep-ifunc.c: Likewise.
11808 * benchtests/bench-strspn-ifunc.c: Likewise.
11809 * benchtests/bench-strstr-ifunc.c: Likewise.
11811 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11813 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
11815 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11817 * resolv/netdb.h: Use __glibc_reserved instead __unused.
11818 * rt/aio.h: Likewise.
11819 * sysdeps/gnu/bits/utmp.h: Likewise.
11820 * sysdeps/gnu/bits/utmpx.h: Likewise.
11821 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11822 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11823 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11824 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11825 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11826 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11827 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
11828 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
11829 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
11830 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11831 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11832 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11833 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
11834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
11835 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11836 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
11837 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11838 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11839 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11840 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
11841 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
11842 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
11843 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
11844 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11845 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11846 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11847 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
11848 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11849 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11850 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11851 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
11852 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
11853 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
11854 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11855 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11856 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
11857 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11858 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11859 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11860 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
11861 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11862 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11864 2013-11-25 Carlos O'Donell <carlos@redhat.com>
11867 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
11868 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
11870 2013-11-25 Joseph Myers <joseph@codesourcery.com>
11872 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
11873 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11876 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11878 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
11879 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
11880 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
11881 (__fesetround): Remove define.
11882 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
11883 rounding and exceptions handling.
11884 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
11885 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
11886 (__fe_nomask_env): Likewise.
11887 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
11888 __fegetround instead of fegetround.
11889 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11890 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11892 2013-11-21 Roland McGrath <roland@hack.frob.com>
11894 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
11897 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
11899 2013-11-21 Meador Inge <meadori@codesourcery.com>
11902 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
11903 (encrypt_r): Likewise.
11904 * malloc/obstack.h (obstack_free): Likewise.
11905 * posix/unistd.h (encrypt): Likewise.
11907 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
11909 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
11910 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
11911 DL_CALL_DT_FINI() that call the functions directly.
11912 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
11913 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
11914 * elf/dl-fini.c: Likewise.
11916 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
11918 * malloc/hooks.c (memalign_check): Add alignment rounding.
11919 * malloc/malloc.c (_mid_memalign): New function.
11920 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
11921 Implement by calling _mid_memalign.
11922 * manual/probes.texi (Memory Allocation Probes): Remove
11923 memory_valloc_retry and memory_pvalloc_retry.
11925 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11927 * locale/programs/locarchive.c (open_archive): Add const
11928 qualifier to ARCHIVEFNAME and copy default fname to
11932 * libio/tst-widetext.input: Rename Oriya to Odia.
11933 * locale/iso-639.def: Likewise.
11935 * manual/probes.texi (Mathematical Function Probes): Add
11936 documentation for sin, cos, asin and acos probes.
11937 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
11938 (__sin32): Add slowasin probe.
11939 (__cos32): Add slowacos probe.
11940 (__mpsin): Add slowsin probe.
11941 (__mpcos): Add slowcos probe.
11943 2013-11-19 Joseph Myers <joseph@codesourcery.com>
11946 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
11947 thread-local __sim_exceptions_thread and global
11948 __sim_exceptions_global.
11949 (__sim_disabled_exceptions): Change to thread-local
11950 __sim_disabled_exceptions_thread and global
11951 __sim_disabled_exceptions_global.
11952 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11953 and global __sim_round_mode_global.
11954 (__simulate_exceptions): Use thread-local floating-point state and
11955 set global state from it as needed.
11956 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
11957 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
11958 __sim_round_mode_thread.
11959 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
11960 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
11961 and global __sim_exceptions_global.
11962 (__sim_disabled_exceptions): Change to thread-local
11963 __sim_disabled_exceptions_thread and global
11964 __sim_disabled_exceptions_global.
11965 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11966 and global __sim_round_mode_global.
11967 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
11968 (SIM_SET_GLOBAL): Likewise.
11969 * sysdeps/powerpc/soft-fp/sfp-machine.h
11970 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
11971 __sim_round_mode_thread.
11972 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
11973 __sim_disabled_exceptions_thread.
11974 (__sim_exceptions): Change to __sim_exceptions_thread.
11975 (__sim_disabled_exceptions): Change to
11976 __sim_disabled_exceptions_thread.
11977 (__sim_round_mode): Change to __sim_round_mode_thread.
11978 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
11979 thread-local floating-point state and set global state from it as
11981 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
11982 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
11983 (__sim_disabled_exceptions): Remove extern declaration.
11984 (feenableexcept): Use thread-local floating-point state and set
11985 global state from it as needed.
11986 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11987 extern declaration.
11988 (__sim_disabled_exceptions): Likewise.
11989 (__sim_round_mode): Likewise.
11990 (__fegetenv): Use thread-local floating-point state.
11991 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11992 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11993 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11994 floating-point state and set global state from it as needed.
11995 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11996 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11997 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11999 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12000 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
12002 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
12003 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
12004 Use __sim_round_mode_thread.
12005 * math/test-fenv-tls.c: New file.
12006 * math/Makefile (tests): Add test-fenv-tls.
12007 ($(objpfx)test-fenv-tls): Depend on
12008 $(common-objpfx)nptl/libpthread.so.
12010 2013-11-19 Andreas Schwab <schwab@suse.de>
12012 * locale/programs/locale.c (show_info): Decode wordarray elements.
12013 * locale/categories.def (LC_MONETARY): Add element for
12014 _NL_MONETARY_CRNCYSTR.
12015 * locale/C-monetary.c (conversion_rate): New variable.
12016 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12019 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
12021 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12022 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12024 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12026 * elf/Makefile (tst-auxv): New test.
12027 * elf/tst-auxv.c: New
12028 * elf/rtld.c (dl_main): Adjust AT_EXECFN
12030 2013-11-18 Joseph Myers <joseph@codesourcery.com>
12032 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12033 (hidden_proto): Caller changed.
12034 (hidden_tls_proto): New macro.
12035 (libc_hidden_tls_proto): Likewise.
12036 (rtld_hidden_tls_proto): Likewise.
12037 (libm_hidden_tls_proto): Likewise.
12038 (libresolv_hidden_tls_proto): Likewise.
12039 (librt_hidden_tls_proto): Likewise.
12040 (libdl_hidden_tls_proto): Likewise.
12041 (libnss_files_hidden_tls_proto): Likewise.
12042 (libnsl_hidden_tls_proto): Likewise.
12043 (libnss_nisplus_hidden_tls_proto): Likewise.
12044 (libutil_hidden_tls_proto): Likewise.
12046 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
12049 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12050 (decompose_rpath): Defer expansion to fillin_rpath.
12051 (_dl_init_paths): Pass linkmap to fillin_rpath.
12053 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12055 * benchtests/Makefile: Add strsep.
12056 * benchtests/bench-strsep.c: New file: strsep benchtest.
12057 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12059 2013-11-18 Andreas Schwab <schwab@suse.de>
12061 * locale/programs/locale.c (show_info) [case byte]: Check for
12062 '\377' instead of '\177'.
12063 * locale/C-monetary.c (not_available): Always use "\377".
12064 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12065 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
12066 detect unavailable sign_posn locale elements.
12067 * locale/localeconv.c (__localeconv): For grouping and
12068 mon_grouping handle "\177" and "\377" like no grouping.
12069 (INT_ELEM): New macro. Use it to set all numeric members.
12070 * locale/programs/ld-monetary.c (monetary_read)
12071 <tok_mon_grouping>: Normalize single -1 to the empty string.
12072 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12075 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
12078 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12079 when we match (nil).
12080 * stdio-common/tst-sscanf.c (struct test): Add testcase.
12082 2013-11-16 Joseph Myers <joseph@codesourcery.com>
12084 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12085 (NO_TEST_INLINE): Update value.
12086 (ERRNO_UNCHANGED): Likewise.
12087 (ERRNO_EDOM): Likewise.
12088 (ERRNO_ERANGE): Likewise.
12089 (IGNORE_RESULT): Likewise.
12090 (check_float_internal): Check signs of NaN results if
12091 TEST_NAN_SIGN used.
12092 (check_complex): Pass TEST_NAN_SIGN flag through to second
12093 check_float_internal call.
12094 (copysign_test_data): Add tests with quiet NaNs as second
12095 argument. Use TEST_NAN_SIGN.
12096 (fabs_test_data): Add test of negative quiet NaN argument. Use
12098 (signbit_test_data): Add tests of quiet NaN argument.
12099 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12101 * math/gen-libm-test.pl (show_exceptions): Take extra argument
12103 (parse_args): Handle function results specified as IGNORE.
12104 * math/libm-test.inc (IGNORE_RESULT): New macro.
12105 (check_float_internal): Do not check numerical result if flag
12107 (check_complex): Pass through IGNORE_RESULT to second
12108 check_float_internal call.
12109 (check_int): Do not check numerical result if flag IGNORE_RESULT
12111 (check_long): Likewise.
12112 (check_bool): Likewise.
12113 (check_longlong): Likewise.
12114 (lrint_test_data): Add tests of infinite and NaN arguments.
12115 (lrint_tonearest_test_data): Likewise.
12116 (lrint_towardzero_test_data): Likewise.
12117 (lrint_downward_test_data): Likewise.
12118 (lrint_upward_test_data): Likewise.
12119 (llrint_test_data): Likewise.
12120 (llrint_tonearest_test_data): Likewise.
12121 (llrint_towardzero_test_data): Likewise.
12122 (llrint_downward_test_data): Likewise.
12123 (llrint_upward_test_data): Likewise.
12124 (lround_test_data): Likewise.
12125 (llround_test_data): Likewise.
12127 * math/libm-test.inc (NO_TEST_INLINE): New macro.
12128 (ERRNO_UNCHANGED): Update value.
12129 (ERRNO_EDOM): Likewise.
12130 (ERRNO_ERANGE): Likewise.
12131 (NO_TEST_INLINE_FLOAT): New macro.
12132 (NO_TEST_INLINE_DOUBLE): Likewise.
12133 (enable_test): New function.
12134 (RUN_TEST_f_f): Check enable_test before running test.
12135 (RUN_TEST_2_f): Likewise.
12136 (RUN_TEST_fff_f): Likewise.
12137 (RUN_TEST_c_f): Likewise.
12138 (RUN_TEST_f_f1): Likewise.
12139 (RUN_TEST_fF_f1): Likewise.
12140 (RUN_TEST_fI_f1): Likewise.
12141 (RUN_TEST_ffI_f1): Likewise.
12142 (RUN_TEST_c_c): Likewise.
12143 (RUN_TEST_cc_c): Likewise.
12144 (RUN_TEST_f_i): Likewise.
12145 (RUN_TEST_f_i_tg): Likewise.
12146 (RUN_TEST_ff_i_tg): Likewise.
12147 (RUN_TEST_f_b): Likewise.
12148 (RUN_TEST_f_b_tg): Likewise.
12149 (RUN_TEST_f_l): Likewise.
12150 (RUN_TEST_f_L): Likewise.
12151 (RUN_TEST_fFF_11): Likewise.
12152 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
12154 (cosh_test_data): Likewise.
12155 (exp_test_data): Likewise.
12156 (expm1_test_data): Likewise.
12157 (hypot_test_data): Likewise.
12158 (pow_test_data): Likewise.
12159 (sinh_test_data): Likewise.
12160 (tanh_test_data): Likewise.
12161 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
12164 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
12165 tests with quiet NaN input and output.
12166 (acosh_test_data): Likewise.
12167 (asin_test_data): Likewise.
12168 (asinh_test_data): Likewise.
12169 (atan_test_data): Likewise.
12170 (atanh_test_data): Likewise.
12171 (atan2_test_data): Likewise.
12172 (cbrt_test_data): Likewise.
12173 (cos_test_data): Likewise.
12174 (cosh_test_data): Likewise.
12175 (erf_test_data): Likewise.
12176 (erfc_test_data): Likewise.
12177 (exp_test_data): Likewise.
12178 (exp10_test_data): Likewise.
12179 (exp2_test_data): Likewise.
12180 (expm1_test_data): Likewise.
12181 (hypot_test_data): Likewise.
12182 (j0_test_data): Likewise.
12183 (j1_test_data): Likewise.
12184 (jn_test_data): Likewise.
12185 (lgamma_test_data): Likewise.
12186 (log_test_data): Likewise.
12187 (log10_test_data): Likewise.
12188 (log1p_test_data): Likewise.
12189 (log2_test_data): Likewise.
12190 (pow_test_data): Likewise.
12191 (scalb_test_data): Likewise.
12192 (sin_test_data): Likewise.
12193 (sincos_test_data): Likewise.
12194 (sinh_test_data): Likewise.
12195 (tan_test_data): Likewise.
12196 (tanh_test_data): Likewise.
12197 (tgamma_test_data): Likewise.
12198 (y0_test_data): Likewise.
12199 (y1_test_data): Likewise.
12200 (yn_test_data): Likewise.
12203 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
12204 argument being NaN and avoid computations with second argument in
12206 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12207 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12208 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12210 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
12212 * locale/iso-639.def: Add Chitwani Tharu (the).
12214 2013-11-14 Andreas Schwab <schwab@suse.de>
12216 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
12217 word instead of empty string.
12219 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12222 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
12223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12224 (__fe_nomask_env): Likewise.
12226 2013-11-13 Steve Ellcey <sellcey@mips.com>
12228 * benchtests/bench-timing.h: Include time.h.
12230 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
12233 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
12235 * sysdeps/unix/sysv/linux/configure: Regenerated.
12237 2013-11-13 Joseph Myers <joseph@codesourcery.com>
12240 * stdlib/strtod_l.c (round_and_return): Do not consider
12241 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
12242 exponent one less than half the least subnormal exponent.
12243 * stdlib/test-strtod-round-data: Add more tests.
12244 * stdlib/tst-strtod-round.c (tests): Regenerated.
12246 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12249 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
12250 (__fe_mask_env): Likewise.
12251 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
12252 libm_hidden_proto and add function prototype.
12253 (__fe_mask_env): Add function prototype.
12254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12255 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
12256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12257 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
12258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12259 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
12261 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12263 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
12264 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
12266 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12268 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
12269 of htab_find_slot().
12271 2013-11-11 David S. Miller <davem@davemloft.net>
12274 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
12275 symbol in the non-vis3 case in static builds.
12276 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
12277 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
12278 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
12279 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
12281 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12284 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
12287 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12289 * benchtests/Makefile: Add bench-strtod.
12290 * benchtests/bench-strtod.c: New file: strtod benchtest
12292 2013-11-11 Andreas Schwab <schwab@suse.de>
12295 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
12296 terminating NUL in key length.
12298 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12300 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12301 Add artificial ODP entry for vDSO symbol for PPC64.
12302 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
12303 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12305 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
12308 * nss/getent.c (services_keys): Recognize services starting with digit.
12310 2013-11-06 David S. Miller <davem@davemloft.net>
12313 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
12314 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
12316 2013-11-06 Will Newton <will.newton@linaro.org>
12318 * manual/memory.texi (Malloc Examples): Remove register
12319 keyword from examples.
12321 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
12323 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
12325 2013-11-04 Joseph Myers <joseph@codesourcery.com>
12328 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
12329 depending on [__GCC_IEC_559 > 0].
12330 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
12331 depending on [__GCC_IEC_559_COMPLEX > 0].
12333 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
12335 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
12338 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
12340 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
12342 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
12345 * malloc/malloc (malloc_info): Do not handle first bin as
12348 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
12350 * locale/iso-639.def: Add Central Nahuatl (nhn).
12352 2013-11-01 Bruno Haible <bruno@clisp.org>
12355 * manual/math.texi (BSD Random): Specify range upper bound as
12358 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
12360 * locale/iso-639.def: Add Meadow Mari (mhr).
12362 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
12364 [BZ #14752], [BZ #15763]
12365 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
12367 * rt/tst_shm.c: Add test for escaping directory.
12369 2013-10-31 Andreas Schwab <schwab@suse.de>
12372 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
12373 followed by 'x' as part of digit sequence.
12374 * stdio-common/tst-sscanf.c (double_tests2): New tests.
12376 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
12379 * configure.ac: allow GNU Make 4.0 and greater.
12380 * configure: Regenerated.
12382 2013-10-30 Will Newton <will.newton@linaro.org>
12385 * malloc/hooks.c (memalign_check): Limit alignment to the
12386 maximum representable power of two.
12387 * malloc/malloc.c (__libc_memalign): Likewise.
12388 * malloc/tst-memalign.c (do_test): Add test for very
12389 large alignment values.
12390 * malloc/tst-posix_memalign.c (do_test): Likewise.
12392 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
12395 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
12396 (munmap_chunk): Likewise.
12397 (mremap_chunk): Likewise.
12399 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
12402 * stdlib/div.c (div): Remove obsolete code.
12403 * stdlib/ldiv.c (ldiv): Likewise.
12404 * stdlib/lldiv.c (lldiv): Likewise.
12406 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12409 * nss/nss_files/files-XXX.c (get_contents_ret): New
12411 (get_contents): New function.
12412 (internal_getent): Use it. Expand size of LINEBUFLEN.
12414 2013-10-30 Mike Frysinger <vapier@gentoo.org>
12416 * configure.in: Moved to ...
12417 * configure.ac: ... here. Change reference to configure.in
12419 * sysdeps/arm/preconfigure.ac: ... here.
12420 configure.in to configure.ac.
12421 * sysdeps/gnu/configure.in: Moved to ...
12422 * sysdeps/gnu/configure.ac: ... here.
12423 * sysdeps/i386/configure.in: Moved to ...
12424 * sysdeps/i386/configure.ac: ... here.
12425 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
12426 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
12427 * sysdeps/mach/configure.in: Moved to ...
12428 * sysdeps/mach/configure.ac: ... here.
12429 * sysdeps/mach/hurd/configure.in: Moved to ...
12430 * sysdeps/mach/hurd/configure.ac: ... here.
12431 * sysdeps/powerpc/configure.in: Moved to ...
12432 * sysdeps/powerpc/configure.ac: ... here.
12433 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
12434 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
12435 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
12436 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
12437 * sysdeps/s390/s390-32/configure.in: Moved to ...
12438 * sysdeps/s390/s390-32/configure.ac: ... here.
12439 * sysdeps/s390/s390-64/configure.in: Moved to ...
12440 * sysdeps/s390/s390-64/configure.ac: ... here.
12441 * sysdeps/sh/configure.in: Moved to ...
12442 * sysdeps/sh/configure.ac: ... here.
12443 * sysdeps/sparc/configure.in: Moved to ...
12444 * sysdeps/sparc/configure.ac: ... here.
12445 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
12446 * sysdeps/unix/sysv/linux/configure.ac: ... here.
12447 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
12448 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
12449 * sysdeps/x86_64/configure.in: Moved to ...
12450 * sysdeps/x86_64/configure.ac: ... here.
12451 * sysdeps/x86_64/preconfigure.in: Moved to ...
12452 * sysdeps/x86_64/preconfigure.ac: ... here.
12453 * aclocal.m4: Change reference to configure.in to configure.ac.
12454 * config.h.in: Likewise.
12455 * manual/install.texi: Likewise.
12456 * manual/maint.texi: Likewise.
12457 * Makefile: Likewise.
12458 * malloc/Makefile: Likewise.
12459 * nscd/Makefile: Likewise.
12460 * Makeconfig: Change reference to configure.in and
12461 preconfigure.in to configure.ac and preconfigure.ac
12463 * INSTALL: Regenerated.
12464 * configure: Likewise.
12465 * sysdeps/gnu/configure: Likewise.
12466 * sysdeps/i386/configure: Likewise.
12467 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
12468 * sysdeps/mach/configure: Likewise.
12469 * sysdeps/mach/hurd/configure: Likewise.
12470 * sysdeps/powerpc/configure: Likewise.
12471 * sysdeps/powerpc/powerpc32/configure: Likewise.
12472 * sysdeps/powerpc/powerpc64/configure: Likewise.
12473 * sysdeps/s390/s390-32/configure: Likewise.
12474 * sysdeps/s390/s390-64/configure: Likewise.
12475 * sysdeps/sh/configure: Likewise.
12476 * sysdeps/sparc/configure: Likewise.
12477 * sysdeps/unix/sysv/linux/configure: Likewise.
12478 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12479 * sysdeps/x86_64/configure: Likewise.
12480 * sysdeps/x86_64/preconfigure: Likewise.
12482 2013-10-29 Andreas Schwab <schwab@suse.de>
12484 * stdio-common/Makefile (tst-swscanf-ENV): Define.
12486 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12488 * benchtests/pow-inputs: Add new inputs.
12490 * benchtests/exp-inputs: Add new inputs.
12492 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12493 conditional check for return value.
12494 (__cos32): Likewise.
12496 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12498 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12499 to provide a boost for large inputs with word alignment.
12500 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12501 implementation based on optimized PPC64 strcpy.
12502 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12503 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12504 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12505 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12507 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12510 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12512 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12515 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12516 * time/tst-strptime.c (day_tests): Add testcase.
12518 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12521 * manual/pattern.texi: Acknowledge that fnmatch can fail.
12523 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
12526 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12527 MAP_FAILED on error.
12529 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12532 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12533 heap for large requests.
12535 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
12538 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12539 result if the result has no associated interface.
12540 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12541 interface for all 127.X.Y.Z addresses.
12543 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
12545 * locale/iso-639.def: Add Ligurian (lij)
12547 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
12550 * sunrpc/rpc_main.c: Document rpcgen -5.
12552 2013-10-19 Michael Stahl <mstahl@redhat.com>
12554 * elf/rtld.c (do_preload): Print the reason why preloading failed.
12556 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12559 * posix/glob.c: Match only directories when trailing slash is present.
12560 * posix/tst-gnuglob.c (my_opendir): Do not open files.
12561 (main): Add testcase.
12563 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12566 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12568 2013-10-18 Carlos O'Donell <carlos@redhat.com>
12570 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12571 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12572 AUTH_DES and cindex for FIPS 140-2.
12573 (DES Encryption): Add cindex FIPS 46-3.
12575 * locale/locarchive.h (struct locarhandle): Add fname.
12576 * locale/programs/localedef.c (main): Pass ARGV[remaining]
12577 if an optional argument was specified to --list-archive,
12579 * locale/programs/locarchive.c (show_archive_content): Take new
12580 argument fname and pass it via ah.fname to open_archive.
12581 * locale/programs/localedef.h: Update decl.
12582 (open_archive): If AH->fname is non-null, open that file
12583 rather than the default file name, and don't ignore ENOENT.
12584 (create_archive): Set AH.fname to NULL.
12585 (delete_locales_from_archive): Likewise.
12586 (add_locales_to_archive): Likewise.
12587 * locale/programs/locfile.c (write_all_categories): Likewise.
12589 2013-10-18 Joseph Myers <joseph@codesourcery.com>
12590 Aldy Hernandez <aldyh@redhat.com>
12592 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12593 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12594 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12595 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12596 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12597 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12598 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12599 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12600 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12601 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12602 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12603 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12604 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12605 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12606 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12608 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12610 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12612 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12614 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12615 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12617 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12618 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12619 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12620 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12622 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12623 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12624 * sysdeps/powerpc/preconfigure: Likewise.
12625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12627 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12628 Replace contents of file by #include of <fenv_libc.h>.
12629 * sysdeps/powerpc/soft-fp/sfp-machine.h
12630 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12632 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12633 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12634 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12635 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12636 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12637 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12638 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12639 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12640 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12641 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12642 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12643 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12645 Allow copysignl PLT reference to be missing.
12647 2013-10-18 Richard Sandiford <richard@codesourcery.com>
12648 Joseph Myers <joseph@codesourcery.com
12651 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
12653 (add_to_tablewc): Assert sequence of wide characters is nonempty.
12655 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12657 * elf/tst-tls-dlinfo.c: Don't include tls.h.
12658 * elf/tst-tls1.c: Likewise.
12659 * elf/tst-tls10.h: Likewise.
12660 * elf/tst-tls14.c: Likewise.
12661 * elf/tst-tls2.c: Likewise.
12662 * elf/tst-tls3.c: Likewise.
12663 * elf/tst-tls4.c: Likewise.
12664 * elf/tst-tls5.c: Likewise.
12665 * elf/tst-tls6.c: Likewise.
12666 * elf/tst-tls7.c: Likewise.
12667 * elf/tst-tls8.c: Likewise.
12668 * elf/tst-tls9.c: Likewise.
12669 * elf/tst-tlsmod1.c: Likewise.
12670 * elf/tst-tlsmod13.c: Likewise.
12671 * elf/tst-tlsmod13a.c: Likewise.
12672 * elf/tst-tlsmod14a.c: Likewise.
12673 * elf/tst-tlsmod16a.c: Likewise.
12674 * elf/tst-tlsmod16b.c: Likewise.
12675 * elf/tst-tlsmod2.c: Likewise.
12676 * elf/tst-tlsmod3.c: Likewise.
12677 * elf/tst-tlsmod4.c: Likewise.
12678 * elf/tst-tlsmod5.c: Likewise.
12679 * elf/tst-tlsmod6.c: Likewise.
12681 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
12684 * malloc/malloc.c: remove checks for statistics.
12686 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12689 * inet/inet_net.c (inet_network): Detect additional invalid strings.
12690 * inet/tst-network.c: Add testcase.
12692 2013-10-17 Andreas Schwab <schwab@suse.de>
12695 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
12696 to determine canonical name.
12698 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12700 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
12701 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
12702 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12703 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12704 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12705 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12706 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12707 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12708 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12709 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12710 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12711 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12712 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12713 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12714 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12715 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12716 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12717 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12718 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12719 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12720 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12721 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12722 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12723 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
12724 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
12725 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12726 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12727 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
12728 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12729 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
12730 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12731 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12732 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12733 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12734 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12735 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12736 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12737 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12738 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12739 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12740 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12741 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12742 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12743 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12744 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12745 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12746 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12747 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12748 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12749 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12750 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12751 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12752 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12753 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12754 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12755 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12756 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12757 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12759 2013-10-17 Joseph Myers <joseph@codesourcery.com>
12762 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
12763 make result into a quiet NaN.
12765 2013-10-16 Joseph Myers <joseph@codesourcery.com>
12767 * soft-fp/adddf3.c: Fix horizontal whitespace.
12768 * soft-fp/addsf3.c: Likewise.
12769 * soft-fp/addtf3.c: Likewise.
12770 * soft-fp/divdf3.c: Likewise.
12771 * soft-fp/divsf3.c: Likewise.
12772 * soft-fp/divtf3.c: Likewise.
12773 * soft-fp/double.h: Likewise.
12774 * soft-fp/eqdf2.c: Likewise.
12775 * soft-fp/eqsf2.c: Likewise.
12776 * soft-fp/eqtf2.c: Likewise.
12777 * soft-fp/extenddftf2.c: Likewise.
12778 * soft-fp/extended.h: Likewise.
12779 * soft-fp/extendsfdf2.c: Likewise.
12780 * soft-fp/extendsftf2.c: Likewise.
12781 * soft-fp/extendxftf2.c: Likewise.
12782 * soft-fp/fixdfdi.c: Likewise.
12783 * soft-fp/fixdfsi.c: Likewise.
12784 * soft-fp/fixdfti.c: Likewise.
12785 * soft-fp/fixsfdi.c: Likewise.
12786 * soft-fp/fixsfsi.c: Likewise.
12787 * soft-fp/fixsfti.c: Likewise.
12788 * soft-fp/fixtfdi.c: Likewise.
12789 * soft-fp/fixtfsi.c: Likewise.
12790 * soft-fp/fixtfti.c: Likewise.
12791 * soft-fp/fixunsdfdi.c: Likewise.
12792 * soft-fp/fixunsdfsi.c: Likewise.
12793 * soft-fp/fixunsdfti.c: Likewise.
12794 * soft-fp/fixunssfdi.c: Likewise.
12795 * soft-fp/fixunssfsi.c: Likewise.
12796 * soft-fp/fixunssfti.c: Likewise.
12797 * soft-fp/fixunstfdi.c: Likewise.
12798 * soft-fp/fixunstfsi.c: Likewise.
12799 * soft-fp/fixunstfti.c: Likewise.
12800 * soft-fp/floatdidf.c: Likewise.
12801 * soft-fp/floatdisf.c: Likewise.
12802 * soft-fp/floatditf.c: Likewise.
12803 * soft-fp/floatsidf.c: Likewise.
12804 * soft-fp/floatsisf.c: Likewise.
12805 * soft-fp/floatsitf.c: Likewise.
12806 * soft-fp/floattidf.c: Likewise.
12807 * soft-fp/floattisf.c: Likewise.
12808 * soft-fp/floattitf.c: Likewise.
12809 * soft-fp/floatundidf.c: Likewise.
12810 * soft-fp/floatundisf.c: Likewise.
12811 * soft-fp/floatunditf.c: Likewise.
12812 * soft-fp/floatunsidf.c: Likewise.
12813 * soft-fp/floatunsisf.c: Likewise.
12814 * soft-fp/floatunsitf.c: Likewise.
12815 * soft-fp/floatuntidf.c: Likewise.
12816 * soft-fp/floatuntisf.c: Likewise.
12817 * soft-fp/floatuntitf.c: Likewise.
12818 * soft-fp/fmadf4.c: Likewise.
12819 * soft-fp/fmasf4.c: Likewise.
12820 * soft-fp/fmatf4.c: Likewise.
12821 * soft-fp/gedf2.c: Likewise.
12822 * soft-fp/gesf2.c: Likewise.
12823 * soft-fp/getf2.c: Likewise.
12824 * soft-fp/ledf2.c: Likewise.
12825 * soft-fp/lesf2.c: Likewise.
12826 * soft-fp/letf2.c: Likewise.
12827 * soft-fp/muldf3.c: Likewise.
12828 * soft-fp/mulsf3.c: Likewise.
12829 * soft-fp/multf3.c: Likewise.
12830 * soft-fp/negdf2.c: Likewise.
12831 * soft-fp/negsf2.c: Likewise.
12832 * soft-fp/negtf2.c: Likewise.
12833 * soft-fp/op-1.h: Likewise.
12834 * soft-fp/op-2.h: Likewise.
12835 * soft-fp/op-4.h: Likewise.
12836 * soft-fp/op-8.h: Likewise.
12837 * soft-fp/op-common.h: Likewise.
12838 * soft-fp/quad.h: Likewise.
12839 * soft-fp/single.h: Likewise.
12840 * soft-fp/soft-fp.h: Likewise.
12841 * soft-fp/sqrtdf2.c: Likewise.
12842 * soft-fp/sqrtsf2.c: Likewise.
12843 * soft-fp/sqrttf2.c: Likewise.
12844 * soft-fp/subdf3.c: Likewise.
12845 * soft-fp/subsf3.c: Likewise.
12846 * soft-fp/subtf3.c: Likewise.
12847 * soft-fp/truncdfsf2.c: Likewise.
12848 * soft-fp/trunctfdf2.c: Likewise.
12849 * soft-fp/trunctfsf2.c: Likewise.
12850 * soft-fp/trunctfxf2.c: Likewise.
12851 * soft-fp/unorddf2.c: Likewise.
12852 * soft-fp/unordsf2.c: Likewise.
12853 * soft-fp/unordtf2.c: Likewise.
12855 2013-10-15 Joseph Myers <joseph@codesourcery.com>
12857 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
12858 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
12860 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
12862 * elf/dl-libc.c: Clear initfini list after freeing.
12864 2013-10-14 Joseph Myers <joseph@codesourcery.com>
12866 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
12867 * soft-fp/addsf3.c: Likewise.
12868 * soft-fp/addtf3.c: Likewise.
12869 * soft-fp/divdf3.c: Likewise.
12870 * soft-fp/divsf3.c: Likewise.
12871 * soft-fp/divtf3.c: Likewise.
12872 * soft-fp/double.h: Likewise.
12873 * soft-fp/eqdf2.c: Likewise.
12874 * soft-fp/eqsf2.c: Likewise.
12875 * soft-fp/eqtf2.c: Likewise.
12876 * soft-fp/extenddftf2.c: Likewise.
12877 * soft-fp/extended.h: Likewise.
12878 * soft-fp/extendsfdf2.c: Likewise.
12879 * soft-fp/extendsftf2.c: Likewise.
12880 * soft-fp/extendxftf2.c: Likewise.
12881 * soft-fp/fixdfdi.c: Likewise.
12882 * soft-fp/fixdfsi.c: Likewise.
12883 * soft-fp/fixdfti.c: Likewise.
12884 * soft-fp/fixsfdi.c: Likewise.
12885 * soft-fp/fixsfsi.c: Likewise.
12886 * soft-fp/fixsfti.c: Likewise.
12887 * soft-fp/fixtfdi.c: Likewise.
12888 * soft-fp/fixtfsi.c: Likewise.
12889 * soft-fp/fixtfti.c: Likewise.
12890 * soft-fp/fixunsdfdi.c: Likewise.
12891 * soft-fp/fixunsdfsi.c: Likewise.
12892 * soft-fp/fixunsdfti.c: Likewise.
12893 * soft-fp/fixunssfdi.c: Likewise.
12894 * soft-fp/fixunssfsi.c: Likewise.
12895 * soft-fp/fixunssfti.c: Likewise.
12896 * soft-fp/fixunstfdi.c: Likewise.
12897 * soft-fp/fixunstfsi.c: Likewise.
12898 * soft-fp/fixunstfti.c: Likewise.
12899 * soft-fp/floatdidf.c: Likewise.
12900 * soft-fp/floatdisf.c: Likewise.
12901 * soft-fp/floatditf.c: Likewise.
12902 * soft-fp/floatsidf.c: Likewise.
12903 * soft-fp/floatsisf.c: Likewise.
12904 * soft-fp/floatsitf.c: Likewise.
12905 * soft-fp/floattidf.c: Likewise.
12906 * soft-fp/floattisf.c: Likewise.
12907 * soft-fp/floattitf.c: Likewise.
12908 * soft-fp/floatundidf.c: Likewise.
12909 * soft-fp/floatundisf.c: Likewise.
12910 * soft-fp/floatunsidf.c: Likewise.
12911 * soft-fp/floatunsisf.c: Likewise.
12912 * soft-fp/floatuntidf.c: Likewise.
12913 * soft-fp/floatuntisf.c: Likewise.
12914 * soft-fp/floatuntitf.c: Likewise.
12915 * soft-fp/fmadf4.c: Likewise.
12916 * soft-fp/fmasf4.c: Likewise.
12917 * soft-fp/fmatf4.c: Likewise.
12918 * soft-fp/gedf2.c: Likewise.
12919 * soft-fp/gesf2.c: Likewise.
12920 * soft-fp/getf2.c: Likewise.
12921 * soft-fp/ledf2.c: Likewise.
12922 * soft-fp/lesf2.c: Likewise.
12923 * soft-fp/letf2.c: Likewise.
12924 * soft-fp/muldf3.c: Likewise.
12925 * soft-fp/mulsf3.c: Likewise.
12926 * soft-fp/multf3.c: Likewise.
12927 * soft-fp/negdf2.c: Likewise.
12928 * soft-fp/negsf2.c: Likewise.
12929 * soft-fp/negtf2.c: Likewise.
12930 * soft-fp/op-1.h: Likewise.
12931 * soft-fp/op-2.h: Likewise.
12932 * soft-fp/op-4.h: Likewise.
12933 * soft-fp/op-8.h: Likewise.
12934 * soft-fp/op-common.h: Likewise.
12935 * soft-fp/quad.h: Likewise.
12936 * soft-fp/single.h: Likewise.
12937 * soft-fp/soft-fp.h: Likewise.
12938 * soft-fp/sqrtdf2.c: Likewise.
12939 * soft-fp/sqrtsf2.c: Likewise.
12940 * soft-fp/sqrttf2.c: Likewise.
12941 * soft-fp/subdf3.c: Likewise.
12942 * soft-fp/subsf3.c: Likewise.
12943 * soft-fp/subtf3.c: Likewise.
12944 * soft-fp/truncdfsf2.c: Likewise.
12945 * soft-fp/trunctfdf2.c: Likewise.
12946 * soft-fp/trunctfsf2.c: Likewise.
12947 * soft-fp/trunctfxf2.c: Likewise.
12948 * soft-fp/unorddf2.c: Likewise.
12949 * soft-fp/unordsf2.c: Likewise.
12950 * soft-fp/unordtf2.c: Likewise.
12952 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
12955 * misc/error.c (error_tail): Fix possible buffer overflow.
12957 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
12960 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
12963 2013-10-14 P. J. McDermott <pj@pehjota.net>
12966 * elf/ldd.bash.in (try_trace): New function. Delete previous code
12967 testing pipefail option.
12969 2013-10-12 Joseph Myers <joseph@codesourcery.com>
12971 * soft-fp/double.h: Indent preprocessor directives inside #if.
12972 * soft-fp/extended.h: Likewise.
12973 * soft-fp/op-2.h: Likewise.
12974 * soft-fp/op-4.h: Likewise.
12975 * soft-fp/op-common.h: Likewise.
12976 * soft-fp/quad.h: Likewise.
12977 * soft-fp/single.h: Likewise.
12978 * soft-fp/soft-fp.h: Likewise.
12980 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
12982 * iconv/iconv_prog.c: Fix typos.
12983 * stdio-common/psiginfo-data.h: Likewise.
12985 2013-10-12 Reuben Thomas <rrt@sc3d.org>
12988 * locale/setlocale.c: Fix typo.
12990 2013-10-12 Joseph Myers <joseph@codesourcery.com>
12993 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12994 signaling NaN arguments.
12995 * soft-fp/unordsf2.c (__unordsf2): Likewise.
12996 * soft-fp/unordtf2.c (__unordtf2): Likewise.
12999 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13000 unordered operands.
13001 * soft-fp/gesf2.c (__gesf2): Likewise.
13002 * soft-fp/getf2.c (__getf2): Likewise.
13003 * soft-fp/ledf2.c (__ledf2): Likewise.
13004 * soft-fp/lesf2.c (__lesf2): Likewise.
13005 * soft-fp/letf2.c (__letf2): Likewise.
13007 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
13008 * soft-fp/eqsf2.c (__eqsf2): Likewise.
13009 * soft-fp/eqtf2.c (__eqtf2): Likewise.
13010 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
13011 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
13012 * soft-fp/fixdfti.c (__fixdfti): Likewise.
13013 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13014 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13015 * soft-fp/fixsfti.c (__fixsfti): Likewise.
13016 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13017 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13018 * soft-fp/fixtfti.c (__fixtfti): Likewise.
13019 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13020 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13021 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13022 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13023 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13024 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13025 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13026 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13027 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13028 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13029 * soft-fp/floatdisf.c (__floatdisf): Likewise.
13030 * soft-fp/floatsisf.c (__floatsisf): Likewise.
13031 * soft-fp/floattidf.c (__floattidf): Likewise.
13032 * soft-fp/floattisf.c (__floattisf): Likewise.
13033 * soft-fp/floattitf.c (__floattitf): Likewise.
13034 * soft-fp/floatundidf.c (__floatundidf): Likewise.
13035 * soft-fp/floatundisf.c (__floatundisf): Likewise.
13036 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13037 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13038 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13039 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13040 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13041 * soft-fp/gesf2.c (__gesf2): Likewise.
13042 * soft-fp/getf2.c (__getf2): Likewise.
13043 * soft-fp/ledf2.c (__ledf2): Likewise.
13044 * soft-fp/lesf2.c (__lesf2): Likewise.
13045 * soft-fp/letf2.c (__letf2): Likewise.
13047 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13048 Undefine and redefine.
13049 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13050 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13051 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13052 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13053 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13054 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13055 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13056 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13057 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13058 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13059 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13060 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13061 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13062 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13063 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13066 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13067 without decrementing exponent if mantissa >= that for the
13068 denominator, not >.
13069 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13070 denominator, not >. Decrement exponent in < case instead of
13071 incrementing in >= case.
13072 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13073 without decrementing exponent if mantissa >= that for the
13074 denominator, not >.
13076 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13077 computing saturated result for unsigned overflow.
13079 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13080 Jeff Law <law@redhat.com>
13082 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13083 (atan2Mp): Add systemtap probe marker.
13084 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13085 (__ieee754_log): Add systemtap probe marker.
13086 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13087 (atanMp): Add systemtap probe marker.
13088 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13089 (tanMp): Add systemtap probe marker.
13090 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13091 (__slowexp): Add systemtap probe marker.
13092 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13093 (__slowpow): Add systemtap probe marker.
13094 * manual/probes.texi: Document probes.
13096 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
13099 * libio/fileops.c (_IO_new_file_write): Return count of bytes
13101 (_IO_new_file_xsputn): Don't return EOF if nothing has been
13103 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13104 written to buffer but not flushed.
13105 * libio/iofwrite_u.c: Likewise.
13106 * libio/iopadn.c: Return bytes returned even if EOF was
13108 * libio/iowpadn.c: Likewise.
13109 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13110 if _IO_padn does not write the whole buffer.
13111 [!COMPILE_WPRINTF] (PAD): Likewise.
13113 2013-10-10 David S. Miller <davem@davemloft.net>
13115 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13118 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13120 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
13121 instead of FSF address.
13122 * soft-fp/fixdfti.c: Likewise.
13123 * soft-fp/fixsfti.c: Likewise.
13124 * soft-fp/fixtfti.c: Likewise.
13125 * soft-fp/fixunsdfti.c: Likewise.
13126 * soft-fp/fixunssfti.c: Likewise.
13127 * soft-fp/fixunstfti.c: Likewise.
13128 * soft-fp/floattidf.c: Likewise.
13129 * soft-fp/floattisf.c: Likewise.
13130 * soft-fp/floattitf.c: Likewise.
13131 * soft-fp/floatuntidf.c: Likewise.
13132 * soft-fp/floatuntisf.c: Likewise.
13133 * soft-fp/floatuntitf.c: Likewise.
13134 * soft-fp/trunctfxf2.c: Likewise.
13136 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
13137 * soft-fp/fixdfti.c: Likewise.
13138 * soft-fp/fixsfti.c: Likewise.
13139 * soft-fp/fixtfti.c: Likewise.
13140 * soft-fp/fixunsdfti.c: Likewise.
13141 * soft-fp/fixunssfti.c: Likewise.
13142 * soft-fp/fixunstfti.c: Likewise.
13143 * soft-fp/floattidf.c: Likewise.
13144 * soft-fp/floattisf.c: Likewise.
13145 * soft-fp/floattitf.c: Likewise.
13146 * soft-fp/floatuntidf.c: Likewise.
13147 * soft-fp/floatuntisf.c: Likewise.
13148 * soft-fp/floatuntitf.c: Likewise.
13149 * soft-fp/trunctfxf2.c: Likewise.
13151 2013-10-10 David S. Miller <davem@davemloft.net>
13153 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13155 2013-10-10 Joseph Myers <joseph@codsourcery.com>
13157 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13158 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
13159 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
13160 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
13161 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
13162 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
13163 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
13165 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
13166 for NaNs before doing comparisons on argument.
13167 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13170 2013-10-10 Will Newton <will.newton@linaro.org>
13172 * malloc/hooks.c (memalign_check): Ensure the value of bytes
13173 passed to _int_memalign does not overflow.
13175 2013-10-10 Torvald Riegel <triegel@redhat.com>
13177 * scripts/bench.pl: Add include-sources directive.
13178 * benchtests/README: Update documentation.
13180 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13182 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
13183 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
13184 instead of FP_INIT_ROUNDMODE.
13185 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
13186 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
13189 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
13190 copy class of input value.
13191 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
13192 not handle exceptions.
13193 * soft-fp/negsf2.c (__negsf2): Likewise.
13194 * soft-fp/negtf2.c (__negtf2): Likewise.
13195 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
13197 2013-10-09 Joseph Myers <joseph@codesourcery.com>
13199 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
13200 semicolon. From Linux kernel.
13202 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
13204 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
13206 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
13209 * manual/socket.texi: Added statement about buffer
13210 for gethostbyname2_r.
13212 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
13214 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
13215 Use .p2align directive instead, throughout.
13216 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13217 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13218 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13219 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13220 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13221 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13222 * sysdeps/x86_64/strchr.S: Likewise.
13223 * sysdeps/x86_64/strrchr.S: Likewise.
13225 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13227 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
13229 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
13231 * sysdeps/generic/math_private.h (__mpsin1): Remove
13233 (__mpcos1): Likewise.
13234 (__mpsin): New argument __range_reduce.
13235 (__mpcos): Likewise.
13236 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13237 (slow): Use __mpsin and __mpcos.
13241 (sloww1): Likewise.
13242 (sloww2): Likewise.
13243 (bsloww): Likewise.
13244 (bsloww1): Likewise.
13245 (bsloww2): Likewise.
13246 (cslow2): Likewise.
13247 (csloww): Likewise.
13248 (csloww1): Likewise.
13249 (csloww2): Likewise.
13250 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
13251 range_reduce. Merge in __mpsin1.
13252 (__mpcos): Likewise.
13253 (__mpsin1): Remove.
13254 (__mpcos1): Likewise.
13256 2013-10-07 Joseph Myers <joseph@codesourcery.com>
13258 * locale/loadlocale.c (_nl_intern_locale_data): Use
13260 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
13261 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
13262 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
13263 obstack data is appropriately aligned.
13264 (obstack_int32_grow_fast): Likewise.
13265 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
13266 * locale/programs/locfile.c (add_locale_uint32): Likewise.
13267 (add_locale_uint32_array): Likewise.
13269 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13271 * benchtests/Makefile: Remove ARGLIST and RET variables.
13272 ($(objpfx)bench-%.c): Pass only function name to the script.
13273 * benchtests/README: Update documentation.
13274 * benchtests/acos-inputs: Add new directives.
13275 * benchtests/acosh-inputs: Likewise.
13276 * benchtests/asin-inputs: Likewise.
13277 * benchtests/asinh-inputs: Likewise.
13278 * benchtests/atan-inputs: Likewise.
13279 * benchtests/atanh-inputs: Likewise.
13280 * benchtests/cos-inputs: Likewise.
13281 * benchtests/cosh-inputs: Likewise.
13282 * benchtests/exp-inputs: Likewise.
13283 * benchtests/log-inputs: Likewise.
13284 * benchtests/pow-inputs: Likewise.
13285 * benchtests/rint-inputs: Likewise.
13286 * benchtests/sin-inputs: Likewise.
13287 * benchtests/sinh-inputs: Likewise.
13288 * benchtests/tan-inputs: Likewise.
13289 * benchtests/tanh-inputs: Likewise.
13290 * scripts/bench.pl: Add support for new directives.
13292 2013-10-07 Alan Modra <amodra@gmail.com>
13294 * README: Fix careless merge.
13296 2013-10-05 Alan Modra <amodra@gmail.com>
13298 * NEWS: Mention powerpc64le support and bugs fixed.
13299 * README: Both big-endian and little-endian powerpc64 supported.
13301 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13303 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
13304 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
13305 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
13306 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
13308 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
13310 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
13313 2013-10-04 Joseph Myers <joseph@codesourcery.com>
13315 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
13316 Move -mhard-float appending from
13317 ports/sysdeps/powerpc/powerpc32/Makefile.
13318 [$(with-fp) = yes] (ASFLAGS): Likewise.
13319 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
13320 * sysdeps/powerpc/nofpu: Move directory from
13321 ports/sysdeps/powerpc/nofpu.
13322 * sysdeps/powerpc/soft-fp: Move directory from
13323 ports/sysdeps/powerpc/soft-fp.
13324 * sysdeps/powerpc/powerpc32/405: Move directory from
13325 ports/sysdeps/powerpc/powerpc32/405.
13326 * sysdeps/powerpc/powerpc32/440: Move directory from
13327 ports/sysdeps/powerpc/powerpc32/440.
13328 * sysdeps/powerpc/powerpc32/464: Move directory from
13329 ports/sysdeps/powerpc/powerpc32/464.
13330 * sysdeps/powerpc/powerpc32/476: Move directory from
13331 ports/sysdeps/powerpc/powerpc32/476.
13332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
13333 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
13334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
13335 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
13336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
13337 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
13338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
13339 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
13340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
13341 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
13342 * README: Update for powerpc-*-linux-gnu software floating point
13345 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
13346 case to powerpc/powerpc32*.
13347 * sysdeps/unix/sysv/linux/configure: Regenerated.
13349 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
13350 (_FPU_MASK_OM): Define as 0x04.
13351 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
13352 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
13354 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
13356 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
13358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
13359 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
13362 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
13365 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
13366 and setcontext_e500.
13368 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
13370 * locale/iso-3166.def: Update iso-1366.def and related occurrences
13372 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13374 * manual/threads.texi (Default Thread Attributes): Fix typo.
13376 2013-10-04 Will Newton <will.newton@linaro.org>
13378 * malloc/Makefile: Add tst-memalign.
13379 * malloc/tst-memalign.c: New file.
13381 * malloc/tst-posix_memalign.c: Add comments.
13382 (do_test): Add comments and call free on all potentially
13383 allocated pointers. Add space after cast.
13385 * malloc/tst-pvalloc.c: Add comments.
13386 (do_test): Add comments and call free on all potentially
13387 allocated pointers. Remove duplicate check for NULL pointer.
13388 Add space after cast.
13390 * malloc/tst-valloc.c: Add comments.
13391 (do_test): Add comments and call free on all potentially
13392 allocated pointers. Remove duplicate check for NULL pointer.
13393 Add space after cast.
13395 2013-10-04 Alan Modra <amodra@gmail.com>
13397 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13398 Use stdint types in rather than __attribute__((mode())).
13399 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13401 2013-10-04 Alan Modra <amodra@gmail.com>
13403 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13404 Correct handling of unaligned relocs for little-endian.
13405 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13407 2013-10-04 Alan Modra <amodra@gmail.com>
13409 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
13410 * configure: Regenerate.
13411 * nptl/shlib-versions: Powerpc*le starts at 2.18.
13412 * shlib-versions: Likewise.
13414 2013-10-04 Alan Modra <amodra@gmail.com>
13416 * string/tester.c (test_memrchr): Increment reported test cycle.
13418 2013-10-04 Alan Modra <amodra@gmail.com>
13420 * string/test-memcpy.c (do_one_test): When reporting errors, print
13421 string address and don't overrun end of string.
13423 2013-10-04 Alan Modra <amodra@gmail.com>
13425 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
13426 insrdi. Make better use of reg selection to speed exit slightly.
13427 Schedule entry path a little better. Remove useless "are we done"
13428 checks on entry to main loop. Handle wrapping around zero address.
13429 Correct main loop count. Handle single left-over word from main
13430 loop inline rather than by using loop_small. Remove extra word
13431 case in loop_small caused by wrong loop count. Add little-endian
13433 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13434 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
13436 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13437 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
13438 support. Avoid rlwimi.
13439 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
13441 2013-10-04 Alan Modra <amodra@gmail.com>
13443 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
13444 insrdi. Formatting.
13445 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
13446 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13447 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13448 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13449 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13450 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
13452 2013-10-04 Alan Modra <amodra@gmail.com>
13454 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
13455 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13456 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13457 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
13458 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13459 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13460 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13461 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13462 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
13463 use of regs. Use power7 mtocrf. Tidy function tails.
13465 2013-10-04 Alan Modra <amodra@gmail.com>
13467 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
13468 Formatting. Consistently use rXXX register defines or rN defines.
13469 Use early exit labels that avoid restoring unused non-volatile regs.
13470 Make cr field use more consistent with rWORDn compares. Rename
13471 regs used as shift registers for unaligned loop, using rN defines
13472 for short lifetime/multiple use regs.
13473 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13474 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
13475 addi 1,1,64 to pop stack frame. Simplify return value code.
13476 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13478 2013-10-04 Alan Modra <amodra@gmail.com>
13480 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13481 support. Correct typos, formatting. Optimize tail. Use insrdi
13482 rather than rlwimi.
13483 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13484 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13485 little-endian support. Correct typos.
13486 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
13487 rather than rlwimi.
13488 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
13489 in loop and entry code to keep "and." results.
13490 (strchr): Add little-endian support. Comment. Move cntlzd
13492 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13494 2013-10-04 Alan Modra <amodra@gmail.com>
13496 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13497 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13498 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13499 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13501 2013-10-04 Alan Modra <amodra@gmail.com>
13503 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13504 (rTMP): Define as r11.
13505 (strcmp): Add little-endian support. Optimise tail.
13506 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13507 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13508 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13509 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13510 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13511 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13512 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13514 2013-10-04 Alan Modra <amodra@gmail.com>
13516 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13517 little-endian support. Remove unnecessary "are we done" tests.
13518 Handle "s" wrapping around zero and extremely large "size".
13519 Correct main loop count. Handle single left-over word from main
13520 loop inline rather than by using small_loop. Correct comments.
13521 Delete "zero" tail, use "end_max" instead.
13522 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13524 2013-10-04 Alan Modra <amodra@gmail.com>
13526 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13527 support. Don't branch over align.
13528 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13529 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13530 support. Rearrange tmp reg use to suit. Comment.
13531 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13533 2013-10-04 Alan Modra <amodra@gmail.com>
13535 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13537 2013-10-04 Alan Modra <amodra@gmail.com>
13539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13540 conditional form of branch and link when obtaining pc.
13541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13543 2013-10-04 Alan Modra <amodra@gmail.com>
13545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13550 2013-10-04 Alan Modra <amodra@gmail.com>
13552 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13553 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13554 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13555 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13556 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13557 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13558 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13559 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13560 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13561 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13563 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13564 Alistair Popple <alistair@ozlabs.au.ibm.com>
13565 Alan Modra <amodra@gmail.com>
13568 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13569 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13570 _dl_hwcap access for little-endian.
13571 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
13572 destroy vmx regs when saving unaligned.
13573 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13574 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
13575 destroy vmx regs when saving unaligned.
13577 2013-10-04 Alan Modra <amodra@gmail.com>
13579 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13580 Don't use a union to pack hi/low value.
13582 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13584 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13586 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13587 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13588 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13589 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13590 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13592 2013-10-04 Alan Modra <amodra@gmail.com>
13594 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13595 constants to usual value for .cst8 section, and remove redundant
13597 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13598 constant for 0x1p52. Load little-endian words of double from
13599 correct stack offsets.
13601 2013-10-04 Alan Modra <amodra@gmail.com>
13603 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13604 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13605 words of double from correct stack offsets.
13606 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13607 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13608 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13609 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13610 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13611 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13612 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13613 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13614 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13615 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13616 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13617 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13618 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13619 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13620 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13621 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13622 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13624 2013-10-04 Alan Modra <amodra@gmail.com>
13626 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13627 64-bit int/double union.
13628 (_FPU_SETCW): Likewise.
13629 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13630 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13632 2013-10-04 Alan Modra <amodra@gmail.com>
13634 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13635 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13637 2013-10-04 Alan Modra <amodra@gmail.com>
13639 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13640 use vector int constants.
13641 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13643 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13645 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13646 array with long long.
13647 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
13648 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
13649 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
13650 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
13651 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
13652 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
13653 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
13654 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
13655 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
13656 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
13657 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
13658 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
13659 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
13661 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13663 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
13664 (__signbit): Likewise. Correct for little-endian.
13665 (__signbitl): Call __signbit.
13666 (lrint): Correct for little-endian.
13667 (lrintf): Call lrint.
13669 2013-10-04 Alan Modra <amodra@gmail.com>
13671 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
13672 union 32-bit int array member with 64-bit int array.
13673 (t515, tm256): Double rather than long double.
13674 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
13676 2013-10-04 Alan Modra <amodra@gmail.com>
13678 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
13680 (IEEE854_LONG_DOUBLE_BIAS): Delete.
13681 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
13682 version of math_ldbl.h.
13684 2013-10-04 Alan Modra <amodra@gmail.com>
13686 [BZ #15734], [BZ #15735]
13687 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13688 all uses of ieee875 long double macros and unions. Simplify test
13689 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
13690 ldbl_extract_mantissa value for ix,iy exponents. Properly
13691 normalize after ldbl_extract_mantissa, and don't add hidden bit
13692 already handled. Don't treat low word of ieee854 mantissa like
13693 low word of IBM long double and mask off bit when testing for
13695 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13696 all uses of ieee875 long double macros and unions. Simplify tests
13697 for 0.0L and inf. Correct double adjustment of k. Delete dead code
13698 adjusting ha,hb. Simplify code setting kld. Delete two600 and
13699 two1022, instead use their values. Recognise that tests for large
13700 "a" and small "b" are mutually exclusive. Rename vars. Comment.
13701 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
13702 Rewrite all uses of ieee875 long double macros and unions. Simplify
13703 test for 0.0L and nan. Correct negation.
13704 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
13705 ieee875 long double macros and unions. Correct output for large
13706 magnitude x. Correct absolute value calculation.
13707 (__erfcl): Likewise.
13708 * math/libm-test.inc: Add tests for errors discovered in IBM long
13709 double versions of fmodl, remainderl, erfl and erfcl.
13711 2013-10-04 Alan Modra <amodra@gmail.com>
13713 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
13714 all uses of ieee854 long double macros and unions. Simplify tests
13715 for long doubles that are fully specified by the high double.
13716 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13718 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
13719 Remove dead code too.
13720 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13721 (__ieee754_ynl): Likewise.
13722 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13723 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
13724 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13725 Remove dead code too.
13726 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13727 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13728 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13729 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
13731 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
13733 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
13734 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13735 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
13736 Comment on variable precision.
13737 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
13738 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13740 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13741 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13742 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13743 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13744 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
13746 2013-10-04 Alan Modra <amodra@gmail.com>
13748 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
13749 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
13750 all uses of ieee854 long double macros and unions.
13751 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13752 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13753 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
13754 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
13755 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13756 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13758 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
13759 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13760 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
13761 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13762 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13763 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13764 Simplify sign and nan test too.
13765 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
13766 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13767 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
13768 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13770 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13771 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
13773 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13774 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13775 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
13776 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
13777 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
13778 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
13780 2013-10-04 Alan Modra <amodra@gmail.com>
13782 * stdio-common/printf_size.c (__printf_size): Don't use
13783 union ieee854_long_double in fpnum union.
13784 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
13785 signbit macro to retrieve sign from long double.
13786 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
13787 retrieve sign from long double.
13788 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
13789 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
13790 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
13791 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13792 * math/test-misc.c (main): Don't use union ieee854_long_double.
13794 2013-10-04 Alan Modra <amodra@gmail.com>
13797 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
13798 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
13799 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
13800 calculation. Remove unnecessary test for denormal exponent.
13801 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
13802 Correct handling of denormals. Avoid undefined shift behaviour.
13803 Correct normalisation of low mantissa when low double is denormal.
13804 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
13805 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
13806 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
13807 Correct normalisation of low mantissa. Test for overflow of high
13808 mantissa and normalise.
13809 (ldbl_nearbyint): Use more readable constant for two52.
13810 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
13811 (__mpn_construct_long_double): Fix test for overflow of high
13812 mantissa and correct normalisation. Avoid undefined shift.
13814 2013-10-04 Alan Modra <amodra@gmail.com>
13816 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13817 (union ibm_extended_long_double): Define as an array of ieee754_double.
13818 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
13819 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
13820 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
13821 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13822 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13823 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
13824 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13825 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13826 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13827 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
13828 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13830 2013-10-03 Joseph Myers <joseph@codesourcery.com>
13832 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
13833 page size instead of calling getpagesize.
13835 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
13836 (LOCFILE_ALIGN_MASK): Likewise.
13837 (LOCFILE_ALIGN_UP): Likewise.
13838 (LOCFILE_ALIGNED_P): Likewise.
13839 * locale/programs/ld-collate.c (collate_output): Use the new
13840 macros instead of __alignof__ (int32_t).
13841 * locale/weight.h (findidx): Likewise.
13843 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
13846 * manual/string.texi: Fix strncat and wcsncat.
13848 2013-10-03 Brooks Moses <bmoses@google.com>
13851 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
13852 * Makerules: ...here, and adjust associated comments.
13854 2013-10-02 Will Newton <will.newton@linaro.org>
13856 * malloc/Makefile: Add tst-pvalloc.
13857 * malloc/tst-pvalloc.c: New file.
13859 2013-10-02 Will Newton <will.newton@linaro.org>
13861 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
13862 improve test coverage.
13864 2013-10-02 Will Newton <will.newton@linaro.org>
13866 * malloc/Makefile: Add tst-posix_memalign.
13867 * malloc/tst-posix_memalign.c: New file.
13869 2013-10-01 Eric Blake <eblake@redhat.com>
13871 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
13872 Use __THROWNL rather than __THROW on static functions.
13874 2013-09-30 Petr Machata <pmachata@redhat.com>
13876 * elf/elf.h (R_AARCH64_ABS16): New macro.
13877 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
13878 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
13879 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
13880 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
13881 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
13882 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
13883 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
13884 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
13885 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
13886 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
13887 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
13888 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
13889 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
13890 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
13891 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
13892 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
13893 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
13894 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
13895 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
13896 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
13897 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
13898 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
13899 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
13900 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
13901 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
13902 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
13903 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
13904 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
13905 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
13906 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
13907 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
13908 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
13909 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
13910 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
13911 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
13912 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
13913 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
13914 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
13915 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
13916 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
13917 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
13918 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
13919 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
13920 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
13921 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
13922 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
13923 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
13924 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
13925 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
13926 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
13927 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
13928 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
13929 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
13930 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
13931 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
13932 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
13933 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
13934 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
13935 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
13936 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
13937 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
13938 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
13939 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
13940 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
13941 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
13942 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
13943 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
13944 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
13945 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
13946 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
13947 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
13948 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
13949 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
13950 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
13951 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
13952 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
13953 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
13954 (R_AARCH64_TLSDESC_LDR): Likewise.
13955 (R_AARCH64_TLSDESC_ADD): Likewise.
13956 (R_AARCH64_TLSDESC_CALL): Likewise.
13958 2013-09-30 Andreas Schwab <schwab@suse.de>
13961 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
13962 the nss database lookup.
13963 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13964 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13966 2013-09-28 Mike Frysinger <vapier@gentoo.org>
13968 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
13970 2013-09-28 P. J. McDermott <pj@pehjota.net>
13972 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
13973 ${Bash-specific parameter/pattern/string} parameter expansion.
13974 * sysdeps/unix/make-syscalls.sh: Likewise.
13976 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13978 * sysdeps/sh/stackguard-macros.h: New file.
13980 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
13982 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13983 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13984 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13985 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13986 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13987 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13989 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13991 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13992 Fix thread ID register.
13994 2013-09-25 Joseph Myers <joseph@codesourcery.com>
13996 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13997 [POSIX || UNIX98]: Require rather than permitting all symbols from
13999 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14000 element of struct sched_param.
14001 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
14002 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
14003 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
14004 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
14007 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
14009 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
14010 argument calculation.
14012 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14014 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14016 [POSIX] (pthread_attr_t): Do not require type.
14017 [POSIX] (pthread_cond_t): Likewise.
14018 [POSIX] (pthread_condattr_t): Likewise.
14019 [POSIX] (pthread_key_t): Likewise.
14020 [POSIX] (pthread_mutex_t): Likewise.
14021 [POSIX] (pthread_mutexattr_t): Likewise.
14022 [POSIX] (pthread_once_t): Likewise.
14023 [POSIX] (pthread_t): Likewise.
14024 [POSIX-based standards] (pthread_atfork): Expect function.
14026 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14027 Richard Sandiford <richard@codesourcery.com>
14029 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14030 (swap_endianness_p): New extern variable.
14031 (set_big_endian): New inline function.
14032 (maybe_swap_uint32): Likewise.
14033 (maybe_swap_uint32_array): Likewise.
14034 (maybe_swap_uint32_obstack): Likewise.
14035 * locale/programs/locfile.c: Include <stdbool.h>.
14036 (swap_endianness_p): New variable.
14037 (add_locale_uint32): Call maybe_swap_uint32.
14038 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14039 (write_locale_data): Call maybe_swap_uint32_array.
14040 * locale/programs/ld-collate.c (obstack_int32_grow): Call
14042 (obstack_int32_grow_fast): Likewise.
14043 (output_weightwc): Call maybe_swap_uint32_obstack.
14044 (collate_output): Likewise.
14045 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14046 (OPT_LITTLE_ENDIAN): Likewise.
14047 (options): Add --little-endian and --big-endian options.
14048 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14049 * locale/programs/locarchive.c: Include "locfile.h".
14053 (create_archive): Use the new macros to access fields of
14054 structures directly mapped from or written to locale archives.
14055 (oldlocrecentcmp): Likewise.
14056 (enlarge_archive): Likewise.
14057 (insert_name): Likewise.
14058 (add_alias): Likewise.
14059 (add_locale): Likewise.
14060 (delete_locales_from_archive): Likewise.
14061 (show_archive_content): Likewise.
14062 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
14065 2013-09-24 Roland McGrath <roland@hack.frob.com>
14067 * manual/freemanuals.texi: Updated from (newly) canonical copy at
14068 http://www.gnu.org/doc/freemanuals.texi.
14069 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14071 2013-09-24 Will Newton <will.newton@linaro.org>
14073 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14076 2013-09-23 Joseph Myers <joseph@codesourcery.com>
14078 * locale/hashval.h (compute_hashval): Interpret bytes of key as
14081 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
14083 * manual/threads.texi (POSIX Threads): Fix a typo.
14085 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14088 * string/tst-strcoll-overflow.c: New test case.
14089 * string/Makefile (xtests): Add tst-strcoll-overflow.
14090 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14091 cache if string sizes may cause integer overflow.
14094 * string/strcoll_l.c (coll_seq): New members rule, idx,
14095 save_idx and back_us.
14096 (get_next_seq_nocache): New function.
14097 (do_compare_nocache): New function.
14098 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14101 2013-09-23 Carlos O'Donell <carlos@redhat.com>
14104 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14105 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14106 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14109 * elf/Makefile (tests): Add tst-ptrguard1.
14110 (tests-static): Add tst-ptrguard1-static.
14111 (tst-ptrguard1-ARGS): Define.
14112 (tst-ptrguard1-static-ARGS): Define.
14113 * elf/tst-ptrguard1.c: New file.
14114 * elf/tst-ptrguard1-static.c: New file.
14115 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14116 * sysdeps/i386/stackguard-macros.h: Likewise.
14117 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14118 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14119 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14120 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14121 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14122 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14124 2013-09-23 Hector Marco <hecmargi@upv.es>
14125 Ismael Ripoll <iripoll@disca.upv.es>
14126 Carlos O'Donell <carlos@redhat.com>
14129 * sysdeps/generic/stackguard-macros.h: Define
14130 __pointer_chk_guard_local and POINTER_CHK_GUARD.
14131 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14132 Define __pointer_chk_guard_local.
14133 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14134 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14136 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
14139 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
14141 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
14143 * include/string.h (__ffs): Declare as hidden.
14144 * string/ffs.c (__ffs): Define as hidden.
14145 * sysdeps/i386/ffs.c (__ffs): Likewise.
14146 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14147 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
14148 * sysdeps/s390/ffs.c (__ffs): Likewise.
14149 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
14151 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
14153 * NEWS: Mention malloc probes.
14155 * malloc/arena.c (new_heap): New memory_heap_new probe.
14156 (grow_heap): New memory_heap_more probe.
14157 (shrink_heap): New memory_heap_less probe.
14158 (heap_trim): New memory_heap_free probe.
14159 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
14160 (systrim): New memory_sbrk_less probe.
14161 * manual/probes.texi: Document them.
14163 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
14164 * manual/probes.texi: Document it.
14166 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
14167 (__libc_realloc): Add memory_realloc_retry probe.
14168 (__libc_memalign): Add memory_memalign_retry probe.
14169 (__libc_valloc): Add memory_valloc_retry probe.
14170 (__libc_pvalloc): Add memory_pvalloc_retry probe.
14171 (__libc_calloc): Add memory_calloc_retry probe.
14172 * manual/probes.texi: Document them.
14174 * malloc/arena.c (get_free_list): Add probe
14175 memory_arena_reuse_free_list.
14176 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
14177 and memory_arena_reuse.
14178 (arena_get2) [!PER_THREAD]: Likewise.
14179 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
14180 memory_arena_reuse_realloc.
14181 * manual/probes.texi: Document them.
14183 * malloc/malloc.c (__libc_free): Add
14184 memory_mallopt_free_dyn_thresholds probe.
14185 (__libc_mallopt): Add multiple memory_mallopt probes.
14186 * manual/probes.texi: Document them.
14188 * malloc/malloc.c: Include stap-probe.h.
14189 (__libc_mallopt): Add memory_mallopt probe.
14190 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
14191 * manual/probes.texi: New.
14192 * manual/Makefile (chapters): Add probes.
14193 * manual/threads.texi: Set next node.
14195 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
14197 [BZ #15963, #13985]
14198 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
14199 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
14200 Add `Chinese' to `nan' entry name.
14202 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14204 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
14205 (POLYNOMIAL): Likewise.
14206 (TAYLOR_SINCOS): Likewise.
14207 (TAYLOR_SLOW): Likewise.
14208 (__sin): Use TAYLOR_SINCOS.
14210 (slow): Use TAYLOR_SLOW.
14212 (bsloww): Likewise.
14213 (csloww): Likewise.
14215 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14217 * stdlib/strtod_l.c: Fix buffer overrun.
14219 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14221 * benchtests/Makefile (bench): Add sincos.
14222 * benchtests/bench-sincos.c: New file.
14224 * math/libm-test.inc (cos_test_data): New test inputs.
14225 (sin_test_data): Likewise.
14227 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
14233 (sloww1): Likewise.
14234 (sloww2): Likewise.
14235 (bsloww1): Likewise.
14236 (bsloww2): Likewise.
14237 (cslow2): Likewise.
14238 (csloww1): Likewise.
14239 (csloww2): Likewise.
14241 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
14246 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
14250 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
14252 * config.h.in (HAVE_MIPS_NAN2008): New macro.
14253 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
14254 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
14255 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
14256 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
14257 * elf/cache.c (print_entry): Handle the new cache flags.
14259 2013-09-18 Joseph Myers <joseph@codesourcery.com>
14260 Aldy Hernandez <aldyh@redhat.com>
14262 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
14263 Change condition to [_SOFT_FLOAT].
14264 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
14265 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
14266 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
14267 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
14268 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
14269 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
14270 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
14271 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
14272 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
14273 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
14274 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
14275 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
14276 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
14277 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
14278 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
14279 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
14282 2013-09-18 Joseph Myers <joseph@codesourcery.com>
14284 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
14285 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14286 (__longjmp): Use LOAD_GP to load saved GPRs.
14287 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
14288 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14289 (__sigsetjmp): Use SAVE_GP to save GPRs.
14291 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
14292 Do not append -msoft-float.
14293 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
14295 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14297 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
14299 2013-09-17 Joseph Myers <joseph@codesourcery.com>
14302 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
14303 (_FPU_GETCW): Use initial "__" on variable and field names but not
14304 on macro parameter name.
14305 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
14306 parentheses around reference to macro parameter.
14308 2013-09-13 Richard Sandiford <richard@codesourcery.com>
14310 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
14312 (ctype_startup): Use uint32_t in cast and sizeof for
14315 2013-09-11 Jia Liu <proljc@gmail.com>
14317 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
14319 [__FreeBSD__]: Likewise.
14321 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
14323 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14324 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
14325 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
14326 (strchr): Remove __strchr_sse42 ifunc selection.
14327 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
14328 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
14330 2013-09-11 Will Newton <will.newton@linaro.org>
14332 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
14333 parameter to RES. Remove hardcoded 1000 value.
14334 * benchtests/bench-skeleton.c (main): Pass RES parameter
14335 to TIMING_INIT and multiply result by 1000.
14337 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14339 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14341 2013-09-11 Andreas Schwab <schwab@suse.de>
14343 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14345 (O_TMPFILE) [__USE_GNU]: Define.
14346 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
14349 2013-09-11 Will Newton <will.newton@linaro.org>
14352 * malloc/malloc.c (__libc_memalign): Check the value of bytes
14355 2013-09-11 Will Newton <will.newton@linaro.org>
14358 * malloc/malloc.c (__libc_valloc): Check the value of bytes
14361 2013-09-11 Will Newton <will.newton@linaro.org>
14364 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
14367 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
14369 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
14370 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14371 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14372 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14373 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14375 2013-09-10 Allan McRae <allan@archlinux.org>
14378 * manual/arith.texi (Parsing of Floats): Clarify
14382 * manual/install.texi (Running make install): Mention
14384 * INSTALL: Regenerated.
14386 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14388 * csu/init-first.c (_init): Remove the !SHARED condition around
14389 FPU control word initialization.
14390 * elf/dl-support.c (_dl_fpu_control): New variable.
14391 (_dl_aux_init) <AT_FPUCW>: Initialize it.
14392 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
14393 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
14394 * math/test-fpucw-static.c: New file.
14395 * math/test-fpucw-ieee.c: New file.
14396 * math/test-fpucw-ieee-static.c: New file.
14397 * math/Makefile (tests): Add `test-fpucw-ieee' and
14399 (tests-static): New variable.
14400 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
14402 [($(build-shared),yes)]
14403 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14405 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
14408 2013-09-09 Allan McRae <allan@archlinux.org>
14411 * manual/string.texi (Collation Functions): Fix typo in
14413 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
14416 * stdlib/isomac.c (get_null_defines): Fix memory leak.
14419 * libio/memstream.c (open_memstream): Fix memory leak.
14420 * libio/wmemstream.c (open_wmemstream): Likewise.
14423 * nscd/netgroupcache.c: Fix nesting of ifdefs.
14425 2013-09-09 Will Newton <will.newton@linaro.org>
14427 * malloc/Makefile: Add tst-realloc to tests.
14428 * malloc/tst-realloc.c: New file.
14430 2013-09-09 Allan McRae <allan@archlinux.org>
14433 * COPYING: Update from GNU website to fix FSF address.
14434 * COPYING.LIB: Likewise.
14436 2013-09-06 David S. Miller <davem@davemloft.net>
14438 * po/zh_TW.po: Update Chinese (traditional) translation from
14439 translation project.
14441 2013-09-06 Richard Sandiford <richard@codesourcery.com>
14442 Joseph Myers <joseph@codesourcery.com>
14444 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
14446 (obstack_chunk_alloc): New macro.
14447 (obstack_chunk_free): Likewise.
14448 (record_offset): New function.
14449 (init_locale_data): Likewise.
14450 (align_locale_data): Likewise.
14451 (add_locale_empty): Likewise.
14452 (add_locale_raw_data): Likewise.
14453 (add_locale_raw_obstack): Likewise.
14454 (add_locale_string): Likewise.
14455 (add_locale_wstring): Likewise.
14456 (add_locale_uint32): Likewise.
14457 (add_locale_uint32_array): Likewise.
14458 (add_locale_char): Likewise.
14459 (start_locale_structure): Likewise.
14460 (end_locale_structure): Likewise.
14461 (start_locale_prelude): Likewise.
14462 (end_locale_prelude): Likewise.
14463 (write_locale_data): Take locale_file structure rather than an
14465 * locale/programs/locfile.h: Include "obstack.h".
14466 (struct locale_file): Change to store locale file contents instead
14468 (init_locale_data): New prototype.
14469 (align_locale_data): Likewise.
14470 (add_locale_empty): Likewise.
14471 (add_locale_raw_data): Likewise.
14472 (add_locale_raw_obstack): Likewise.
14473 (add_locale_string): Likewise.
14474 (add_locale_wstring): Likewise.
14475 (add_locale_uint32): Likewise.
14476 (add_locale_uint32_array): Likewise.
14477 (add_locale_char): Likewise.
14478 (start_locale_structure): Likewise.
14479 (end_locale_structure): Likewise.
14480 (start_locale_prelude): Likewise.
14481 (end_locale_prelude): Likewise.
14482 (write_locale_data): Update prototype.
14483 * locale/programs/3level.h (struct TABLE): Remove result field.
14484 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14485 Use new locale_file interface.
14486 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14487 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14488 * locale/programs/ld-address.c (address_output): Use new
14489 locale_file interface.
14490 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14492 (collate_finish): Don't call collseq_table_finalize.
14493 (collate_output): Use new locale_file interface.
14494 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14496 (NO_FINALIZE): Change to NO_ADD_LOCALE.
14497 (TABLE): Move defines earlier in file.
14498 (ELEMENT): Likewise.
14499 (DEFAULT): Likewise.
14500 (wctrans_table_add): Move macro and inline function earlier in
14502 (struct wctype_table): Move type earlier in file.
14503 (add_locale_wctype_table): New static prototype.
14504 (struct locale_ctype_t): Use logical types instead of struct iovec
14505 pointers for members.
14506 (ctype_output): Use new locale_file interface.
14507 (wctype_table_finalize): Change to add_locale_wctype_table. Use
14508 new locale_file interface.
14509 (allocate_arrays): Update for use of new locale_file interface.
14510 * locale/programs/ld-identification.c (identification_output): Use
14511 new locale_file interface.
14512 * locale/programs/ld-measurement.c (measurement_output): Likewise.
14513 * locale/programs/ld-messages.c (messages_output): Likewise.
14514 * locale/programs/ld-monetary.c (monetary_output): Likewise.
14515 * locale/programs/ld-name.c (name_output): Likewise.
14516 * locale/programs/ld-numeric.c (numeric_output): Likewise.
14517 * locale/programs/ld-paper.c (paper_output): Likewise.
14518 * locale/programs/ld-telephone.c (telephone_output): Likewise.
14519 * locale/programs/ld-time.c (time_output): Likewise.
14521 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14523 * benchtests/Makefile: Add memrchr benchmark.
14524 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14525 benchmark as memrchr.
14526 * benchtests/bench-memrchr-ifunc.c: New file.
14527 * benchtests/bench-memrchr.c: New file.
14529 2013-09-06 Will Newton <will.newton@linaro.org>
14531 * benchtests/Makefile (string-bench): Add memcpy.
14533 2013-09-05 Carlos O'Donell <carlos@redhat.com>
14534 Cong Wang <amwang@redhat.com>
14537 * sysdeps/unix/sysv/linux/bits/in.h
14538 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14539 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14540 before __USE_KERNEL_IPV6_DEFS uses.
14541 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14543 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14544 sockaddr_in6, or ipv6_mreq.
14546 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14548 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14549 memory access for final bytes in some large inputs.
14550 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14552 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14554 * string/test-memrchr.c: New file.
14555 * string/test-memrchr-ifunc.c: New file.
14556 * string/Makefile: Add new memrchr testcase.
14558 2013-09-05 Mike Frysinger <vapier@gentoo.org>
14560 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14561 fanotify_init returns EPERM.
14563 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14565 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14567 (top level): Treat second token from macro or constant entries for
14568 allowed headers as allowed.
14569 * include/complex.h: Condition internal declarations on
14571 * include/fenv.h: Condition include of <stdbool.h> and internal
14572 declarations on [!_ISOMAC].
14574 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
14577 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14579 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14581 * configure.in (--enable-versioning): Remove configure option.
14582 (libc_cv_asm_symver_directive): Remove configure test.
14583 (libc_cv_ld_version_script_option): Likewise.
14584 (VERSIONING): Remove variable and AC_SUBST.
14585 (DO_VERSIONING): Remove AC_DEFINE.
14586 * configure: Regenerated.
14587 * config.h.in (DO_VERSIONING): Remove macro.
14588 * Makerules [$(versioning) = yes]: Change conditionals to
14589 [$(build-shared) = yes].
14590 * config.make.in (versioning): Remove variable.
14591 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14592 [$(build-shared) = yes].
14593 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14594 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14595 * elf/Makefile [$(versioning) = yes]: Change conditionals to
14596 [$(build-shared) = yes].
14597 * extra-lib.mk [$(versioning) = yes]: Likewise.
14598 * hurd/Makefile [$(versioning) = yes]: Likewise.
14599 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14601 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14603 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14604 [SHARED && !NO_HIDDEN].
14605 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14607 [SHARED && DO_VERSIONING]: Likewise..
14608 * libio/Makefile [$(versioning) = yes]: Change conditionals to
14609 [$(build-shared) = yes].
14610 * manual/install.texi (--disable-versioning): Remove
14612 * INSTALL: Regenerated.
14613 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14615 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14616 [$(build-shared) = yes].
14617 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14618 * sysdeps/i386/i686/multiarch/strstr-c.c
14619 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14620 [SHARED && !NO_HIDDEN].
14621 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14622 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14623 * sysdeps/powerpc/powerpc32/dl-machine.c
14624 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14625 * sysdeps/powerpc/powerpc32/sysdep.h
14626 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14627 to [SHARED && PIC && !NO_HIDDEN].
14628 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14629 conditional to [SHARED].
14631 2013-09-04 Will Newton <will.newton@linaro.org>
14633 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14634 * benchtests/bench-string.h: Include bench-timing.h instead
14635 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14636 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14637 call to HP_TIMING_DIFF_INIT.
14638 * benchtests/bench-memccpy.c: Use bench-timing.h macros
14639 instead of hp-timing.h macros.
14640 * benchtests/bench-memchr.c: Likewise.
14641 * benchtests/bench-memcmp.c: Likewise.
14642 * benchtests/bench-memcpy.c: Likewise.
14643 * benchtests/bench-memmem.c: Likewise.
14644 * benchtests/bench-memmove.c: Likewise.
14645 * benchtests/bench-memset.c: Likewise.
14646 * benchtests/bench-rawmemchr.c: Likewise.
14647 * benchtests/bench-strcasecmp.c: Likewise.
14648 * benchtests/bench-strcasestr.c: Likewise.
14649 * benchtests/bench-strcat.c: Likewise.
14650 * benchtests/bench-strchr.c: Likewise.
14651 * benchtests/bench-strcmp.c: Likewise.
14652 * benchtests/bench-strcpy.c: Likewise.
14653 * benchtests/bench-strcpy_chk.c: Likewise.
14654 * benchtests/bench-strlen.c: Likewise.
14655 * benchtests/bench-strncasecmp.c: Likewise.
14656 * benchtests/bench-strncat.c: Likewise.
14657 * benchtests/bench-strncmp.c: Likewise.
14658 * benchtests/bench-strncpy.c: Likewise.
14659 * benchtests/bench-strnlen.c: Likewise.
14660 * benchtests/bench-strpbrk.c: Likewise.
14661 * benchtests/bench-strrchr.c: Likewise.
14662 * benchtests/bench-strspn.c: Likewise.
14663 * benchtests/bench-strstr.c: Likewise.
14665 2013-09-04 Will Newton <will.newton@linaro.org>
14667 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
14669 2013-09-03 Joseph Myers <joseph@codesourcery.com>
14672 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14673 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
14674 * math/libm-test.inc (lgamma_test_data): Add more tests.
14675 * sysdeps/i386/fpu/libm-test-ulps: Update.
14676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14678 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
14680 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
14681 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14683 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14684 Add strcmp-sse2-unaligned
14685 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
14687 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14689 * Versions.def (libc): Add GLIBC_2.19.
14691 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14693 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
14694 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
14696 2013-09-02 Joseph Myers <joseph@codesourcery.com>
14699 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14700 intermediate calculations in recurrence.
14701 (__ieee754_ynf): Likewise.
14702 * math/libm-test.inc (jn_test_data): Do not allow spurious
14703 underflow exception. Add more tests.
14704 (yn_test_data): Add more tests.
14705 * sysdeps/i386/fpu/libm-test-ulps: Update.
14706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14708 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
14710 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
14712 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14714 * csu/init-first.c: Fix then/than typos.
14715 * locale/programs/ld-collate.c: Likewise.
14716 * locale/programs/linereader.h: Likewise.
14717 * manual/charset.texi: Likewise.
14718 * manual/filesys.texi: Likewise.
14719 * manual/stdio.texi: Likewise.
14720 * manual/string.texi: Likewise.
14721 * stdlib/fmtmsg.c: Likewise.
14722 * sysdeps/i386/stpncpy.S: Likewise.
14723 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14724 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14725 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14726 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14728 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14730 * elf/dl-open.c: Fix typos.
14731 * iconvdata/gbbig5.c: Likewise.
14732 * iconvdata/iso-2022-jp.c: Likewise.
14733 * iconv/gconv_int.h: Likewise.
14734 * iconv/loop.c: Likewise.
14735 * nis/rpcsvc/nis.h: Likewise.
14736 * resolv/ns_name.c: Likewise.
14737 * stdio-common/vfscanf.c: Likewise.
14738 * streams/stropts.h: Likewise.
14739 * sunrpc/rpc_thread.c: Likewise.
14740 * sysdeps/i386/strpbrk.S: Likewise.
14741 * sysdeps/ieee754/k_standard.c: Likewise.
14742 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14743 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14744 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
14745 * sysdeps/mach/hurd/profil.c: Likewise.
14746 * sysdeps/s390/dl-procinfo.h: Likewise.
14747 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
14748 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14749 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
14750 * sysdeps/x86_64/dl-trampoline.S: Likewise.
14751 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14753 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14755 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
14756 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
14758 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14760 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
14761 aix specific files.
14762 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
14763 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
14764 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
14765 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
14766 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
14767 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
14768 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
14769 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
14771 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14772 Roland McGrath <roland@hack.frob.com>
14774 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
14775 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14777 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
14779 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
14780 __executable_start symbol instead of _start.
14782 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14784 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
14785 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
14787 * sysdeps/gnu/ldsodefs.h: ... this new file.
14789 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
14790 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
14791 instead of ELFOSABI_LINUX.
14793 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
14794 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
14795 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
14796 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
14798 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
14799 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
14800 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
14802 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14803 (ibm_extended_long_double): Add ieee_nan member.
14804 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
14805 (do_test): New function.
14807 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
14809 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
14810 functions, renamed from truncdfsf_test, trunctfsf_test,
14812 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
14814 (do_test): Run all these.
14816 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14818 * argp/argp-help.c: Fix typos.
14819 * argp/argp-parse.c: Likewise.
14820 * debug/backtracesyms.c: Likewise.
14821 * elf/elf.h: Likewise.
14822 * malloc/malloc.c: Likewise.
14823 * nis/nis_print.c: Likewise.
14824 * resolv/res_comp.c: Likewise.
14825 * stdlib/stdlib.h: Likewise.
14826 * sunrpc/clnt_tcp.c: Likewise.
14827 * sunrpc/clnt_udp.c: Likewise.
14828 * sunrpc/clnt_unix.c: Likewise.
14829 * sysdeps/unix/bsd/ptsname.c: Likewise.
14830 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14831 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
14832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
14834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
14836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14838 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14840 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14842 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
14843 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14845 2013-08-27 Mike Frysinger <vapier@gentoo.org>
14848 * dlfcn/Makefile (tests): Add bug-dl-leaf.
14849 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
14850 ($(objpfx)bug-dl-leaf): New rule.
14851 ($(objpfx)bug-dl-leaf.so): Likewise.
14852 ($(objpfx)bug-dl-leaf.out): Likewise.
14853 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
14854 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
14855 * dlfcn/bug-dl-leaf.c: New test.
14856 * dlfcn/bug-dl-leaf-lib.c: Likewise.
14857 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
14858 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
14859 (dlclose): Likewise.
14860 (dlmopen): Likewise.
14862 2013-08-27 Roland McGrath <roland@hack.frob.com>
14864 * include/netdb.h [!_ISOMAC]:
14865 Don't include <tls.h>.
14866 (h_errno, __libc_h_errno): Move declaration and macros out of
14869 * include/resolv.h [_RESOLV_H_]:
14870 Don't include <tls.h>.
14871 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
14872 * resolv/res_libc.c: Don't include <tls.h>.
14873 (_res): Use __attribute__ ((nocommon)) in place of
14874 __attribute__ ((section (".bss"))).
14876 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
14877 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
14879 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
14881 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
14882 only under [SIOCGIFCONF && SIOCGIFNETMASK].
14884 * resolv/res_mkquery.c: Include <sys/time.h>.
14886 * inet/ifreq.c: Moved to ...
14887 * sysdeps/unix/ifreq.c: ... here.
14888 * inet/ifreq.c: New file, true stub version.
14890 * socket/sa_len.c: New file.
14891 * socket/Makefile (aux): Add it.
14892 * sysdeps/unix/sysv/linux/Makefile
14893 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
14894 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
14895 and #include <socket/sa_len.c>.
14896 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
14897 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
14899 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
14900 * bits/socket.h: ... here.
14902 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
14903 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
14904 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
14906 2013-08-27 Andreas Schwab <schwab@suse.de>
14909 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
14910 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
14911 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
14912 * string/test-strcasecmp.c (test_main): Run tests in several
14914 * string/test-strncasecmp.c (test_main): Likewise.
14916 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
14917 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
14918 to __strcasecmp_nonascii and __strncasecmp_nonascii.
14919 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
14920 (__strncasecmp_ssse3) [PIC]: Likewise.
14922 2013-08-26 Roland McGrath <roland@hack.frob.com>
14924 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
14926 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
14927 instead of explicitly declaring xdecrypt.
14928 * nis/nss_nis/nis-publickey.c: Likewise.
14930 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14933 * nscd/aicache.c: Include res_hconf.h.
14934 (addhstaiX): Initialize res_hconf.
14936 2013-08-26 Andreas Schwab <schwab@suse.de>
14938 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
14939 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
14941 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14943 * nscd/aicache.c (addhstaiX): Fix indentation.
14945 2013-08-25 Mike Frysinger <vapier@gentoo.org>
14947 * configure.ac: Quote $build_pt_chown test.
14948 * configure: Regenerated.
14950 2013-08-23 Joseph Myers <joseph@codesourcery.com>
14953 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
14954 * math/s_cexpf.c (__cexpf): Likewise.
14955 * math/s_cexpl.c (__cexpl): Likewise.
14956 * math/libm-test.inc (cexp_test_data): Correct expected return
14957 value for NaN + i0. Add another test.
14959 2013-08-22 David S. Miller <davem@davemloft.net>
14961 * po/ca.po: Update Catalan translation from translation project.
14962 * po/uk.po: Add Ukrainian translations from translation project.
14964 2013-08-21 Joseph Myers <joseph@codesourcery.com>
14967 * math/s_fdim.c (__fdim): Check for infinite arguments if result
14968 is infinite, not alongside NaN test.
14969 * math/s_fdimf.c (__fdimf): Likewise.
14970 * math/s_fdiml.c (__fdiml): Likewise.
14971 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
14972 errno is unchanged.
14974 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
14976 * argp/argp-help.c: Fix typos.
14977 * crypt/speeds.c: Likewise.
14978 * csu/check_fds.c: Likewise.
14979 * elf/dl-load.c: Likewise.
14980 * elf/dl-open.c: Likewise.
14981 * elf/reldep3.c: Likewise.
14982 * elf/reldep.c: Likewise.
14983 * elf/sprof.c: Likewise.
14984 * iconv/iconv_charmap.c: Likewise.
14985 * iconv/skeleton.c: Likewise.
14986 * iconv/strtab.c: Likewise.
14987 * io/lockf64.c: Likewise.
14988 * libio/libioP.h: Likewise.
14989 * resolv/gai_notify.c: Likewise.
14990 * resolv/ns_name.c: Likewise.
14991 * resolv/ns_samedomain.c: Likewise.
14992 * resolv/res_send.c: Likewise.
14993 * stdlib/random.c: Likewise.
14994 * sunrpc/rpc/xdr.h: Likewise.
14995 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14996 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14997 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14998 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14999 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15000 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15001 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15002 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15003 * sysdeps/mach/hurd/check_fds.c: Likewise.
15004 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15005 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15006 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15007 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15008 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15009 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15010 * sysdeps/pthread/aio_notify.c: Likewise.
15011 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
15012 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
15013 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15014 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15015 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15017 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15019 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15020 version if bit_Slow_SSE4_2 is set.
15021 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15022 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15024 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15027 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15028 trampoline stack frame information.
15029 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15030 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15031 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15032 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15033 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15034 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15035 (_libc_vdso_platform_setup): Initialize the signal trampolines.
15036 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15038 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15039 interrupting a syscall and set with option SA_SIGINFO.
15041 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15044 * math/s_cproj.c (__cproj): Only return an infinity if one part of
15045 argument is infinite.
15046 * math/s_cprojf.c (__cprojf): Likewise.
15047 * math/s_cprojl.c (__cprojl): Likewise.
15048 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15049 * math/libm-test.inc (cproj_test_data): Add more tests.
15051 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15053 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15054 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15055 size. Use __ffs to determine corresponding shift.
15057 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15058 Roland McGrath <roland@hack.frob.com>
15060 * Makefile (INSTALL): Remove trailing blank lines from output of
15063 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15065 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15066 Align 32 bit compat elf_greg to 8 bytes.
15068 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
15070 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15072 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15074 * string/strcoll_l.c (coll_seq): New structure.
15075 (get_next_seq_cached): New function.
15076 (get_next_seq): New function.
15077 (do_compare): New function.
15078 (STRCOLL): Use GNU style definition. Simplify implementation
15079 by using get_next_seq, get_next_seq_cached and do_compare.
15081 2013-08-16 Florian Weimer <fweimer@redhat.com>
15085 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15087 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15089 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15090 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15091 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
15093 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15094 GETDENTS_64BIT_ALIGNED.
15095 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15096 * manual/filesys.texi (Reading/Closing Directory): Document
15097 ENAMETOOLONG return value of readdir_r. Recommend readdir more
15099 * manual/conf.texi (Limits for Files): Add portability note to
15100 NAME_MAX, PATH_MAX.
15101 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15103 2013-08-13 Andreas Schwab <schwab@suse.de>
15106 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15108 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15109 LDBL_MAX_EXP >= 16384]: Add tests for it.
15111 2013-08-12 David S. Miller <davem@davemloft.net>
15113 * version.h (RELEASE): Set to "development".
15114 (VERSION): Set to "2.18.90".
15115 * NEWS: Add 2.19 section.
15117 2013-08-03 David S. Miller <davem@davemloft.net>
15119 * po/ko.po: Update Korean translation from translation project.
15121 2013-08-01 David S. Miller <davem@davemloft.net>
15123 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
15124 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15127 2013-07-30 David S. Miller <davem@davemloft.net>
15129 * po/fr.po: Update French translation from translation project.
15131 2013-07-28 David S. Miller <davem@davemloft.net>
15133 * po/cs.po: Update Czech translation from translation project.
15135 * po/sv.po: Update Swedish translation from translation project.
15137 2013-07-27 David S. Miller <davem@davemloft.net>
15139 * po/eo.po: Update Esperanto translation from translation project.
15141 * po/vi.po: Update Vietnamese translation from translation project.
15143 * po/de.po: Update German translation from translation project.
15145 2013-07-26 David S. Miller <davem@davemloft.net>
15147 * po/bg.po: Update Bulgarian translation from translation project.
15149 * po/nl.po: Update Dutch translation from translation project.
15150 * po/pl.po: Update Polish translation from translation project.
15151 * po/ru.po: Update Russian translation from translation project.
15153 2013-07-24 David S. Miller <davem@davemloft.net>
15155 * po/libc.pot: Update.
15157 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15159 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
15160 variable page size.
15161 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
15162 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
15163 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
15165 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15167 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
15169 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15170 Andreas Schwab <schwab@suse.de>
15171 Roland McGrath <roland@hack.frob.com>
15172 Joseph Myers <joseph@codesourcery.com>
15173 Carlos O'Donell <carlos@redhat.com>
15176 * config.h.in: Define HAVE_PT_CHOWN.
15177 * config.make.in (build-pt-chown): New variable.
15178 * configure.in (--enable-pt_chown): New configure option.
15179 * configure: Regenerate.
15180 * login/Makefile: Include Makeconfig. Build pt_chown only if
15181 build-pt-chown is enabled.
15182 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
15183 pt_chown to fix pty ownership.
15184 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
15186 * manual/install.texi (Configuring and compiling): Mention
15187 --enable-pt_chown. Add @findex for grantpt.
15188 * INSTALL: Regenerate.
15190 2013-07-20 David S. Miller <davem@davemloft.net>
15192 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
15193 difference between 32-bit and 64-bit.
15195 2013-07-15 Carlos O'Donell <carlos@redhat.com>
15198 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
15199 Avoid system header dependency with -ffreestanding.
15200 ($(objpfx)bits/syscall%d): Likewise.
15202 2013-07-13 David S. Miller <davem@davemloft.net>
15204 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
15205 underflows from atanl/atan2l due to bug 15319.
15206 (casinh_test_data): Likewise.
15208 2013-07-07 David S. Miller <davem@davemloft.net>
15210 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15212 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
15214 * sysdeps/i386/fpu/libm-test-ulps: Update.
15215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15217 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15219 * configure.in (--enable-lock-elision): Fix message text.
15220 * INSTALL: Regenerate.
15221 * configure: Regenerate.
15223 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15225 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15227 2013-07-03 Andreas Jaeger <aj@suse.de>
15229 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
15231 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
15232 (ptrace_peeksiginfo_args): Add.
15233 (__ptrace_peeksiginfo_flags): Add.
15234 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15235 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15236 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15238 2013-07-03 Allan McRae <allan@archlinux.org>
15240 * sysdeps/i386/fpu/libm-test-ulps: Update.
15242 2013-07-02 David S. Miller <davem@davemloft.net>
15244 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15246 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
15248 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15250 2013-07-02 Joseph Myers <joseph@codesourcery.com>
15252 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15255 2013-07-02 Andi Kleen <ak@linux.intel.com>
15257 * config.h.in (ENABLE_LOCK_ELISION): Add.
15258 * configure.in (--enable-lock-elision): Add option.
15259 * manual/install.texi: Document --enable lock elision.
15260 * configure: Regenerate
15261 * INSTALL: Regenerate.
15263 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
15265 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
15266 SSE4.2 strcasecmp for libc.a.
15267 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15269 2013-07-02 Joseph Myers <joseph@codesourcery.com>
15272 * soft-fp/op-common.h (_FP_FMA): New macro.
15273 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
15274 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
15275 (_FP_MUL_MEAT_1_imm): ... here.
15276 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
15277 (_FP_MUL_MEAT_1_wide): ... here.
15278 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
15279 (_FP_MUL_MEAT_1_hard): ... here.
15280 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
15281 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
15282 (_FP_MUL_MEAT_2_wide): ... here.
15283 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
15284 (_FP_MUL_MEAT_2_wide_3mul): ... here.
15285 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
15286 (_FP_MUL_MEAT_2_gmp): ... here.
15287 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
15288 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
15289 (_FP_MUL_MEAT_4_wide): ... here.
15290 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
15291 (_FP_MUL_MEAT_4_gmp): ... here.
15292 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
15293 (_FP_WFRACBITS_DW_S): Likewise.
15294 (_FP_WFRACXBITS_DW_S): Likewise.
15295 (_FP_HIGHBIT_DW_S): Likewise.
15296 (FP_FMA_S): Likewise.
15297 (_FP_FRAC_HIGH_DW_S): Likewise.
15298 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
15299 (_FP_WFRACBITS_DW_D): Likewise.
15300 (_FP_WFRACXBITS_DW_D): Likewise.
15301 (_FP_HIGHBIT_DW_D): Likewise.
15302 (FP_FMA_D): Likewise.
15303 (_FP_FRAC_HIGH_DW_D): Likewise.
15304 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
15305 (_FP_WFRACBITS_DW_E): Likewise.
15306 (_FP_WFRACXBITS_DW_E): Likewise.
15307 (_FP_HIGHBIT_DW_E): Likewise.
15308 (FP_FMA_E): Likewise.
15309 (_FP_FRAC_HIGH_DW_E): Likewise.
15310 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
15311 (_FP_WFRACBITS_DW_Q): Likewise.
15312 (_FP_WFRACXBITS_DW_Q): Likewise.
15313 (_FP_HIGHBIT_DW_Q): Likewise.
15314 (FP_FMA_Q): Likewise.
15315 (_FP_FRAC_HIGH_DW_Q): Likewise.
15316 * soft-fp/fmasf4.c: New file.
15317 * soft-fp/fmadf4.c: Likewise.
15318 * soft-fp/fmatf4.c: Likewise.
15320 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15322 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15323 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
15325 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
15327 (index_Slow_SSE4_2): Likewise.
15328 (index_Prefer_PMINUB_for_stringop): Likewise.
15329 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
15330 bit_Slow_SSE4_2 is set.
15331 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15332 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15334 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15336 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
15337 rtld_global._dl_hwcap2.
15338 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
15340 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
15341 POWER8 feature descriptions defined in _dl_hwcap2.
15342 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
15343 string handling for POWER8 feature bits.
15344 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
15345 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
15346 _dl_powerpc_cap_flags.
15347 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
15348 * sysdeps/powerpc/rtld-global-offsets.sym
15349 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
15350 _dl_hwcap2 in the rtld_global_ro structure.
15352 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15354 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
15355 hardware capabilities in support of AT_HWCAP2.
15356 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
15357 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
15359 (_dl_show_auxv): Add support for calling _dl_procinfo to display
15360 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
15361 explicitly the unknown a_type display mechanism is used.
15362 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
15363 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
15365 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
15366 to macro prototype for AT_HWCAP2 support.
15367 * sysdeps/i386/dl-procinfo.h: Likewise.
15368 * sysdeps/s390/dl-procinfo.h: Likewise.
15369 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
15370 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
15371 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
15372 return -1 for unknown a_type display fallback.
15373 * sysdeps/sparc/dl-procinfo.h: Likewise.
15374 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
15375 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
15377 2013-06-28 Joseph Myers <joseph@codesourcery.com>
15379 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
15380 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
15382 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
15385 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
15386 mprotect making __stack_prot writable.
15388 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
15389 Joseph Myers <joseph@codesourcery.com>
15391 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
15392 as being properly aligned.
15394 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
15396 * dlfcn/modstatic5.c: New file.
15397 * dlfcn/tststatic5.c: New file.
15398 * dlfcn/Makefile (tests): Add tststatic5.
15399 (tests-static): Likewise.
15400 (modules-names): Add modstatic5.
15401 (tststatic5-ENV): New variable.
15402 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
15405 * elf/dl-support.c (_dl_main_map): New variable.
15406 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
15407 (_dl_nns, _dl_load_adds): Set to 1.
15408 (_dl_initial_searchlist): Refer to _dl_main_map.
15409 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
15410 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
15411 call to _dl_get_origin.
15412 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
15414 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
15415 * dlfcn/modstatic3.c: New file.
15416 * dlfcn/tststatic3.c: New file.
15417 * dlfcn/tststatic4.c: New file.
15418 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
15419 (tests-static): Likewise.
15420 (modules-names): Add modstatic3.
15421 (tststatic3-ENV, tststatic4-ENV): New variables.
15422 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
15423 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
15425 2013-06-26 Joseph Myers <joseph@codesourcery.com>
15427 * configure.in (CC): Require GCC version 4.4 or later.
15428 * configure: Regenerated.
15429 * manual/install.texi (Tools for Compilation): Update GCC version
15431 * INSTALL: Regenerated.
15433 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15436 * string/test-memcmp.c (check2): New.
15437 (main): Call check2.
15439 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
15441 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
15444 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
15446 (dl_open_worker) [!SHARED]: ... here.
15448 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15450 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
15452 2013-06-25 Richard Henderson <rth@redhat.com>
15454 * locale/programs/locarchive.c: Include <libc-internal.h>
15456 2013-06-25 Joseph Myers <joseph@codesourcery.com>
15458 * manual/texinfo.tex: Update to version 2013-06-21.17, with
15459 trailing whitespace removed.
15461 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15464 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
15465 * locale/programs/locarchive.c: Include libc-mmap.h.
15466 (prepare_address_space): Take two new outputs (the mmap base and len).
15467 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
15469 (create_archive): Declare new mmap base and len values for
15470 prepare_address_space, and store the result in ah.
15471 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15472 (enlarge_archive): If ah->mmap_base is not NULL, use that and
15473 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15474 Declare new mmap base and len values for
15475 prepare_address_space, and store the result in new_ah.
15476 (open_archive): Declare new mmap base and len values for
15477 prepare_address_space, and store the result in ah.
15478 (close_archive): If ah->mmap_base is not NULL, use that and
15479 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15480 * sysdeps/generic/libc-mmap.h: New file.
15482 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15484 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15485 (ALIGN_UP): Likewise.
15486 (PTR_ALIGN_DOWN): Likewise.
15487 (PTR_ALIGN_UP): Likewise.
15489 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15491 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15492 entry mapped to PPC_PLATFORM_POWER8.
15493 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15495 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15496 (_dl_string_platform): Add case for exporting platform position for
15498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15499 search path to sysdeps/powerpc/powerpc32/power8 directory.
15500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15501 search path to sysdeps/powerpc/powerpc64/power8 directory.
15502 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15503 power7 directories.
15504 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15505 power7 directories.
15507 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15509 * INSTALL: Regenerate.
15511 * nscd/connections.c (nscd_init): Fix comment.
15513 2013-06-22 Joseph Myers <joseph@codesourcery.com>
15515 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15518 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15519 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15521 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15523 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15525 (DL_DST_REQ_STATIC): Remove macro.
15527 2013-06-21 Joseph Myers <joseph@codesourcery.com>
15530 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15531 with a shift of 0 bits.
15533 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15535 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15538 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15541 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15543 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15545 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15546 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15547 accepts -fno-tree-loop-distribute-patterns.
15548 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15549 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15551 * string/memset.c (memset): Likewise.
15552 * string/test-memmove.c (simple_memmove): Disable loop transformation
15554 * string/test-memset.c (simple_memset): Likewise.
15555 * benchtests/bench-memmove.c (simple_memmove): Likewise.
15556 * benchtests/bench-memset.c (simple_memset): Likewise.
15557 * configure: Regenerated.
15559 2013-06-20 Joseph Myers <joseph@codesourcery.com>
15561 * math/test-misc.c (main): Ignore fesetround failure when failures
15562 of subsequent rounding tests would be ignored.
15565 * math/fedisblxcpt.c (fedisableexcept): Return 0.
15566 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15567 * math/fegetenv.c (__fegetenv): Return 0.
15568 * math/fegetexcept.c (fegetexcept): Return 0.
15569 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15571 * math/feholdexcpt.c (feholdexcept): Return 0.
15572 * math/fesetenv.c (__fesetenv): Return 0.
15573 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15574 argument FE_TONEAREST.
15575 * math/feupdateenv.c (__feupdateenv): Return 0.
15576 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15578 2013-06-18 Roland McGrath <roland@hack.frob.com>
15580 * elf/rtld-Rules (rtld-compile-command.S): New variable.
15581 (rtld-compile-command.s, rtld-compile-command.c): New variables.
15582 ($(objpfx)rtld-%.os rules): Use them.
15584 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15586 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15589 2013-06-17 Roland McGrath <roland@hack.frob.com>
15591 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15592 length of target pattern, then descending length of dependency pattern.
15593 * configure.in (AWK): Require gawk 3.1.2 or newer.
15594 * manual/install.texi (Tools for Compilation): Say that we do.
15595 * configure: Regenerated.
15597 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15598 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15599 * scripts/sysd-rules.awk: ... this new script.
15600 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15601 than a glob-style pattern.
15603 2013-06-17 Joseph Myers <joseph@codesourcery.com>
15605 * math/test-misc.c (main): Do not treat incorrectly rounded
15606 conversions as failure unless ROUNDING_TESTS passes.
15608 2013-06-15 Joseph Myers <joseph@codesourcery.com>
15611 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15612 restore exception state around main square root computation, then
15613 check for inexactness explicitly.
15615 * math/libm-test.inc (fma_test_data): Add another test.
15617 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15619 * manual/threads.texi (Non-POSIX Extensions): New document
15620 node. Document pthread_getattr_default_np and
15621 pthread_setattr_default_np.
15623 * Versions.def (libpthread): Add GLIBC_2.18.
15624 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15633 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15635 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15637 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15639 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15641 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15644 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15646 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15647 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
15649 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15650 H.J. Lu <hjl.tools@gmail.com>
15653 * sysdeps/x86_64/rtld-memset.c: Remove file.
15654 * sysdeps/x86_64/rtld-memset.S: New file.
15656 2013-06-14 Joseph Myers <joseph@codesourcery.com>
15658 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
15659 (test_in_one_mode): Take arguments for whether the rounding mode
15660 is supported for each floating-point type.
15661 (do_test): Pass new arguments to test_in_one_mode using
15664 2013-06-13 Roland McGrath <roland@hack.frob.com>
15666 * posix/tst-waitid.c (do_test): Distinguish different instances of
15667 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
15668 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
15669 before entering the kernel for waitpid.
15671 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15673 * NEWS: Fix note on clock function precision. Text by Roland
15676 2013-06-13 Roland McGrath <roland@hack.frob.com>
15678 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
15679 it into place only when and if the sanity check passes.
15681 2013-06-13 Joseph Myers <joseph@codesourcery.com>
15683 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
15684 output for whether conversion result is exact. Take argument
15685 indicating whether type is IBM long double.
15686 (round_for_all): Change need_exact field to ibm_ld.
15687 * stdlib/tst-strtod-round.c (struct exactness): New type.
15688 (struct test): Change bool ld_ok field to struct exactness exact.
15689 (TEST): Update all definitions for change to field.
15690 (tests): Regenerate array contents.
15691 (test_in_one_mode): Take pointer to new field instead of old ld_ok
15692 field value. Check for IBM long double here.
15693 (do_test): Update calls to test_in_one_mode.
15695 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15698 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
15699 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
15701 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15704 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
15705 generated by the compiler on loop optimizations.
15706 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
15707 general definitions.
15709 2013-06-12 Joseph Myers <joseph@codesourcery.com>
15711 * math/bug-nextafter.c: Include <math-tests.h>.
15712 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15714 * math/bug-nexttoward.c: Include <math-tests.h>.
15715 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15717 * math/test-misc.c: Include <math-tests.h>.
15718 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15721 2013-06-12 Andreas Jaeger <aj@suse.de>
15723 * po/ia.po: Update Interlingua translation from translation
15726 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15728 * include/fenv.h: Include stdbool.h.
15729 (struct rm_ctx): New structure.
15730 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
15732 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
15733 (SET_RESTORE_ROUNDF): Likewise.
15734 (SET_RESTORE_ROUNDL): Likewise.
15735 (SET_RESTORE_ROUND_NOEX): Likewise.
15736 (SET_RESTORE_ROUND_NOEXF): Likewise.
15737 (SET_RESTORE_ROUND_NOEXL): Likewise.
15738 (SET_RESTORE_ROUND_53BIT): Likewise.
15739 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
15740 (libc_feresetround_noexf_ctx): Likewise.
15741 (libc_feresetround_noexl_ctx): Likewise.
15742 (libc_feholdsetround_53bit_ctx): Likewise.
15743 (libc_feresetround_53bit_ctx): Likewise.
15744 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
15745 (libc_feholdexcept_setround_sse_ctx): New function.
15746 (libc_fesetenv_sse_ctx): Likewise.
15747 (libc_feupdateenv_sse_ctx): Likewise.
15748 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
15749 (libc_feholdexcept_setround_387_ctx): Likewise.
15750 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
15751 (libc_feholdsetround_387_prec_ctx): Likewise.
15752 (libc_feholdsetround_387_ctx): Likewise.
15753 (libc_feholdsetround_387_53bit_ctx): Likewise.
15754 (libc_feholdsetround_sse_ctx): Likewise.
15755 (libc_feresetround_sse_ctx): Likewise.
15756 (libc_feresetround_387_ctx): Likewise.
15757 (libc_feupdateenv_387_ctx): Likewise.
15758 (libc_feholdexcept_setroundf_ctx): Define macro.
15759 (libc_fesetenvf_ctx): Likewise.
15760 (libc_feupdateenvf_ctx): Likewise.
15761 (libc_feholdsetroundf_ctx): Likewise.
15762 (libc_feresetroundf_ctx): Likewise.
15763 (libc_feholdexcept_setround_ctx): Likewise.
15764 (libc_fesetenv_ctx): Likewise.
15765 (libc_feupdateenv_ctx): Likewise.
15766 (libc_feholdsetround_ctx): Likewise.
15767 (libc_feresetround_ctx): Likewise.
15768 (libc_feholdexcept_setroundl_ctx): Likewise.
15769 (libc_feupdateenvl_ctx): Likewise.
15770 (libc_feholdsetroundl_ctx): Likewise.
15771 (libc_feresetroundl_ctx): Likewise.
15772 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
15773 (libc_feresetround_53bit_ctx): Likewise.
15775 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15777 * locale/iso-639.def: Convert to UTF-8.
15779 2013-06-11 Joseph Myers <joseph@codesourcery.com>
15781 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
15782 (EXCEPTION_TESTS_double): Likewise.
15783 (EXCEPTION_TESTS_long_double): Likewise.
15784 (EXCEPTION_TESTS): Likewise.
15785 * math/libm-test.inc (test_exceptions): Only test exceptions if
15786 EXCEPTION_TESTS (FLOAT).
15788 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15790 * benchtests/Makefile (string-bench): Add strcpy_chk and
15792 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
15793 * benchtests/bench-stpcpy_chk.c: New file.
15794 * benchtests/bench-strcpy_chk-ifunc.c: New file.
15795 * benchtests/bench-strcpy_chk.c: New file.
15796 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
15798 (do_test): Likewise.
15800 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15802 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
15803 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
15804 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
15805 with tabs where appropriate.
15806 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
15808 [PPC_PLATFORM_PPC440]: Likewise.
15809 [PPC_PLATFORM_PPC464]: Likewise.
15810 [PPC_PLATFORM_PPC476]: Likewise.
15811 (_dl_string_platform): Add support for detecting ppc405, ppc440,
15812 ppc464, and ppc476 platform strings merging from ports/
15815 2013-06-11 Andreas Schwab <schwab@suse.de>
15818 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
15819 (from_ucs4_idx): Regenerate.
15820 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
15821 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
15822 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
15823 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
15824 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
15825 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
15826 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
15827 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
15828 from FROM_LOOP and TO_LOOP specific macros.
15829 (BODY): Handle combining characters.
15830 * iconvdata/BIG5HKSCS.irreversible: Update.
15831 * iconvdata/BIG5HKSCS.precomposed: New file.
15832 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
15834 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
15836 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15838 * include/sys/time.h: Fix indentation and add copyright header.
15840 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
15841 (do_test): Likewise.
15842 * string/test-memchr.c (do_one_test): Likewise.
15843 (do_test): Likewise.
15844 * string/test-memcmp.c (do_one_test): Likewise.
15845 (do_test): Likewise.
15846 * string/test-memcpy.c (do_one_test): Likewise.
15847 (do_test): Likewise.
15848 * string/test-memmem.c (do_one_test): Likewise.
15849 (do_test): Likewise.
15850 (do_random_tests): Likewise.
15851 * string/test-memmove.c (do_one_test): Likewise.
15852 (do_test): Likewise.
15853 * string/test-memset.c (do_one_test): Likewise.
15854 (do_test): Likewise.
15855 * string/test-rawmemchr.c (do_one_test): Likewise.
15856 (do_test): Likewise.
15857 * string/test-strcasecmp.c (do_one_test): Likewise.
15858 (do_test): Likewise.
15859 * string/test-strcasestr.c (do_one_test): Likewise.
15860 (do_test): Likewise.
15861 * string/test-strcat.c (do_one_test): Likewise.
15862 (do_test): Likewise.
15863 * string/test-strchr.c (do_one_test): Likewise.
15864 (do_test): Likewise.
15865 * string/test-strcmp.c (do_one_test): Likewise.
15866 (do_test): Likewise.
15867 * string/test-strcpy.c (do_one_test): Likewise.
15868 (do_test): Likewise.
15869 * string/test-string.h: Likewise.
15870 (test_init): Likewise.
15871 * string/test-strlen.c (do_one_test): Likewise.
15872 (do_test): Likewise.
15873 * string/test-strncasecmp.c (do_one_test): Likewise.
15874 (do_test): Likewise.
15875 * string/test-strncat.c (do_one_test): Likewise.
15876 (do_test): Likewise.
15877 * string/test-strncmp.c (do_one_test): Likewise.
15878 (do_test_limit): Likewise.
15879 (do_test): Likewise.
15880 * string/test-strncpy.c (do_one_test): Likewise.
15881 (do_test): Likewise.
15882 * string/test-strnlen.c (do_one_test): Likewise.
15883 (do_test): Likewise.
15884 * string/test-strpbrk.c (do_one_test): Likewise.
15885 (do_test): Likewise.
15886 * string/test-strrchr.c (do_one_test): Likewise.
15887 (do_test): Likewise.
15888 * string/test-strspn.c (do_one_test): Likewise.
15889 (do_test): Likewise.
15890 * string/test-strstr.c (do_one_test): Likewise.
15891 (do_test): Likewise.
15893 * benchtests/Makefile (string-bench): Add string benchmarks.
15894 * benchtests/bench-bcopy-ifunc.c: New file.
15895 * benchtests/bench-bcopy.c: New file.
15896 * benchtests/bench-bzero-ifunc.c: New file.
15897 * benchtests/bench-bzero.c: New file.
15898 * benchtests/bench-memccpy-ifunc.c: New file.
15899 * benchtests/bench-memccpy.c: New file.
15900 * benchtests/bench-memchr-ifunc.c: New file.
15901 * benchtests/bench-memchr.c: New file.
15902 * benchtests/bench-memcmp-ifunc.c: New file.
15903 * benchtests/bench-memcmp.c: New file.
15904 * benchtests/bench-memmem-ifunc.c: New file.
15905 * benchtests/bench-memmem.c: New file.
15906 * benchtests/bench-memmove-ifunc.c: New file.
15907 * benchtests/bench-memmove.c: New file.
15908 * benchtests/bench-mempcpy-ifunc.c: New file.
15909 * benchtests/bench-mempcpy.c: New file.
15910 * benchtests/bench-memset-ifunc.c: New file.
15911 * benchtests/bench-memset.c: New file.
15912 * benchtests/bench-rawmemchr-ifunc.c: New file.
15913 * benchtests/bench-rawmemchr.c: New file.
15914 * benchtests/bench-stpcpy-ifunc.c: New file.
15915 * benchtests/bench-stpcpy.c: New file.
15916 * benchtests/bench-stpncpy-ifunc.c: New file.
15917 * benchtests/bench-stpncpy.c: New file.
15918 * benchtests/bench-strcasecmp-ifunc.c: New file.
15919 * benchtests/bench-strcasecmp.c: New file.
15920 * benchtests/bench-strcasestr-ifunc.c: New file.
15921 * benchtests/bench-strcasestr.c: New file.
15922 * benchtests/bench-strcat-ifunc.c: New file.
15923 * benchtests/bench-strcat.c: New file.
15924 * benchtests/bench-strchr-ifunc.c: New file.
15925 * benchtests/bench-strchr.c: New file.
15926 * benchtests/bench-strchrnul-ifunc.c: New file.
15927 * benchtests/bench-strchrnul.c: New file.
15928 * benchtests/bench-strcmp-ifunc.c: New file.
15929 * benchtests/bench-strcmp.c: New file.
15930 * benchtests/bench-strcpy-ifunc.c: New file.
15931 * benchtests/bench-strcpy.c: New file.
15932 * benchtests/bench-strcspn-ifunc.c: New file.
15933 * benchtests/bench-strcspn.c: New file.
15934 * benchtests/bench-strlen-ifunc.c: New file.
15935 * benchtests/bench-strlen.c: New file.
15936 * benchtests/bench-strncasecmp-ifunc.c: New file.
15937 * benchtests/bench-strncasecmp.c: New file.
15938 * benchtests/bench-strncat-ifunc.c: New file.
15939 * benchtests/bench-strncat.c: New file.
15940 * benchtests/bench-strncmp-ifunc.c: New file.
15941 * benchtests/bench-strncmp.c: New file.
15942 * benchtests/bench-strncpy-ifunc.c: New file.
15943 * benchtests/bench-strncpy.c: New file.
15944 * benchtests/bench-strnlen-ifunc.c: New file.
15945 * benchtests/bench-strnlen.c: New file.
15946 * benchtests/bench-strpbrk-ifunc.c: New file.
15947 * benchtests/bench-strpbrk.c: New file.
15948 * benchtests/bench-strrchr-ifunc.c: New file.
15949 * benchtests/bench-strrchr.c: New file.
15950 * benchtests/bench-strspn-ifunc.c: New file.
15951 * benchtests/bench-strspn.c: New file.
15952 * benchtests/bench-strstr-ifunc.c: New file.
15953 * benchtests/bench-strstr.c: New file.
15955 * benchtests/Makefile: Disable parallel execution of targets.
15956 (string-bench): Add memcpy.
15957 (benchset): New variable to store a list of benchmark sets.
15958 (bench-func): Renamed from bench.
15959 (bench-set): New target.
15960 (bench): Depend on bench-func and bench-set.
15961 * benchtests/README: Add section on benchmark sets.
15962 * benchtests/bench-memcpy-ifunc.c: New file.
15963 * benchtests/bench-memcpy.c: New file.
15964 * benchtests/bench-string.h: New file.
15966 2013-06-11 Andreas Schwab <schwab@suse.de>
15969 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
15970 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
15971 values in the triple.
15972 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
15973 terminator in the group key.
15975 2013-06-11 Andreas Jaeger <aj@suse.de>
15977 * po/zh_TW.po: Update Chinese (traditional) translation from
15978 translation project.
15980 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15982 * include/time.h (__clock_gettime): Add libc_hidden_proto.
15983 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15984 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
15985 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15986 (clock_getcpuclockid): Likewise.
15987 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15988 Add weak_alias and libc_hidden_def.
15989 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15990 * rt/clock_gettime.c (clock_gettime): Rename to
15991 __clock_gettime. Add weak_alias and libc_hidden_def.
15992 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15993 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15994 __clock_nanosleep. Add weak_alias and libc_hidden_def.
15995 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15996 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15998 * rt/clock_settime.c (clock_settime): Rename to
15999 __clock_settime. Add weak_alias and libc_hidden_def.
16000 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
16002 2013-06-10 Joseph Myers <joseph@codesourcery.com>
16004 * mach/err_boot.sub: Remove trailing whitespace.
16005 * mach/err_ipc.sub: Likewise.
16006 * mach/err_mach.sub: Likewise.
16008 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
16009 (ROUNDING_TESTS_double): Likewise.
16010 (ROUNDING_TESTS_long_double): Likewise.
16011 (ROUNDING_TESTS): Likewise.
16012 * math/libm-test.inc: Include <math-tests.h>.
16013 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16014 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16015 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16016 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16018 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16020 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16023 2013-06-08 Joseph Myers <joseph@codesourcery.com>
16025 * sysdeps/gnu/errlist.awk: Do not generate space at end of
16026 otherwise empty TRANS lines.
16027 * sysdeps/gnu/errlist.c: Regenerated.
16029 * catgets/gencat.c (error_print): Use (void) in function
16031 * crypt/crypt_util.c (__init_des): Likewise.
16032 * crypt/speeds.c (Stop): Likewise.
16034 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16035 * inet/ruserpass.c (token): Likewise.
16036 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16037 * intl/localealias.c (extend_alias_table): Likewise.
16038 * intl/plural-exp.c (init_germanic_plural): Likewise.
16039 * libio/fcloseall.c (__fcloseall): Likewise.
16040 * libio/genops.c (_IO_flush_all): Likewise.
16041 (_IO_flush_all_linebuffered): Likewise.
16042 (_IO_cleanup): Likewise.
16043 (_IO_iter_begin): Likewise.
16044 (_IO_iter_end): Likewise.
16045 (_IO_list_lock): Likewise.
16046 (_IO_list_unlock): Likewise.
16047 (_IO_list_resetlock): Likewise.
16048 * libio/getchar.c (getchar): Likewise.
16049 * libio/getchar_u.c (getchar_unlocked): Likewise.
16050 * libio/getwchar.c (getwchar): Likewise.
16051 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16052 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16053 * login/getpt.c (__getpt): Likewise.
16054 * login/tst-utmp.c (main): Likewise.
16055 * malloc/hooks.c (__malloc_check_init): Likewise.
16056 * malloc/malloc.c (__malloc_stats): Likewise.
16057 * malloc/mtrace.c (tr_break): Likewise.
16058 (mtrace): Likewise.
16059 (muntrace): Likewise.
16060 * misc/fstab.c (endfsent): Likewise.
16061 * misc/getclktck.c (__getclktck): Likewise.
16062 * misc/getdtsz.c (__getdtablesize): Likewise.
16063 * misc/gethostid.c (gethostid): Likewise.
16064 * misc/getpagesize.c (__getpagesize): Likewise.
16065 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16066 (__get_nprocs): Likewise.
16067 (__get_phys_pages): Likewise.
16068 (__get_avphys_pages): Likewise.
16069 * misc/getttyent.c (getttyent): Likewise.
16070 (setttyent): Likewise.
16071 (endttyent): Likewise.
16072 * misc/getusershell.c (getusershell): Likewise.
16073 (endusershell): Likewise.
16074 (setusershell): Likewise.
16075 (initshells): Likewise.
16076 * misc/hsearch.c (__hdestroy): Likewise.
16077 * misc/sync.c (sync): Likewise.
16078 * misc/syslog.c (closelog_internal): Likewise.
16079 (closelog): Likewise.
16080 * misc/ttyslot.c (ttyslot): Likewise.
16081 * misc/vhangup.c (vhangup): Likewise.
16082 * posix/fork.c (__fork): Likewise.
16083 * posix/getegid.c (__getegid): Likewise.
16084 * posix/geteuid.c (__geteuid): Likewise.
16085 * posix/getgid.c (__getgid): Likewise.
16086 * posix/getpid.c (__getpid): Likewise.
16087 * posix/getppid.c (__getppid): Likewise.
16088 * posix/getuid.c (__getuid): Likewise.
16089 * posix/pause.c (pause): Likewise.
16090 * posix/setpgrp.c (setpgrp): Likewise.
16091 * posix/setsid.c (__setsid): Likewise.
16092 * posix/test-vfork.c (noop): Likewise.
16093 * resolv/gethnamaddr.c (_endhtent): Likewise.
16094 (_gethtent): Likewise.
16095 (ht_endhostent): Likewise.
16096 (gethostent): Likewise.
16097 (dns_service): Likewise.
16098 * stdlib/drand48.c (drand48): Likewise.
16099 * stdlib/lrand48.c (lrand48): Likewise.
16100 * stdlib/mrand48.c (mrand48): Likewise.
16101 * stdlib/rand.c (rand): Likewise.
16102 * stdlib/random.c (__random): Likewise.
16103 * stdlib/setenv.c (clearenv): Likewise.
16104 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16105 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16106 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16107 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16108 (__get_nprocs): Likewise.
16109 (__get_phys_pages): Likewise.
16110 (__get_avphys_pages): Likewise.
16111 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16112 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16113 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16114 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16115 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16116 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16117 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16118 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16119 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16120 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16121 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16122 * sysdeps/mach/hurd/sync.c (sync): Likewise.
16123 * sysdeps/posix/clock.c (clock): Likewise.
16124 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16125 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16126 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16127 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16128 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16129 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16130 (__get_nprocs_conf): Likewise.
16131 (__get_phys_pages): Likewise.
16132 (__get_avphys_pages): Likewise.
16133 * time/clock.c (clock): Likewise.
16134 * time/tzset.c (__tzname_max): Likewise.
16136 2013-06-07 Joseph Myers <joseph@codesourcery.com>
16138 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16139 (__bswap_32): Do not use "register".
16140 * crypt/crypt.c (_ufc_doit_r): Likewise.
16141 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16142 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16143 * gmon/gmon.c (__monstartup): Likewise.
16144 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
16145 * hurd/hurdmalloc.c (more_memory): Likewise.
16146 (malloc): Likewise.
16148 (realloc): Likewise.
16149 (malloc_fork_prepare): Likewise.
16150 (malloc_fork_parent): Likewise.
16151 (malloc_fork_child): Likewise.
16152 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
16153 (_svcauth_des): Likewise.
16154 * inet/inet_lnaof.c (inet_lnaof): Likewise.
16155 * inet/inet_net.c (inet_network): Likewise.
16156 * inet/inet_netof.c (inet_netof): Likewise.
16157 * inet/rcmd.c (__validuser2_sa): Likewise.
16158 * io/fts.c (fts_open): Likewise.
16159 (fts_load): Likewise.
16160 (fts_close): Likewise.
16161 (fts_read): Likewise.
16162 (fts_children): Likewise.
16163 (fts_build): Likewise.
16164 (fts_stat): Likewise.
16165 (fts_sort): Likewise.
16166 (fts_alloc): Likewise.
16167 (fts_lfree): Likewise.
16168 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
16169 (_IO_file_xsgetn): Likewise.
16170 (_IO_file_xsgetn_mmap): Likewise.
16171 * libio/iofopncook.c (_IO_cookie_read): Likewise.
16172 (_IO_cookie_write): Likewise.
16173 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
16174 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
16175 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
16176 * malloc/obstack.c (_obstack_begin): Likewise.
16177 (_obstack_begin_1): Likewise.
16178 (_obstack_newchunk): Likewise.
16179 (_obstack_allocated_p): Likewise.
16180 (obstack_free): Likewise.
16181 (_obstack_memory_used): Likewise.
16182 * misc/getttyent.c (getttynam): Likewise.
16183 (getttyent): Likewise.
16186 * misc/getusershell.c (initshells): Likewise.
16187 * misc/syslog.c (__vsyslog_chk): Likewise.
16188 * misc/ttyslot.c (ttyslot): Likewise.
16189 * nis/nis_hash.c (__nis_hash): Likewise.
16190 * posix/fnmatch_loop.c (FCT): Likewise.
16191 * posix/getconf.c (print_all): Likewise.
16193 * posix/getopt.c (exchange): Likewise.
16194 * posix/glob.c (globfree): Likewise.
16195 (prefix_array): Likewise.
16196 (__glob_pattern_type): Likewise.
16197 * resolv/arpa/nameser.h (NS_GET16): Likewise.
16198 (NS_GET32): Likewise.
16199 (NS_PUT16): Likewise.
16200 (NS_PUT32): Likewise.
16201 * resolv/gethnamaddr.c (getanswer): Likewise.
16202 (gethostbyname2): Likewise.
16203 (gethostbyaddr): Likewise.
16204 (_gethtent): Likewise.
16205 (_gethtbyname2): Likewise.
16206 (_gethtbyaddr): Likewise.
16207 * resolv/ns_print.c (dst_s_get_int16): Likewise.
16208 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16209 * resolv/res_init.c (__res_vinit): Likewise.
16210 (net_mask): Likewise.
16211 * resolv/res_mkquery.c (outchar): Likewise.
16213 * stdio-common/printf_fp.c (outchar): Likewise.
16215 * stdio-common/printf_fphex.c (outchar): Likewise.
16217 * stdio-common/printf_size.c (outchar): Likewise.
16219 * stdio-common/test_rdwr.c (main): Likewise.
16220 * stdio-common/tfformat.c (matches): Likewise.
16221 * stdio-common/vfprintf.c (outchar): Likewise.
16222 (printf_unknown): Likewise.
16223 (buffered_vfprintf): Likewise.
16224 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16225 * stdio-common/xbug.c (AppendToBuffer): Likewise.
16226 (ReadFile): Likewise.
16227 * stdlib/qsort.c (SWAP): Likewise.
16228 (_quicksort): Likewise.
16229 * stdlib/setenv.c (__add_to_environ): Likewise.
16230 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16231 * stdlib/strtol_l.c (__strtol_l): Likewise.
16232 * stdlib/tst-strtod.c (main): Likewise.
16233 * stdlib/tst-strtol.c (main): Likewise.
16234 * stdlib/tst-strtoll.c (main): Likewise.
16235 * string/bits/string2.h (__strcmp_cc): Likewise.
16236 (__strcmp_cg): Likewise.
16237 (__strcspn_c1): Likewise.
16238 (__strcspn_c2): Likewise.
16239 (__strcspn_c3): Likewise.
16240 (__strspn_c1): Likewise.
16241 (__strspn_c2): Likewise.
16242 (__strspn_c3): Likewise.
16243 (__strsep_1c): Likewise.
16244 (__strsep_2c): Likewise.
16245 (__strsep_3c): Likewise.
16246 * string/memccpy.c (__memccpy): Likewise.
16247 * string/stpcpy.c (__stpcpy): Likewise.
16248 * string/strcmp.c (strcmp): Likewise.
16249 * string/strrchr.c (strrchr): Likewise.
16250 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
16252 * sysdeps/mach/hurd/getcwd.c
16253 (_hurd_canonicalize_directory_name_internal): Likewise.
16254 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
16255 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
16256 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
16257 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
16258 Likewise, in both definitions.
16259 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
16261 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
16262 64] (__bswap_64): Likewise.
16263 * time/test_time.c (main): Likewise.
16264 * time/tzfile.c (__tzfile_read): Likewise.
16265 (__tzfile_compute): Likewise.
16266 * time/tzset.c (__tzset_parse_tz): Likewise.
16267 (tzset_internal): Likewise.
16268 (compute_change): Likewise.
16269 * wcsmbs/wcscat.c (__wcscat): Likewise.
16270 * wcsmbs/wcschr.c (wcschr): Likewise.
16271 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16272 * wcsmbs/wcscspn.c (wcscspn): Likewise.
16273 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16274 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
16275 * wcsmbs/wcsspn.c (wcsspn): Likewise.
16276 * wcsmbs/wcsstr.c (wcsstr): Likewise.
16277 * wcsmbs/wmemchr.c (wmemchr): Likewise.
16278 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16279 * wcsmbs/wmemset.c (wmemset): Likewise.
16281 2013-06-06 Joseph Myers <joseph@codesourcery.com>
16283 * scripts/config.guess: Update to version 2013-05-16.
16284 * scripts/config.sub: Update to version 2013-04-24.
16285 * scripts/install-sh: Update to version 2011-11-20.07.
16286 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
16287 * scripts/move-if-change: Update to version 2012-01-06 07:23.
16289 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
16291 * debug/fgetws_u_chk.c: Fix leading whitespaces.
16292 * elf/sln.c: Likewise.
16293 * hurd/hurd/ioctl.h: Likewise.
16294 * hurd/hurdmalloc.c: Likewise.
16295 * hurd/xattr.c: Likewise.
16296 * include/shlib-compat.h: Likewise.
16297 * inet/ruserpass.c: Likewise.
16298 * libio/iofgets_u.c: Likewise.
16299 * libio/iofgetws_u.c: Likewise.
16300 * locale/programs/ld-identification.c: Likewise.
16301 * locale/programs/ld-time.c: Likewise.
16302 * mach/msg-destroy.c: Likewise.
16303 * nss/nss_files/files-netgrp.c: Likewise.
16304 * resolv/res_data.c: Likewise.
16305 * soft-fp/op-1.h: Likewise.
16306 * soft-fp/op-2.h: Likewise.
16307 * soft-fp/op-4.h: Likewise.
16308 * soft-fp/op-common.h: Likewise.
16309 * stdio-common/printf_fphex.c: Likewise.
16310 * stdlib/strtod_l.c: Likewise.
16311 * sunrpc/rpc/clnt.h: Likewise.
16312 * sysdeps/generic/framestate.c: Likewise.
16313 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16314 * sysdeps/i386/bsd-setjmp.S: Likewise.
16315 * sysdeps/i386/__longjmp.S: Likewise.
16316 * sysdeps/i386/setjmp.S: Likewise.
16317 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16318 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16319 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16320 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16321 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16322 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16323 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16324 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16325 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16326 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16327 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16328 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16329 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16330 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16331 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16332 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16333 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16334 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
16335 * sysdeps/ieee754/support.c: Likewise.
16336 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16337 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
16338 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
16339 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
16340 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
16341 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
16342 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
16343 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
16344 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
16345 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
16346 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
16347 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
16348 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
16349 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
16350 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
16351 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
16352 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16355 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
16357 * posix/transbug.c: Remove executable mode.
16359 2013-06-05 Joseph Myers <joseph@codesourcery.com>
16361 * crypt/speeds.c: Remove trailing whitespace.
16362 * dlfcn/default.c: Likewise.
16363 * elf/ifuncdep2.c: Likewise.
16364 * elf/ifuncmain1.c: Likewise.
16365 * elf/ifuncmain1vis.c: Likewise.
16366 * elf/testobj.h: Likewise.
16367 * elf/tst-stackguard1.c: Likewise.
16368 * gmon/sys/gmon.h: Likewise.
16369 * hurd/hurdmsg.c: Likewise.
16370 * hurd/new-fd.c: Likewise.
16371 * hurd/ports-get.c: Likewise.
16372 * iconvdata/ibm1008_420.c: Likewise.
16373 * inet/tst-getni1.c: Likewise.
16374 * inet/tst-getni2.c: Likewise.
16375 * libio/ioungetc.c: Likewise.
16376 * libio/wfiledoalloc.c: Likewise.
16377 * manual/libm-err-tab.pl: Likewise.
16378 * math/w_dremf.c: Likewise.
16379 * misc/ftruncate.c: Likewise.
16380 * posix/bug-glob2.c: Likewise.
16381 * posix/tst-pcre.c: Likewise.
16382 * posix/wait4.c: Likewise.
16383 * resolv/README: Likewise.
16384 * resolv/res_debug.h: Likewise.
16385 * resolv/tst-inet_ntop.c: Likewise.
16386 * setjmp/bug269-setjmp.c: Likewise.
16387 * soft-fp/extended.h: Likewise.
16388 * soft-fp/op-1.h: Likewise.
16389 * soft-fp/op-2.h: Likewise.
16390 * soft-fp/op-4.h: Likewise.
16391 * soft-fp/op-8.h: Likewise.
16392 * soft-fp/testit.c: Likewise.
16393 * stdio-common/bug16.c: Likewise.
16394 * stdlib/random.c: Likewise.
16395 * sunrpc/rpcsvc/rquota.x: Likewise.
16396 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
16397 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16398 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16399 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16400 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16401 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16402 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16403 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16404 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16405 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16406 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16407 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16408 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16409 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16410 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16411 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16412 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16413 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16414 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16415 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16416 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16417 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16418 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16419 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16420 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16421 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16422 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16423 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16424 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16425 * sysdeps/ieee754/s_lib_version.c: Likewise.
16426 * sysdeps/mach/hurd/check_fds.c: Likewise.
16427 * sysdeps/mach/hurd/getsockname.c: Likewise.
16428 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
16429 * sysdeps/mach/hurd/recvfrom.c: Likewise.
16430 * sysdeps/powerpc/bits/link.h: Likewise.
16431 * sysdeps/powerpc/dl-procinfo.c: Likewise.
16432 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
16433 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
16434 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
16435 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16436 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16437 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
16438 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16439 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
16440 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16441 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16442 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16443 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
16444 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16445 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16446 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16447 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16448 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16449 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16450 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16451 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16452 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
16453 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16454 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16455 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
16456 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16457 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16458 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16459 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16460 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16461 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16462 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16463 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16464 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16465 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
16466 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16467 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
16468 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16469 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16470 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16471 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16472 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16473 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16474 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16475 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16476 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16477 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16478 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16479 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16480 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16481 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16482 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16483 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16484 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16485 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16486 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16487 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16488 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16489 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16490 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16491 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16492 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16493 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16494 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16495 * sysdeps/powerpc/sysdep.h: Likewise.
16496 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16497 * sysdeps/s390/s390-64/sub_n.S: Likewise.
16498 * sysdeps/sh/dl-trampoline.S: Likewise.
16499 * sysdeps/sh/memset.S: Likewise.
16500 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16501 * sysdeps/sh/strlen.S: Likewise.
16502 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16503 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16504 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16505 * sysdeps/sparc/sparc32/rem.S: Likewise.
16506 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16507 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16508 * sysdeps/sparc/sparc32/strchr.S: Likewise.
16509 * sysdeps/sparc/sparc32/udiv.S: Likewise.
16510 * sysdeps/sparc/sparc32/urem.S: Likewise.
16511 * sysdeps/sparc/sparc64/add_n.S: Likewise.
16512 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16513 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16514 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16515 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16516 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16517 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16518 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16519 * sysdeps/unix/bsd/times.c: Likewise.
16520 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16521 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16525 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16526 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16527 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16528 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16529 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16530 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16531 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16532 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16533 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16534 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16535 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16536 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16537 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16538 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16539 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16540 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16541 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16542 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16543 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16544 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16545 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16546 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16547 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16548 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16549 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16550 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16551 * sysdeps/x86_64/strcspn.S: Likewise.
16553 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16555 * locale/C-translit.h: Revert #include <stdint.h> because this is a
16556 generated file. Regenerate properly from gen-translit.pl.
16557 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
16558 locale/C-translit.h.
16560 2013-06-05 Andreas Schwab <schwab@suse.de>
16563 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16564 week as 6 instead of -1.
16565 * time/tst-strptime.c (day_tests): Add test case.
16567 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16569 * sysdeps/generic/math_private.h
16570 (libc_feholdexcept_setround_53bit): Replace with
16571 libc_feholdsetround_53bit.
16572 (libc_feupdateenv_53bit): Replace with
16573 libc_feresetround_53bit.
16574 (SET_RESTORE_ROUND_53BIT): Adjust.
16576 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16578 * string/test-strchrnul.c: Add copyright header.
16580 * posix/tst-getaddrinfo4.c: Increase test timeout.
16582 2013-06-03 Carlos O'Donell <carlos@redhat.com>
16585 * math/libm-test.inc (MAX_EXP): Remove
16587 (ulp): Use MIN_EXP - MANT_DIG.
16588 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16590 2013-05-31 Carlos O'Donell <carlos@redhat.com>
16592 * po/be.po: Revert last change.
16593 * po/zh_CN.po: Likewise.
16594 * po/header.pot: Likewise.
16596 2013-05-31 Joseph Myers <joseph@codesourcery.com>
16598 * Makefile ($(common-objpfx)linkobj/libc.so): Define
16599 link-libc-deps to empty as target-specific variable.
16600 * Makerules (link-libc-args): New variable.
16601 (libc-for-link): Likewise.
16602 (link-libc-deps): Likewise.
16603 (lib%.so): Depend on $(link-libc-deps). Link with
16605 (build-module): Link with $(link-libc-args).
16606 (build-module-asneeded): Likewise.
16607 (build-module-helper-objlist): Filter out $(link-libc-deps) from
16609 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16610 target-specific variable.
16611 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16612 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16613 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16615 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16617 ($(objpfx)libpcprofile.so): Likewise.
16618 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16620 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16621 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16622 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16624 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16625 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16626 * login/Makefile ($(objpfx)libutil.so): Likewise.
16627 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16628 * math/Makefile ($(objpfx)libm.so): Likewise.
16629 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16630 $(objpfx)libnsl.so): Define libc-for-link as target-specific
16631 variable instead of depending directly on libc.
16632 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16633 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16635 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16637 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16638 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16639 ($(objpfx)libanl.so): Likewise.
16640 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16642 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16644 * sysdeps/i386/fpu/Makefile: Remove file.
16645 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16646 ($(objpfx)libm.so): Remove dependency on ld.so.
16648 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
16651 * nis/yp_xdr.c (XDRMAXNAME): Define.
16652 (XDRMAXRECORD): Define.
16653 (xdr_domainname): Use XDRMAXNAME.
16654 (xdr_mapname): Likewise.
16655 (xdr_peername): Likewise.
16656 (xdr_keydat): Use XDRMAXRECORD.
16657 (xdr_valdat): Likewise.
16659 2013-05-30 Jeff Law <law@redhat.com>
16662 * manual/errno.texi (ESTALE): Update to account for more than
16663 just NFS file systems.
16664 * sysdeps/gnu/errlist.c: Regenerated.
16666 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16669 * elf/Makefile (tests): Add tst-null-argv.
16670 (modules-names): Add tst-null-argv-lib.
16671 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
16672 (tst-null-argv-ENV): Set environment for tst-null-argv.
16673 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16674 (RTLD_PROGNAME): New macro.
16675 * elf/tst-null-argv.c: New test case.
16676 * elf/tst-null-argv-lib.c: Library for test case.
16677 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
16678 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
16679 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
16680 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
16681 * elf/dl-init.c (call_init): Likewise.
16682 (_dl_init): Likewise.
16683 * elf/dl-load.c (print_search_path): Likewise.
16684 (_dl_map_object): Likewise.
16685 * elf/dl-lookup.c (do_lookup_x): Likewise.
16686 (add_dependency): Likewise.
16687 (_dl_lookup_symbol_x): Likewise.
16688 (_dl_debug_bindings): Likewise.
16689 * elf/dl-open.c (_dl_show_scope): Likewise.
16690 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16691 * elf/dl-version.c (match_symbol): Likewise.
16692 (_dl_check_map_versions): Likewise.
16693 * elf/rtld.c (dl_main): Likewise.
16694 (print_unresolved): Use RTLD_PROGNAME.
16695 (print_missing_version): Likewise.
16696 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16697 (elf_machine_rela): Likewise.
16698 * sysdeps/powerpc/powerpc32/dl-machine.c
16699 (__process_machine_rela): Likewise.
16700 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16702 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16704 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16706 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16707 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16709 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16711 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16713 2013-05-28 Carlos O'Donell <carlos@redhat.com>
16715 * po/be.po: Add descriptive title.
16716 * po/zh_CN.po: Likewise.
16717 * po/header.pot: Likewise.
16719 2013-05-28 Mike Frysinger <vapier@gentoo.org>
16721 * locale/programs/locarchive.c (create_archive): Inlucde fname in
16723 (enlarge_archive): Likewise.
16725 2013-05-28 Ben North <ben@redfrontdoor.org>
16727 * manual/arith.texi (frexp): It is the magnitude of the return
16728 value which lies in [0.5, 1), not the return value itself.
16730 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16732 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16734 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
16736 * stdio-common/bug26.c (main): Correct fscanf template.
16738 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
16739 declare _dl_skip_args.
16741 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
16744 * manual/platform.texi: Add missing @end deftypefun.
16746 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16749 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
16750 bit of mantissa of 2^16382.
16751 * math/libm-test.inc (hypot_test_data): Add more tests.
16753 * math/libm-test.inc: Add drem and pow10 to list of tested
16755 (pow10_test): New function.
16756 (drem_test): Likewise.
16757 (drem_test_tonearest): Likewise.
16758 (drem_test_towardzero): Likewise.
16759 (drem_test_downward): Likewise.
16760 (drem_test_upward): Likewise.
16761 (main): Call the new functions.
16763 * math/libm-test.inc (finite_test_data): Remove.
16764 (finite_test): Run tests from isfinite_test_data.
16765 (gamma_test_data): Remove.
16766 (gamma_test): Run tests from lgamma_test_data.
16767 * sysdeps/i386/fpu/libm-test-ulps: Update.
16768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16770 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16772 * manual/platform.texi: Add PowerPC PPR function set documentation.
16773 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
16776 2013-05-24 Carlos O'Donell <carlos@redhat.com>
16778 * math/libm-test.inc (MAX_EXP): Define.
16780 (ulp): New function.
16781 (check_float_internal): Use ULPDIFF.
16782 (cpow_test): Disable failing test.
16783 (check_ulp): Test ulp() implemetnation.
16784 (main): Call check_ulp before starting tests.
16786 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16788 * math/gen-libm-test.pl (generate_testfile): Do not handle
16789 START_DATA and END_DATA.
16790 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
16792 (acos_tonearest_test_data): Likewise.
16793 (acos_towardzero_test_data): Likewise.
16794 (acos_downward_test_data): Likewise.
16795 (acos_upward_test_data): Likewise.
16796 (acosh_test_data): Likewise.
16797 (asin_test_data): Likewise.
16798 (asin_tonearest_test_data): Likewise.
16799 (asin_towardzero_test_data): Likewise.
16800 (asin_downward_test_data): Likewise.
16801 (asin_upward_test_data): Likewise.
16802 (asinh_test_data): Likewise.
16803 (atan_test_data): Likewise.
16804 (atanh_test_data): Likewise.
16805 (atan2_test_data): Likewise.
16806 (cabs_test_data): Likewise.
16807 (cacos_test_data): Likewise.
16808 (cacosh_test_data): Likewise.
16809 (carg_test_data): Likewise.
16810 (casin_test_data): Likewise.
16811 (casinh_test_data): Likewise.
16812 (catan_test_data): Likewise.
16813 (catanh_test_data): Likewise.
16814 (cbrt_test_data): Likewise.
16815 (ccos_test_data): Likewise.
16816 (ccosh_test_data): Likewise.
16817 (ceil_test_data): Likewise.
16818 (cexp_test_data): Likewise.
16819 (cimag_test_data): Likewise.
16820 (clog_test_data): Likewise.
16821 (clog10_test_data): Likewise.
16822 (conj_test_data): Likewise.
16823 (copysign_test_data): Likewise.
16824 (cos_test_data): Likewise.
16825 (cos_tonearest_test_data): Likewise.
16826 (cos_towardzero_test_data): Likewise.
16827 (cos_downward_test_data): Likewise.
16828 (cos_upward_test_data): Likewise.
16829 (cosh_test_data): Likewise.
16830 (cosh_tonearest_test_data): Likewise.
16831 (cosh_towardzero_test_data): Likewise.
16832 (cosh_downward_test_data): Likewise.
16833 (cosh_upward_test_data): Likewise.
16834 (cpow_test_data): Likewise.
16835 (cproj_test_data): Likewise.
16836 (creal_test_data): Likewise.
16837 (csin_test_data): Likewise.
16838 (csinh_test_data): Likewise.
16839 (csqrt_test_data): Likewise.
16840 (ctan_test_data): Likewise.
16841 (ctan_tonearest_test_data): Likewise.
16842 (ctan_towardzero_test_data): Likewise.
16843 (ctan_downward_test_data): Likewise.
16844 (ctan_upward_test_data): Likewise.
16845 (ctanh_test_data): Likewise.
16846 (ctanh_tonearest_test_data): Likewise.
16847 (ctanh_towardzero_test_data): Likewise.
16848 (ctanh_downward_test_data): Likewise.
16849 (ctanh_upward_test_data): Likewise.
16850 (erf_test_data): Likewise.
16851 (erfc_test_data): Likewise.
16852 (exp_test_data): Likewise.
16853 (exp_tonearest_test_data): Likewise.
16854 (exp_towardzero_test_data): Likewise.
16855 (exp_downward_test_data): Likewise.
16856 (exp_upward_test_data): Likewise.
16857 (exp10_test_data): Likewise.
16858 (exp2_test_data): Likewise.
16859 (expm1_test_data): Likewise.
16860 (fabs_test_data): Likewise.
16861 (fdim_test_data): Likewise.
16862 (finite_test_data): Likewise.
16863 (floor_test_data): Likewise.
16864 (fma_test_data): Likewise.
16865 (fma_towardzero_test_data): Likewise.
16866 (fma_downward_test_data): Likewise.
16867 (fma_upward_test_data): Likewise.
16868 (fmax_test_data): Likewise.
16869 (fmin_test_data): Likewise.
16870 (fmod_test_data): Likewise.
16871 (fpclassify_test_data): Likewise.
16872 (frexp_test_data): Likewise.
16873 (gamma_test_data): Likewise.
16874 (hypot_test_data): Likewise.
16875 (ilogb_test_data): Likewise.
16876 (isfinite_test_data): Likewise.
16877 (isgreater_test_data): Likewise.
16878 (isgreaterequal_test_data): Likewise.
16879 (isinf_test_data): Likewise.
16880 (isless_test_data): Likewise.
16881 (islessequal_test_data): Likewise.
16882 (islessgreater_test_data): Likewise.
16883 (isnan_test_data): Likewise.
16884 (isnormal_test_data): Likewise.
16885 (issignaling_test_data): Likewise.
16886 (isunordered_test_data): Likewise.
16887 (j0_test_data): Likewise.
16888 (j1_test_data): Likewise.
16889 (jn_test_data): Likewise.
16890 (ldexp_test_data): Likewise.
16891 (lgamma_test_data): Likewise.
16892 (lrint_test_data): Likewise.
16893 (lrint_tonearest_test_data): Likewise.
16894 (lrint_towardzero_test_data): Likewise.
16895 (lrint_downward_test_data): Likewise.
16896 (lrint_upward_test_data): Likewise.
16897 (llrint_test_data): Likewise.
16898 (llrint_tonearest_test_data): Likewise.
16899 (llrint_towardzero_test_data): Likewise.
16900 (llrint_downward_test_data): Likewise.
16901 (llrint_upward_test_data): Likewise.
16902 (log_test_data): Likewise.
16903 (log10_test_data): Likewise.
16904 (log1p_test_data): Likewise.
16905 (log2_test_data): Likewise.
16906 (logb_test_data): Likewise.
16907 (logb_downward_test_data): Likewise.
16908 (lround_test_data): Likewise.
16909 (llround_test_data): Likewise.
16910 (modf_test_data): Likewise.
16911 (nearbyint_test_data): Likewise.
16912 (nextafter_test_data): Likewise.
16913 (nexttoward_test_data): Likewise.
16914 (pow_test_data): Likewise.
16915 (pow_tonearest_test_data): Likewise.
16916 (pow_towardzero_test_data): Likewise.
16917 (pow_downward_test_data): Likewise.
16918 (pow_upward_test_data): Likewise.
16919 (remainder_test_data): Likewise.
16920 (remainder_tonearest_test_data): Likewise.
16921 (remainder_towardzero_test_data): Likewise.
16922 (remainder_downward_test_data): Likewise.
16923 (remainder_upward_test_data): Likewise.
16924 (remquo_test_data): Likewise.
16925 (rint_test_data): Likewise.
16926 (rint_tonearest_test_data): Likewise.
16927 (rint_towardzero_test_data): Likewise.
16928 (rint_downward_test_data): Likewise.
16929 (rint_upward_test_data): Likewise.
16930 (round_test_data): Likewise.
16931 (scalb_test_data): Likewise.
16932 (scalbn_test_data): Likewise.
16933 (scalbln_test_data): Likewise.
16934 (signbit_test_data): Likewise.
16935 (sin_test_data): Likewise.
16936 (sin_tonearest_test_data): Likewise.
16937 (sin_towardzero_test_data): Likewise.
16938 (sin_downward_test_data): Likewise.
16939 (sin_upward_test_data): Likewise.
16940 (sincos_test_data): Likewise.
16941 (sinh_test_data): Likewise.
16942 (sinh_tonearest_test_data): Likewise.
16943 (sinh_towardzero_test_data): Likewise.
16944 (sinh_downward_test_data): Likewise.
16945 (sinh_upward_test_data): Likewise.
16946 (sqrt_test_data): Likewise.
16947 (tan_test_data): Likewise.
16948 (tan_tonearest_test_data): Likewise.
16949 (tan_towardzero_test_data): Likewise.
16950 (tan_downward_test_data): Likewise.
16951 (tan_upward_test_data): Likewise.
16952 (tanh_test_data): Likewise.
16953 (tgamma_test_data): Likewise.
16954 (trunc_test_data): Likewise.
16955 (y0_test_data): Likewise.
16956 (y1_test_data): Likewise.
16957 (yn_test_data): Likewise.
16958 (significand_test_data): Likewise.
16960 * math/gen-libm-test.pl (@functions): Remove variable.
16961 (generate_testfile): Don't handle START and END lines.
16962 * math/libm-test.inc (START): New macro.
16964 (END_COMPLEX): Likewise.
16965 (acos_test): Use END macro without arguments.
16966 (acos_test_tonearest): Likewise.
16967 (acos_test_towardzero): Likewise.
16968 (acos_test_downward): Likewise.
16969 (acos_test_upward): Likewise.
16970 (acosh_test): Likewise.
16971 (asin_test): Likewise.
16972 (asin_test_tonearest): Likewise.
16973 (asin_test_towardzero): Likewise.
16974 (asin_test_downward): Likewise.
16975 (asin_test_upward): Likewise.
16976 (asinh_test): Likewise.
16977 (atan_test): Likewise.
16978 (atanh_test): Likewise.
16979 (atan2_test): Likewise.
16980 (cabs_test): Likewise.
16981 (cacos_test): Use END_COMPLEX macro without arguments.
16982 (cacosh_test): Likewise.
16983 (carg_test): Use END macro without arguments.
16984 (casin_test): Use END_COMPLEX macro without arguments.
16985 (casinh_test): Likewise.
16986 (catan_test): Likewise.
16987 (catanh_test): Likewise.
16988 (cbrt_test): Use END macro without arguments.
16989 (ccos_test): Use END_COMPLEX macro without arguments.
16990 (ccosh_test): Likewise.
16991 (ceil_test): Use END macro without arguments.
16992 (cexp_test): Use END_COMPLEX macro without arguments.
16993 (cimag_test): Use END macro without arguments.
16994 (clog_test): Use END_COMPLEX macro without arguments.
16995 (clog10_test): Likewise.
16996 (conj_test): Likewise.
16997 (copysign_test): Use END macro without arguments.
16998 (cos_test): Likewise.
16999 (cos_test_tonearest): Likewise.
17000 (cos_test_towardzero): Likewise.
17001 (cos_test_downward): Likewise.
17002 (cos_test_upward): Likewise.
17003 (cosh_test): Likewise.
17004 (cosh_test_tonearest): Likewise.
17005 (cosh_test_towardzero): Likewise.
17006 (cosh_test_downward): Likewise.
17007 (cosh_test_upward): Likewise.
17008 (cpow_test): Use END_COMPLEX macro without arguments.
17009 (cproj_test): Likewise.
17010 (creal_test): Use END macro without arguments.
17011 (csin_test): Use END_COMPLEX macro without arguments.
17012 (csinh_test): Likewise.
17013 (csqrt_test): Likewise.
17014 (ctan_test): Likewise.
17015 (ctan_test_tonearest): Likewise.
17016 (ctan_test_towardzero): Likewise.
17017 (ctan_test_downward): Likewise.
17018 (ctan_test_upward): Likewise.
17019 (ctanh_test): Likewise.
17020 (ctanh_test_tonearest): Likewise.
17021 (ctanh_test_towardzero): Likewise.
17022 (ctanh_test_downward): Likewise.
17023 (ctanh_test_upward): Likewise.
17024 (erf_test): Use END macro without arguments.
17025 (erfc_test): Likewise.
17026 (exp_test): Likewise.
17027 (exp_test_tonearest): Likewise.
17028 (exp_test_towardzero): Likewise.
17029 (exp_test_downward): Likewise.
17030 (exp_test_upward): Likewise.
17031 (exp10_test): Likewise.
17032 (exp2_test): Likewise.
17033 (expm1_test): Likewise.
17034 (fabs_test): Likewise.
17035 (fdim_test): Likewise.
17036 (finite_test): Likewise.
17037 (floor_test): Likewise.
17038 (fma_test): Likewise.
17039 (fma_test_towardzero): Likewise.
17040 (fma_test_downward): Likewise.
17041 (fma_test_upward): Likewise.
17042 (fmax_test): Likewise.
17043 (fmin_test): Likewise.
17044 (fmod_test): Likewise.
17045 (fpclassify_test): Likewise.
17046 (frexp_test): Likewise.
17047 (gamma_test): Likewise.
17048 (hypot_test): Likewise.
17049 (ilogb_test): Likewise.
17050 (isfinite_test): Likewise.
17051 (isgreater_test): Likewise.
17052 (isgreaterequal_test): Likewise.
17053 (isinf_test): Likewise.
17054 (isless_test): Likewise.
17055 (islessequal_test): Likewise.
17056 (islessgreater_test): Likewise.
17057 (isnan_test): Likewise.
17058 (isnormal_test): Likewise.
17059 (issignaling_test): Likewise.
17060 (isunordered_test): Likewise.
17061 (j0_test): Likewise.
17062 (j1_test): Likewise.
17063 (jn_test): Likewise.
17064 (ldexp_test): Likewise.
17065 (lgamma_test): Likewise.
17066 (lrint_test): Likewise.
17067 (lrint_test_tonearest): Likewise.
17068 (lrint_test_towardzero): Likewise.
17069 (lrint_test_downward): Likewise.
17070 (lrint_test_upward): Likewise.
17071 (llrint_test): Likewise.
17072 (llrint_test_tonearest): Likewise.
17073 (llrint_test_towardzero): Likewise.
17074 (llrint_test_downward): Likewise.
17075 (llrint_test_upward): Likewise.
17076 (log_test): Likewise.
17077 (log10_test): Likewise.
17078 (log1p_test): Likewise.
17079 (log2_test): Likewise.
17080 (logb_test): Likewise.
17081 (logb_test_downward): Likewise.
17082 (lround_test): Likewise.
17083 (llround_test): Likewise.
17084 (modf_test): Likewise.
17085 (nearbyint_test): Likewise.
17086 (nextafter_test): Likewise.
17087 (nexttoward_test): Likewise.
17088 (pow_test): Likewise.
17089 (pow_test_tonearest): Likewise.
17090 (pow_test_towardzero): Likewise.
17091 (pow_test_downward): Likewise.
17092 (pow_test_upward): Likewise.
17093 (remainder_test): Likewise.
17094 (remainder_test_tonearest): Likewise.
17095 (remainder_test_towardzero): Likewise.
17096 (remainder_test_downward): Likewise.
17097 (remainder_test_upward): Likewise.
17098 (remquo_test): Likewise.
17099 (rint_test): Likewise.
17100 (rint_test_tonearest): Likewise.
17101 (rint_test_towardzero): Likewise.
17102 (rint_test_downward): Likewise.
17103 (rint_test_upward): Likewise.
17104 (round_test): Likewise.
17105 (scalb_test): Likewise.
17106 (scalbn_test): Likewise.
17107 (scalbln_test): Likewise.
17108 (signbit_test): Likewise.
17109 (sin_test): Likewise.
17110 (sin_test_tonearest): Likewise.
17111 (sin_test_towardzero): Likewise.
17112 (sin_test_downward): Likewise.
17113 (sin_test_upward): Likewise.
17114 (sincos_test): Likewise.
17115 (sinh_test): Likewise.
17116 (sinh_test_tonearest): Likewise.
17117 (sinh_test_towardzero): Likewise.
17118 (sinh_test_downward): Likewise.
17119 (sinh_test_upward): Likewise.
17120 (sqrt_test): Likewise.
17121 (tan_test): Likewise.
17122 (tan_test_tonearest): Likewise.
17123 (tan_test_towardzero): Likewise.
17124 (tan_test_downward): Likewise.
17125 (tan_test_upward): Likewise.
17126 (tanh_test): Likewise.
17127 (tgamma_test): Likewise.
17128 (trunc_test): Likewise.
17129 (y0_test): Likewise.
17130 (y1_test): Likewise.
17131 (yn_test): Likewise.
17132 (significand_test): Likewise.
17134 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
17137 * libio/genops.c (_IO_no_init): Initialize wide struct info.
17139 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
17142 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
17143 __ppc_mdoio and __ppc_mdoom.
17144 * manual/platform.texi: Document new functions __ppc_yield,
17145 __ppc_mdoio and __ppc_mdoom.
17147 2013-05-22 Carlos O'Donell <carlos@redhat.com>
17149 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
17150 (main): Mention "tls" pseudo-hwcap is legacy.
17151 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
17153 2013-05-22 Joseph Myers <joseph@codesourcery.com>
17155 * math/gen-libm-test.pl (parse_args): Output only string of
17156 arguments as text for test name, not full call or descriptions of
17157 tests for extra outputs.
17158 (generate_testfile): Do not pass function name to parse_args.
17159 Generate this_func variable from START.
17160 * math/libm-test.inc (struct test_f_f_data): Rename test_name
17162 (struct test_ff_f_data): Likewise.
17163 (test_ff_f_data_nexttoward): Likewise.
17164 (struct test_fi_f_data): Likewise.
17165 (struct test_fl_f_data): Likewise.
17166 (struct test_if_f_data): Likewise.
17167 (struct test_fff_f_data): Likewise.
17168 (struct test_c_f_data): Likewise.
17169 (struct test_f_f1_data): Likewise. Remove field extra_name.
17170 (struct test_fF_f1_data): Likewise.
17171 (struct test_ffI_f1_data): Likewise.
17172 (struct test_c_c_data): Rename test_name field to arg_str.
17173 (struct test_cc_c_data): Likewise.
17174 (struct test_f_i_data): Likewise.
17175 (struct test_ff_i_data): Likewise.
17176 (struct test_f_l_data): Likewise.
17177 (struct test_f_L_data): Likewise.
17178 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
17180 (COMMON_TEST_SETUP): New macro.
17181 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
17182 (COMMON_TEST_CLEANUP): Likewise.
17183 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
17184 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
17186 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
17187 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
17189 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
17190 (RUN_TEST_fff_f): Take argument string. Call new setup and
17192 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
17193 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
17195 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
17196 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
17198 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17199 (RUN_TEST_fF_f1): Take argument string. Call new setup and
17201 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17202 (RUN_TEST_fI_f1): Take argument string. Call new setup and
17204 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17205 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
17207 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17208 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
17210 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
17211 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
17213 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
17214 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
17216 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
17217 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
17219 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
17220 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
17222 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
17223 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
17225 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
17226 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
17228 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
17229 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
17231 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
17232 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
17234 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
17235 (RUN_TEST_fFF_11): Take argument string. Call new setup and
17237 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
17239 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17241 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
17242 to _sifields.sigfault.
17243 (si_addr_lsb): Define new macro.
17244 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17245 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17246 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
17248 2013-05-03 Carlos O'Donell <carlos at redhat.com>
17251 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
17253 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
17255 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
17256 loading the domain.
17258 2013-05-22 Joseph Myers <joseph@codesourcery.com>
17260 * math/gen-libm-test.pl (parse_args): Do not include expected
17261 result in test name.
17262 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
17263 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17264 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17265 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17266 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17269 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17271 * benchtests/Makefile: Sort function entries.
17273 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
17274 tanh, asinh, acosh, atanh.
17275 * benchtests/acos-inputs: New file.
17276 * benchtests/acosh-inputs: New file.
17277 * benchtests/asin-inputs: New file.
17278 * benchtests/asinh-inputs: New file.
17279 * benchtests/atanh-inputs: New file.
17280 * benchtests/cosh-inputs: New file.
17281 * benchtests/log-inputs: New file.
17282 * benchtests/sinh-inputs: New file.
17283 * benchtests/tanh-inputs: New file.
17285 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
17288 * posix/tst-getaddrinfo4.c: New test.
17289 * posix/Makefile (tests): Add it.
17291 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17294 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
17295 when no services were used.
17296 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
17297 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
17299 2013-05-21 Andreas Schwab <schwab@suse.de>
17302 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
17303 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
17305 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
17306 redundant variable declarations and reallocation of buffer when
17307 parsing as IPv6 address. Always set NSS status when called from
17308 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
17309 buffer too small. Correct computation of needed size.
17310 * nss/Makefile (tests): Add test-digits-dots.
17311 * nss/test-digits-dots.c: New test.
17313 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17315 * benchtests/Makefile: Remove instructions for adding
17317 * benchtests/README: New file to explain how to execute and
17318 enhance the benchmark tests.
17320 2013-05-21 Andreas Schwab <schwab@suse.de>
17323 * setjmp/Makefile (tests): Add tst-sigsetjmp.
17324 * setjmp/tst-sigsetjmp.c: New test.
17326 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
17328 * sysdeps/x86_64/memset.S (memset): New implementation.
17329 (__bzero): Likewise.
17330 (__memset_tail): New function.
17332 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
17334 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
17335 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
17336 __memcpy_sse2_unaligned ifunc selection.
17337 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17338 Add memcpy-sse2-unaligned.S.
17339 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17340 Add: __memcpy_sse2_unaligned.
17342 2013-05-19 Joseph Myers <joseph@codesourcery.com>
17345 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17346 math_force_eval before restoring floating-point envrionment.
17347 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
17348 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
17350 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
17352 (__nearbyintl): Use math_force_eval before restoring
17353 floating-point environment.
17354 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
17356 * math/gen-libm-test.pl (special_functions): Remove.
17357 (parse_args): Don't handle TEST_extra. Handle functions with no
17359 * math/libm-test.inc (struct test_sincos_data): Replace with
17360 struct test_fFF_11_data.
17361 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
17362 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
17363 (sincos_test_data): Change element type to struct
17364 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
17365 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
17366 RUN_TEST_LOOP_sincos.
17367 * math/README.libm-test: Don't mention special handling of
17368 individual functions.
17369 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
17370 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17371 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17372 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17373 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17376 * math/gen-libm-test.pl (get_variable): Remove function.
17377 (parse_args): Don't show pointer parameters to call in test
17378 names. Use "extra output N" in test names for extra outputs
17379 rather than naming variables.
17381 2013-05-18 Joseph Myers <joseph@codesourcery.com>
17384 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
17385 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
17386 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
17388 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
17390 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
17393 * math/gen-libm-test.pl (@tests): Remove variable.
17394 ($count): Likewise.
17395 (new_test): Remove function.
17396 (show_exceptions): New function.
17397 (special_functions): Use show_exceptions instead of new_test.
17398 (parse_args): Likewise.
17399 (generate_testfile): Pass only function name in generated call to
17400 print_max_error or print_complex_max_error.
17401 (get_ulps): Do not handle complex tests specially.
17402 (output_test): Rename to ...
17403 (get_all_ulps_for_test): ... this. Return a string rather than
17404 printing to a file. Require ulps to be present.
17405 (output_ulps): Generate arrays rather than #defines.
17406 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
17407 (struct ulp_data): New type.
17408 (BUILD_COMPLEX_ULP): Remove macro.
17409 (compare_ulp_data): New function.
17410 (find_ulps): Likewise.
17411 (find_test_ulps): Likewise.
17412 (find_function_ulps): Likewise.
17413 (find_complex_function_ulps): Likewise.
17414 (print_max_error): Determine allowed ulps using
17415 find_function_ulps.
17416 (print_complex_max_error): Determine allowed ulps using
17417 find_complex_function_ulps.
17418 (check_float_internal): Determine max ulps using find_test_ulps.
17419 (check_float): Do not take max_ulp parameter. Update call to
17420 check_float_internal.
17421 (check_complex): Likewise.
17422 (check_int): Do not take max_ulp parameter.
17423 (check_long): Likewise.
17424 (check_bool): Likewise.
17425 (check_longlong): Likewise.
17426 (struct test_f_f_data): Remove max_ulp field.
17427 (struct test_ff_f_data): Likewise.
17428 (struct test_ff_f_data_nexttoward): Likewise.
17429 (struct test_fi_f_data): Likewise.
17430 (struct test_fl_f_data): Likewise.
17431 (struct test_if_f_data): Likewise.
17432 (struct test_fff_f_data): Likewise.
17433 (struct test_c_f_data): Likewise.
17434 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
17435 (struct test_fF_f1_data): Likewise.
17436 (struct test_ffI_f1_data): Likewise.
17437 (struct test_c_c_data): Remove max_ulp field.
17438 (struct test_cc_c_data): Likewise.
17439 (struct test_f_i_data): Likewise.
17440 (struct test_ff_i_data): Likewise.
17441 (struct test_f_l_data): Likewise.
17442 (struct test_f_L_data): Likewise.
17443 (struct test_sincos_data): Likewise.
17444 (RUN_TEST_f_f): Do not handle ulps.
17445 (RUN_TEST_LOOP_f_f): Likewise.
17446 (RUN_TEST_2_f): Likewise.
17447 (RUN_TEST_LOOP_2_f): Likewise.
17448 (RUN_TEST_fff_f): Likewise.
17449 (RUN_TEST_LOOP_fff_f): Likewise.
17450 (RUN_TEST_c_f): Likewise.
17451 (RUN_TEST_LOOP_c_f): Likewise.
17452 (RUN_TEST_f_f1): Likewise.
17453 (RUN_TEST_LOOP_f_f1): Likewise.
17454 (RUN_TEST_fF_f1): Likewise.
17455 (RUN_TEST_LOOP_fF_f1): Likewise.
17456 (RUN_TEST_fI_f1): Likewise.
17457 (RUN_TEST_LOOP_fI_f1): Likewise.
17458 (RUN_TEST_ffI_f1): Likewise.
17459 (RUN_TEST_LOOP_ffI_f1): Likewise.
17460 (RUN_TEST_c_c): Likewise.
17461 (RUN_TEST_LOOP_c_c): Likewise.
17462 (RUN_TEST_cc_c): Likewise.
17463 (RUN_TEST_LOOP_cc_c): Likewise.
17464 (RUN_TEST_f_i): Likewise.
17465 (RUN_TEST_LOOP_f_i): Likewise.
17466 (RUN_TEST_f_i_tg): Likewise.
17467 (RUN_TEST_LOOP_f_i_tg): Likewise.
17468 (RUN_TEST_ff_i_tg): Likewise.
17469 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17470 (RUN_TEST_f_b): Likewise.
17471 (RUN_TEST_LOOP_f_b): Likewise.
17472 (RUN_TEST_f_b_tg): Likewise.
17473 (RUN_TEST_LOOP_f_b_tg): Likewise.
17474 (RUN_TEST_f_l): Likewise.
17475 (RUN_TEST_LOOP_f_l): Likewise.
17476 (RUN_TEST_f_L): Likewise.
17477 (RUN_TEST_LOOP_f_L): Likewise.
17478 (RUN_TEST_sincos): Likewise.
17479 (RUN_TEST_LOOP_sincos): Likewise.
17481 2013-05-17 Joseph Myers <joseph@codesourcery.com>
17485 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17486 main case of finite arguments, set rounding mode to FE_TONEAREST
17487 and discard exceptions.
17488 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17490 (remainder_tonearest_test_data): New variable.
17491 (remainder_test_tonearest): New function.
17492 (remainder_towardzero_test_data): New variable.
17493 (remainder_test_towardzero): New function.
17494 (remainder_downward_test_data): New variable.
17495 (remainder_test_downward): New function.
17496 (remainder_upward_test_data): New variable.
17497 (remainder_test_upward): New function.
17498 (main): Call the new test functions.
17500 * math/libm-test.inc (struct test_f_f1_data): Remove field
17502 (struct test_fF_f1_data): Likewise.
17503 (struct test_ffI_f1_data): Likewise.
17504 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
17505 based on value of EXTRA_EXPECTED.
17506 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17507 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
17508 EXTRA_VAR based on value of EXTRA_EXPECTED.
17509 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17510 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
17511 EXTRA_VAR based on value of EXTRA_EXPECTED.
17512 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17513 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
17514 EXTRA_VAR based on value of EXTRA_EXPECTED.
17515 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17516 * math/gen-libm-test.pl (parse_args): Don't output initializers
17517 for extra output values.
17519 * math/libm-test.inc (check_int): Expect result to be exactly
17520 equal to expected value and do not handle ulps.
17521 (check_long): Likewise.
17522 (check_longlong): Likewise.
17524 * math/libm-test.inc (ceil_test_data): Test for "inexact"
17526 (cimag_test_data): Likewise.
17527 (conj_test_data): Likewise.
17528 (copysign_test_data): Likewise.
17529 (cproj_test_data): Likewise.
17530 (creal_test_data): Likewise.
17531 (fabs_test_data): Likewise.
17532 (fdim_test_data): Likewise.
17533 (finite_test_data): Likewise.
17534 (floor_test_data): Likewise.
17535 (fmax_test_data): Likewise.
17536 (fmin_test_data): Likewise.
17537 (fmod_test_data): Likewise.
17538 (fpclassify_test_data): Likewise.
17539 (frexp_test_data): Likewise.
17540 (ilogb_test_data): Likewise.
17541 (isfinite_test_data): Likewise.
17542 (isgreater_test_data): Likewise.
17543 (isgreaterequal_test_data): Likewise.
17544 (isinf_test_data): Likewise.
17545 (isless_test_data): Likewise.
17546 (islessequal_test_data): Likewise.
17547 (islessgreater_test_data): Likewise.
17548 (isnan_test_data): Likewise.
17549 (isnormal_test_data): Likewise.
17550 (issignaling_test_data): Likewise.
17551 (isunordered_test_data): Likewise.
17552 (ldexp_test_data): Likewise.
17553 (lrint_test_data): Likewise.
17554 (lrint_test_data) [TEST_FLOAT]: Disable one test.
17555 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17556 (lrint_tonearest_test_data): Test for "inexact" exceptions.
17557 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17558 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17559 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17561 (lrint_towardzero_test_data): Test for "inexact" exceptions.
17562 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17563 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17564 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17566 (lrint_downward_test_data): Test for "inexact" exceptions.
17567 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17568 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17569 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17571 (lrint_upward_test_data): Test for "inexact" exceptions.
17572 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17574 (llrint_test_data): Test for "inexact" exceptions.
17575 (llrint_test_data) [TEST_FLOAT]: Disable one test.
17576 (llrint_tonearest_test_data): Test for "inexact" exceptions.
17577 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17578 (llrint_towardzero_test_data): Test for "inexact" exceptions.
17579 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17580 (llrint_downward_test_data): Test for "inexact" exceptions.
17581 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17582 (llrint_upward_test_data): Test for "inexact" exceptions.
17583 (logb_test_data): Likewise.
17584 (logb_downward_test_data): Likewise.
17585 (nextafter_test_data): Likewise.
17586 (nexttoward_test_data): Likewise.
17587 (remainder_test_data): Likewise.
17588 (remquo_test_data): Likewise.
17589 (scalbn_test_data): Likewise.
17590 (scalbln_test_data): Likewise.
17591 (signbit_test_data): Likewise.
17592 (sqrt_test_data): Likewise.
17593 (significand_test_data): Likewise.
17595 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17598 * benchtests/bench-modf.c (struct args): Mark arg0 as
17600 * scripts/bench.pl: Mark members of struct args as volatile.
17602 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17605 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17606 negative infinity on POWER6 or lower.
17607 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17609 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17612 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17613 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17614 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17615 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17616 (_FP_SETQNAN): New macro.
17617 (_FP_SETQNAN_SEMIRAW): Likewise.
17618 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17619 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17620 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17621 (FP_EXTEND): Use _FP_FRAC_SNANP.
17622 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17623 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17625 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17627 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17630 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17632 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17633 with DIVIDE_BY_ZERO_EXCEPTION.
17634 (gamma_test_data): Likewise.
17635 (lgamma_test_data): Likewise.
17636 (log_test_data): Likewise.
17637 (log10_test_data): Likewise.
17638 (log2_test_data): Likewise.
17639 (tgamma_test_data): Likewise.
17641 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17642 (acos_test_tonearest): Likewise.
17643 (acos_test_towardzero): Likewise.
17644 (acos_test_downward): Likewise.
17645 (acos_test_upward): Likewise.
17646 (acosh_test): Likewise.
17647 (asin_test): Likewise.
17648 (asin_test_tonearest): Likewise.
17649 (asin_test_towardzero): Likewise.
17650 (asin_test_downward): Likewise.
17651 (asin_test_upward): Likewise.
17652 (asinh_test): Likewise.
17653 (atan_test): Likewise.
17654 (atanh_test): Likewise.
17655 (atan2_test): Likewise.
17656 (cabs_test): Likewise.
17657 (cacos_test): Likewise.
17658 (cacosh_test): Likewise.
17659 (casin_test): Likewise.
17660 (casinh_test): Likewise.
17661 (catan_test): Likewise.
17662 (catanh_test): Likewise.
17663 (cbrt_test): Likewise.
17664 (ccos_test): Likewise.
17665 (ccosh_test): Likewise.
17666 (cexp_test): Likewise.
17667 (clog_test): Likewise.
17668 (clog10_test): Likewise.
17669 (cos_test): Likewise.
17670 (cos_test_tonearest): Likewise.
17671 (cos_test_towardzero): Likewise.
17672 (cos_test_downward): Likewise.
17673 (cos_test_upward): Likewise.
17674 (cosh_test): Likewise.
17675 (cosh_test_tonearest): Likewise.
17676 (cosh_test_towardzero): Likewise.
17677 (cosh_test_downward): Likewise.
17678 (cosh_test_upward): Likewise.
17679 (cpow_test): Likewise.
17680 (csin_test): Likewise.
17681 (csinh_test): Likewise.
17682 (csqrt_test): Likewise.
17683 (ctan_test): Likewise.
17684 (ctan_test_tonearest): Likewise.
17685 (ctan_test_towardzero): Likewise.
17686 (ctan_test_downward): Likewise.
17687 (ctan_test_upward): Likewise.
17688 (ctanh_test): Likewise.
17689 (ctanh_test_tonearest): Likewise.
17690 (ctanh_test_towardzero): Likewise.
17691 (ctanh_test_downward): Likewise.
17692 (ctanh_test_upward): Likewise.
17693 (erf_test): Likewise.
17694 (erfc_test): Likewise.
17695 (exp_test): Likewise.
17696 (exp_test_tonearest): Likewise.
17697 (exp_test_towardzero): Likewise.
17698 (exp_test_downward): Likewise.
17699 (exp_test_upward): Likewise.
17700 (exp10_test): Likewise.
17701 (exp2_test): Likewise.
17702 (expm1_test): Likewise.
17703 (fmod_test): Likewise.
17704 (gamma_test): Likewise.
17705 (hypot_test): Likewise.
17706 (j0_test): Likewise.
17707 (j1_test): Likewise.
17708 (jn_test): Likewise.
17709 (lgamma_test): Likewise.
17710 (log_test): Likewise.
17711 (log10_test): Likewise.
17712 (log1p_test): Likewise.
17713 (log2_test): Likewise.
17714 (logb_test_downward): Likewise.
17715 (pow_test): Likewise.
17716 (pow_test_tonearest): Likewise.
17717 (pow_test_towardzero): Likewise.
17718 (pow_test_downward): Likewise.
17719 (pow_test_upward): Likewise.
17720 (remainder_test): Likewise.
17721 (remquo_test): Likewise.
17722 (sin_test): Likewise.
17723 (sin_test_tonearest): Likewise.
17724 (sin_test_towardzero): Likewise.
17725 (sin_test_downward): Likewise.
17726 (sin_test_upward): Likewise.
17727 (sincos_test): Likewise.
17728 (sinh_test): Likewise.
17729 (sinh_test_tonearest): Likewise.
17730 (sinh_test_towardzero): Likewise.
17731 (sinh_test_downward): Likewise.
17732 (sinh_test_upward): Likewise.
17733 (sqrt_test): Likewise.
17734 (tan_test): Likewise.
17735 (tan_test_tonearest): Likewise.
17736 (tan_test_towardzero): Likewise.
17737 (tan_test_downward): Likewise.
17738 (tan_test_upward): Likewise.
17739 (tanh_test): Likewise.
17740 (tgamma_test): Likewise.
17741 (y0_test): Likewise.
17742 (y1_test): Likewise.
17743 (yn_test): Likewise.
17745 * math/gen-libm-test.pl (adjust_arg): Remove function.
17746 (special_function): Remove argument $in_func. Only handle
17747 generating output for tables of tests, not inside functions.
17748 (parse_args): Likewise.
17749 (generate_testfile): Remove variable $in_func. Update call to
17751 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
17752 (MINUS_ZERO_INIT): Rename macro to minus_zero.
17753 (PLUS_INFTY_INIT): Rename macro to plus_infty.
17754 (MINUS_INFTY_INIT): Rename macro to minus_infty.
17755 (QNAN_VALUE_INIT): Rename macro to qnan_value.
17756 (MAX_VALUE_INIT): Rename macro to max_value.
17757 (MIN_VALUE_INIT): Rename macro to min_value.
17758 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
17759 (plus_zero): Remove variable.
17760 (minus_zero): Likewise.
17761 (plus_infty): Likewise.
17762 (minus_infty): Likewise.
17763 (qnan_value): Likewise.
17764 (max_value): Likewise.
17765 (min_value): Likewise.
17766 (min_subnorm_value): Likewise.
17768 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17770 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
17771 uint64_t or uint32_t usage.
17772 * crypt/sha256-block.c: Likewise.
17773 * crypt/sha256-crypt.c: Likewise.
17774 * crypt/sha256.c: Likewise.
17775 * crypt/sha512-block.c: Likewise.
17776 * crypt/sha512-crypt.c: Likewise.
17777 * crypt/sha512.c: Likewise.
17778 * debug/backtrace-tst.c: Likewise.
17779 * debug/pcprofiledump.c: Likewise.
17780 * elf/cache.c: Likewise.
17781 * elf/dl-cache.c: Likewise.
17782 * elf/dl-misc.c: Likewise.
17783 * elf/dl-profile.c: Likewise.
17784 * elf/dl-support.c: Likewise.
17785 * elf/ldconfig.c: Likewise.
17786 * elf/sprof.c: Likewise.
17787 * iconv/dummy-repertoire.c: Likewise.
17788 * iconv/iconv_charmap.c: Likewise.
17789 * iconv/skeleton.c: Likewise.
17790 * iconvdata/8bit-generic.c: Likewise.
17791 * iconvdata/cp737.h: Likewise.
17792 * iconvdata/cp775.h: Likewise.
17793 * iconvdata/ibm1008.h: Likewise.
17794 * iconvdata/ibm1025.h: Likewise.
17795 * iconvdata/ibm1046.h: Likewise.
17796 * iconvdata/ibm1097.h: Likewise.
17797 * iconvdata/ibm1112.h: Likewise.
17798 * iconvdata/ibm1122.h: Likewise.
17799 * iconvdata/ibm1123.h: Likewise.
17800 * iconvdata/ibm1124.h: Likewise.
17801 * iconvdata/ibm1129.h: Likewise.
17802 * iconvdata/ibm1130.h: Likewise.
17803 * iconvdata/ibm1132.h: Likewise.
17804 * iconvdata/ibm1133.h: Likewise.
17805 * iconvdata/ibm1137.h: Likewise.
17806 * iconvdata/ibm1140.h: Likewise.
17807 * iconvdata/ibm1141.h: Likewise.
17808 * iconvdata/ibm1142.h: Likewise.
17809 * iconvdata/ibm1143.h: Likewise.
17810 * iconvdata/ibm1144.h: Likewise.
17811 * iconvdata/ibm1145.h: Likewise.
17812 * iconvdata/ibm1146.h: Likewise.
17813 * iconvdata/ibm1147.h: Likewise.
17814 * iconvdata/ibm1148.h: Likewise.
17815 * iconvdata/ibm1149.h: Likewise.
17816 * iconvdata/ibm1153.h: Likewise.
17817 * iconvdata/ibm1154.h: Likewise.
17818 * iconvdata/ibm1155.h: Likewise.
17819 * iconvdata/ibm1156.h: Likewise.
17820 * iconvdata/ibm1157.h: Likewise.
17821 * iconvdata/ibm1158.h: Likewise.
17822 * iconvdata/ibm1160.h: Likewise.
17823 * iconvdata/ibm1161.h: Likewise.
17824 * iconvdata/ibm1162.h: Likewise.
17825 * iconvdata/ibm1163.h: Likewise.
17826 * iconvdata/ibm1164.h: Likewise.
17827 * iconvdata/ibm1166.h: Likewise.
17828 * iconvdata/ibm1167.h: Likewise.
17829 * iconvdata/ibm12712.h: Likewise.
17830 * iconvdata/ibm1390.h: Likewise.
17831 * iconvdata/ibm1399.h: Likewise.
17832 * iconvdata/ibm16804.h: Likewise.
17833 * iconvdata/ibm4517.h: Likewise.
17834 * iconvdata/ibm4899.h: Likewise.
17835 * iconvdata/ibm4909.h: Likewise.
17836 * iconvdata/ibm4971.h: Likewise.
17837 * iconvdata/ibm5347.h: Likewise.
17838 * iconvdata/ibm803.h: Likewise.
17839 * iconvdata/ibm856.h: Likewise.
17840 * iconvdata/ibm901.h: Likewise.
17841 * iconvdata/ibm902.h: Likewise.
17842 * iconvdata/ibm9030.h: Likewise.
17843 * iconvdata/ibm9066.h: Likewise.
17844 * iconvdata/ibm921.h: Likewise.
17845 * iconvdata/ibm922.h: Likewise.
17846 * iconvdata/ibm9448.h: Likewise.
17847 * iconvdata/isiri-3342.h: Likewise.
17848 * iconvdata/jis0201.h: Likewise.
17849 * include/link.h: Likewise.
17850 * include/netdb.h: Likewise.
17851 * inet/check_native.c: Likewise.
17852 * inet/check_pf.c: Likewise.
17853 * inet/getipv4sourcefilter.c: Likewise.
17854 * inet/getnameinfo.c: Likewise.
17855 * inet/getsourcefilter.c: Likewise.
17856 * inet/htonl.c: Likewise.
17857 * inet/setipv4sourcefilter.c: Likewise.
17858 * inet/setsourcefilter.c: Likewise.
17859 * inet/test-inet6_opt.c: Likewise.
17860 * inet/tst-network.c: Likewise.
17861 * locale/C-collate.c: Likewise.
17862 * locale/C-ctype.c: Likewise.
17863 * locale/C-time.c: Likewise.
17864 * locale/C-translit.h: Likewise.
17865 * locale/loadarchive.c: Likewise.
17866 * locale/programs/3level.h: Likewise.
17867 * locale/programs/charmap.c: Likewise.
17868 * locale/programs/charmap.h: Likewise.
17869 * locale/programs/ld-address.c: Likewise.
17870 * locale/programs/ld-collate.c: Likewise.
17871 * locale/programs/ld-ctype.c: Likewise.
17872 * locale/programs/ld-identification.c: Likewise.
17873 * locale/programs/ld-measurement.c: Likewise.
17874 * locale/programs/ld-messages.c: Likewise.
17875 * locale/programs/ld-monetary.c: Likewise.
17876 * locale/programs/ld-name.c: Likewise.
17877 * locale/programs/ld-numeric.c: Likewise.
17878 * locale/programs/ld-paper.c: Likewise.
17879 * locale/programs/ld-telephone.c: Likewise.
17880 * locale/programs/ld-time.c: Likewise.
17881 * locale/programs/linereader.c: Likewise.
17882 * locale/programs/locale.c: Likewise.
17883 * locale/programs/locarchive.c: Likewise.
17884 * locale/programs/locfile.h: Likewise.
17885 * locale/programs/repertoire.c: Likewise.
17886 * locale/programs/simple-hash.c: Likewise.
17887 * locale/programs/simple-hash.h: Likewise.
17888 * malloc/memusage.c: Likewise.
17889 * malloc/memusagestat.c: Likewise.
17890 * nis/nis_defaults.c: Likewise.
17891 * nis/nis_hash.c: Likewise.
17892 * nis/nis_print.c: Likewise.
17893 * nis/nis_xdr.c: Likewise.
17894 * nscd/connections.c: Likewise.
17895 * nscd/hstcache.c: Likewise.
17896 * nscd/nscd_gethst_r.c: Likewise.
17897 * nscd/nscd_getserv_r.c: Likewise.
17898 * nscd/nscd_helper.c: Likewise.
17899 * nscd/servicescache.c: Likewise.
17900 * nss/makedb.c: Likewise.
17901 * nss/nss_db/db-XXX.c: Likewise.
17902 * nss/nss_db/db-initgroups.c: Likewise.
17903 * nss/nss_db/db-netgrp.c: Likewise.
17904 * nss/nss_files/files-network.c: Likewise.
17905 * nss/nss_files/files-parse.c: Likewise.
17906 * posix/bug-regex5.c: Likewise.
17907 * posix/fnmatch_loop.c: Likewise.
17908 * posix/regcomp.c: Likewise.
17909 * posix/regexec.c: Likewise.
17910 * posix/tst-rfc3484-2.c: Likewise.
17911 * posix/tst-rfc3484-3.c: Likewise.
17912 * posix/tst-rfc3484.c: Likewise.
17913 * resolv/nss_dns/dns-canon.c: Likewise.
17914 * resolv/nss_dns/dns-network.c: Likewise.
17915 * resolv/res_init.c: Likewise.
17916 * resolv/res_mkquery.c: Likewise.
17917 * resolv/tst-aton.c: Likewise.
17918 * stdlib/cxa_atexit.c: Likewise.
17919 * stdlib/cxa_finalize.c: Likewise.
17920 * stdlib/gen-fpioconst.c: Likewise.
17921 * stdlib/strtol_l.c: Likewise.
17922 * string/tst-endian.c: Likewise.
17923 * sunrpc/auth_des.c: Likewise.
17924 * sunrpc/clnt_udp.c: Likewise.
17925 * sunrpc/rtime.c: Likewise.
17926 * sunrpc/svcauth_des.c: Likewise.
17927 * sunrpc/xdr.c: Likewise.
17928 * sunrpc/xdr_intXX_t.c: Likewise.
17929 * sunrpc/xdr_rec.c: Likewise.
17930 * sysdeps/generic/ldconfig.h: Likewise.
17931 * sysdeps/generic/ldsodefs.h: Likewise.
17932 * sysdeps/generic/memusage.h: Likewise.
17933 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17934 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
17935 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
17936 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17937 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17938 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17939 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17940 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17941 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17942 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17943 * sysdeps/posix/getaddrinfo.c: Likewise.
17944 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17945 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17946 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17947 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17948 * sysdeps/powerpc/test-gettimebase.c: Likewise.
17949 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17950 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
17951 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
17952 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17953 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
17954 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17955 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17956 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
17957 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
17958 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
17959 * sysdeps/x86_64/dl-tls.h: Likewise.
17960 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
17961 * time/alt_digit.c: Likewise.
17962 * time/era.c: Likewise.
17963 * wcsmbs/tst-c16c32-1.c: Likewise.
17965 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17967 * math/libm-test.inc (struct test_sincos_data): New type.
17968 (RUN_TEST_LOOP_sincos): New macro.
17969 (sincos_test_data): New variable.
17970 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
17972 2013-05-16 Richard Henderson <rth@redhat.com>
17974 * math/atest-exp2.c (LIMB64): New macro.
17975 (CONSTSZ): New macro.
17976 (mp_exp1, mp_exp_m1, mp_log2): New variables.
17978 (print_mpn_fp): ... to function scope.
17979 (read_mpn_hex): Remove.
17980 (get_log2): Remove.
17981 (exp2_mpn): Use mp_log2.
17982 (main): Use mp_exp1.
17984 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17986 * math/libm-test.inc: Remove comment about not testing "inexact"
17988 (INEXACT_EXCEPTION): New macro.
17989 (NO_INEXACT_EXCEPTION): Likewise.
17990 (INVALID_EXCEPTION_OK): Update value.
17991 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17992 (OVERFLOW_EXCEPTION_OK): Likewise.
17993 (UNDERFLOW_EXCEPTION_OK): Likewise.
17994 (IGNORE_ZERO_INF_SIGN): Likewise.
17995 (ERRNO_UNCHANGED): Likewise.
17996 (ERRNO_EDOM): Likewise.
17997 (ERRNO_ERANGE): Likewise.
17998 (test_exceptions): Handle testing "inexact" exceptions.
17999 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18000 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
18001 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
18002 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
18004 (rint_towardzero_test_data): Likewise.
18005 (rint_downward_test_data): Likewise.
18006 (rint_upward_test_data): Likewise.
18008 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
18009 with OVERFLOW_EXCEPTION.
18010 (exp10_test_data): Likewise.
18011 (exp2_test_data): Likewise.
18012 (expm1_test_data): Likewise.
18013 (lgamma_test_data): Likewise.
18014 (pow_test_data): Likewise.
18015 (tgamma_test_data): Likewise.
18016 (yn_test_data): Remove duplicate test of overflow.
18018 * math/libm-test.inc (struct test_cc_c_data): New type.
18019 (RUN_TEST_LOOP_cc_c): New macro.
18020 (cpow_test_data): New variable.
18021 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18023 * math/libm-test.inc (struct test_f_L_data): New type.
18024 (RUN_TEST_LOOP_f_L): New macro.
18025 (llrint_test_data): New variable.
18026 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18027 (llrint_tonearest_test_data): New variable.
18028 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18029 (llrint_towardzero_test_data): New variable.
18030 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18031 (llrint_downward_test_data): New variable.
18032 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18033 (llrint_upward_test_data): New variable.
18034 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18035 (llround_test_data): New variable.
18036 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18038 2013-05-13 Peter Collingbourne <pcc@google.com>
18040 * math/atest-exp2.c (get_log2): Remove const attribute.
18042 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18044 * math/libm-test.inc (struct test_f_l_data): New type.
18045 (RUN_TEST_LOOP_f_l): New macro.
18046 (lrint_test_data): New variable.
18047 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18048 (lrint_tonearest_test_data): New variable.
18049 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18050 (lrint_towardzero_test_data): New variable.
18051 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18052 (lrint_downward_test_data): New variable.
18053 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18054 (lrint_upward_test_data): New variable.
18055 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18056 (lround_test_data): New variable.
18057 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18059 2013-05-15 Peter Collingbourne <pcc@google.com>
18061 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18062 (EXTRACT_WORDS64) Use where appropriate.
18063 (INSERT_WORDS64) Likewise.
18065 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18066 constraints with x constraints.
18067 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18069 * malloc/obstack.c (_obstack_compat): Add initializer.
18071 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
18073 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18074 si_trapno and add si_addr_lsb to _sifields.sigfault.
18075 (si_trapno): Remove macro.
18076 (si_addr_lsb): Define new macro.
18077 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18079 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18081 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18082 instead of TEST_f_l.
18083 (llrint_test_tonearest): Likewise.
18084 (llrint_test_towardzero): Likewise.
18085 (llrint_test_downward): Likewise.
18086 (llrint_test_upward): Likewise.
18087 (llround_test): Likewise.
18089 * math/libm-test.inc (struct test_f_i_data): Add comment.
18090 (RUN_TEST_LOOP_f_b): New macro.
18091 (RUN_TEST_LOOP_f_b_tg): Likewise.
18092 (finite_test_data): New variable.
18093 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18094 (isfinite_test_data): New variable.
18095 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18096 (isinf_test_data): New variable.
18097 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18098 (isnan_test_data): New variable.
18099 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18100 (isnormal_test_data): New variable.
18101 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18102 (issignaling_test_data): New variable.
18103 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18104 (signbit_test_data): New variable.
18105 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18107 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18108 with INVALID_EXCEPTION.
18109 (acosh_test_data): Likewise.
18110 (asin_test_data): Likewise.
18111 (atanh_test_data): Likewise.
18112 (fmod_test_data): Likewise.
18113 (log_test_data): Likewise.
18114 (log10_test_data): Likewise.
18115 (log2_test_data): Likewise.
18116 (pow_test_data): Likewise.
18117 (sqrt_test_data): Likewise.
18118 (y0_test_data): Likewise.
18119 (y1_test_data): Likewise.
18120 (yn_test_data): Likewise.
18122 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18125 * math/libm-test.inc (struct test_ff_i_data): New type.
18126 (RUN_TEST_LOOP_ff_i_tg): New macro.
18127 (isgreater_test_data): New variable.
18128 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18129 (isgreaterequal_test_data): New variable.
18130 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18131 (isless_test_data): New variable.
18132 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18133 (islessequal_test_data): New variable.
18134 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18135 (islessgreater_test_data): New variable.
18136 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18137 (isunordered_test_data): New variable.
18138 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18140 2013-05-14 David S. Miller <davem@davemloft.net>
18142 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18144 2013-05-14 Joseph Myers <joseph@codesourcery.com>
18146 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
18148 * math/libm-test.inc (struct test_fF_f1_data): Change type of
18150 (struct test_f_i_data): Change type of max_ulp to int.
18152 * math/libm-test.inc (test_ffI_f1_data): New type.
18153 (RUN_TEST_LOOP_ffI_f1): New macro.
18154 (remquo_test_data): New variable.
18155 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
18157 * setjmp/tst-setjmp-fp.c: New file.
18158 * setjmp/Makefile (tests): Add tst-setjmp-fp.
18159 (link-libm): New variable.
18160 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
18162 * math/libm-test.inc (struct test_f_i_data): New type.
18163 (RUN_TEST_LOOP_f_i): New macro.
18164 (RUN_TEST_LOOP_f_i_tg): Likewise.
18165 (fpclassify_test_data): New variable.
18166 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18167 (ilogb_test_data): New variable.
18168 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
18170 * math/libm-test.inc (scalbln_test): Correct function name in END
18173 * math/libm-test.inc (struct test_f_f1_data): Add comment.
18174 (RUN_TEST_LOOP_fI_f1): New macro.
18175 (frexp_test_data): New variable.
18176 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
18178 * math/libm-test.inc (struct test_fF_f1_data): New type.
18179 (RUN_TEST_LOOP_fF_f1): New macro.
18180 (modf_test_data): New variable.
18181 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
18183 * math/libm-test.inc (struct test_f_f1_data): New type.
18184 (RUN_TEST_LOOP_f_f1): New macro.
18185 (gamma_test_data): New variable.
18186 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18187 (lgamma_test_data): New variable.
18188 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18190 2013-05-13 Carlos O'Donell <carlos@redhat.com>
18192 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
18193 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
18194 (main): Comment "tls" pseudo-hwcap.
18196 2013-05-13 Joseph Myers <joseph@codesourcery.com>
18198 * math/libm-test.inc (struct test_fl_f_data): New type.
18199 (RUN_TEST_LOOP_fl_f): New variable.
18200 (scalbln_test_data): New variable.
18201 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
18203 * math/libm-test.inc (struct test_fi_f_data): New type.
18204 (RUN_TEST_LOOP_fi_f): New macro.
18205 (ldexp_test_data): New variable.
18206 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
18207 (scalbn_test_data): New variable.
18208 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
18210 * math/libm-test.inc (struct test_c_f_data): New type.
18211 (RUN_TEST_LOOP_c_f): New macro.
18212 (cabs_test_data): New variable.
18213 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
18214 (carg_test_data): New variable.
18215 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
18216 (cimag_test_data): New variable.
18217 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
18218 (creal_test_data): New variable.
18219 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
18221 * math/libm-test.inc (struct test_if_f_data): New type.
18222 (RUN_TEST_LOOP_if_f): New macro.
18223 (jn_test_data): New variable.
18224 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
18225 (yn_test_data): New variable.
18226 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
18228 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
18230 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18232 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
18233 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
18235 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18237 * benchtests/Makefile (CPPFLAGS-nonlib): Add
18238 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
18239 (bench-deps): Add bench-timing.h.
18240 * benchtests-bench-skeleton.c: Include bench-timing.h.
18241 (main): Use TIMING_* macros instead of clock_gettime.
18242 * benchtests/bench-timing.h: New file.
18245 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
18246 Renamed from _LIB_VERSION.
18247 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
18249 2013-05-12 Joseph Myers <joseph@codesourcery.com>
18251 * math/libm-test.inc (struct test_fff_f_data): New type.
18252 (RUN_TEST_LOOP_fff_f): New macro.
18253 (fma_test_data): New variable.
18254 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
18255 (fma_towardzero_test_data): New variable.
18256 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
18257 (fma_downward_test_data): New variable.
18258 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
18259 (fma_upward_test_data): New variable.
18260 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
18262 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
18263 (struct test_c_c_data): New type.
18264 (RUN_TEST_LOOP_c_c): New macro.
18265 (cacos_test_data): New variable.
18266 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
18267 (cacosh_test_data): New variable.
18268 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
18269 (casin_test_data): New variable.
18270 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
18271 (casinh_test_data): New variable.
18272 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
18273 (catan_test_data): New variable.
18274 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
18275 (catanh_test_data): New variable.
18276 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
18277 (ccos_test_data): New variable.
18278 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
18279 (ccosh_test_data): New variable.
18280 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
18281 (cexp_test_data): New variable.
18282 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
18283 (clog_test_data): New variable.
18284 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
18285 (clog10_test_data): New variable.
18286 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
18287 (conj_test_data): New variable.
18288 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
18289 (cproj_test_data): New variable.
18290 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
18291 (csin_test_data): New variable.
18292 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
18293 (csinh_test_data): New variable.
18294 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
18295 (csqrt_test_data): New variable.
18296 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
18297 (ctan_test_data): New variable.
18298 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
18299 (ctan_tonearest_test_data): New variable.
18300 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18301 (ctan_towardzero_test_data): New variable.
18302 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18303 (ctan_downward_test_data): New variable.
18304 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18305 (ctan_upward_test_data): New variable.
18306 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18307 (ctanh_test_data): New variable.
18308 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
18309 (ctanh_tonearest_test_data): New variable.
18310 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18311 (ctanh_towardzero_test_data): New variable.
18312 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18313 (ctanh_downward_test_data): New variable.
18314 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18315 (ctanh_upward_test_data): New variable.
18316 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18317 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
18320 * math/libm-test.inc (struct test_ff_f_data): New type.
18321 (struct test_ff_f_data_nexttoward): Likewise.
18322 (RUN_TEST_LOOP_2_f): New macro.
18323 (RUN_TEST_LOOP_ff_f): Likewise.
18324 (atan2_test_data): New variable.
18325 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
18326 (copysign_test_data): New variable.
18327 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
18328 (fdim_test_data): New variable.
18329 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
18330 (fmax_test_data): New variable.
18331 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
18332 (fmin_test_data): New variable.
18333 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
18334 (fmod_test_data): New variable.
18335 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
18336 (hypot_test_data): New variable.
18337 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
18338 (nextafter_test_data): New variable.
18339 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
18340 (nexttoward_test_data): New variable.
18341 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
18342 (pow_test_data): New variable.
18343 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
18344 (pow_tonearest_test_data): New variable.
18345 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
18346 (pow_towardzero_test_data): New variable.
18347 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
18348 (pow_downward_test_data): New variable.
18349 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
18350 (pow_upward_test_data): New variable.
18351 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
18352 (remainder_test_data): New variable.
18353 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
18354 (scalb_test_data): New variable.
18355 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
18356 * sysdeps/i386/fpu/libm-test-ulps: Update.
18358 2013-05-11 Joseph Myers <joseph@codesourcery.com>
18360 * math/libm-test.inc (fma_test): Use max_value instead of local
18362 (nextafter_test): Likewise.
18364 * math/libm-test.inc (acos_towardzero_test_data): New variable.
18365 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18366 (acos_downward_test_data): New variable.
18367 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18368 (acos_upward_test_data): New variable.
18369 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18370 (acosh_test_data): New variable.
18371 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
18372 (asin_test_data): New variable.
18373 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
18374 (asin_tonearest_test_data): New variable.
18375 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18376 (asin_towardzero_test_data): New variable.
18377 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18378 (asin_downward_test_data): New variable.
18379 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18380 (asin_upward_test_data): New variable.
18381 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18382 (asinh_test_data): New variable.
18383 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
18384 (atan_test_data): New variable.
18385 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
18386 (atanh_test_data): New variable.
18387 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
18388 (cbrt_test_data): New variable.
18389 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
18390 (ceil_test_data): New variable.
18391 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
18392 (cos_test_data): New variable.
18393 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
18394 (cos_tonearest_test_data): New variable.
18395 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18396 (cos_towardzero_test_data): New variable.
18397 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18398 (cos_downward_test_data): New variable.
18399 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18400 (cos_upward_test_data): New variable.
18401 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18402 (cosh_test_data): New variable.
18403 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
18404 (cosh_tonearest_test_data): New variable.
18405 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18406 (cosh_towardzero_test_data): New variable.
18407 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18408 (cosh_downward_test_data): New variable.
18409 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18410 (cosh_upward_test_data): New variable.
18411 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18412 (erf_test_data): New variable.
18413 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
18414 (erfc_test_data): New variable.
18415 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
18416 (exp_test_data): New variable.
18417 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
18418 (exp_tonearest_test_data): New variable.
18419 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18420 (exp_towardzero_test_data): New variable.
18421 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18422 (exp_downward_test_data): New variable.
18423 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18424 (exp_upward_test_data): New variable.
18425 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18426 (exp10_test_data): New variable.
18427 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
18428 (exp2_test_data): New variable.
18429 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
18430 (expm1_test_data): New variable.
18431 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
18432 (fabs_test_data): New variable.
18433 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
18434 (floor_test_data): New variable.
18435 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
18436 (j0_test_data): New variable.
18437 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
18438 (j1_test_data): New variable.
18439 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
18440 (log_test_data): New variable.
18441 (log_test): Run tests with RUN_TEST_LOOP_f_f.
18442 (log10_test_data): New variable.
18443 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
18444 (log1p_test_data): New variable.
18445 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
18446 (log2_test_data): New variable.
18447 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
18448 (logb_test_data): New variable.
18449 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
18450 (logb_downward_test_data): New variable.
18451 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18452 (nearbyint_test_data): New variable.
18453 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
18454 (rint_test_data): New variable.
18455 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
18456 (rint_tonearest_test_data): New variable.
18457 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18458 (rint_towardzero_test_data): New variable.
18459 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18460 (rint_downward_test_data): New variable.
18461 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18462 (rint_upward_test_data): New variable.
18463 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18464 (round_test_data): New variable.
18465 (round_test): Run tests with RUN_TEST_LOOP_f_f.
18466 (sin_test_data): New variable.
18467 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
18468 (sin_tonearest_test_data): New variable.
18469 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18470 (sin_towardzero_test_data): New variable.
18471 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18472 (sin_downward_test_data): New variable.
18473 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18474 (sin_upward_test_data): New variable.
18475 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18476 (sinh_test_data): New variable.
18477 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18478 (sinh_tonearest_test_data): New variable.
18479 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18480 (sinh_towardzero_test_data): New variable.
18481 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18482 (sinh_downward_test_data): New variable.
18483 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18484 (sinh_upward_test_data): New variable.
18485 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18486 (sqrt_test_data): New variable.
18487 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18488 (tan_test_data): New variable.
18489 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18490 (tan_tonearest_test_data): New variable.
18491 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18492 (tan_towardzero_test_data): New variable.
18493 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18494 (tan_downward_test_data): New variable.
18495 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18496 (tan_upward_test_data): New variable.
18497 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18498 (tanh_test_data): New variable.
18499 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18500 (tgamma_test_data): New variable.
18501 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18502 (trunc_test_data): New variable.
18503 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18504 (y0_test_data): New variable.
18505 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18506 (y1_test_data): New variable.
18507 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18508 (significand_test_data): New variable.
18509 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18511 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
18514 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18516 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
18518 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18520 2013-05-10 Andreas Jaeger <aj@suse.de>
18523 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18524 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18526 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18528 * math/gen-libm-test.pl (adjust_arg): New function.
18529 (special_functions): Handle generating output in both functions
18531 (parse_args): Likewise.
18532 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
18533 $in_func argument to parse_args.
18534 * math/libm-test.inc (struct test_f_f_data): New type.
18535 (IF_ROUND_INIT_): New macro.
18536 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18537 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18538 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18539 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18540 (ROUND_RESTORE_): Likewise.
18541 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18542 (ROUND_RESTORE_FE_TONEAREST): Likewise.
18543 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18544 (ROUND_RESTORE_FE_UPWARD): Likewise.
18545 (RUN_TEST_LOOP_f_f): New macro.
18546 (acos_test_data): New variable.
18547 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18548 (acos_tonearest_test_data): New variable.
18549 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18551 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18553 * benchtests/bench-skeleton.c (startup): Fix coding style.
18555 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18558 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18559 negative infinity argument.
18560 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18561 negative infinity argument.
18562 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18563 negative infinity argument.
18564 * math/libm-test.inc (tgamma_test): Expect errno to be set for
18567 2013-05-10 Florian Weimer <fweimer@redhat.com>
18569 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18570 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18571 * iconv/iconv_prog.c (main): Likewise.
18572 * locale/programs/charmap-dir.c (charmap_readdir)
18573 (fopen_uncompressed): Likewise.
18574 * locale/programs/locfile.c (siblings_uncached)
18575 (write_locale_data): Use lstat64 instead of lstat.
18576 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18579 2013-05-10 Andreas Jaeger <aj@suse.de>
18582 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18584 Include <locale.h>.
18586 2013-05-09 Carlos O'Donell <carlos@redhat.com>
18588 * elf/dl-close.c (_dl_close_worker): Add comments.
18590 2013-05-09 Joseph Myers <joseph@codesourcery.com>
18593 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18595 (__ieee754_rem_pio2l): Update comments.
18598 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18600 (__ieee754_rem_pio2l): Update comments.
18602 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18603 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18605 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18608 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18609 (M_PI_34_LOG10El): Likewise.
18610 (M_PI2_LOG10El): Likewise.
18611 (M_PI4_LOG10El): Likewise.
18612 (M_PI_LOG10El): Likewise.
18614 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18616 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18618 2013-05-08 Joseph Myers <joseph@codesourcery.com>
18620 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18621 (MINUS_ZERO_INIT): Likewise.
18622 (PLUS_INFTY_INIT): Likewise.
18623 (MINUS_INFTY_INIT): Likewise.
18624 (QNAN_VALUE_INIT): Likewise.
18625 (MAX_VALUE_INIT): Likewise.
18626 (MIN_VALUE_INIT): Likewise.
18627 (MIN_SUBNORM_VALUE_INIT): Likewise.
18628 (plus_zero): Initialize with PLUS_ZERO_INIT.
18629 (minus_zero): Initialize with MINUS_ZERO_INIT.
18630 (plus_infty): Initialize with PLUS_INFTY_INIT.
18631 (minus_infty): Initialize with MINUS_INFTY_INIT.
18632 (qnan_value): Initialize with QNAN_VALUE_INIT.
18633 (max_value): Initialize with MAX_VALUE_INIT.
18634 (min_value): Initialize with MIN_VALUE_INIT.
18635 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18637 * math/libm-test.inc (RUN_TEST_if_f): New macro.
18638 (jn_test): Use TEST_if_f instead of TEST_ff_f.
18639 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18640 (yn_test): Use TEST_if_f instead of TEST_ff_f.
18642 * math/libm-test.inc (RUN_TEST_f_f): New macro.
18643 (RUN_TEST_2_f): Likewise.
18644 (RUN_TEST_ff_f): Likewise.
18645 (RUN_TEST_fi_f): Likewise.
18646 (RUN_TEST_fl_f): Likewise.
18647 (RUN_TEST_fff_f): Likewise.
18648 (RUN_TEST_c_f): Likewise.
18649 (RUN_TEST_f_f1): Likewise.
18650 (RUN_TEST_fF_f1): Likewise.
18651 (RUN_TEST_fI_f1): Likewise.
18652 (RUN_TEST_ffI_f1): Likewise.
18653 (RUN_TEST_c_c): Likewise.
18654 (RUN_TEST_cc_c): Likewise.
18655 (RUN_TEST_f_i): Likewise.
18656 (RUN_TEST_f_i_tg): Likewise.
18657 (RUN_TEST_ff_i_tg): Likewise.
18658 (RUN_TEST_f_b): Likewise.
18659 (RUN_TEST_f_b_tg): Likewise.
18660 (RUN_TEST_f_l): Likewise.
18661 (RUN_TEST_f_L): Likewise.
18662 (RUN_TEST_sincos): Likewise.
18663 * math/gen-libm-test.pl (new_test): Take new argument to indicate
18664 whether to show exceptions. Do not include ");\n" in return
18666 (special_functions): Output call to RUN_TEST_sincos instead of
18667 check_float calls. Update calls to new_test.
18668 (parse_args): Output call to single RUN_TEST_* macro instead of
18669 check_* calls and other assignments. Update calls to new_test.
18675 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
18676 input to result for tgamma overflow.
18677 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
18678 (gamma_coeff): New variable.
18679 (NCOEFF): New macro.
18680 (gamma_positive): New function.
18681 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
18682 underflow here. Use gamma_positive instead of exp (lgamma) for
18684 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
18685 (gamma_coeff): New variable.
18686 (NCOEFF): New macro.
18687 (gammaf_positive): New function.
18688 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
18689 underflow here. Use gamma_positive instead of exp (lgamma) for
18691 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
18692 (gamma_coeff): New variable.
18693 (NCOEFF): New macro.
18694 (gammal_positive): New function.
18695 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
18696 underflow here. Use gamma_positive instead of exp (lgamma) for
18698 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
18699 (gamma_coeff): New variable.
18700 (NCOEFF): New macro.
18701 (gammal_positive): New function.
18702 (__ieee754_gammal_r): Handle positive infinity, overflow and
18703 underflow here. Handle NaN the same as positive infinity. Remove
18704 check x < 0xffffffff for negative integers. Use gamma_positive
18705 instead of exp (lgamma) for other arguments.
18706 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
18707 (gamma_coeff): New variable.
18708 (NCOEFF): New macro.
18709 (gammal_positive): New function.
18710 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
18711 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18712 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
18713 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
18714 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18715 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
18716 * sysdeps/generic/math_private.h (__gamma_productf): New
18718 (__gamma_product): Likewise.
18719 (__gamma_productl): Likewise.
18720 * math/Makefile (libm-calls): Add gamma_product.
18721 * math/libm-test.inc (tgamma_test): Add more tests.
18722 * sysdeps/i386/fpu/libm-test-ulps: Update.
18723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18725 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
18727 * benchtests/bench-skeleton.c (main): Preheat CPU.
18729 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
18731 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
18733 2013-05-07 Roland McGrath <roland@hack.frob.com>
18735 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
18736 and _dl_skip_args_internal.
18738 2013-05-07 Carlos O'Donell <carlos@redhat.com>
18740 * manual/message.texi (Message Translation): Talk about users.
18741 Message to key mapping impacts design.
18743 2013-05-06 Roland McGrath <roland@hack.frob.com>
18745 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
18747 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
18749 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
18750 * sysdeps/wordsize-64/glob64.c: ... here.
18752 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
18753 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
18756 * debug/getlogin_r_chk.c: Moved to ...
18757 * login/getlogin_r_chk.c: ... here.
18758 * debug/Makefile (routines): Move getlogin_r_chk to ...
18759 * login/Makefile (routines): ... here.
18760 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
18761 * login/Versions (libc: GLIBC_2.4): ... here.
18763 * io/poll.c (__poll): Renamed from poll.
18764 Add libc_hidden_def.
18765 (poll): Define as weak alias.
18767 * debug/ptsname_r_chk.c: Moved to ...
18768 * login/ptsname_r_chk.c: ... here.
18769 * debug/Makefile (routines): Move ptsname_r_chk to ...
18770 * login/Makefile (routines): ... here.
18771 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
18772 * login/Versions (libc: GLIBC_2.4): ... here.
18774 * posix/getlogin.c: Moved to ...
18775 * login/getlogin.c: ... here.
18776 * posix/getlogin_r.c: Moved to ...
18777 * login/getlogin_r.c: ... here.
18778 * posix/getlogin_r.c: Moved to ...
18779 * login/getlogin_r.c: ... here.
18780 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
18781 * login/Makefile (routines): ... here.
18782 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
18783 * login/Versions (libc: GLIBC_2.0): ... here.
18785 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
18786 (setrlimit): Define as weak alias.
18788 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
18789 Call __ names for open, ftruncate, and close.
18790 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
18791 (truncate): Define as weak alias.
18793 2013-05-06 Joseph Myers <joseph@codesourcery.com>
18795 * math/gen-libm-test.pl (parse_args): Initialize x before each
18796 test of frexp, modf and remquo.
18798 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
18799 test signgam value.
18801 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18805 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
18807 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18809 2013-05-06 Roland McGrath <roland@hack.frob.com>
18811 * elf/dl-writev.h: New file.
18812 * elf/dl-misc.c: Include it.
18813 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
18814 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
18816 2013-05-04 Joseph Myers <joseph@codesourcery.com>
18818 * math/libm-test.inc (noXFails): Remove variable.
18819 (noXPasses): Likewise.
18820 (BUILD_COMPLEX_INT): Remove macro.
18821 (print_screen): Remove xfail argument.
18822 (print_screen_max_error): Likewise.
18823 (update_stats): Likewise.
18824 (print_max_error): Likewise. Update calls to other affected
18826 (print_complex_max_error): Likewise.
18827 (test_single_exception): Update calls to print_screen.
18828 (test_single_errno): Likewise.
18829 (check_float_internal): Remove xfail argument. Update calls to
18830 other affected functions.
18831 (check_float): Likewise.
18832 (check_complex): Likewise.
18833 (check_int): Likewise.
18834 (check_long): Likewise.
18835 (check_bool): Likewise.
18836 (check_longlong): Likewise.
18837 (main): Don't print noXFails and noXPasses.
18838 * math/gen-libm-test.pl (top level): Don't mention expected
18839 failure handling in comment.
18840 (new_test): Don't handle expected failures.
18841 (parse_args): Don't mention expected failure handling in comment.
18842 (generate_testfile): Don't handle expected failures.
18843 (parse_ulps): Likewise.
18844 (print_ulps_file): Likewise.
18845 (get_failure): Remove function.
18846 (output_test): Don't handle expected failures.
18847 * make/README.libm-test: Don't mention expected failure handling.
18849 * math/libm-test.inc (plus_zero): Make const. Add initializer.
18850 (minus_zero): Likewise.
18851 (plus_infty): Likewise.
18852 (minus_infty): Likewise.
18853 (qnan_value): Likewise.
18854 (max_value): Likewise.
18855 (min_value): Likewise.
18856 (min_subnorm_value): Likewise.
18857 (initialize): Do not initialize those variables dynamically.
18859 2013-05-03 Roland McGrath <roland@hack.frob.com>
18861 * io/open.c (__open_2): Moved to ...
18862 * io/open_2.c: ... this new file.
18863 * io/open64.c (__open64_2): Moved to ...
18864 * io/open64_2.c: ... this new file.
18865 * io/openat.c (__openat_2): Moved to ...
18866 * io/openat_2.c: ... this new file.
18867 * io/openat64.c (__openat64_2): Moved to ...
18868 * io/openat64_2.c: ... this new file.
18869 * io/Makefile (routines): Add them.
18870 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
18871 * sysdeps/unix/sysv/linux/open_2.c: File removed.
18872 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
18873 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
18874 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
18875 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
18876 (__openat64): Add hidden_ver.
18877 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
18878 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
18880 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
18881 Separately conditionalize setting of GLRO(dl_sysinfo) so
18882 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
18883 as well, but the actual setting is only under [NEED_DL_SYSINFO].
18885 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18887 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
18888 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
18890 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
18891 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18892 (_libc_vdso_platform_setup): Add __vdso_time initialization.
18893 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
18894 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
18896 2013-05-03 Joseph Myers <joseph@codesourcery.com>
18898 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
18899 test signgam value.
18901 * math/libm-test.inc (hypot_test): Do not use
18902 IGNORE_ZERO_INF_SIGN.
18904 2013-05-03 Andreas Jaeger <aj@suse.de>
18906 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
18908 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
18909 (PF_MAX): Adjust for VSOCK change.
18911 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18913 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18915 2013-05-02 Carlos O'Donell <carlos@redhat.com>
18918 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
18919 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
18920 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
18922 2013-05-02 David S. Miller <davem@davemloft.net>
18924 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18926 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
18928 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
18930 2013-05-01 Roland McGrath <roland@hack.frob.com>
18932 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
18934 2013-05-01 Richard Smith <richard@metafoo.co.uk>
18937 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
18938 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18939 Use __attribute__ ((__gnu_inline__)).
18940 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18941 Don't use __attribute__ ((__gnu_inline__)).
18943 2013-05-01 Joseph Myers <joseph@codesourcery.com>
18946 * math/s_catan.c (__catan): Handle small real or imaginary part of
18947 input specially to avoid spurious underflow.
18948 * math/s_catanf.c (__catanf): Likewise.
18949 * math/s_catanh.c (__catanh): Likewise.
18950 * math/s_catanhf.c (__catanhf): Likewise.
18951 * math/s_catanhl.c (__catanhl): Likewise.
18952 * math/s_catanl.c (__catanl): Likewise.
18953 * math/libm-test.inc (catan_test): Add more tests.
18954 (catanh_test): Likewise.
18955 * sysdeps/i386/fpu/libm-test-ulps: Update.
18956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18958 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18960 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18962 2013-04-30 Joseph Myers <joseph@codesourcery.com>
18965 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
18966 accurately for denominator in atan2.
18967 * math/s_catanf.c (__catanf): Likewise.
18968 * math/s_catanh.c (__catanh): Likewise.
18969 * math/s_catanhf.c (__catanhf): Likewise.
18970 * math/s_catanhl.c (__catanhl): Likewise.
18971 * math/s_catanl.c (__catanl): Likewise.
18972 * math/libm-test.inc (catan_test): Add more tests.
18973 (catanh_test): Likewise.
18974 * sysdeps/i386/fpu/libm-test-ulps: Update.
18975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18977 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18979 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18981 * benchtests/Makefile (bench): Remove slow benchmarks.
18982 * benchtests/atan-inputs: Add slow benchmark inputs.
18983 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18984 (BENCH_FUNC): Accept variant offset.
18986 * benchtests/bench-skeleton.c (main): Run benchmark for each
18988 * benchtests/cos-inputs: Add slow benchmark inputs.
18989 * benchtests/exp-inputs: Likewise.
18990 * benchtests/pow-inputs: Likewise.
18991 * benchtests/sin-inputs: Likewise.
18992 * benchtests/slowatan-inputs: Remove.
18993 * benchtests/slowatan.c: Remove.
18994 * benchtests/slowcos-inputs: Remove.
18995 * benchtests/slowcos.c: Remove.
18996 * benchtests/slowexp-inputs: Remove.
18997 * benchtests/slowexp.c: Remove.
18998 * benchtests/slowpow-inputs: Remove.
18999 * benchtests/slowpow.c: Remove.
19000 * benchtests/slowsin-inputs: Remove.
19001 * benchtests/slowsin.c: Remove.
19002 * benchtests/slowtan-inputs: Remove.
19003 * benchtests/slowtan.c: Remove.
19004 * benchtests/tan-inputs: Add slow benchmark inputs.
19005 * scripts/bench.pl: Parse comments and directives.
19007 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
19009 ($(objpfx)bench-%.c): Remove *-ITER.
19010 * benchtests/bench-modf.c: Remove definition of ITER.
19011 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
19012 (main): Loop for DURATION seconds instead of fixed number of
19014 * scripts/bench.pl: Don't expect iterations in parameters.
19016 2013-04-29 Roland McGrath <roland@hack.frob.com>
19018 * io/fchdir.c (__fchdir): Renamed from fchdir.
19019 (fchdir): Define as weak alias.
19021 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19023 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19024 (ERRNO_EDOM): Likewise.
19025 (ERRNO_ERANGE): Likewise.
19026 (noErrnoTests): New variable.
19027 (init_max_error): Set errno to 0.
19028 (test_single_errno): New function.
19029 (test_errno): Likewise.
19030 (check_float_internal): Call test_errno. Set errno to 0.
19031 (check_complex): Refer to errno tests in comment.
19032 (check_int): Call test_errno. Set errno to 0.
19033 (check_long): Likewise.
19034 (check_bool): Likewise.
19035 (check_longlong): Likewise.
19036 (cos_test): Use ERRNO_* flags for errno tests instead of
19038 (expm1_test): Likewise.
19039 (fmod_test): Likewise.
19040 (ilogb_test): Likewise.
19041 (lgamma_test): Likewise.
19042 (pow_test): Likewise.
19043 (remainder_test): Likewise.
19044 (sin_test): Likewise.
19045 (tan_test): Likewise.
19046 (yn_test): Likewise.
19047 (initialize): Set errno to 0.
19048 (main): Print number of errno tests.
19049 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19051 2013-04-29 Andreas Jaeger <aj@suse.de>
19054 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19058 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19059 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19063 * stdlib/random.c (__initstate): Return NULL if
19067 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19068 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19071 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19073 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19075 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19077 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19078 of individual tests.
19079 (casin_test): Likewise.
19080 (casinh_test): Likewise.
19082 2013-04-27 Joseph Myers <joseph@codesourcery.com>
19085 * math/s_catan.c (__catan): Handle arguments with large real or
19086 imaginary part separately without squaring.
19087 * math/s_catanf.c (__catanf): Likewise.
19088 * math/s_catanh.c (__catanh): Likewise.
19089 * math/s_catanhf.c (__catanhf): Likewise.
19090 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19092 (__catanhl): Handle arguments with large real or imaginary part
19093 separately without squaring.
19094 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19096 (__catanl): Handle arguments with large real or imaginary part
19097 separately without squaring.
19098 * math/libm-test.inc (catan_test): Add more tests.
19099 (catanh_test): Likewise.
19100 * sysdeps/i386/fpu/libm-test-ulps: Update.
19101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19103 2013-04-27 Andreas Jaeger <aj@suse.de>
19106 * stdlib/stdlib.h: Update guards for qecvt.
19107 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19110 2013-04-27 Allan McRae <allan@archlinux.org>
19112 * sysdeps/i386/fpu/libm-test-ulps: Update.
19114 2013-04-26 Joseph Myers <joseph@codesourcery.com>
19117 * math/s_catan.c: Include <float.h>.
19118 (__catan): Ensure underflow exception occurs for underflowed
19120 * math/s_catanf.c: Include <float.h>.
19121 (__catanf): Ensure underflow exception occurs for underflowed
19123 * math/s_catanh.c: Include <float.h>.
19124 (__catanh): Ensure underflow exception occurs for underflowed
19126 * math/s_catanhf.c: Include <float.h>.
19127 (__catanhf): Ensure underflow exception occurs for underflowed
19129 * math/s_catanhl.c: Include <float.h>.
19130 (__catanhl): Ensure underflow exception occurs for underflowed
19132 * math/s_catanl.c: Include <float.h>.
19133 (__catanl): Ensure underflow exception occurs for underflowed
19135 * math/libm-test.inc (catan_test): Add more tests.
19136 (catanh_test): Likewise.
19139 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
19140 underflowed result.
19141 * math/s_ccoshf.c (__ccoshf): Likewise.
19142 * math/s_ccoshl.c (__ccoshl): Likewise.
19143 * math/s_csin.c (__csin): Likewise.
19144 * math/s_csinf.c (__csinf): Likewise.
19145 * math/s_csinh.c (__csinh): Likewise.
19146 * math/s_csinhf.c (__csinhf): Likewise.
19147 * math/s_csinhl.c (__csinhl): Likewise.
19148 * math/s_csinl.c (__csinl): Likewise.
19149 * math/libm-test.inc (ccos_test): Add more tests.
19150 (ccosh_test): Likewise.
19151 (csin_test): Likewise.
19152 (csinh_test): Likewise.
19154 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19156 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
19157 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
19158 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
19159 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
19160 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
19161 powerpc/power5+/fpu folders.
19162 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
19165 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19167 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19169 2013-04-25 Joseph Myers <joseph@codesourcery.com>
19171 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
19172 additions to variable.
19173 [$(config-machine) = x86_64] (modules-names): Likewise.
19174 ($(objpfx)tst-audit3): Remove dependency.
19175 ($(objpfx)tst-audit3.out): Likewise.
19176 ($(objpfx)tst-audit4): Likewise.
19177 ($(objpfx)tst-audit4.out): Likewise.
19178 ($(objpfx)tst-audit5): Likewise.
19179 ($(objpfx)tst-audit5.out): Likewise.
19180 ($(objpfx)tst-audit6): Likewise.
19181 ($(objpfx)tst-audit6.out): Likewise.
19182 ($(objpfx)tst-audit7): Likewise.
19183 ($(objpfx)tst-audit7.out): Likewise.
19184 (tst-audit3-ENV): Remove variable.
19185 (tst-audit4-ENV): Likewise.
19186 (tst-audit5-ENV): Likewise.
19187 (tst-audit6-ENV): Likewise.
19188 (tst-audit7-ENV): Likewise.
19189 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
19190 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
19191 addition to variable.
19192 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
19193 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
19194 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
19195 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
19196 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
19197 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
19198 tst-audit3, tst-audit4 and tst-audit5.
19199 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
19200 tst-audit6 and tst-audit7.
19201 [$(subdir) = elf] (modules-names): Add audit modules for those
19203 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
19204 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
19205 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
19206 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
19207 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
19208 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
19209 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
19210 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
19211 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
19212 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
19213 [$(subdir) = elf] (tst-audit3-ENV): New variable.
19214 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
19215 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
19216 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
19217 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
19218 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
19220 [$(subdir) = elf && $(config-cflags-avx) = yes]
19221 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
19222 [$(subdir) = elf && $(config-cflags-avx) = yes]
19223 (CFLAGS-tst-auditmod4a.c): Likewise.
19224 [$(subdir) = elf && $(config-cflags-avx) = yes]
19225 (CFLAGS-tst-auditmod4b.c): Likewise.
19226 [$(subdir) = elf && $(config-cflags-avx) = yes]
19227 (CFLAGS-tst-auditmod6b.c): Likewise.
19228 [$(subdir) = elf && $(config-cflags-avx) = yes]
19229 (CFLAGS-tst-auditmod6c.c): Likewise.
19230 [$(subdir) = elf && $(config-cflags-avx) = yes]
19231 (CFLAGS-tst-auditmod7b.c): Likewise.
19232 * elf/tst-audit3.c: Move to ...
19233 * sysdeps/x86_64/tst-audit3.c: ... here.
19234 * elf/tst-audit4.c: Move to ...
19235 * sysdeps/x86_64/tst-audit4.c: ... here.
19236 * elf/tst-audit5.c: Move to ...
19237 * sysdeps/x86_64/tst-audit5.c: ... here.
19238 * elf/tst-audit6.c: Move to ...
19239 * sysdeps/x86_64/tst-audit6.c: ... here.
19240 * elf/tst-audit7.c: Move to ...
19241 * sysdeps/x86_64/tst-audit7.c: ... here.
19242 * elf/tst-auditmod3a.c: Move to ...
19243 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
19244 * elf/tst-auditmod3b.c: Move to ...
19245 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
19246 * elf/tst-auditmod4a.c: Move to ...
19247 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
19248 * elf/tst-auditmod4b.c: Move to ...
19249 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
19250 * elf/tst-auditmod5a.c: Move to ...
19251 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
19252 * elf/tst-auditmod5b.c: Move to ...
19253 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
19254 * elf/tst-auditmod6a.c: Move to ...
19255 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
19256 * elf/tst-auditmod6b.c: Move to ...
19257 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
19258 * elf/tst-auditmod6c.c: Move to ...
19259 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
19260 * elf/tst-auditmod7a.c: Move to ...
19261 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
19262 * elf/tst-auditmod7b.c: Move to ...
19263 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
19265 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
19268 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
19269 define unconditionally.
19270 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
19271 define unconditionally.
19272 (INT8_C, INT16_C, etc.): Likewise.
19274 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
19276 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
19277 __ehdr_start with hidden visibility.
19279 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
19281 2013-04-24 Carlos O'Donell <carlos@redhat.com>
19283 * math/libm-test.inc (cos_test): Use accurate hex constants.
19284 (sincost_test): Likewise.
19286 2013-04-24 Joseph Myers <joseph@codesourcery.com>
19288 * math/libm-test.inc (catan_test): Add more tests.
19289 (catanh_test): Likewise.
19291 * math/s_catanf.c (__catanf): Use suffixed floating-point
19293 * math/s_catanhf.c (__catanhf): Likewise.
19294 * math/s_catanhl.c (__catanhl): Likewise.
19295 * math/s_catanl.c (__catanl): Likewise.
19298 * math/s_catan.c (__catan): Calculate imaginary part of result
19299 with log1p not log unless computing log of number close to 0.
19300 * math/s_catanf.c (__catanf): Likewise.
19301 * math/s_catanl.c (__catanl): Likewise.
19302 * math/s_catanh.c (__catanh): Calculate real part of result with
19303 log1p not log unless computing log of number close to 0.
19304 * math/s_catanhf.c (__catanhf): Likewise.
19305 * math/s_catanhl.c (__catanhl): Likewise.
19306 * math/libm-test.inc (catan_test): Add more tests.
19307 (catanh_test): Likewise.
19308 * sysdeps/i386/fpu/libm-test-ulps: Update.
19309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19311 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19313 * benchtests/Makefile: Mention files in which fast and slow
19314 paths of math functions are implemented.
19316 2013-04-23 Roland McGrath <roland@hack.frob.com>
19318 * sysdeps/posix/timespec_get.c: New file.
19320 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19322 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
19324 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
19326 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
19327 powerpc/power5/fpu folders.
19328 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
19329 * benchtests/Makefile: Add modf testcase.
19330 * benchtests/bench-modf.c: New file: Benchmark test for mo
19332 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19335 * time/Makefile (tests): Add tst-strptime-whitespace.
19336 * time/strptime_l.c (get_number): Use ISSPACE.
19337 (__strptime_internal): Likewise.
19338 * time/tst-strptime-whitespace.c: New test case.
19340 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
19342 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
19344 (_nss_files_init): Set it here.
19346 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
19348 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
19349 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
19352 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
19354 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
19356 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19358 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
19361 2013-04-21 David S. Miller <davem@davemloft.net>
19363 * po/ru.po: Update Russion translation from translation project.
19365 2013-04-17 Adam Conrad <adconrad@0c3.net>
19367 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
19370 2013-04-17 Carlos O'Donell <carlos@redhat.com>
19372 * configure.in: Remove i386 configure warning. Remove i386 case.
19373 * configure: Regenerate.
19374 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
19375 Add example to error message.
19376 * sysdeps/i386/configure: Regenerate.
19378 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19380 * benchtests/Makefile (bench): Add cos, tan, slowcos and
19382 * benchtests/cos-inputs: New file.
19383 * benchtests/slowcos-inputs: New file.
19384 * benchtests/slowcos.c: New file.
19385 * benchtests/slowtan-inputs: New file.
19386 * benchtests/slowtan.c: New file.
19387 * benchtests/tan-inputs: New file.
19389 2013-04-16 Roland McGrath <roland@hack.frob.com>
19391 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
19394 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19396 * benchtests/Makefile: Include cppflags-iterator.mk to add
19397 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
19399 * Makefile.in (bench-clean): New target.
19400 * benchtests/Makefile (bench-clean): Likewise.
19402 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
19404 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
19406 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
19408 * stdio-common/tstdiomisc.c: Fix coding-style violation.
19410 2013-04-15 Andreas Schwab <schwab@suse.de>
19412 * nscd/grpcache.c (cache_addgr): Properly check for short write.
19413 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19414 * nscd/pwdcache.c (cache_addpw): Likewise.
19415 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
19418 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19420 * benchtests/Makefile (bench): Write all output to
19421 bench-out.tmp together.
19423 2013-04-15 Andreas Schwab <schwab@suse.de>
19425 * nscd/nscd.c (main): Don't fork again after closing files.
19427 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19429 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
19431 * benchtests/Rules (bench-deps): Collect dependencies into a
19432 single variable. Add Makefile to dependencies.
19433 ($(objpfx)bench-%.c): Depend on bench-deps.
19435 2013-04-12 Roland McGrath <roland@hack.frob.com>
19436 Xavier Roche <roche+kml2@exalead.com>
19439 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
19440 just that it's a file descriptor.
19441 * manual/llio.texi (Synchronizing AIO Operations): Update description
19442 for EBADF error from aio_fsync.
19444 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19446 * Rules (bench): Move target definition...
19447 * benchtests/Makefile: ... here.
19449 2013-04-11 Carlos O'Donell <carlos@redhat.com>
19451 * math/libm-test.inc (cos_test): Fix PI/2 test.
19452 (sincos_test): Likewise.
19453 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19454 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19456 2013-04-11 Andreas Schwab <schwab@suse.de>
19459 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
19460 accept exponent character only when digits were seen.
19461 * stdio-common/Makefile (tests): Add bug26.
19462 * stdio-common/bug26.c: New file.
19465 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
19468 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19470 * Makeconfig (rtld-prefix): Define built linker prefix.
19471 * Rules (run-bench): Use it.
19472 * math/Makefile (run-regen-ulps): Likewise.
19474 * Rules (bench): Remove eval.
19476 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19477 Roland McGrath <roland@hack.frob.com>
19478 Ondrej Bilka <neleai@seznam.cz>
19481 * time/getdate.c: Include ctype.h and alloca.h.
19482 (__getdate_r): Trim leading and trailing spaces of input.
19483 * time/tst-getdate.c (tests): Add tests with leading and
19486 2013-04-08 Roland McGrath <roland@hack.frob.com>
19489 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19490 when computing value.
19492 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19494 * math/README.libm-test (How can I generate "libm-test-ulps"?):
19495 Use testrun.sh to run libm tests.
19498 * elf/dl-open.c (dl_open_worker): memset all of seen array.
19500 2013-04-06 Marko Myllynen <myllynen@redhat.com>
19503 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19505 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19507 * Makefile.in (regen-ulps): New target.
19508 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19509 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19510 [ifneq (no,$(PERL)] (regen-ulps): New target.
19511 [ifeq (no,$(PERL)] (regen-ulps): New target.
19512 * math/libm-test.inc (ulps_file_name): Define.
19513 (output_dir): New variable.
19514 (options): Add "output-dir" option.
19515 (parse_opt): Handle 'o' case.
19516 (main): If output_dir is non-NULL use it as a prefix
19518 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19520 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19522 [BZ #10060, #10062]
19523 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19524 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19525 fail configure if __sync_val_compare_and_swap is not inlined.
19526 * sysdeps/i386/configure: Regenerate.
19527 * configure.in: Build for i686 when configured for i386.
19528 * configure: Regenerate.
19529 * README: Remove i386 reference.
19531 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19533 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19534 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19536 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
19538 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19539 (lmsnanval): New variables.
19540 (F): Add conversion tests.
19541 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19542 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19544 * stdio-common/tstdiomisc.c (F): Properly collect individual
19547 [BZ #14686, #15336]
19548 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19549 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19550 Instead, use input NaN values or generate a qNaN by arithmetic
19551 operation. Also fix bugs to comply with the standard.
19552 * math/libm-test.inc (remainder_test): Add more tests.
19554 [BZ #15335, #15342]
19555 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19556 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19557 input NaN values or generate a qNaN by arithmetic operation.
19559 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19562 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19565 2013-04-03 Joseph Myers <joseph@codesourcery.com>
19568 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19569 underflowed result.
19570 * math/s_cexpf.c (__cexpf): Likewise.
19571 * math/s_cexpl.c (__cexpl): Likewise.
19572 * math/libm-test.inc (cexp_test): Add more tests.
19574 2013-04-03 Andreas Schwab <schwab@suse.de>
19577 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19578 order arrays from heap if bigger than alloca cutoff.
19580 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
19582 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19583 (SNAN_TESTS_double): Refer to GCC PR56831.
19584 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19587 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19589 * Rules (bench): Move bench.out after the run is complete.
19591 * Rules (bench): Echo currently running benchmark.
19593 * benchtests/Makefile (bench): Add atan and slowatan.
19594 * benchtests/atan-inputs: New file.
19595 * benchtests/slowatan-inputs: New file.
19596 * benchtests/slowatan.c: New file.
19598 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19599 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19603 * sysdeps/unix/sysv/linux/kernel-features.h
19604 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19605 __ASSUME_XFS_RESTRICTED_CHOWN.
19606 * sysdeps/unix/sysv/linux/pathconf.c
19607 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19608 Save and restore errno.
19610 2013-04-02 Joseph Myers <joseph@codesourcery.com>
19613 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19614 arguments using __kernel_casinh.
19615 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19616 arguments using __kernel_casinhf.
19617 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19618 arguments using __kernel_casinhl.
19619 * math/libm-test.inc (cacosh_test): Add more tests.
19620 * sysdeps/i386/fpu/libm-test-ulps: Update.
19621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19623 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19625 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19626 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19628 * bench/Makefile (bench): Add sin and slowsin.
19629 * benchtests/sin-inputs: New file.
19630 * benchtests/slowsin-inputs: New file.
19631 * benchtests/slowsin.c: New file.
19633 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19634 (bench): Add slowexp and slowpow.
19635 (exp-ITER): Increase iterations.
19636 (pow-ITER): Likewise.
19637 * benchtests/exp-inputs: Change input.
19638 * benchtests/pow-inputs: Likewise.
19639 * benchtests/slowexp-inputs: New file.
19640 * benchtests/slowexp.c: New file.
19641 * benchtests/slowpow-inputs: New file.
19642 * benchtests/slowpow.c: New file.
19644 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19646 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
19648 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19649 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
19650 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19651 * benchtests/Makefile: Add rint benchtest.
19652 * benchtests/rint-inputs: Input for rint benchtest.
19654 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
19656 * Versions.def (libm): Add GLIBC_2.18.
19657 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
19658 hidden libm prototypes.
19659 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
19660 * math/Makefile (libm-calls): Add s_issignaling.
19661 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
19662 __issignalingf, __issignalingl. Adjust all libm.abilist files.
19663 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
19665 * math/math.h [__USE_GNU] (issignaling): New macro.
19666 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
19667 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
19668 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
19669 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
19670 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
19671 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
19672 * manual/arith.texi (issignaling): New section.
19673 * manual/libm-err-tab.pl (@all_functions): Update comment.
19674 * math/gen-libm-test.pl (parse_args): Apply special handling for
19676 * math/libm-test.inc (print_float, issignaling_test): New
19678 (check_float_internal): Add issignaling checks.
19679 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
19680 default definition.
19681 * sysdeps/powerpc/math-tests.h: New file.
19682 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
19684 * math/test-snan.c (TEST_FUNC): Likewise.
19686 2013-03-30 David S. Miller <davem@davemloft.net>
19688 * po/de.po: Update from translation team.
19690 2013-03-30 Joseph Myers <joseph@codesourcery.com>
19693 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19694 imaginary part less than 1.0 and real part less than 0.5
19696 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19697 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19698 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
19699 (cacos_test): Add more tests.
19700 (casin_test): Likewise.
19701 (casinh_test): Likewise.
19702 * sysdeps/i386/fpu/libm-test-ulps: Update.
19703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19705 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19707 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19708 ONE with its value.
19710 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
19711 (__pow_mp): Replace ONE and MONE with their values.
19712 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19713 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
19714 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19715 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
19716 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19717 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19719 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
19721 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
19722 (__pow_mp): Replace ZERO and MZERO with their values.
19723 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19724 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19725 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19726 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19727 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19728 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
19731 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
19733 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
19735 2013-03-28 Roland McGrath <roland@hack.frob.com>
19737 * include/stdlib.h [!SHARED] (__call_tls_dtors):
19738 Declare with __attribute__ ((weak)).
19739 * stdlib/exit.c (__libc_atexit) [!SHARED]:
19740 Call __call_tls_dtors only if it's not NULL.
19742 2013-03-28 Roland McGrath <roland@hack.frob.com>
19744 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
19745 didn't do it already, then set _dl_phdr and _dl_phnum based on the
19746 magic __ehdr_start linker symbol if it's defined.
19747 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
19748 them up here if it was already done.
19750 * elf/dl-support.c (_dl_phdr): Make pointer to const.
19751 (_dl_aux_init): Use const in cast when setting it.
19752 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
19753 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
19754 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
19756 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
19758 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
19759 * csu/libc-tls.c: Nor here.
19760 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
19762 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
19763 (__libc_message): Never call vsyslog.
19765 2013-03-28 Alan Modra <amodra@gmail.com>
19767 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
19769 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
19772 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19775 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
19777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19779 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19782 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19783 Don't add gid passed as argument.
19785 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
19787 2013-03-27 Joseph Myers <joseph@codesourcery.com>
19790 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19791 imaginary part between 1.0 and 1.5 and real part less than 0.5
19793 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19794 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19795 * math/libm-test.inc (cacos_test): Add more tests.
19796 (casin_test): Likewise.
19797 (casinh_test): Likewise.
19798 * sysdeps/i386/fpu/libm-test-ulps: Update.
19799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19801 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19803 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
19806 (denorm): Likewise.
19807 (__dbl_mp): Likewise.
19808 (add_magnitudes): Likewise.
19809 (sub_magnitudes): Likewise.
19817 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
19819 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
19820 (__dubcos): Likewise.
19821 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
19822 (__ieee754_acos): Likewise.
19823 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19824 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
19825 (__exp1): Likewise.
19826 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19827 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19829 (my_log2): Likewise.
19830 (checkint): Likewise.
19831 * sysdeps/ieee754/dbl-64/e_remainder.c
19832 (__ieee754_remainder): Likewise.
19833 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19834 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19835 (bsloww): Likewise.
19836 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19838 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19839 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
19840 MANTISSA_STORE_T to store computations on mantissa. Use
19841 macros for rounding and division.
19842 (denorm): Likewise.
19843 (__dbl_mp): Likewise.
19844 (add_magnitudes): Likewise.
19845 (sub_magnitudes): Likewise.
19848 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19849 powers of two in terms of TWOPOW macro.
19850 (mp_no): Make type of mantissa as MANTISSA_T.
19851 [!RADIXI]: Define RADIXI.
19852 [!TWO52]: Define TWO52.
19853 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19855 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19857 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
19858 llroundl symbol when building for PPC32.
19860 2013-03-24 Mark H Weaver <mhw@netris.org>
19862 * manual/arith.texi (Normalization Functions): Fix prototypes for
19863 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
19865 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19868 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
19869 high value to check if expl overflow.
19870 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
19871 to check for underflow and overflow.
19872 * math/libm-test.inc: Add exp test.
19874 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
19877 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
19880 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19882 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
19885 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
19887 * math/gen-libm-test.pl (parse_args, special_functions): Properly
19888 wrap blocks consisting of several statements.
19890 * sysdeps/generic/math-tests.h: New file.
19891 * sysdeps/i386/fpu/math-tests.h: Likewise.
19892 * math/test-snan.c: Include it.
19893 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
19895 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19898 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
19899 (__ieee754_j0l): Do not improve calculations using cos of twice
19900 input for inputs above LDBL_MAX / 2.0L.
19901 (__ieee754_y0l): Likewise.
19902 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
19903 (__ieee754_j1l): Do not improve calculations using cos of twice
19904 input for inputs above LDBL_MAX / 2.0L.
19905 (__ieee754_y1l): Likewise.
19906 * math/libm-test.inc (j0_test): Add another test.
19907 (j1_test): Likewise.
19908 (y0_test): Likewise.
19909 (y1_test): Likewise.
19910 * sysdeps/i386/fpu/libm-test-ulps: Update.
19912 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19914 * Rules ($(objpfx)bench-%.c): Include code from a C source
19917 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19920 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19921 imaginary part 1.0 and real part less than 0.5 specially.
19922 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19923 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19924 * math/libm-test.inc (cacos_test): Add more tests.
19925 (casin_test): Likewise.
19926 (casinh_test): Likewise.
19927 * sysdeps/i386/fpu/libm-test-ulps: Update.
19928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19930 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19932 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
19933 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
19935 2013-03-20 Joseph Myers <joseph@codesourcery.com>
19937 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
19938 * config.make.in (config-cflags-sse4): Remove variable.
19939 (config-cflags-avx): Likewise.
19940 (config-cflags-sse2avx): Likewise.
19941 (config-cflags-novzeroupper): Likewise.
19942 (config-asflags-i686): Likewise.
19943 (have-mfma4): Likewise.
19944 (have-as-vis3): Likewise.
19946 * configure.in (MIG): Do not AC_SUBST.
19947 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
19948 (libc_cv_cc_sse4): Do not AC_SUBST.
19949 (libc_cv_cc_avx): Likewise.
19950 (libc_cv_cc_sse2avx): Likewise.
19951 (libc_cv_cc_novzeroupper): Likewise.
19952 (libc_cv_cc_fma4): Likewise.
19953 (libc_cv_as_i686): Likewise.
19954 (libc_cv_sparc_as_vis3): Likewise.
19955 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
19957 (config-asflags-i686): Likewise.
19958 (config-cflags-avx): Likewise.
19959 (config-cflags-sse2avx): Likewise.
19960 (have-mfma4): Likewise.
19961 (config-cflags-novzeroupper): Likewise.
19962 * sysdeps/mach/configure.in (MIG): Likewise.
19963 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
19964 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
19966 (config-cflags-avx): Likewise.
19967 (config-cflags-sse2avx): Likewise.
19968 (have-mfma4): Likewise.
19969 (config-cflags-novzeroupper): Likewise.
19970 * configure: Regenerated.
19971 * sysdeps/i386/configure: Likewise.
19972 * sysdeps/mach/configure: Likewise.
19973 * sysdeps/sparc/configure: Likewise.
19974 * sysdeps/x86_64/configure: Likewise.
19976 2013-03-20 Roland McGrath <roland@hack.frob.com>
19979 * locale/programs/localedef.c (options): Put N_ translation marker
19980 on argument names, not just descriptions.
19982 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19984 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19986 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
19989 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19991 2013-03-19 Roland McGrath <roland@hack.frob.com>
19993 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19994 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19995 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19996 [!BEFORE_ABORT] (before_abort): New function.
19997 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19998 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19999 (writev_for_fatal): New function.
20000 (WRITEV_FOR_FATAL): New macro; call that.
20001 (backtrace_and_maps): New function.
20002 (BEFORE_ABORT): New macro; call that.
20003 (struct str_list): Type removed.
20004 (__libc_message, __libc_fatal): Functions removed.
20005 Include <sysdeps/posix/libc_fatal.c> instead.
20007 2013-03-19 Joseph Myers <joseph@codesourcery.com>
20009 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
20011 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20014 2013-03-19 Andreas Schwab <schwab@suse.de>
20016 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20017 * sysdeps/gnu/configure: Regenerate.
20019 * configure.in: Substitute libc_cv_rtlddir.
20020 * configure: Regenerate.
20021 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20022 * Makeconfig (rtlddir, inst_rtlddir): New variables.
20023 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20024 * elf/Makefile (install-others, CFLAGS-interp.c)
20025 (ldso_install, common-ldd-rewrite): Likewise.
20026 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20027 $(inst_slibdir)/$(rtld-installed-name).
20028 * scripts/rellns-sh: Add -p option.
20029 * Makerules (make-shlib-link): Use rellns-sh to get relative name
20032 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20034 * manual/nptl.texi: Renamed to ...
20035 * manual/threads.texi: ... this.
20036 * manual/Makefile (chapters): Update.
20038 2013-03-18 Roland McGrath <roland@hack.frob.com>
20041 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20042 on argument names, not just descriptions.
20043 * malloc/memusagestat.c (options): Likewise.
20044 * nss/getent.c (options): Likewise.
20046 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
20049 * iconv/iconv_prog.c (options): Put N_ translation marker
20050 on argument names, not just descriptions.
20051 * iconv/iconvconfig.c (options): Likewise.
20053 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
20055 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20056 implementation which is faster on all x86_64 architectures.
20057 Tested on AMD, Intel Nehalem, SNB, IVB.
20058 * sysdeps/x86_64/strnlen.S: Likewise.
20060 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20061 Remove all multiarch strlen and strnlen versions.
20062 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20063 Remove strlen and strnlen related parts.
20065 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20066 Inline strlen part.
20067 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20069 * sysdeps/x86_64/multiarch/strlen.S: Remove.
20070 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20071 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20072 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20073 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20074 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20076 2013-03-17 Carlos O'Donell <carlos@redhat.com>
20078 * manual/memory.texi (Malloc Tunable Parameters):
20079 Sort parameters alphabetically. Add comments for missing entries.
20081 2013-03-17 David S. Miller <davem@davemloft.net>
20083 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20085 2013-03-16 Joseph Myers <joseph@codesourcery.com>
20088 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20089 for arguments at most half maximum finite value.
20090 * math/libm-test.inc (j0_test): Add more tests.
20091 (j1_test): Likewise.
20092 (y0_test): Likewise.
20093 (y1_test): Likewise.
20094 * sysdeps/i386/fpu/libm-test-ulps: Update.
20095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20098 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20099 1 / x and functions P and Q for arguments above 0x1p256L.
20100 (__ieee754_y0l): Likewise.
20101 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20102 (__ieee754_y1l): Likewise.
20103 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20104 (j1_test): Likewise.
20105 (y0_test): Likewise.
20106 (y1_test): Likewise.
20108 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
20110 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20113 2013-03-15 Roland McGrath <roland@hack.frob.com>
20115 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20116 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20117 zero since it's initialized to EXEC_PAGESIZE.
20119 * sysdeps/unix/sysv/linux/ldsodefs.h
20120 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20121 * sysdeps/generic/ldsodefs.h: ... here.
20123 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
20125 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20127 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20129 * math/test-snan.c: Renamed from
20130 sysdeps/powerpc/fpu/test-powerpc-snan.c.
20131 * math/Makefile (tests): Add test-snan.
20132 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20135 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20136 SUFFIX. Initialize qNaN_var with __builtin_nan family of
20138 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
20139 __builtin_nan family of functions.
20140 * math/libm-test.inc (initialize): Initialize qnan_value with
20141 __builtin_nan family of functions.
20142 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
20144 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
20146 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
20147 storage class. Initialize qNaN_var and sNaN_var with
20148 __builtin_nan and __builtin_nans families of functions,
20151 * math/libm-test.inc (acosh_test): Also test with qNaN input.
20152 (sqrt_test): Remove duplicate test with qNaN input.
20153 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
20154 (round_test, signbit_test, significand_test): Note missing +/-Inf
20155 as well as qNaN tests.
20157 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
20158 qNaN_var. Fix a few strings, too.
20159 * math/libm-test.inc (nan_value): Rename to qnan_value.
20160 * math/gen-libm-test.pl (%beautify): Adjust to that.
20161 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
20162 * math/test-misc.c (main): Likewise.
20163 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
20164 to __qnan_bytes, and __qnan_union, respectively.
20165 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
20167 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
20168 and lqnanval, respectively.
20169 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
20170 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
20171 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
20172 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
20174 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
20175 * math/test-misc.c (main) [__x86_64__]: Enable test for long
20178 * math/test-misc.c (main): Fix copy'n'pastos.
20179 * misc/tst-efgcvt.c (special): Likewise.
20181 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
20182 Remove declarations.
20184 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20186 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
20187 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
20188 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
20189 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
20191 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20193 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
20194 macro to return vdso values correctly in IFUNC implementations.
20195 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20196 Optimization by using IFUNC.
20198 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20199 Richard Henderson <rth@redhat.com>
20200 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20202 * Makefile.in (bench): New target.
20203 * NEWS: Mention the benchmark framework.
20204 * Rules (bench): Likewise.
20205 (binaries-bench): Generate binaries for functions to
20207 * benchtests/Makefile: New makefile for benchmark tests.
20208 * benchtests/bench-skeleton.c: New skeleton file for benchmark
20210 * benchtests/exp-inputs: New input file for EXP function.
20211 * benchtests/pow-inputs: New input file for POW function.
20212 * scripts/bench.pl: New script to generate source files for
20213 benchmark programs.
20215 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20217 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20218 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
20219 computations on mantissa. Use macros for rounding and
20221 (denorm): Likewise.
20222 (__dbl_mp): Likewise.
20223 (add_magnitudes): Likewise.
20224 (sub_magnitudes): Likewise.
20227 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20228 powers of two in terms of TWOPOW macro.
20229 (mp_no): Make type of mantissa as MANTISSA_T.
20230 [!RADIXI]: Define RADIXI.
20231 [!TWO52]: Define TWO52.
20232 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20234 * manual/nptl.texi (cindex): Modify threads to pthreads.
20236 2013-03-15 Joseph Myers <joseph@codesourcery.com>
20238 * sysdeps/x86_64/preconfigure: Regenerated.
20240 2013-03-14 Joseph Myers <joseph@codesourcery.com>
20243 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
20245 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
20246 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
20248 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
20249 * math/libm-test.inc (j0_test): Do not allow one spurious
20250 underflow exception.
20251 (y1_test): Likewise.
20253 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20255 * manual/Makefile (chapters): Add nptl.
20256 * manual/debug.texi (Debugging Support): Add link to Threads
20258 * manual/nptl.texi: New file.
20260 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
20262 2013-03-14 Petr Baudis <pasky@ucw.cz>
20264 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
20265 for non-NULL pointer before the memory validity test. Pointed
20266 out by Holger Brunck <holger.brunck@keymile.com>.
20268 2013-03-13 Andreas Schwab <schwab@suse.de>
20270 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
20273 2013-03-13 Joseph Myers <joseph@codesourcery.com>
20275 * timezone/zic.c: Update from tzcode 2013b.
20277 2013-03-12 Carlos O'Donell <carlos@redhat.com>
20279 * manual/install.texi (Configuring and compiling):
20280 Mention i686 and i586.
20281 * INSTALL: Regenerate.
20283 2013-03-12 Roland McGrath <roland@hack.frob.com>
20285 * sysdeps/init_array/elf-init.c: New file.
20287 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
20288 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
20290 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
20291 __gmon_start__ as global, but as static with a .preinit_array pointer.
20292 * sysdeps/init_array/gmon-start.c: New file. Use that.
20293 * sysdeps/init_array/crti.S: New file, empty except for comments.
20294 * sysdeps/init_array/crtn.S: Likewise.
20296 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
20298 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
20300 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20301 Remove Prefer_SSE_for_memop.
20302 * sysdeps/x86_64/multiarch/init-arch.h: Remove
20303 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
20304 HAS_PREFER_SSE_FOR_MEMOP.
20305 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20307 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20308 Remove bzero, memset ifunc support.
20309 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
20310 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
20311 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20312 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20314 2013-03-11 Andreas Schwab <schwab@suse.de>
20317 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
20319 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
20320 (GLIBC_2.16): Remove pthread_atfork.
20322 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
20324 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
20325 (ptestcases.h): Likewise.
20327 2013-03-08 Roland McGrath <roland@hack.frob.com>
20329 * Makeconfig ($(common-objpfx)config.status): Depend on
20330 sysdeps/*/preconfigure{,.in} too.
20332 2013-03-08 Joseph Myers <joseph@codesourcery.com>
20334 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
20335 (__free_hook): Use void * instead of __malloc_ptr_t.
20336 (__malloc_hook): Likewise.
20337 (__realloc_hook): Likewise.
20338 (__memalign_hook): Likewise.
20339 (__after_morecore_hook): Likewise.
20340 * malloc/arena.c (save_malloc_hook): Likewise.
20341 (save_free_hook): Likewise.
20342 * malloc/hooks.c (malloc_hook_ini): Likewise.
20343 (realloc_hook_ini): Likewise.
20344 (memalign_hook_ini): Likewise.
20345 * malloc/malloc.c (malloc_hook_ini): Likewise.
20346 (realloc_hook_ini): Likewise.
20347 (memalign_hook_ini): Likewise.
20348 (__free_hook): Likewise.
20349 (__malloc_hook): Likewise.
20350 (__realloc_hook): Likewise.
20351 (__memalign_hook): Likewise.
20352 (__libc_malloc): Likewise.
20353 (__libc_free): Likewise.
20354 (__libc_realloc): Likewise.
20355 (__libc_memalign): Likewise.
20356 (__libc_valloc): Likewise.
20357 (__libc_pvalloc): Likewise.
20358 (__libc_calloc): Likewise.
20359 (__posix_memalign): Likewise.
20360 * malloc/morecore.c (__sbrk): Likewise.
20361 (__default_morecore): Likewise.
20363 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
20365 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
20366 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
20367 __malloc_ptrdiff_t.
20369 * malloc/malloc.h (__malloc_size_t): Remove macro.
20370 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
20372 (old_memalign_hook): Likewise.
20373 (old_realloc_hook): Likewise.
20374 (struct hdr): Likewise.
20376 (mallochook): Likewise.
20377 (memalignhook): Likewise.
20378 (reallochook): Likewise.
20379 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
20380 (tr_old_realloc_hook): Likewise.
20381 (tr_old_memalign_hook): Likewise.
20382 (tr_mallochook): Likewise.
20383 (tr_reallochook): Likewise.
20384 (tr_memalignhook): Likewise.
20386 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20388 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
20389 default_ldbl_pack and using as default implementation.
20390 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
20392 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
20393 redundant definition.
20394 (ldbl_insert_mantissa): Likewise.
20395 (ldbl_canonicalize): Likewise.
20396 (ldbl_nearbyint): Likewise.
20397 (ldbl_pack): Rename to ldbl_pack_ppc.
20398 (ldbl_unpack): Rename to ldbl_unpack_ppc.
20399 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
20400 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
20402 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20404 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
20405 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
20406 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
20407 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
20408 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
20409 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
20410 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
20411 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
20413 2013-03-07 Andreas Jaeger <aj@suse.de>
20415 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20418 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20420 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
20421 Include mpa.h and declare __MPEXP.
20422 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
20423 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20424 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20425 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
20426 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20427 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20428 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
20430 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
20431 (__slowpow): Use long double EXPL and LOGL functions to
20433 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20434 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20435 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
20436 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20437 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20438 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
20440 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
20441 intermediate variable to calculate exponent.
20443 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20447 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
20448 [!NO__SQR]: Define __sqr.
20449 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
20450 and NO__SQR. Remove all code except __mul and __sqr. Include
20451 sysdeps/ieee754/dbl-64/mpa.c.
20452 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20455 * posix/Makefile (tests): Add tst-pathconf.
20456 * posix/tst-pathconf.c: New test case.
20457 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
20459 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
20461 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
20463 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
20465 2013-03-06 Andreas Jaeger <aj@suse.de>
20467 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
20468 definition via __MAP_ANONYMOUS.
20470 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20471 it's not part of Linux headers.
20473 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20474 (MAP_HUGE_MASK): Define.
20476 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20478 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20479 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20481 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20482 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20484 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20485 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20487 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20489 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20490 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20491 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20492 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20493 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20494 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20496 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20499 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20500 Handle f2fs and efivarfs.
20502 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20505 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20506 (EFIVARFS_MAGIC): Add.
20507 (F2FS_LINK_MAX): Add.
20509 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20511 * stdio-common/vfprintf.c: Replace __builtin_expect with
20514 2013-03-06 Joseph Myers <joseph@codesourcery.com>
20517 * sysdeps/generic/bp-sym.h: Remove file.
20518 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20519 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20520 <bp-sym.h> and <bp-asm.h>.
20521 (__longjmp): Don't use BP_SYM.
20522 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20524 (memcpy): Don't use BP_SYM.
20525 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20526 <bp-sym.h> and <bp-asm.h>.
20527 (memcpy): Don't use BP_SYM.
20528 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20530 (memcpy): Don't use BP_SYM.
20531 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20533 (memset): Don't use BP_SYM.
20534 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20535 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20536 (__bzero): Don't use BP_SYM.
20537 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20538 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20539 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20540 <bp-sym.h> and <bp-asm.h>.
20541 (memcmp): Don't use BP_SYM. Remove comment about bounded
20543 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20544 <bp-sym.h> and <bp-asm.h>.
20545 (memcpy): Don't use BP_SYM.
20546 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20547 <bp-sym.h> and <bp-asm.h>.
20548 (memset): Don't use BP_SYM.
20549 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20550 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20551 (__bzero): Don't use BP_SYM.
20552 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20553 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20554 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20555 <bp-sym.h> and <bp-asm.h>.
20556 (strncmp): Don't use BP_SYM. Remove comment about bounded
20558 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20559 <bp-sym.h> and <bp-asm.h>.
20560 (memcpy): Don't use BP_SYM.
20561 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20562 <bp-sym.h> and <bp-asm.h>.
20563 (memset): Don't use BP_SYM.
20564 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20565 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20566 (__bzero): Don't use BP_SYM.
20567 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20568 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20569 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20570 <bp-sym.h> and <bp-asm.h>.
20571 (__memchr): Don't use BP_SYM.
20572 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20573 <bp-sym.h> and <bp-asm.h>.
20574 (memcmp): Don't use BP_SYM. Remove comment about bounded
20576 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20577 <bp-sym.h> and <bp-asm.h>.
20578 (memcpy): Don't use BP_SYM.
20579 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20580 <bp-sym.h> and <bp-asm.h>.
20581 (__mempcpy): Don't use BP_SYM.
20582 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20583 <bp-sym.h> and <bp-asm.h>.
20584 (__memrchr): Don't use BP_SYM.
20585 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20586 <bp-sym.h> and <bp-asm.h>.
20587 (memset): Don't use BP_SYM.
20588 (__bzero): Likewise.
20589 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20590 <bp-sym.h> and <bp-asm.h>.
20591 (__rawmemchr): Don't use BP_SYM.
20592 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20593 <bp-sym.h> and <bp-asm.h>.
20594 (__STRCMP): Don't use BP_SYM.
20595 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20596 <bp-sym.h> and <bp-asm.h>.
20597 (strchr): Don't use BP_SYM.
20598 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20599 <bp-sym.h> and <bp-asm.h>.
20600 (__strchrnul): Don't use BP_SYM.
20601 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20602 <bp-sym.h> and <bp-asm.h>.
20603 (strlen): Don't use BP_SYM.
20604 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20605 <bp-sym.h> and <bp-asm.h>.
20606 (strncmp): Don't use BP_SYM. Remove comment about bounded
20608 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20609 <bp-sym.h> and <bp-asm.h>.
20610 (__strnlen): Don't use BP_SYM.
20611 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20612 <bp-sym.h> and <bp-asm.h>.
20613 (__GI__setjmp): Don't use BP_SYM.
20614 (_setjmp): Likewise.
20615 (__sigsetjmp): Likewise.
20616 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20617 (L(start_addresses)): Don't use BP_SYM.
20618 (_start): Likewise.
20619 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20621 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20622 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20623 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20624 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20625 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20627 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20628 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
20629 about bounded pointers.
20630 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20631 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20632 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20634 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20635 about bounded pointers. Remove GKM FIXME comments.
20636 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20637 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20639 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20640 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
20641 Remove GKM FIXME comments.
20642 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20643 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20644 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20646 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20647 about bounded pointers. Remove GKM FIXME comment.
20648 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
20650 (strncmp): Don't use BP_SYM. Remove comment about bounded
20652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
20653 <bp-sym.h> and <bp-asm.h>.
20654 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
20656 <bp-sym.h> and <bp-asm.h>.
20657 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20660 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20662 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
20665 2013-03-05 David S. Miller <davem@davemloft.net>
20667 * po/es.po: Update from translation team.
20669 2013-03-05 Andreas Jaeger <aj@suse.de>
20671 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
20672 <bits/mman-linux.h>.
20673 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20675 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
20676 <bits/mman-linux.h> to end of file.
20677 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20679 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
20680 <bits/mman-linux.h> to end of file.
20681 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20683 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
20684 <bits/mman-linux.h> to end of file.
20686 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
20687 (MCL_CURRENT, MCL_FUTURE): Define here.
20689 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20692 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
20694 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20696 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20698 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
20699 fourth parameter needed for rt_sigprocmask syscall.
20700 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20701 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20702 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20703 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20704 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20705 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
20707 2013-03-04 Joseph Myers <joseph@codesourcery.com>
20710 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
20711 comment about bounded pointers.
20712 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
20713 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
20715 2013-03-04 Andreas Jaeger <aj@suse.de>
20717 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
20718 common definitions.
20720 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
20721 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
20722 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
20723 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20724 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20725 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20727 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20730 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20731 __ieee754_sqrl instead of __sqrl.
20733 2013-03-01 Joseph Myers <joseph@codesourcery.com>
20735 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
20736 * sysdeps/powerpc/fpu_control.h: ... here.
20737 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
20738 * sysdeps/powerpc/bits/fenvinline.h: ... here.
20739 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
20740 * sysdeps/powerpc/bits/mathinline.h: ... here.
20742 2013-03-01 Roland McGrath <roland@hack.frob.com>
20744 * elf/dl-hwcaps.c (_dl_important_hwcaps):
20745 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
20746 to just [NEED_DL_SYSINFO_DSO].
20747 * elf/dl-support.c: Likewise.
20748 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20749 * elf/rtld.c (dl_main): Likewise.
20750 * elf/setup-vdso.h (setup_vdso): Likewise.
20751 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
20752 * sysdeps/unix/sysv/linux/dl-sysdep.c
20753 (_dl_discover_osversion): Likewise.
20755 2013-03-01 Carlos O'Donell <carlos@redhat.com>
20757 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
20758 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20760 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
20762 * NEWS: Mention libm performance improvements and non-x86 PI
20765 * csu/libc-start.c (__pthread_initialize_minimal): Change
20766 function arguments.
20767 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20769 2013-02-28 Joseph Myers <joseph@codesourcery.com>
20772 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
20773 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
20774 <bp-sym.h> and <bp-asm.h>.
20775 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20776 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
20778 (memcpy): Don't use BP_SYM.
20779 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
20781 (__mpn_add_n): Don't use BP_SYM.
20782 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
20783 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
20785 (__mpn_addmul_1): Don't use BP_SYM.
20786 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20787 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
20789 (_setjmp): Don't use BP_SYM.
20790 (__novmx_setjmp): Likewise.
20791 (__GI__setjmp): Likewise.
20792 (__vmx_setjmp): Likewise.
20793 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
20795 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
20796 (__bzero): Don't use BP_SYM.
20797 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20798 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20799 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
20800 <bp-sym.h> and <bp-asm.h>.
20801 (memcpy): Don't use BP_SYM.
20802 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
20803 <bp-sym.h> and <bp-asm.h>.
20804 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20805 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
20806 <bp-sym.h> and <bp-asm.h>.
20807 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20808 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
20810 (__mpn_lshift): Don't use BP_SYM.
20811 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20812 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
20814 (memset): Don't use BP_SYM.
20815 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20816 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20817 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
20819 (__mpn_mul_1): Don't use BP_SYM.
20820 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20821 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
20822 <bp-sym.h> and <bp-asm.h>.
20823 (memcmp): Don't use BP_SYM.
20824 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
20825 <bp-sym.h> and <bp-asm.h>.
20826 (memcpy): Don't use BP_SYM.
20827 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
20828 <bp-sym.h> and <bp-asm.h>.
20829 (memset): Don't use BP_SYM.
20830 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
20831 <bp-sym.h> and <bp-asm.h>.
20832 (strncmp): Don't use BP_SYM.
20833 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
20834 <bp-sym.h> and <bp-asm.h>.
20835 (memcpy): Don't use BP_SYM.
20836 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
20837 <bp-sym.h> and <bp-asm.h>.
20838 (memset): Don't use BP_SYM.
20839 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
20840 <bp-sym.h> and <bp-asm.h>.
20841 (__memchr): Don't use BP_SYM.
20842 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
20843 <bp-sym.h> and <bp-asm.h>.
20844 (memcmp): Don't use BP_SYM.
20845 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
20846 <bp-sym.h> and <bp-asm.h>.
20847 (memcpy): Don't use BP_SYM.
20848 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
20849 <bp-sym.h> and <bp-asm.h>.
20850 (__mempcpy): Don't use BP_SYM.
20851 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
20852 <bp-sym.h> and <bp-asm.h>.
20853 (__memrchr): Don't use BP_SYM.
20854 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
20855 <bp-sym.h> and <bp-asm.h>.
20856 (memset): Don't use BP_SYM.
20857 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
20858 <bp-sym.h> and <bp-asm.h>.
20859 (__rawmemchr): Don't use BP_SYM.
20860 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
20861 <bp-sym.h> and <bp-asm.h>.
20862 (__STRCMP): Don't use BP_SYM.
20863 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
20864 <bp-sym.h> and <bp-asm.h>.
20865 (strchr): Don't use BP_SYM.
20866 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
20867 <bp-sym.h> and <bp-asm.h>.
20868 (__strchrnul): Don't use BP_SYM.
20869 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
20870 <bp-sym.h> and <bp-asm.h>.
20871 (strlen): Don't use BP_SYM.
20872 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
20873 <bp-sym.h> and <bp-asm.h>.
20874 (strncmp): Don't use BP_SYM.
20875 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
20876 <bp-sym.h> and <bp-asm.h>.
20877 (__strnlen): Don't use BP_SYM.
20878 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
20880 (__mpn_rshift): Don't use BP_SYM.
20881 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20882 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
20883 <bp-sym.h> and <bp-asm.h>.
20884 (__sigsetjmp): Don't use BP_SYM.
20885 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
20886 (L(start_addresses)): Don't use BP_SYM.
20887 (_start): Likewise.
20888 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
20890 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
20891 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20892 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20893 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
20895 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
20896 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20897 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20898 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
20900 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20902 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20903 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
20905 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
20907 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20908 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20909 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
20911 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20913 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
20915 (strncmp): Don't use BP_SYM,
20916 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
20918 (__mpn_sub_n): Don't use BP_SYM.
20919 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20920 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
20922 (__mpn_submul_1): Don't use BP_SYM.
20923 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
20925 <bp-sym.h> and <bp-asm.h>.
20926 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
20928 <bp-sym.h> and <bp-asm.h>.
20929 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20932 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20934 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
20935 Use ZK to minimize writes to Z.
20936 (sub_magnitudes): Simplify code a bit.
20937 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
20938 Use ZK to minimize writes to Z.
20939 (sub_magnitudes): Simplify code a bit.
20941 2013-02-27 Roland McGrath <roland@hack.frob.com>
20943 * csu/gmon-start.c: Add special exception to license text.
20945 2013-02-27 Richard Henderson <rth@redhat.com>
20947 * scripts/config.guess: Update from config.git.
20948 * scripts/config.sub: Likewise.
20950 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20952 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
20954 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
20956 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
20958 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
20960 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
20962 2013-02-26 Roland McGrath <roland@hack.frob.com>
20964 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
20965 [$(build-shared = yes].
20967 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20969 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
20970 (__mul): Reduce iterations for calculating mantissa.
20972 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
20974 (__mpranred): Likewise.
20977 * malloc/memusagestat.c (main): Draw graphs for heap and stack
20978 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20980 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
20982 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
20983 Define __attribute__.
20985 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20987 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20989 * posix/regex_internal.h (__attribute): Remove.
20990 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20991 (re_string_context_at): Likewise.
20992 (bitset_not): Use __attribute__ and mark function as possibly
20994 (bitset_merge): Likewise.
20995 (bitset_mask): Likewise.
20996 (re_string_char_size_at): Likewise.
20997 (re_string_wchar_at): Likewise.
20998 (re_string_elem_size_at): Likewise.
21000 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21002 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
21006 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
21010 (denorm): Likewise.
21011 (__dbl_mp): Likewise.
21012 (add_magnitudes): Likewise.
21013 (sub_magnitudes): Likewise.
21017 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21020 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21023 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21026 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21027 up changes with default code.
21028 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21031 2013-02-24 Allan McRae <allan@archlinux.org>
21033 * manual/socket.texi (The Internet Namespace): Order menu items
21034 to match that in the file.
21036 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21037 node listing of the info page menu.
21039 2013-02-21 Joseph Myers <joseph@codesourcery.com>
21042 * sysdeps/i386/bp-asm.h: Remove file.
21043 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21044 (PARMS): Do not use macros from bp-asm.h.
21048 (__mpn_add_n): Do not use BP_SYM
21049 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21051 (PARMS): Do not use macros from bp-asm.h.
21054 (__mpn_addmul_1): Do not use BP_SYM
21055 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21057 (PARMS): Do not use macros from bp-asm.h.
21058 (SIGMSK): Likewise.
21059 (_setjmp): Likewise. Do not use BP_SYM.
21060 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21062 (PARMS): Do not use macros from bp-asm.h.
21063 (SIGMSK): Likewise.
21064 (setjmp): Likewise. Do not use BP_SYM.
21065 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21067 (PARMS): Do not use macros from bp-asm.h.
21068 (__frexp): Do not use BP_SYM.
21070 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21072 (PARMS): Do not use macros from bp-asm.h.
21073 (__frexpf): Do not use BP_SYM.
21074 (frexpf): Likewise.
21075 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21077 (PARMS): Do not use macros from bp-asm.h.
21078 (__frexpl): Do not use BP_SYM.
21079 (frexpl): Likewise.
21080 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21082 (PARMS): Do not use macros from bp-asm.h.
21083 (__remquo): Do not use BP_SYM.
21084 (remquo): Likewise.
21085 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21087 (PARMS): Do not use macros from bp-asm.h.
21088 (__remquof): Do not use BP_SYM.
21089 (remquof): Likewise.
21090 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21092 (PARMS): Do not use macros from bp-asm.h.
21093 (__remquol): Do not use BP_SYM.
21094 (remquol): Likewise.
21095 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21097 (PARMS): Do not use macros from bp-asm.h.
21100 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
21101 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21103 (PARMS): Do not use macros from bp-asm.h.
21104 (strlen): Do not use BP_SYM.
21105 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21107 (PARMS): Do not use macros from bp-asm.h.
21111 (__mpn_add_n): Do not use BP_SYM.
21112 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21114 (PARMS): Do not use macros from bp-asm.h.
21117 (__mpn_addmul_1): Do not use BP_SYM.
21118 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21121 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21123 (PARMS): Do not use macros from bp-asm.h.
21126 (__mpn_lshift): Do not use BP_SYM.
21127 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21129 (PARMS): Do not use macros from bp-asm.h.
21133 (memcpy): Likewise. Do not use BP_SYM.
21134 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21135 libc_hidden_def and weak_alias.
21136 (mempcpy): Do not use BP_SYM in weak_alias.
21137 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
21139 (PARMS): Do not use macros from bp-asm.h.
21142 [!BZERO_P] (CHR): Likewise.
21143 (memset): Likewise. Do not use BP_SYM.
21144 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
21146 (PARMS): Do not use macros from bp-asm.h.
21149 (__mpn_mul_1): Do not use BP_SYM.
21150 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
21152 (PARMS): Do not use macros from bp-asm.h.
21155 (__mpn_rshift): Do not use BP_SYM.
21156 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
21158 (PARMS): Do not use macros from bp-asm.h.
21161 (strchr): Likewise. Do not use BP_SYM.
21162 (index): Do not use BP_SYM in weak_alias.
21163 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
21165 (PARMS): Do not use macros from bp-asm.h.
21168 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
21169 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
21171 (PARMS): Do not use macros from bp-asm.h.
21172 (strlen): Do not use BP_SYM.
21173 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
21175 (PARMS): Do not use macros from bp-asm.h.
21179 (__mpn_sub_n): Do not use BP_SYM.
21180 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
21182 (PARMS): Do not use macros from bp-asm.h.
21185 (__mpn_submul_1): Do not use BP_SYM.
21186 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
21188 (PARMS): Do not use macros from bp-asm.h.
21192 (__mpn_add_n): Do not use BP_SYM.
21193 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
21196 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
21198 (PARMS): Do not use macros from bp-asm.h.
21201 (memcmp): Do not use BP_SYM.
21202 (bcmp): Do not use BP_SYM in weak_alias.
21203 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
21205 (PARMS): Do not use macros from bp-asm.h.
21209 (memcpy): Likewise. Do not use BP_SYM.
21210 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
21212 (PARMS): Do not use macros from bp-asm.h.
21216 (memmove): Likewise. Do not use BP_SYM.
21217 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
21219 (PARMS): Do not use macros from bp-asm.h.
21223 (__mempcpy): Likewise. Do not use BP_SYM.
21224 (mempcpy): Do not use BP_SYM in weak_alias.
21225 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
21227 (PARMS): Do not use macros from bp-asm.h.
21230 [!BZERO_P] (CHR): Likewise.
21231 (memset): Likewise. Do not use BP_SYM.
21232 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
21234 (PARMS): Do not use macros from bp-asm.h.
21236 (strcmp): Do not use BP_SYM.
21237 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
21239 (PARMS): Do not use macros from bp-asm.h.
21242 [USE_AS_STRTOK_R] (SAVE): Likewise.
21243 (FUNCTION): Likewise. Do not use BP_SYM.
21244 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
21246 (strtok_r): Likewise.
21247 (__GI___strtok_r): Likewise.
21248 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21249 (PARMS): Do not use macros from bp-asm.h.
21252 (__mpn_lshift): Do not use BP_SYM.
21253 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21254 (PARMS): Do not use macros from bp-asm.h.
21257 (__memchr): Do not use BP_SYM.
21258 (memchr): Do not use BP_SYM in weak_alias.
21259 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21260 (PARMS): Do not use macros from bp-asm.h.
21263 (memcmp): Do not use BP_SYM.
21264 (bcmp): Do not use BP_SYM in weak_alias.
21265 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
21266 (PARMS): Do not use macros from bp-asm.h.
21269 (__mpn_mul_1): Do not use BP_SYM.
21270 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
21272 (PARMS): Do not use macros from bp-asm.h.
21275 (__rawmemchr): Do not use BP_SYM.
21276 (rawmemchr): Do not use BP_SYM in weak_alias.
21277 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21278 (PARMS): Do not use macros from bp-asm.h.
21281 (__mpn_rshift): Do not use BP_SYM.
21282 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21283 (PARMS): Do not use macros from bp-asm.h.
21284 (SIGMSK): Likewise.
21285 (__sigsetjmp): Likewise. Do not use BP_SYM.
21286 * sysdeps/i386/start.S: Do not include "bp-sym.h".
21287 (_start): Do not use BP_SYM.
21288 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
21289 (PARMS): Do not use macros from bp-asm.h.
21292 (__stpcpy): Likewise. Do not use BP_SYM.
21293 (stpcpy): Do not use BP_SYM in weak_alias.
21294 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
21296 (PARMS): Do not use macros from bp-asm.h.
21300 (__stpncpy): Likewise. Do not use BP_SYM.
21301 (stpncpy): Do not use BP_SYM in weak_alias.
21302 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21303 (PARMS): Do not use macros from bp-asm.h.
21306 (strchr): Likewise. Do not use BP_SYM.
21307 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
21309 (PARMS): Do not use macros from bp-asm.h.
21312 (__strchrnul): Likewise. Do not use BP_SYM.
21313 (strchrnul): Do not use BP_SYM in weak_alias.
21314 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
21316 (PARMS): Do not use macros from bp-asm.h.
21318 (strcspn): Do not use BP_SYM.
21319 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
21321 (PARMS): Do not use macros from bp-asm.h.
21324 (strpbrk): Likewise. Do not use BP_SYM.
21325 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
21327 (PARMS): Do not use macros from bp-asm.h.
21330 (strrchr): Likewise. Do not use BP_SYM.
21331 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
21332 (PARMS): Do not use macros from bp-asm.h.
21334 (strspn): Do not use BP_SYM.
21335 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
21336 (PARMS): Do not use macros from bp-asm.h.
21340 (FUNCTION): Likewise. Do not use BP_SYM.
21341 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
21343 (strtok_r): Likewise.
21344 (__GI___strtok_r): Likewise.
21345 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21346 (PARMS): Do not use macros from bp-asm.h.
21350 (__mpn_sub_n): Do not use BP_SYM.
21351 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
21353 (PARMS): Do not use macros from bp-asm.h.
21356 (__mpn_submul_1): Do not use BP_SYM.
21357 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
21359 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
21361 (PARMS): Do not use macros from bp-asm.h.
21366 (__clone): Do not use BP_SYM.
21367 (clone): Do not use BP_SYM in weak_alias.
21368 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
21370 (PARMS): Do not use macros from bp-asm.h.
21372 (__mmap64): Do not use BP_SYM.
21373 (mmap64): Do not use BP_SYM in weak_alias.
21374 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21375 <bp-sym.h> and <bp-asm.h>.
21376 (PARMS): Do not use macros from bp-asm.h.
21377 (__posix_fadvise64_l64): Do not use BP_SYM.
21378 * sysdeps/unix/sysv/linux/i386/semtimedop.S
21379 (PARMS): Do not use macros from bp-asm.h.
21381 (semtimedop): Do not use BP_SYM.
21382 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
21385 2013-02-21 Allan McRae <allan@archlinux.org>
21387 * manual/message.texi (Charset conversion in gettext):
21388 Move @end statement to beginning of line.
21390 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21392 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
21394 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21397 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
21398 (denorm): Likewise.
21399 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
21400 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
21402 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21404 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
21405 tail-call to the resolved function if pltexit isn't needed.
21407 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21409 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
21410 or Y being zero as being unlikely.
21411 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21414 2013-02-20 Carlos O'Donell <carlos@redhat.com>
21416 * manual/nss.texi (System Databases and Name Service Switch):
21417 Remove frobnicate @pxref.
21419 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21421 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21422 __attribute__ ((unused)) to __attribute__ ((__unused__)).
21424 2013-02-20 Petr Machata <pmachata@redhat.com>
21426 * elf/elf.h (R_ARM_TARGET1): New macro.
21427 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
21428 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
21429 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
21430 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
21431 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
21432 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
21433 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
21434 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
21435 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
21436 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
21437 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
21438 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
21439 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
21440 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
21441 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
21442 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
21443 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
21444 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
21445 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
21446 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
21447 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
21448 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
21449 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
21450 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
21451 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
21452 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
21453 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
21454 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
21455 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
21456 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
21457 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
21458 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
21459 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
21460 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
21461 (R_ARM_THM_GOT_BREL12): Likewise.
21462 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
21463 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
21464 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
21465 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
21466 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
21467 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
21468 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
21469 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21470 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21472 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21474 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21475 __attribute_used__ to __attribute__ ((unused)).
21477 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21479 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21481 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21482 comment formatting.
21483 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21485 2013-02-19 Joseph Myers <joseph@codesourcery.com>
21488 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21490 (ENTER): Remove both macro definitions.
21492 (CHECK_BOUNDS_LOW): Likewise.
21493 (CHECK_BOUNDS_HIGH): Likewise.
21494 (CHECK_BOUNDS_BOTH): Likewise.
21495 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21496 (RETURN_BOUNDED_POINTER): Likewise.
21497 (RETURN_NULL_BOUNDED_POINTER): Likewise.
21498 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21499 (POP_ERRNO_LOCATION_RETURN): Likewise.
21500 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21501 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21502 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21504 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21505 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21506 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21507 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21508 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21509 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21510 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21511 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21512 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21513 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21514 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21515 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21516 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21517 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21519 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21520 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21522 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21523 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21524 * sysdeps/i386/i586/memset.S (memset): Likewise.
21525 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21526 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21527 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21529 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21530 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21531 Change uses of L(2) to L(out).
21532 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21533 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21534 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21535 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21536 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21538 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21539 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21541 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21542 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21543 (RETURN): Do not use macro LEAVE.
21544 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21545 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21546 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21547 * sysdeps/i386/i686/memset.S (memset): Likewise.
21548 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21549 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21550 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21551 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21553 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21554 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
21555 L(1_2) and L(1_3) into L(1).
21556 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21557 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21558 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21559 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21560 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21561 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21562 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21563 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21564 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21566 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21567 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21568 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21569 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21570 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21571 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21572 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21573 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21574 * sysdeps/i386/strcspn.S (strcspn): Likewise.
21575 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21576 * sysdeps/i386/strrchr.S (strrchr): Likewise.
21577 * sysdeps/i386/strspn.S (strspn): Likewise.
21578 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21580 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21581 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21582 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21583 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
21584 L(1_3) into L(1_1).
21585 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21586 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21587 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21589 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21591 2013-02-19 Jakub Jelinek <jakub@redhat.com>
21593 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21596 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21598 * math/atest-exp.c (exp_mpn): Remove ROUND.
21599 * math/atest-exp2.c (exp_mpn): Likewise.
21600 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21602 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21603 * stdlib/tst-tls-atexit-lib.c: Likewise.
21604 * stdlib/tst-tls-atexit.c: Likewise.
21606 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21608 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21609 and __attribute_alloc_size__.
21611 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21613 * include/programs/xmalloc.h: Change __attribute_alloc_size to
21614 __attribute_alloc_size__.
21615 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21616 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21618 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21620 * include/programs/xmalloc.h: New file.
21621 * catgets/gencat.c: Include it.
21622 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21623 * elf/pldd.c: Likewise.
21624 * iconv/iconv_charmap.c: Likewise.
21625 * iconv/iconvconfig.c: Likewise.
21626 * iconv/strtab.c: Likewise.
21627 * locale/programs/locale.c: Likewise.
21628 * locale/programs/localedef.h: Likewise.
21629 * locale/programs/simple-hash.c: Likewise.
21630 * nscd/nscd.h: Likewise.
21631 * nss/makedb.c: Likewise.
21632 * sysdeps/generic/ldconfig.h: Likewise.
21634 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21636 * Versions.def: Add GLIBC_2.18.
21637 * include/link.h (struct link_map): New member l_tls_dtor_count.
21638 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21639 (__call_tls_dtors): Likewise.
21640 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21641 __cxa_thread_atexit_impl.
21642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21646 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21648 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21650 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21651 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
21653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21655 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21656 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21658 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
21659 (tests): Add test case tst-tls-atexit.
21660 (modules-names): Add shared library for tst-tls-atexit.
21661 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
21662 (GLIBC_PRIVATE): Add __call_tls_dtors.
21663 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
21665 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
21666 * stdlib/tst-tls-atexit.c: New test case.
21667 * stdlib/tst-tls-atexit-lib.c: New test case.
21669 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
21671 * elf/Versions (ld): Add _dl_find_dso_for_object.
21672 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
21673 * elf/dl-open.c (_dl_find_dso_for_object): New function.
21674 (dl_open_worker): Use _dl_find_dso_for_object.
21675 * elf/dl-sym.c (do_sym): Likewise.
21676 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
21678 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21680 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
21681 Syntactic changes only.
21682 (_dl_runtime_profile): Do a tail-call to the resolved function.
21684 2013-02-17 Joseph Myers <joseph@codesourcery.com>
21687 * sysdeps/x86_64/bp-asm.h: Remove file.
21688 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21689 <bp-sym.h> and <bp-asm.h>.
21690 (__clone): Do not use BP_SYM.
21691 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
21692 <bp-sym.h> and <bp-asm.h>.
21693 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21694 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
21696 (_setjmp): Do not use BP_SYM.
21697 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
21699 (setjmp): Do not use BP_SYM.
21700 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
21702 (mempcpy): Do not use BP_SYM in weak_alias.
21703 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
21705 (strchr): Do not use BP_SYM.
21706 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
21708 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
21709 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
21710 (_start): Do not use BP_SYM.
21711 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
21713 (strcat): Do not use BP_SYM.
21714 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
21716 (STRCMP): Do not use BP_SYM.
21717 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
21719 (STRCPY): Do not use BP_SYM.
21720 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
21722 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
21724 (FUNCTION): Do not use BP_SYM.
21725 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
21727 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
21729 2013-02-17 Andreas Jaeger <aj@suse.de>
21731 * time/Versions: Sort entries.
21732 * string/Versions: Likewise.
21733 * resolv/Versions: Likewise.
21734 * posix/Versions: Likewise.
21735 * iconv/Versions: Likewise.
21736 * elf/Versions: Likewise.
21737 * wcsmbs/Versions: Likewise.
21739 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21741 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
21742 loop termination condition.
21744 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
21745 variable to calculate EZ.
21748 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21749 the lower precision input.
21751 2013-02-15 Joseph Myers <joseph@codesourcery.com>
21754 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
21755 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
21756 (run-via-rtld-prefix): Do not handle %-bp tests.
21757 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
21758 (all-object-suffixes): Remove .ob.
21759 (bppfx): Remove variable.
21760 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
21761 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
21762 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
21763 [$(build-bounded) = yes] (libtype.ob): Likewise.
21764 * Makerules (elide-routines.ob): Remove variable.
21765 (do-tests-clean): Do not handle *-bp.out.
21766 (common-mostlyclean): Do not handle *-bp and *-bp.out.
21767 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
21768 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
21769 (tests): Do not include $(tests-bp.out).
21770 (xtests): Do not include $(xtests-bp.out).
21771 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
21772 [$(build-bounded) = yes] ($(addprefix
21773 $(objpfx),$(binaries-bounded))): Remove rule.
21774 ($(objpfx)%-bp.out): Remove rule.
21775 * config.make.in (build-bounded): Remove variable.
21776 * crypt/Makefile [$(build-bounded) = yes]
21777 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
21778 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
21779 append to variable.
21780 [$(build-bounded) = yes] (install-lib): Likewise.
21781 [$(build-bounded) = yes] (generated): Likewise.
21782 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
21784 * intl/Makefile [$(build-bounded) = yes]
21785 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
21786 * math/Makefile [$(build-bounded) = yes]
21787 ($(tests:%=$(objpfx)%-bp): Likewise.
21788 * misc/Makefile [$(build-bounded) = yes]
21789 ($(objpfx)tst-tsearch-bp): Likewise.
21790 * nptl/Makeconfig (bounded-thread-library): Remove variable.
21791 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
21793 * string/Makefile (o-objects.ob): Remove variable.
21794 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
21795 (CFLAGS-.ob): Remove variable.
21796 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
21797 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
21798 both definitions of variable.
21799 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
21800 (ASFLAGS-.ob): Remove variable.
21802 2013-02-14 Joseph Myers <joseph@codesourcery.com>
21805 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
21806 Remove __BOUNDED_POINTERS__ from condition.
21807 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
21808 * string/bits/string2.h [!__NO_STRING_INLINES &&
21809 !__BOUNDED_POINTERS__]: Likewise.
21810 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
21812 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
21813 Remove conditional code.
21814 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
21815 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
21816 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
21820 * csu/libc-start.c: Do not include <bp-sym.h>.
21821 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
21822 * elf/dl-open.c: Do not include <bp-sym.h>.
21823 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
21824 * math/fegetenv.c: Do not include <bp-sym.h>.
21825 (fegetenv): Do not use BP_SYM in versioned symbols.
21826 * nptl/sysdeps/pthread/bits/libc-lockP.h
21827 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
21829 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21830 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
21831 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21832 (__pthread_mutex_destroy): Likewise.
21833 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21834 (__pthread_mutex_lock): Likewise.
21835 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21836 (__pthread_mutex_trylock): Likewise.
21837 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21838 (__pthread_mutex_unlock): Likewise.
21839 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21840 (__pthread_mutexattr_init): Likewise.
21841 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21842 (__pthread_mutexattr_destroy): Likewise.
21843 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21844 (__pthread_mutexattr_settype): Likewise.
21845 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21846 (__pthread_rwlock_init): Likewise.
21847 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21848 (__pthread_rwlock_destroy): Likewise.
21849 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21850 (__pthread_rwlock_rdlock): Likewise.
21851 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21852 (__pthread_rwlock_tryrdlock): Likewise.
21853 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21854 (__pthread_rwlock_wrlock): Likewise.
21855 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21856 (__pthread_rwlock_trywrlock): Likewise.
21857 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21858 (__pthread_rwlock_unlock): Likewise.
21859 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21860 (__pthread_key_create): Likewise.
21861 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21862 (__pthread_setspecific): Likewise.
21863 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21864 (__pthread_getspecific): Likewise.
21865 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
21867 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21868 (_pthread_cleanup_push_defer): Likewise.
21869 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21870 (_pthread_cleanup_pop_restore): Likewise.
21871 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21872 (pthread_setcancelstate): Likewise.
21873 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
21875 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
21876 (memchr): Do not use BP_SYM in weak_alias.
21877 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
21878 (fegetenv): Do not use BP_SYM in versioned symbols.
21879 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
21880 (fesetenv): Do not use BP_SYM in versioned symbols.
21881 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21882 (feupdateenv): Do not use BP_SYM in versioned symbols.
21883 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21884 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21885 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
21886 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
21887 (open64): Do not use BP_SYM in weak_alias.
21888 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
21889 (fegetenv): Do not use BP_SYM in versioned symbols.
21890 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
21891 (fesetenv): Do not use BP_SYM in versioned symbols.
21892 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21893 (feupdateenv): Do not use BP_SYM in versioned symbols.
21894 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
21895 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
21896 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
21897 (feraiseexcept): Do not use BP_SYM in versioned symbols.
21898 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21899 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21900 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
21902 (__libc_start_main): Do not use BP_SYM.
21904 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21906 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
21907 redundant return line.
21909 (denorm): Likewise.
21910 (dbl_mp): Likewise.
21911 (sub_magnitudes): Likewise.
21917 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
21919 (denorm): Likewise.
21920 (dbl_mp): Likewise.
21921 (sub_magnitudes): Likewise.
21928 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
21930 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21931 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
21934 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
21935 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
21936 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
21937 of __mul for squares.
21938 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
21940 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
21942 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
21943 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21945 2013-02-13 Joseph Myers <joseph@codesourcery.com>
21948 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
21950 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
21951 prototype or function definition. Rename ubp_* variables and
21952 parameters. Remove argv definitions conditional on
21953 [__BOUNDED_POINTERS__].
21954 * debug/backtrace.c (__backtrace): Do not use __unbounded.
21955 * elf/dl-runtime.c (_dl_fixup): Likewise.
21956 * include/set-hooks.h (RUN_HOOK): Likewise.
21957 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
21959 * string/strcpy.c (strcpy): Do not use __unbounded.
21960 * sysdeps/generic/frame.h (struct layout): Likewise.
21961 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
21962 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
21963 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
21964 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
21965 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
21966 (__backtrace): Likewise.
21967 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
21969 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21970 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21971 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21973 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
21974 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
21975 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21976 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21977 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
21978 Do not use __unbounded.
21979 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21980 Rename __unboundedrlimits parameter to rlimits in prototype.
21981 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
21982 Do not use __unbounded.
21983 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21984 not use __ptrvalue.
21985 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21986 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21987 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21988 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21989 __ptrvalue or __unbounded.
21990 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21991 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21993 (__new_msgctl): Do not use __ptrvalue.
21994 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21996 (__libc_msgrcv): Do not use __ptrvalue.
21997 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21998 startup_info): Do not use __unbounded.
21999 (__libc_start_main): Likewise. Rename ubp_* variables and
22000 parameters. Remove argv definitions conditional on
22001 [__BOUNDED_POINTERS__].
22002 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
22004 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
22006 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
22008 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
22010 (__new_shmctl): Do not use __ptrvalue.
22011 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22012 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22014 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22015 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22016 (__libc_sigaction): Likewise.
22017 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22018 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22020 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22022 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
22024 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
22026 * string/mempcpy.c: Implement by calling memcpy.
22028 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22030 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22032 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22035 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22036 values in the mantissa.
22038 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22039 minimize writes to Z.
22040 (sub_magnitudes): Simplify code a bit.
22042 2013-02-12 Roland McGrath <roland@hack.frob.com>
22044 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22045 from the message. The linker prefixes all warnings with that already.
22047 2013-02-12 Andreas Schwab <schwab@suse.de>
22050 * posix/regexec.c (extend_buffers): Add parameter min_len.
22051 (check_matching): Pass minimum needed length.
22052 (clean_state_log_if_needed): Likewise.
22053 (get_subexp): Likewise.
22054 * posix/Makefile (tests): Add bug-regex34.
22055 (bug-regex34-ENV): Define.
22056 * posix/bug-regex34.c: New file.
22059 * posix/regcomp.c (parse_bracket_exp): When looking up collating
22060 elements compare against the byte sequence of it, not its name.
22061 * posix/Makefile (tests): Add bug-regex35.
22062 (bug-regex35-ENV): Define.
22063 * posix/bug-regex35.c: New file.
22065 2013-02-11 Tom de Vries <tom@codesourcery.com>
22067 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
22069 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22070 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22071 (CHECK_EOL): Add undef.
22073 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
22075 * bits/stdlib-bsearch.h: New file.
22076 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
22077 * stdlib/stdlib.h: Likewise.
22079 2013-02-11 Roland McGrath <roland@hack.frob.com>
22081 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22082 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22084 * manual/search.texi (Array Search Function): Add missing const in
22086 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22087 declaration to use rlim_t.
22088 (Basic Scheduling Functions): Remove erroneous const from
22089 sched_getparam prototype. Remove erroneous * from
22090 sched_get_priority_max and sched_get_priority_min prototypes.
22091 (Resource Usage): Fix summary @comment on vtimes to refer to
22092 sys/vtimes.h rather than vtimes.h.
22093 Add missing *s in vtimes prototype.
22094 (Limits on Resources): Fix ulimit prototype to return long int.
22095 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22096 prototypes to use long int rather than double.
22097 (BSD Random): Fix initstate and setstate to use char *, not void *.
22098 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22099 prototype to make second argument 'struct aiocb64 *const[]'.
22100 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22101 (Status of AIO Operations): Remove erroneous const in aio_return and
22102 aio_return64 prototypes.
22103 (Synchronizing I/O): Fix sync prototype to return void.
22104 * manual/startup.texi (Suboptions): Remove an erroneous const in
22105 getsubopt prototype.
22106 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22107 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22108 use size_t rather than int.
22109 (Scanning All Users): Likewise for getpwent_r.
22110 (Setting Groups): Add missing const to setgroups prototype.
22111 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22112 * manual/socket.texi (Host Names): Fix gethostbyaddr and
22113 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22114 'const void *' rather than 'const char *'.
22115 (Host Address Functions): Likewise for inet_ntop.
22116 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22117 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22118 ssize_t for return value.
22119 (Sending Data): Likewise for send, sendto, sendmsg.
22120 (Socket Option Functions): Add a missing const in setsockopt prototype.
22121 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22122 use wchar_t for the argument.
22123 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22124 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22126 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22127 double/float/long double for second argument.
22128 Fix return types of significand, significandf, significandl.
22129 * manual/filesys.texi (Setting Permissions): Use mode_t for second
22130 argument in fchmod prototype.
22131 (File Owner): Use uid_t and gid_t in fchown prototype.
22132 (File Times): Add const to utimes, futimes, and lutimes prototypes.
22133 (Making Special Files): Use mode_t and dev_t in mknod prototype.
22134 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22135 use 'const struct dirent **' as argument types to CMP function pointer
22137 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22138 (File Times): Fix summary magic @comment for struct utimbuf and utime
22139 to refer to utime.h, not time.h.
22140 * manual/string.texi (Argz Functions): Add missing const in
22141 argz_extract and argz_next prototypes.
22142 (Finding Tokens in a String): Likewise for basename.
22143 (String/Array Comparison): Fix typo in wcscasecmp prototype.
22144 (Copying and Concatenation): Fix typo in wmemmove prototype.
22145 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
22146 (Signal Stack): Remove erroneous const in sigstack prototype.
22147 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
22149 (Simple Calendar Time): Likewise for stime.
22150 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
22152 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
22153 say sys/sysctl.h instead.
22154 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
22155 and vsyslog prototypes.
22157 2013-02-11 Tom de Vries <tom@codesourcery.com>
22159 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
22162 2013-02-11 Roland McGrath <roland@hack.frob.com>
22164 * misc/sys/mman.h: Fix typo in mremap comment.
22166 2013-02-08 Roland McGrath <roland@hack.frob.com>
22168 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
22169 the '\0' terminator.
22171 2013-02-08 Joseph Myers <joseph@codesourcery.com>
22174 * debug/segfault.c: Don't include <bp-checks.h>.
22175 * sysdeps/generic/bp-checks.h: Remove file.
22176 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
22177 (__GETDENTS): Don't use CHECK_N.
22178 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
22179 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22180 (__getgroups): Don't use CHECK_N.
22181 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
22182 (setgroups): Don't use CHECK_N.
22183 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
22184 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
22185 (__libc_msgrcv): Don't use CHECK_N.
22186 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
22187 (__libc_msgsnd): Don't use CHECK_N.
22188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
22190 (__libc_pread): Don't use CHECK_N.
22191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
22192 include <bp-checks.h>.
22193 (__libc_pread64): Don't use CHECK_N.
22194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
22195 include <bp-checks.h>.
22196 (__libc_pwrite): Don't use CHECK_N.
22197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
22198 include <bp-checks.h>.
22199 (__libc_pwrite64): Don't use CHECK_N.
22200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
22202 (__libc_pread): Don't use CHECK_N.
22203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
22204 include <bp-checks.h>.
22205 (__libc_pread64): Don't use CHECK_N.
22206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
22207 include <bp-checks.h>.
22208 (__libc_pwrite): Don't use CHECK_N.
22209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
22210 include <bp-checks.h>.
22211 (__libc_pwrite64): Don't use CHECK_N.
22212 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
22213 (do_pread): Don't use CHECK_N.
22214 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
22215 (do_pread64): Don't use CHECK_N.
22216 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
22217 (do_pwrite): Don't use CHECK_N.
22218 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
22219 (do_pwrite64): Don't use CHECK_N.
22220 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
22221 (__libc_readv): Don't use CHECK_N.
22222 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
22223 (semop): Don't use CHECK_N.
22224 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
22226 (semtimedop): Don't use CHECK_N.
22227 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
22228 (__libc_pread): Don't use CHECK_N.
22229 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
22231 (__libc_pread64): Don't use CHECK_N.
22232 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
22234 (__libc_pwrite): Don't use CHECK_N.
22235 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
22237 (__libc_pwrite64): Don't use CHECK_N.
22238 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
22240 (__libc_msgrcv): Don't use CHECK_N.
22241 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
22242 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
22243 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
22244 (__libc_writev): Don't use CHECK_N.
22246 2013-02-08 Roland McGrath <roland@hack.frob.com>
22248 * string/strcpy.c: Removed unused variable.
22250 * Makeconfig (+sysdep-includes): Define with := rather than =.
22251 Use an existing include/ subdir of each sysdeps dir before it.
22253 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22255 * nscd/connection.c (register_traced_file): Comment function.
22256 [HAVE_INOTIFY] (union __inev): Define.
22257 [HAVE_INOTIFY] (inotify_check_files): New function.
22258 [HAVE_INOTIFY] (clear_db_cache): Likewise.
22259 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
22261 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
22263 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22265 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
22266 loaded if not already and that a failure is permanent.
22268 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22271 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
22272 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
22274 2013-02-08 Joseph Myers <joseph@codesourcery.com>
22277 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
22278 (CHECK_1_NULL_OK): Likewise.
22279 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
22280 (__fxstat): Do not use CHECK_1.
22281 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
22283 (___fxstat64): Do not use CHECK_1.
22284 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
22286 (__fxstatat): Do not use CHECK_1.
22287 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
22289 (__fxstatat64): Do not use CHECK_1.
22290 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
22292 (__fxstat): Do not use CHECK_1.
22293 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
22295 (__fxstatat): Do not use CHECK_1.
22296 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22298 (__getresgid): Do not use CHECK_1.
22299 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22301 (__getresuid): Do not use CHECK_1.
22302 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
22304 (__lxstat): Do not use CHECK_1.
22305 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22307 (__old_msgctl): Do not use CHECK_1.
22308 (__new_msgctl): Likewise.
22309 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
22311 (__new_setrlimit): Do not use CHECK_1.
22312 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22314 (__old_shmctl): Do not use CHECK_1.
22315 (__new_shmctl): Likewise.
22316 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
22318 (__xstat): Do not use CHECK_1.
22319 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
22320 (__lxstat): Do not use CHECK_1.
22321 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
22323 (___lxstat64): Do not use CHECK_1.
22324 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
22325 (__old_msgctl): Do not use CHECK_1.
22326 (__new_msgctl): Likewise.
22327 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
22329 (__gettimeofday): Do not use CHECK_1.
22330 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
22331 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
22332 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
22334 (__gettimeofday): Do not use CHECK_1.
22335 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
22336 (__old_shmctl): Do not use CHECK_1_NULL_OK.
22337 (__new_shmctl): Do not use CHECK_1.
22338 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
22340 (do_sigtimedwait): Do not use CHECK_1.
22341 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
22343 (do_sigwaitinfo): Do not use CHECK_1.
22344 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
22346 (msgctl): Do not use CHECK_1.
22347 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
22349 (shmctl): Do not use CHECK_1.
22350 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
22351 (ustat): Do not use CHECK_1.
22352 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
22354 (__fxstat): Do not use CHECK_1.
22355 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
22357 (__fxstatat): Do not use CHECK_1.
22358 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
22360 (__lxstat): Do not use CHECK_1.
22361 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
22363 (__xstat): Do not use CHECK_1.
22364 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
22365 (__xstat): Do not use CHECK_1.
22366 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
22367 (___xstat64): Do not use CHECK_1.
22370 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
22372 (CHECK_BOUNDS_HIGH): Likewise.
22373 * string/strcpy.c: Do not include <bp-checks.h>.
22374 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
22376 2013-02-07 Roland McGrath <roland@hack.frob.com>
22378 * nscd/nscd-client.h (__nscd_drop_map_ref):
22379 Add __attribute__ ((unused)).
22380 * nis/nss-nisplus.h (niserr2nss): Likewise.
22382 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
22383 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
22385 * csu/libc-tls.c (init_static_tls, init_slotinfo):
22386 Remove inline keyword.
22387 * include/rounding-mode.h (round_away): Likewise.
22388 * libio/wfileops.c (adjust_wide_data): Likewise.
22389 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
22390 (__m128i_strloadu_tolower): Likewise.
22391 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
22392 (__m128i_strloadu_tolower): Likewise.
22393 * time/mktime.c (ydhms_diff): Likewise.
22394 * locale/elem-hash.h (elem_hash): Likewise.
22395 * locale/setlocale.c (setdata): Likewise.
22396 * posix/regex_internal.h (re_string_char_size_at): Likewise.
22397 (re_string_wchar_at): Likewise.
22398 (bitset_not, bitset_merge, bitset_mask): Likewise.
22399 [!(__GNUC__ > 3)] (inline): Remove macro.
22400 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
22401 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
22402 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22403 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22404 * string/memcmp.c (memcmp_bytes): Likewise.
22405 * locale/programs/locarchive.c (compute_hashval): Likewise.
22406 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
22407 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
22408 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
22409 * nss/getent.c (print_rpc, print_protocols): Likewise.
22410 (print_passwd, print_group, print_aliases): Likewise.
22411 * nis/nss-nisplus.h (niserr2nss): Likewise.
22412 * nscd/connections.c (restart_p): Likewise.
22413 Change return type to bool.
22415 2013-02-05 Roland McGrath <roland@hack.frob.com>
22417 * Makeconfig (all-Depend-files): Add existing
22418 $(sorted-subdirs:=/Depend) files.
22419 (all-subdirs): Remove nss.
22420 * sysdeps/unix/inet/Subdirs: Add it here instead.
22421 * hesiod/Depend: New file.
22423 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
22424 instead of calling alloca.
22426 * io/lseek.c (__lseek): Rename to __libc_lseek.
22427 Define __lseek as an alias.
22429 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
22431 2013-02-04 Carlos O'Donell <carlos@redhat.com>
22433 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
22434 else clause and remove check for non-standard endianness.
22436 2013-02-04 David S. Miller <davem@davemloft.net>
22438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22440 2013-02-04 Joseph Myers <joseph@codesourcery.com>
22443 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
22444 (__ubp_memchr): Remove prototype.
22445 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
22446 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22447 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
22448 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22449 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
22451 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
22452 (__ubp_memchr): Likewise.
22453 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
22454 (__ubp_memchr): Likewise.
22455 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
22456 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
22457 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
22458 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
22460 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22461 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
22462 (__getcwd): Do not use CHECK_STRING.
22463 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22465 (__real_chown): Do not use CHECK_STRING.
22466 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
22468 (fchownat): Do not use CHECK_STRING.
22469 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22471 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22473 (__lchown): Do not use CHECK_STRING.
22474 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22475 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22476 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22477 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22479 include <bp-checks.h>.
22480 (truncate64): Do not use CHECK_STRING.
22481 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22483 (__real_chown): Do not use CHECK_STRING.
22484 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22486 (__lchown): Do not use CHECK_STRING.
22487 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22489 (__chown): Do not use CHECK_STRING.
22490 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22492 (truncate64): Do not use CHECK_STRING.
22493 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22495 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22496 (__xmknod): Do not use CHECK_STRING.
22497 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22499 (__xmknodat): Do not use CHECK_STRING.
22500 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22501 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22503 2013-02-04 Andreas Schwab <schwab@suse.de>
22506 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22507 * include/netdb.h: Likewise for h_errno.
22508 * elf/tst-stackguard1.c: Include <tls.h>.
22510 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
22512 * elf/link.h (struct link_map): Extend the l_addr comment.
22513 * include/link.h (struct link_map): Likewise.
22515 2013-02-01 Joseph Myers <joseph@codesourcery.com>
22518 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22519 (BOUNDED_1): Remove macro.
22520 * debug/backtrace.c: Don't include <bp-checks.h>.
22521 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22522 (__backtrace): Likewise.
22523 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22525 (__backtrace): Don't use BOUNDED_1.
22526 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22528 (__backtrace): Don't use BOUNDED_1.
22529 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22530 (__backtrace): Don't use BOUNDED_1.
22531 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22532 (shmat): Don't use BOUNDED_N.
22534 2013-01-31 Joseph Myers <joseph@codesourcery.com>
22537 * sysdeps/generic/bp-start.h: Remove file.
22538 * csu/libc-start.c: Don't include <bp-start.h>.
22539 (LIBC_START_MAIN): Set up __environ directly instead of using
22540 INIT_ARGV_and_ENVIRON.
22541 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22545 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22547 (CHECK_FCNTL): Likewise.
22548 (CHECK_N_PAGES): Likewise.
22551 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22553 (CHECK_SIGSET_NULL_OK): Likewise.
22554 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22556 (sigpending): Don't use CHECK_SIGSET.
22557 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22559 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22560 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22562 (do_sigsuspend): Don't use CHECK_SIGSET.
22563 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22565 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22566 (do_sigwait): Don't use CHECK_SIGSET.
22567 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22569 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22570 include <bp-checks.h>.
22571 (sigpending): Don't use CHECK_SIGSET.
22572 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22573 include <bp-checks.h>.
22574 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22575 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22577 (sigpending): Don't use CHECK_SIGSET.
22578 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22580 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22583 * sysdeps/generic/bp-semctl.h: Remove file.
22584 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22585 <bp-checks.h> and <bp-semctl.h>.
22586 (__old_semctl): Don't use CHECK_SEMCTL.
22587 (__new_semctl): Likewise.
22588 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22590 (__old_semctl): Don't use CHECK_SEMCTL.
22591 (__new_semctl): Likewise.
22592 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22593 <bp-checks.h> and <bp-semctl.h>.
22594 (__old_semctl): Don't use CHECK_SEMCTL.
22595 (__new_semctl): Likewise.
22596 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22597 <bp-checks.h> and <bp-semctl.h>.
22598 (semctl): Don't use CHECK_SEMCTL.
22601 * Makerules (elide-bp-thunks): Remove variable.
22602 (elide-routines.oS): Don't use $(elide-bp-thunks).
22603 (elide-routines.os): Likewise.
22604 (elide-routines.o): Likewise.
22605 (elide-routines.op): Likewise.
22606 (elide-routines.og): Likewise.
22607 (objects): Don't use $(bp-thunks).
22608 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22610 (common-generated): Do not add s-proto-bp.d.
22611 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22614 Do not generate makefile rules for bounded-pointer thunks.
22615 * sysdeps/generic/bp-thunks.h: Remove file.
22616 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22617 * sysdeps/unix/s-proto-bp.S: Likewise.
22620 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22621 parts of result separately when argument is not close to line from
22622 -i to i and one part of argument is small.
22623 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22624 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22625 * math/libm-test.inc (cacos_test): Add more tests.
22626 (casin_test): Likewise.
22627 (casinh_test): Likewise.
22628 * sysdeps/i386/fpu/libm-test-ulps: Update.
22629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22631 2013-01-31 David S. Miller <davem@davemloft.net>
22633 * po/de.po: Update from translation team.
22635 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
22637 * time/tzfile.c: Include stdint.h for SIZE_MAX.
22639 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
22641 * configure.in (_AC_PROG_CC_C89): New definition.
22642 * configure: Regenerate.
22644 * configure.in (AC_PROG_CPP): New definition.
22645 * configure: Regenerate.
22647 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22649 * debug/tst-backtrace.h: New file.
22650 * debug/tst-backtrace2.c: Include tst-backtrace.h.
22651 (ret): Remove variable.
22653 (FAIL): Remove macro.
22654 (NO_INLINE): Likewise.
22655 (fn1): Use match function instead of strstr.
22656 * debug/tst-backtrace3.c: Include tst-backtrace.h.
22657 (ret): Remove variable.
22659 (FAIL): Remove macro.
22660 (NO_INLINE): Likewise.
22661 (fn): Use match function instead of strstr.
22662 * debug/tst-backtrace4.c: Include tst-backtrace.h.
22663 (ret): Remove variable.
22665 (FAIL): Remove macro.
22666 (NO_INLINE): Likewise.
22667 (handle_signal): Use match function instead of strstr.
22668 * debug/tst-backtrace5.c: Include tst-backtrace.h.
22669 (ret): Remove variable.
22671 (FAIL): Remove macro.
22672 (NO_INLINE): Likewise.
22673 (handle_signal): Use match function instead of strstr.
22675 2013-01-23 Roland McGrath <roland@hack.frob.com>
22677 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
22679 2013-01-23 David S. Miller <davem@davemloft.net>
22681 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
22682 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
22683 argument of CAS if possible.
22684 * sysdeps/sparc/sparc64/bits/atomic.h
22685 (__arch_compare_and_exchange_val_32_acq): Likewise.
22686 (__arch_compare_and_exchange_val_64_acq): Likewise.
22688 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
22690 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
22691 * sysdeps/posix/ulimit.c: ... this.
22692 Include <limits.h>.
22693 * sysdeps/unix/bsd/ulimit.c: Remove file.
22695 2013-01-23 Adam Conrad <adconrad@0c3.net>
22697 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
22698 (LDFLAGS-tst-array5): Likewise.
22700 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22703 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
22704 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
22705 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
22706 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
22708 2013-01-21 David S. Miller <davem@davemloft.net>
22710 * sysdeps/sparc/backtrace.c: New file.
22711 * sysdeps/sparc/sparc32/backtrace.h: New file.
22712 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
22713 * sysdeps/sparc/sparc64/backtrace.h: New file.
22714 * sysdeps/sparc/sparc64/backtrace.c: Delete.
22715 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22718 2013-01-21 Andreas Schwab <schwab@suse.de>
22721 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
22724 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
22726 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
22728 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22730 2013-01-18 Joseph Myers <joseph@codesourcery.com>
22731 Mark Mitchell <mark@codesourcery.com>
22732 Tom de Vries <tom@codesourcery.com>
22733 Paul Pluzhnikov <ppluzhnikov@google.com>
22735 * debug/tst-backtrace2.c: New file.
22736 * debug/tst-backtrace3.c: Likewise.
22737 * debug/tst-backtrace4.c: Likewise.
22738 * debug/tst-backtrace5.c: Likewise.
22739 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
22740 (CFLAGS-tst-backtrace3.c): Likewise.
22741 (CFLAGS-tst-backtrace4.c): Likewise.
22742 (CFLAGS-tst-backtrace5.c): Likewise.
22743 (LDFLAGS-tst-backtrace2): Likewise.
22744 (LDFLAGS-tst-backtrace3): Likewise.
22745 (LDFLAGS-tst-backtrace4): Likewise.
22746 (LDFLAGS-tst-backtrace5): Likewise.
22747 (tests): Add new tests tst-backtrace2, tst-backtrace3,
22748 tst-backtrace4 and tst-backtrace5.
22750 2013-01-18 Anton Blanchard <anton@samba.org>
22751 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22753 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
22754 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
22755 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
22756 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
22757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22758 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
22759 "+r" and remove output regs list as redundant. Add explicit inline
22760 asm to specify register of return val to work around compiler codegen
22761 bug. Remove (int) cast on return value. Add return type parameter to
22762 use in macro so that this macro does not truncate return value for
22764 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
22765 pass to INTERNAL_VSYSCALL_NCS.
22766 (INLINE_VSYSCALL): Add 'long int' as return type to
22767 INTERNAL_VSYSCALL_NCS macro invocation.
22768 (INTERNAL_VSYSCALL): Add 'long int' as return type to
22769 INTERNAL_VSYSCALL_NCS macro invocation.
22770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22772 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22775 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
22776 Fix application of SIMD FP exception mask.
22778 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
22779 mp_no from a power of two.
22780 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
22781 __mpexp_twomm1. Use __pow_mp.
22783 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
22786 2013-01-17 David S. Miller <davem@davemloft.net>
22788 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22790 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22793 * include/complex.h: Condition contents on [!_COMPLEX_H].
22794 (__kernel_casinhf): New prototype.
22795 (__kernel_casinh): Likewise.
22796 (__kernel_casinhl): Likewise.
22797 * math/Makefile (libm_calls): Add k_casinh.
22798 * math/k_casinh.c: New file.
22799 * math/k_casinhf.c: Likewise.
22800 * math/k_casinhl.c: Likewise.
22801 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
22802 finite nonzero arguments.
22803 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
22804 finite nonzero arguments.
22805 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
22806 finite nonzero arguments.
22807 * math/s_casinh.c: Do not include <float.h>.
22808 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
22809 * math/s_casinhf.c: Do not include <float.h>.
22810 (__casinhf): Move code for finite nonzero arguments to
22812 * math/s_casinhl.c: Do not include <float.h>.
22813 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
22815 (__casinhl): Move code for finite nonzero arguments to
22817 * math/libm-test.inc (cacos_test): Add more tests.
22818 * sysdeps/i386/fpu/libm-test-ulps: Update.
22819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22821 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
22823 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
22824 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
22825 [!HAVE_MREMAP]: Remove [defined linux] case.
22826 * malloc/arena.c: Do not include <malloc-sysdep.h>.
22828 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22830 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
22832 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22834 * elf/elf.h (R_386_SIZE32): New relocation.
22835 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
22837 (elf_machine_rela): Likewise.
22838 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22839 R_X86_64_SIZE64 and R_X86_64_SIZE32.
22841 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22843 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
22844 (FP_FAST_FMA): Do not define.
22845 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
22846 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
22847 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
22848 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
22849 !_SOFT_FLOAT]: Likewise.
22850 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
22851 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
22853 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
22854 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
22855 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
22856 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
22857 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
22858 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
22861 2013-01-16 Andreas Schwab <schwab@suse.de>
22864 * include/stdlib.h (__mktemp): Add declaration.
22865 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
22866 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
22868 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22870 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
22872 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22873 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
22874 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
22876 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
22877 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
22879 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
22881 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
22882 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
22883 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
22885 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
22886 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
22888 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22890 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
22892 2013-01-15 David S. Miller <davem@davemloft.net>
22894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22895 trunc{,f} to libm-sysdep_routes.
22896 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
22899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
22900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
22902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
22904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
22905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
22906 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
22907 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
22908 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
22909 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
22910 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
22911 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
22913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22914 nearbyint{,f} to libm-sysdep_routes.
22915 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
22918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
22920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
22922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
22924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
22925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
22926 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
22928 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
22929 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
22931 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
22932 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
22933 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
22935 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22936 libc_feholdexcept and libc_fesetenv.
22938 2013-01-15 Mike Frysinger <vapier@gentoo.org>
22940 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
22942 2013-01-14 David S. Miller <davem@davemloft.net>
22944 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
22945 (SPARC_ASM_VIS2_IFUNC): Likewise.
22946 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
22947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
22948 use of 'siam' instruction.
22949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
22951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
22953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
22955 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
22956 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
22957 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
22958 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
22959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
22961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
22963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
22965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
22967 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
22968 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
22969 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
22970 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
22971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
22973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22977 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22978 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22979 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22980 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
22982 routines to libm-sysdep_routines.
22983 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22986 fdim/fdimf to libm-sysdep_routines.
22987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22995 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22996 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22997 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22998 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23000 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23002 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
23003 to optimize copies.
23005 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
23006 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23007 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23009 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
23010 local variable MPTWO.
23011 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23014 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23016 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23019 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23021 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23023 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23025 * manual/pattern.texi (glob_t): Document gl_flags.
23026 (glob64_t): Likewise.
23028 2013-01-11 David S. Miller <davem@davemloft.net>
23030 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23031 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23032 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
23033 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23034 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23035 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23036 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23037 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23038 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23039 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23040 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23041 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23042 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23044 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23045 sparc V9 rather than using V8 code.
23046 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23047 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23049 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23051 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23054 2013-01-11 Roland McGrath <roland@hack.frob.com>
23056 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23057 not in the main loop.
23058 * configure: Regenerated.
23060 2013-01-11 Joseph Myers <joseph@codesourcery.com>
23062 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23063 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23065 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
23066 [!__GLIBC_HAVE_LONG_LONG] case.
23067 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23068 condition to just #else.
23069 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23070 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23071 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23072 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23074 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23075 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23076 #elif condition to just #else.
23077 * sysdeps/unix/sysv/linux/sys/sysmacros.h
23078 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23079 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23080 #elif condition to just #else.
23082 2013-01-11 Steve Ellcey <sellcey@mips.com>
23084 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23085 (EF_MIPS_ARCH_64): Fix value.
23086 (EF_MIPS_ARCH_32R2): New.
23087 (EF_MIPS_ARCH_64R2): New.
23089 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
23091 * Makeconfig (+link-pie-before-libc): New.
23092 (+link-pie-after-libc): Likewise.
23093 (+link-pie-tests): Likewise.
23094 (+link-pie): Rewritten.
23095 (link-before-libc): Remove $(config-LDFLAGS).
23096 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23097 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23098 (config-LDFLAGS): Renamed to ...
23099 (rtld-LDFLAGS): This.
23100 (rtld-tests-LDFLAGS): New macro.
23101 (link-libc-rpath-link): Likewise.
23102 (link-libc-tests-rpath-link): Likewise.
23103 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23104 (link-libc): Prepand $(link-libc-rpath-link).
23105 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23106 (test-program-prefix): New macro.
23107 (test-via-rtld-prefix): Likewise.
23108 (test-program-cmd): Likewise.
23109 (host-test-program-cmd): Likewise.
23110 * Makefile ($(common-objpfx)testrun.sh): Replace
23111 $(run-program-prefix) with $(test-program-prefix).
23112 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23114 ($(common-objpfx)shlib.lds): Likewise.
23115 (build-module-helper): Likewise.
23116 ($(common-objpfx)format.lds): Likewise.
23117 * Rules (binaries-pie-tests): New.
23118 (binaries-pie-notests): Likewise.
23119 (binaries-pie): Rewritten.
23120 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23121 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23122 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23123 (make-test-out): Replace $(host-built-program-cmd) with
23124 $(host-test-program-cmd).
23125 * config.make.in (build-hardcoded-path-in-tests): New variable.
23126 * configure.in (--enable-hardcoded-path-in-tests): New configure
23128 (hardcoded_path_in_tests): New AC_SUBST.
23129 * configure: Regenerated.
23130 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23131 $(built-program-cmd) with $(test-program-cmd).
23132 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23133 (test_program_cmd): This.
23134 * elf/Makefile ($(objpfx)order.out): Run test with
23135 $(test-program-prefix).
23136 ($(objpfx)order2.out): Likewise.
23137 ($(objpfx)tst-initorder.out): Likewise.
23138 ($(objpfx)tst-initorder2.out): Likewise.
23139 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
23140 $(test-program-cmd).
23141 ($(objpfx)tst-array1-static.out): Likewise.
23142 ($(objpfx)tst-array2.out): Likewise.
23143 ($(objpfx)tst-array3.out): Likewise.
23144 ($(objpfx)tst-array4.out): Likewise.
23145 ($(objpfx)tst-array5.out): Likewise.
23146 ($(objpfx)tst-array5-static.out): Likewise.
23147 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
23148 $(test-program-cmd).
23149 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
23150 $(run-program-prefix) with $(test-program-prefix).
23151 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
23152 (test_program_prefix): This.
23153 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
23154 $(run-program-prefix) with $(test-program-prefix).
23155 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
23156 (test_program_prefix): This.
23157 * iconvdata/tst-tables.sh: Likewise.
23158 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
23159 $(run-program-prefix) with $(test-program-prefix).
23160 ($(objpfx)tst-translit.out): Likewise.
23161 ($(objpfx)tst-gettext2.out): Likewise.
23162 ($(objpfx)tst-gettext4.out): Likewise.
23163 ($(objpfx)tst-gettext6.out): Likewise.
23164 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
23165 (test_program_prefix): This.
23166 * intl/tst-gettext2.sh: Likewise.
23167 * intl/tst-gettext4.sh Likewise.
23168 * intl/tst-gettext6.sh: Likewise.
23169 * intl/tst-translit.sh: Likewise.
23170 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
23171 with $(test-program-cmd).
23172 * libio/Makefile ($(objpfx)test-freopen.out): Replace
23173 $(run-program-prefix) with $(test-program-prefix).
23174 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
23175 (test_program_prefix): This.
23176 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
23177 $(run-program-prefix) with $(test-program-prefix).
23178 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
23179 (test_program_prefix): This.
23180 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
23181 * posix/Makefile ($(objpfx)globtest.out): Replace
23182 $(run-via-rtld-prefix) and $(test-wrapper) with
23183 $(test-program-prefix) and $(test-via-rtld-prefix).
23184 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
23185 $(test-program-prefix).
23186 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
23187 $(host-test-program-cmd).
23188 (tst-spawn-ARGS): Likewise.
23189 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
23190 $(test-program-prefix).
23191 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
23192 (test_via_rtld_prefix): This.
23193 (test_wrapper): Renamed to ...
23194 (test_program_prefix): This.
23195 (run_program_prefix): Replaced by test_program_prefix.
23196 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
23197 (test_program_prefix): This.
23198 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
23199 with $(host-test-program-cmd).
23200 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
23201 $(run-program-prefix) with $(test-program-prefix).
23202 ($(objpfx)tst-printf.out): Likewise.
23203 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
23204 $(test-program-cmd).
23205 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
23206 (test_program_prefix): This.
23207 * stdio-common/tst-unbputc.sh: Likewise.
23208 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
23209 $(run-program-prefix) with $(test-program-prefix).
23210 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
23211 (test_program_prefix): This.
23212 * string/Makefile ($(objpfx)tst-svc.out): Replace
23213 $(built-program-cmd) with $(test-program-cmd).
23215 2013-01-11 Andreas Jaeger <aj@suse.de>
23218 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
23219 value. Sync with Linux 3.7.
23221 2013-01-10 David S. Miller <davem@davemloft.net>
23223 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
23224 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23225 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23227 2013-01-10 Roland McGrath <roland@hack.frob.com>
23229 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
23231 * configure: Regenerated.
23233 2013-01-10 David S. Miller <davem@davemloft.net>
23235 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23236 sparc V9 rather than using V8 code.
23237 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23238 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23240 2013-01-10 Roland McGrath <roland@hack.frob.com>
23242 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
23243 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
23244 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
23245 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
23246 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
23247 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
23248 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
23249 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
23250 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
23251 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
23252 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
23253 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
23254 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
23255 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
23256 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
23257 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
23258 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
23259 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
23260 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
23261 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
23262 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
23263 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
23264 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
23265 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
23266 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
23267 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
23268 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
23270 2013-01-10 David S. Miller <davem@davemloft.net>
23272 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23274 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23276 * posix/Makefile (tests-static): New variable.
23277 (tests): Add $(tests-static).
23278 (tst-exec-static-ARGS): New variable.
23279 (tst-spawn-static-ARGS): Likewise.
23280 * posix/tst-exec-static.c: New file.
23281 * posix/tst-spawn-static.c: Likewise.
23282 * posix/tst-exec.c: Support run directly.
23283 * posix/tst-spawn.c: Likewise.
23285 2013-01-10 Joseph Myers <joseph@codesourcery.com>
23287 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
23289 * math/bits/mathcalls.h (llrint): Likewise.
23290 (llround): Likewise.
23291 * stdlib/stdlib.h (struct drand48_data): Likewise.
23292 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
23293 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
23294 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
23296 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
23298 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
23299 (elf_greg_t): Likewise.
23300 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
23301 (__jmp_buf): Likewise.
23302 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
23304 (llrint): Likewise, for all definitions.
23305 (llrintl): Likewise.
23307 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
23308 Remove [__GNUC__] condition.
23309 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
23310 condition to just [__USE_ISOC99].
23311 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
23313 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23316 * sysdeps/unix/sysv/linux/x86/bits/environments.h
23317 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
23319 (_POSIX_V6_ILP32_OFF32): Likewise.
23320 (_XBS5_ILP32_OFF32): Likewise.
23321 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
23322 (__ILP32_OFFBIG_LDFLAGS): Likewise.
23324 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23326 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
23328 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
23329 doubles __mpexp_twomm1. Adjust usage.
23330 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
23333 2013-01-10 Andreas Schwab <schwab@suse.de>
23336 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
23337 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
23339 2013-01-09 David S. Miller <davem@davemloft.net>
23342 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
23343 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
23344 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
23345 (TCP_FASTOPEN): Define.
23346 (tcp_repair_opt): New structure.
23347 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
23349 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
23350 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
23351 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
23352 (tcp_cookie_transactions): New structure.
23354 2013-01-09 Anton Blanchard <anton@samba.org>
23356 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
23357 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
23358 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
23359 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
23361 2013-01-09 Joseph Myers <joseph@codesourcery.com>
23363 * include/features.h (__USE_ANSI): Remove.
23365 2013-01-09 Roland McGrath <roland@hack.frob.com>
23367 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
23369 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
23371 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
23373 * sysdeps/s390/fpu/libm-test-ulps: Update.
23375 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23377 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
23381 (denorm): Likewise.
23382 (__mp_dbl): Likewise.
23383 (__dbl_mp): Likewise.
23384 (add_magnitudes): Likewise.
23385 (sub_magnitudes): Likewise.
23391 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
23395 (denorm): Likewise.
23396 (__mp_dbl): Likewise.
23397 (__dbl_mp): Likewise.
23398 (add_magnitudes): Likewise.
23399 (sub_magnitudes): Likewise.
23405 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
23409 (denorm): Likewise.
23410 (__mp_dbl): Likewise.
23411 (__dbl_mp): Likewise.
23412 (add_magnitudes): Likewise.
23413 (sub_magnitudes): Likewise.
23420 2013-01-08 Joseph Myers <joseph@codesourcery.com>
23422 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
23423 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
23424 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
23425 2 && __USE_EXTERN_INLINES]: Likewise.
23427 2013-01-08 Andreas Jaeger <aj@suse.de>
23430 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
23432 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23433 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23435 2013-01-07 Anton Blanchard <anton@samba.org>
23437 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
23438 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23439 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
23440 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23441 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23442 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23443 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
23444 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23445 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23446 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23447 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23448 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23449 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23450 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23451 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23452 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23453 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23454 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23455 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23456 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23457 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23458 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
23459 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23460 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23461 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
23462 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23463 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23464 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23465 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
23466 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23467 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23468 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23469 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23470 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23471 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23472 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23473 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23474 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23475 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23476 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23477 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23478 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23479 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23481 2013-01-07 Joseph Myers <joseph@codesourcery.com>
23483 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23484 (__MALLOC_PMT): Likewise.
23485 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23486 [__GNUC__], only on [_LIBC].
23487 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23488 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23489 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23490 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23491 forward declaration.
23492 (realloc_hook_ini): Likewise.
23493 (memalign_hook_ini): Likewise.
23494 (__libc_memalign): Do not use __MALLOC_PMT in variable
23496 (__libc_valloc): Likewise.
23497 (__libc_pvalloc): Likewise.
23498 (__libc_calloc): Likewise.
23499 (__posix_memalign): Likewise.
23502 * math/s_casinh.c: Include <float.h>.
23503 (__casinh): Do not do computation with squaring and square root
23504 for large arguments.
23505 * math/s_casinhf.c: Include <float.h>.
23506 (__casinhf): Do not do computation with squaring and square root
23507 for large arguments.
23508 * math/s_casinhl.c: Include <float.h>.
23509 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23510 (__casinhl): Do not do computation with squaring and square root
23511 for large arguments.
23512 * math/libm-test.inc (casin_test): Add more tests.
23513 (casinh_test): Likewise.
23514 * sysdeps/i386/fpu/libm-test-ulps: Update.
23515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23517 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
23519 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23520 (__x86_64_raw_data_cache_size): Likewise.
23521 (__x86_64_data_cache_size_half): Likewise.
23522 (__x86_64_raw_data_cache_size_half): Likewise.
23523 (__x86_64_shared_cache_size): Likewise.
23524 (__x86_64_raw_shared_cache_size): Likewise.
23525 (__x86_64_shared_cache_size_half): Likewise.
23526 (__x86_64_raw_shared_cache_size_half): Likewise.
23527 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23529 (__x86_data_cache_size): This.
23530 (__x86_64_raw_data_cache_size): Renamed to ...
23531 (__x86_raw_data_cache_size): This.
23532 (__x86_64_data_cache_size_half): Renamed to ...
23533 (__x86_data_cache_size_half): This.
23534 (__x86_64_raw_data_cache_size_half): Renamed to ...
23535 (__x86_raw_data_cache_size_half): This.
23536 (__x86_64_shared_cache_size): Renamed to ...
23537 (__x86_shared_cache_size): This.
23538 (__x86_64_raw_shared_cache_size): Renamed to ...
23539 (__x86_raw_shared_cache_size): This.
23540 (__x86_64_shared_cache_size_half): Renamed to ...
23541 (__x86_shared_cache_size_half): This.
23542 (__x86_64_raw_shared_cache_size_half): Renamed to ...
23543 (__x86_raw_shared_cache_size_half): This.
23544 * sysdeps/x86_64/memcpy.S: Updated.
23545 * sysdeps/x86_64/memset.S: Likewise.
23546 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23547 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23548 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23550 2013-01-04 David S. Miller <davem@davemloft.net>
23552 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23554 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
23556 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23557 1 to avoid redefinition warning.
23558 (__USE_GNU): Don't define.
23559 (init_signaling_nan): Protoize.
23561 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23563 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23565 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23566 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23567 (__cpymn): Likewise.
23568 (norm): Remove commented code.
23569 (denorm): Likewise.
23570 (__mp_dbl): Likewise.
23572 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23573 (__cpymn): Likewise.
23574 (norm): Remove commented code.
23575 (denorm): Likewise.
23576 (__mp_dbl): Likewise.
23579 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
23580 mp_no value for 1.0 and 2.0.
23581 (norm): Use RADIXI instead of radixi.d.
23582 (denorm): Likewise.
23583 (__mul): Use 0.0 instead of zero.d.
23584 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23585 mp_no value for 1.0 and 2.0.
23586 (norm): Use RADIXI instead of radixi.d.
23587 (denorm): Likewise.
23588 (__mul): Use 0.0 instead of zero.d.
23590 2013-01-04 Joseph Myers <joseph@codesourcery.com>
23593 * math/s_casinh.c (__casinh): Reduce finite argument to first
23594 quadrant then set signs of results at the end.
23595 * math/s_casinhf.c (__casinhf): Likewise.
23596 * math/s_casinhl.c (__casinhl): Likewise.
23597 * math/libm-test.inc (casin_test): Add more tests.
23598 (casinh_test): Likewise.
23599 * sysdeps/i386/fpu/libm-test-ulps: Update.
23600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23602 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23604 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23606 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23608 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23610 (denorm): Likewise.
23611 (__mp_dbl): Likewise.
23614 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23615 and adjust the header comment.
23617 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23618 variable name from declaration.
23620 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
23622 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23623 Initialize COMMON_CPUID_INDEX_7 element.
23624 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23625 (CPUID_RTM): Likewise.
23626 (HAS_RTM): Likewise.
23627 (COMMON_CPUID_INDEX_7): New enum.
23629 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
23632 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23633 size is zero, record memory as freed.
23635 2013-01-03 Andreas Jaeger <aj@suse.de>
23637 * po/ia.po: Add new Interlingua translation.
23639 2012-01-03 Allan McRae <allan@archlinux.org>
23641 * locale/programs/localedef.c: Fix description of '--posix' flag.
23643 2013-01-02 Joseph Myers <joseph@codesourcery.com>
23645 * NEWS: Update dates in second copyright notice.
23646 * README: Update copyright dates in example.
23647 * manual/libc.texinfo: Update copyright dates.
23648 * scripts/test-installation.pl: Update copyright date in --version
23651 * hurd/ctty-input.c: Fix copyright notice formatting.
23652 * hurd/ctty-output.c: Likewise.
23653 * hurd/dtable.c: Likewise.
23654 * hurd/hurd-raise.c: Likewise.
23655 * hurd/hurdprio.c: Likewise.
23656 * hurd/msgportdemux.c: Likewise.
23657 * misc/sys/file.h: Likewise.
23658 * misc/sys/ioctl.h: Likewise.
23659 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23660 * sysdeps/mach/hurd/chdir.c: Likewise.
23661 * sysdeps/mach/hurd/fchdir.c: Likewise.
23662 * sysdeps/mach/hurd/rename.c: Likewise.
23663 * sysdeps/mach/hurd/rmdir.c: Likewise.
23664 * sysdeps/mach/hurd/seekdir.c: Likewise.
23665 * sysdeps/mach/hurd/setsid.c: Likewise.
23666 * sysdeps/posix/wait3.c: Likewise.
23668 * All files with FSF copyright notices: Update copyright dates
23669 using scripts/update-copyrights.
23670 * intl/plural.c: Regenerated.
23671 * locale/programs/charmap-kw.h: Likewise.
23672 * locale/programs/locfile-kw.h: Likewise.
23674 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23676 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
23679 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
23680 calculation loop and add branch prediction.
23682 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
23683 check access beyond bounds of m1np.
23685 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23687 (__inv): Remove local variable MPTWO to use the global
23689 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
23690 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23692 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
23693 MP3HALFS static const.
23695 2013-01-01 David S. Miller <davem@davemloft.net>
23697 * po/ca.po: Update from translation team.
23699 2013-01-01 Joseph Myers <joseph@codesourcery.com>
23701 * scripts/update-copyrights: New file.
23702 * Makeconfig: Reformat copyright notice.
23703 * ctype/ctype.h: Likewise.
23704 * debug/swprintf_chk.c: Likewise.
23705 * elf/dl-cache.c: Likewise.
23706 * elf/dl-debug.c: Likewise.
23707 * elf/dl-object.c: Likewise.
23708 * grp/initgroups.c: Likewise.
23709 * hurd/Makefile: Likewise.
23710 * hurd/hurd/signal.h: Likewise.
23711 * hurd/hurdfault.c: Likewise.
23712 * hurd/hurdioctl.c: Likewise.
23713 * hurd/hurdlookup.c: Likewise.
23714 * hurd/intr-msg.c: Likewise.
23715 * iconv/gconv_open.c: Likewise.
23716 * libio/swprintf.c: Likewise.
23717 * locale/lc-ctype.c: Likewise.
23718 * locale/nl_langinfo.c: Likewise.
23719 * mach/Machrules: Likewise.
23720 * mach/Makefile: Likewise.
23721 * malloc/obstack.h: Likewise.
23722 * manual/Makefile: Likewise.
23723 * manual/tsort.awk: Likewise.
23724 * misc/bits/stab.def: Likewise.
23725 * nis/nis_print_group_entry.c: Likewise.
23726 * nis/nis_table.c: Likewise.
23727 * nis/nss_compat/compat-pwd.c: Likewise.
23728 * nis/nss_compat/compat-spwd.c: Likewise.
23729 * po/Makefile: Likewise.
23730 * posix/fnmatch.c: Likewise.
23731 * posix/regex.h: Likewise.
23732 * resolv/Makefile: Likewise.
23733 * resolv/nss_dns/dns-network.c: Likewise.
23734 * resolv/res_hconf.c: Likewise.
23735 * scripts/gen-sorted.awk: Likewise.
23736 * soft-fp/soft-fp.h: Likewise.
23737 * stdio-common/printf.h: Likewise.
23738 * stdlib/monetary.h: Likewise.
23739 * stdlib/random.c: Likewise.
23740 * stdlib/random_r.c: Likewise.
23741 * sysdeps/generic/Makefile: Likewise.
23742 * sysdeps/gnu/Makefile: Likewise.
23743 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23744 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23745 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23746 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23747 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23748 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23749 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23750 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23751 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23752 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23753 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23754 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23755 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23756 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23757 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
23758 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23759 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23760 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23761 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23762 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23763 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23764 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23765 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23766 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23767 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
23768 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23769 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23770 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
23771 * sysdeps/mach/hurd/errnos.awk: Likewise.
23772 * sysdeps/mach/hurd/fork.c: Likewise.
23773 * sysdeps/mach/hurd/getcwd.c: Likewise.
23774 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
23775 * sysdeps/mach/hurd/mmap.c: Likewise.
23776 * sysdeps/mach/hurd/utimes.c: Likewise.
23777 * sysdeps/mach/hurd/xmknod.c: Likewise.
23778 * sysdeps/posix/profil.c: Likewise.
23779 * sysdeps/posix/readdir_r.c: Likewise.
23780 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23781 * sysdeps/powerpc/bits/setjmp.h: Likewise.
23782 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
23783 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23784 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23785 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23786 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23787 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23788 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23789 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23790 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23791 * sysdeps/pthread/lio_listio.c: Likewise.
23792 * sysdeps/sparc/dl-procinfo.h: Likewise.
23793 * sysdeps/unix/i386/sysdep.S: Likewise.
23794 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
23795 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
23796 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
23797 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
23798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23799 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23800 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23801 * sysdeps/unix/sysv/linux/speed.c: Likewise.
23802 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23803 * sysdeps/wordsize-32/divdi3.c: Likewise.
23804 * time/sys/time.h: Likewise.
23805 * wcsmbs/Makefile: Likewise.
23807 2013-01-01 David S. Miller <davem@davemloft.net>
23809 * po/fr.po: Update from translation team.
23811 * catgets/gencat.c: Update copyright year.
23812 * csu/version.c: Likewise.
23813 * debug/catchsegv.sh: Likewise.
23814 * debug/pcprofiledump.c: Likewise.
23815 * debug/xtrace.sh: Likewise.
23816 * elf/ldconfig.c: Likewise.
23817 * elf/ldd.bash.in: Likewise.
23818 * elf/pldd.c: Likewise.
23819 * elf/sotruss.ksh: Likewise.
23820 * elf/sprof.c: Likewise.
23821 * iconv/iconv_prog.c: Likewise.
23822 * iconv/iconvconfig.c: Likewise.
23823 * locale/programs/locale.c: Likewise.
23824 * locale/programs/localedef.c: Likewise.
23825 * login/programs/pt_chown.c: Likewise.
23826 * malloc/memusage.sh: Likewise.
23827 * malloc/memusagestat.c: Likewise.
23828 * malloc/mtrace.pl: Likewise.
23829 * nscd/nscd.c: Likewise.
23830 * nss/getent.c: Likewise.
23831 * nss/makedb.c: Likewise.
23832 * posix/getconf.c: Likewise.
23834 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23836 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
23839 2012-12-30 Mike Frysinger <vapier@gentoo.org>
23841 * math/bits/mathcalls.h (modf): Use __nonnull.
23843 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23845 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
23846 (split): Use macro CN instead of the bare value.
23847 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
23849 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
23850 instead of the bare value.
23851 (power1): Likewise.
23853 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23855 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
23857 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23859 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
23861 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23862 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23863 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
23864 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23866 2012-12-28 Andreas Jaeger <aj@suse.de>
23868 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
23869 values are from Linux 3.7.
23871 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
23872 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
23874 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23876 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
23879 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
23881 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
23882 variables with preprocessor constants.
23883 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23884 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23885 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23887 2012-12-27 Bruno Haible <bruno@clisp.org>
23890 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
23893 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23895 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
23896 and use variable directly.
23897 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
23899 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23901 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
23902 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23904 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23905 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23906 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
23907 include directive. Remove local variable MPONE.
23908 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
23909 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
23910 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23912 2012-12-25 David S. Miller <davem@davemloft.net>
23914 * version.h (RELEASE): Set to "development".
23915 (VERSION): Set to "2.17.90".
23916 * NEWS: Add 2.18 section.
23918 2012-12-21 David S. Miller <davem@davemloft.net>
23920 * po/hr.po: Update from translation team.
23922 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23924 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
23926 2012-12-19 Steve Ellcey <sellcey@mips.com>
23928 * NEWS: Mention new memcpy for MIPS.
23930 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23932 * manual/contrib.texi (Contributors): Spelling correction.
23934 2012-12-15 David S. Miller <davem@davemloft.net>
23936 * po/ru.po: Update from translation team.
23938 2012-12-13 David S. Miller <davem@davemloft.net>
23940 * NEWS: Mention IFUNC testsuite enhancements.
23942 * po/pl.po: Update from translation team.
23943 * po/bg.po: Likewise.
23945 * manual/contrib.texi (Contributors): Update entries for Hongjiu
23946 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
23948 2012-12-11 David S. Miller <davem@davemloft.net>
23950 * po/sv.po: Update from translation team.
23952 * po/vi.po: Update from translation team.
23954 * po/cs.po: Update from translation team.
23956 * po/de.po: Update from translation team.
23957 * po/eo.po: Likewise.
23958 * po/nl.po: Likewise.
23960 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23963 * manual/argp.texi (Argp Helper Functions): Move node to follow
23964 Argp Parsing State.
23967 * manual/conf.texi (Limits on File System Capacity): Mention if
23968 terminating null is included in the max size.
23970 2012-12-10 Andreas Jaeger <aj@suse.de>
23972 * po/cs.po: Update from translation team.
23974 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23976 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
23977 void pointer and cast to uintptr_t.
23978 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
23980 * sysdeps/s390/s390-64/memcpy.S: Likewise.
23981 * sysdeps/s390/s390-64/memset.S: Likewise.
23983 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
23986 * menual/message.texi (Message Translation): Fix typos.
23987 (Helper programs for gettext): Likewise.
23989 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
23992 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23995 2012-12-07 David S. Miller <davem@davemloft.net>
23997 * po/libc.pot: Update.
23999 2012-12-07 Richard Henderson <rth@redhat.com>
24002 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
24003 normal/normal case to before the switch.
24004 (_FP_DIV): Likewise.
24006 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
24007 Mike Frysinger <vapier@gentoo.org>
24009 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
24010 check for __NR_fadvise64_64.
24012 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
24014 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24015 0, not just to plain "0" as a statement.
24016 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24019 2012-12-06 Joseph Myers <joseph@codesourcery.com>
24021 * NEWS: Use sourceware.org in Bugzilla URL.
24023 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24026 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24028 * stdio-common/tst-put-error.c (do_test): Add newline to the
24029 padded test to ensure flush.
24031 2012-12-05 Jeff Law <law@redhat.com>
24033 * sunrpc/etc.rpc (fedfs_admin): Add entry.
24035 2012-12-05 Joseph Myers <joseph@codesourcery.com>
24037 * README: Don't refer to ports add-on as distributed separately.
24038 Mention AArch64 in list of systems supported in the ports add-on.
24040 * LICENSES: Add more non-FSF copyright and license notices.
24042 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24045 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24047 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24048 10000 as width of padded output.
24050 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24052 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24054 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24055 variable LX with __attribute__ ((unused)).
24056 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24058 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24059 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24060 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24061 with __attribute__ ((unused)).
24063 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
24065 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24067 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24069 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24070 (CFLAGS-nldbl-acos.c): New variable.
24071 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24072 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24073 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24074 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24075 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24076 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24077 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24078 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24079 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24080 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24081 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24082 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24083 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24084 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24085 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24086 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24087 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24088 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24089 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24090 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24091 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24092 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24093 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24094 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24095 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24096 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24097 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24098 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24099 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24100 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24101 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24102 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24103 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24104 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24105 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24106 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24107 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24108 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24109 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24110 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24111 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24112 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24113 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24114 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24115 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24116 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24117 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24118 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24119 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24120 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24121 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24122 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24123 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24124 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24125 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24126 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24127 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24128 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24129 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24130 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24131 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24132 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24133 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24134 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24135 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24136 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24137 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24138 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24139 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
24140 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
24141 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
24142 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
24143 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
24144 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
24145 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
24146 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
24147 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
24148 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
24149 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
24150 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
24151 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
24152 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
24153 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
24154 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
24155 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
24156 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
24157 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
24158 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
24159 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
24160 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
24161 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
24162 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
24163 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
24164 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
24165 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
24166 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
24167 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
24169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24170 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24173 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
24174 whole low double instead of just low 47 bits when splitting values
24177 2012-12-03 Allan McRae <allan@archlinux.org>
24179 * manual/stdio.texi (Predefined Printf Handlers): Remove
24180 @hsep and @vsep usage.
24182 2012-12-03 Mike Frysinger <vapier@gentoo.org>
24184 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
24185 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
24187 2012-12-03 Jeff Law <law@redhat.com>
24189 * time/sys/time.h (settimeofday): Do not mark TV argument
24192 2012-12-01 Mike Frysinger <vapier@gentoo.org>
24194 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
24195 when currently writing and seek to current position when not.
24196 * libio/Makefile (tests): Remove bug-fclose1.
24197 * libio/bug-fclose1.c: Delete.
24199 2012-12-01 Joseph Myers <joseph@codesourcery.com>
24201 * manual/arith.texi (feenableexcept): Fix typo.
24202 (fedisableexcept): Likewise.
24204 2012-11-30 Roland McGrath <roland@hack.frob.com>
24206 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
24207 second, differently-typed declaration, rather than a cast.
24209 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24211 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
24212 * include/rpc/svc.h: ... here.
24214 2012-11-30 Aurelien Jarno <aurel32@debian.org>
24217 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
24218 depending n and resplen2 to catch cases where answer
24221 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
24223 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
24224 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
24226 2012-11-29 Mike Frysinger <vapier@gentoo.org>
24228 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
24230 2012-11-29 Roland McGrath <roland@hack.frob.com>
24232 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
24234 2012-11-28 Jeff Law <law@redhat.com>
24237 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
24238 dataset_temporary. Track alloca usage into alloca_used.
24239 If dataset is large allocate and release it via malloc/free.
24241 2012-06-04 Florian Weimer <fweimer@redhat.com>
24244 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
24246 2012-11-28 David S. Miller <davem@davemloft.net>
24248 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24250 2012-11-28 Joseph Myers <joseph@codesourcery.com>
24253 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
24254 of pi/2 rounded to nearest to 64 bits.
24255 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
24256 nearest to 64 bits.
24257 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
24260 2012-11-28 Jeff Law <law@redhat.com>
24261 Martin Osvald <mosvald@redhat.com>
24264 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
24265 * sunrpc/svc.c: Include time.h.
24266 (__svc_accept_failed): New function.
24267 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
24268 any reason other than EINTR, call __svc_accept_failed.
24269 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
24270 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
24272 2012-11-28 Andreas Schwab <schwab@suse.de>
24274 * scripts/abilist.awk: Also handle indirect functions in .opd
24277 2012-11-28 Joseph Myers <joseph@codesourcery.com>
24280 * sysdeps/x86/fpu/powl_helper.c: New file.
24281 * sysdeps/x86/fpu/Makefile: Likewise.
24282 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
24284 (__ieee754_powl): Use __powl_helper for finite arguments except
24285 integer exponents below 8.
24286 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
24288 (__ieee754_powl): Use __powl_helper for finite arguments except
24289 integer exponents below 8.
24290 * math/libm-test.inc (pow_test): Add more tests and enable some
24291 previously disabled tests.
24292 * sysdeps/i386/fpu/libm-test-ulps: Update.
24293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24295 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24296 Carlos O'Donell <carlos_odonell@mentor.com>
24298 * nss/makedb.c (is_prime): Assert that input is odd and greater
24299 than 4. Note that fact in a comment too.
24300 (next_prime): Add 4 to input.
24302 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24305 * libio/Makefile (tests): Add test case tst-fwrite-error.
24306 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
24307 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
24308 * libio/tst-fwrite-error.c: New test case.
24310 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
24312 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
24313 before casting to void *.
24314 * include/libc-internal.h (__pointer_type): New macro.
24315 (__integer_if_pointer_type_sub): Likewise.
24316 (__integer_if_pointer_type): Likewise.
24317 (cast_to_integer): Likewise.
24318 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
24319 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
24320 before casting to atomic64_t.
24321 (atomic_exchange_acq): Likewise.
24322 (__arch_exchange_and_add_body): Likewise.
24323 (__arch_add_body): Likewise.
24324 (atomic_add_negative): Likewise.
24325 (atomic_add_zero): Likewise.
24327 2012-11-26 Joseph Myers <joseph@codesourcery.com>
24329 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
24330 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
24331 (add_fdes): Likewise.
24332 (linear_search_fdes): Likewise.
24333 (binary_search_unencoded_fdes): Likewise.
24335 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
24337 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
24339 2012-11-24 Adam Conrad <adconrad@0c3.net>
24341 * configure.in: Autodetect C++ header directories.
24342 * configure: Regenerated.
24344 2012-11-23 Mike Frysinger <vapier@gentoo.org>
24346 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
24348 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
24350 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24352 2012-11-22 Joseph Myers <joseph@codesourcery.com>
24354 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
24355 LDBL_MANT_DIG == 106]: Disable some tests.
24356 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24358 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24362 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
24363 input for small inputs. Return +/- pi/2 for large inputs.
24364 * math/libm-test.inc (atan_test): Add more tests.
24366 * sysdeps/generic/unwind-dw2-fde-glibc.c
24367 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
24368 __attribute__ ((unused)).
24371 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
24372 x * y if x and y are nonzero and z is zero.
24375 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
24376 nonzero exponents with absolute value below 0x1p-117 to +/-
24380 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
24381 up arguments below 2**-450, not just those below 2**-500.
24382 * math/libm-test.inc (hypot_test): Add another test.
24385 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24386 Return a+b for ratio over 2**120, not 2**60.
24387 * math/libm-test.inc (hypot_test): Add another test.
24389 * math/libm-test.inc (clog_test): Use
24390 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
24391 (clog10_test): Likewise.
24394 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
24396 2012-11-22 Andreas Schwab <schwab@suse.de>
24398 * sysdeps/i386/fpu/libm-test-ulps: Update.
24400 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
24402 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
24403 printf output with newline.
24405 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
24408 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
24409 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
24410 -z nodlopen, -z initfirst and -z execstack support.
24411 * configure: Regenerated.
24413 * elf/elf.h (DF_1_NODIRECT): New macro.
24414 (DF_1_IGNMULDEF): Likewise.
24415 (DF_1_NOKSYMS): Likewise.
24416 (DF_1_NOHDR): Likewise.
24417 (DF_1_EDITED): Likewise.
24418 (DF_1_NORELOC): Likewise.
24419 (DF_1_SYMINTPOSE): Likewise.
24420 (DF_1_GLOBAUDIT): Likewise.
24421 (DF_1_SINGLETON): Likewise.
24422 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
24423 DT_1_SUPPORTED_MASK bits.
24424 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
24426 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
24428 * sysdeps/unix/make-syscalls.sh: Document prefixes.
24430 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
24432 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
24435 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
24436 (sendmmsg): Move declarations...
24437 * socket/sys/socket.h: ... here.
24438 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
24439 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
24441 * socket/recvmmsg.c: ... this new file.
24442 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
24443 (sendmmsg): Rename to __sendmmsg, create weak alias and make
24444 definition of __sendmmsg hidden.
24445 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
24446 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
24447 Move ENOSYS stub into and include it from...
24448 * socket/sendmmsg.c: ... this new file.
24449 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
24450 (sysdep_routines): Move recvmmsg and sendmmsg...
24451 * socket/Makefile (routines): ... here.
24452 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
24453 (GLIBC_PRIVATE): Add __sendmmsg.
24454 * include/sys/socket.h (__sendmmsg): Add declarations.
24455 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
24458 2012-11-20 Joseph Myers <joseph@codesourcery.com>
24460 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
24461 variable I1 with __attribute__ ((unused)).
24462 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24464 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24466 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
24467 DUMMY variables with __attribute__ ((unused)).
24469 * bits/byteswap.h: Include <bits/types.h>.
24470 (__bswap_64): Use __uint64_t instead of unsigned long long int.
24472 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24474 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24475 string_t. Do not manually set errno.
24476 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24477 length with __strnlen. Make sure to both set errno and return it on
24480 2012-11-19 David S. Miller <davem@davemloft.net>
24482 With help from Joseph Myers.
24483 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24484 very large arguments properly.
24485 * math/libm-test.inc (atan_test): New tests.
24486 (atan2_test): New tests.
24487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24488 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24490 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24493 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24496 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24497 [POSIX] (EADDRNOTAVAIL): Likewise.
24498 [POSIX] (EAFNOSUPPORT): Likewise.
24499 [POSIX] (EALREADY): Likewise.
24500 [POSIX] (ECONNABORTED): Likewise.
24501 [POSIX] (ECONNREFUSED): Likewise.
24502 [POSIX] (ECONNRESET): Likewise.
24503 [POSIX] (EDESTADDRREQ): Likewise.
24504 [POSIX] (EDQUOT): Likewise.
24505 [POSIX] (EHOSTUNREACH): Likewise.
24506 [POSIX] (EIDRM): Likewise.
24507 [POSIX] (EISCONN): Likewise.
24508 [POSIX] (ELOOP): Likewise.
24509 [POSIX] (EMULTIHOP): Likewise.
24510 [POSIX] (ENETDOWN): Likewise.
24511 [POSIX] (ENETUNREACH): Likewise.
24512 [POSIX] (ENOBUFS): Likewise.
24513 [POSIX] (ENODATA): Likewise.
24514 [POSIX] (ENOLINK): Likewise.
24515 [POSIX] (ENOMSG): Likewise.
24516 [POSIX] (ENOPROTOOPT): Likewise.
24517 [POSIX] (ENOSR): Likewise.
24518 [POSIX] (ENOSTR): Likewise.
24519 [POSIX] (ENOTCONN): Likewise.
24520 [POSIX] (ENOTSOCK): Likewise.
24521 [POSIX] (EOPNOTSUPP): Likewise.
24522 [POSIX] (EOVERFLOW): Likewise.
24523 [POSIX] (EPROTO): Likewise.
24524 [POSIX] (EPROTONOSUPPORT): Likewise.
24525 [POSIX] (EPROTOTYPE): Likewise.
24526 [POSIX] (ESTALE): Likewise.
24527 [POSIX] (ETIME): Likewise.
24528 [POSIX] (ETXTBSY): Likewise.
24529 [POSIX] (EWOULDBLOCK): Likewise.
24530 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24531 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24532 [POSIX] (SEEK_CUR): Likewise.
24533 [POSIX] (SEEK_END): Likewise.
24534 [POSIX || UNIX98] (mode_t): Do not require.
24535 [POSIX] (off_t): Likewise.
24536 [POSIX] (pid_t): Likewise.
24537 [POSIX] (sys/stat.h): Do not allow header.
24538 [POSIX] (unistd.h): Likewise.
24539 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24540 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24541 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24542 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24544 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24545 sigevent): Specify elements.
24546 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24548 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24549 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24551 * conform/data/cpio.h-data [POSIX]: Disable whole file.
24552 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24553 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24554 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24555 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24556 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24557 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24558 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24559 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24560 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24561 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24562 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24563 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24564 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24566 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24568 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24570 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24572 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24573 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24574 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24575 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24576 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24577 Specify lower bound on value.
24578 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24579 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24580 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24581 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24582 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24583 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24584 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24585 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24587 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24589 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24590 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24591 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24592 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24593 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24594 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24595 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24596 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24597 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24598 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24599 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24600 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24601 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24602 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24603 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24604 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24606 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24608 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24609 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24610 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24611 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24612 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24613 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24615 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24616 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24617 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24618 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24619 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
24620 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24621 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24623 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24624 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24625 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24626 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24627 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24628 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24629 specify as optional.
24630 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24631 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24632 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24633 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24634 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24635 [XPG3] (NL_LANGMAX): Likewise.
24636 [POSIX || XPG3] (NL_MSGMAX): Likewise.
24637 [POSIX || XPG3] (NL_NMAX): Likewise.
24638 [POSIX || XPG3] (NL_SETMAX): Likewise.
24639 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24640 [XPG3] (NZERO): Likewise.
24641 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24642 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24643 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24644 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24645 (REG_ERANGE): Expect.
24646 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
24648 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
24649 Use (void) in prototype.
24650 [POSIX] (*_t): Allow.
24651 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
24652 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
24653 (WRDE_BADVAL): Expect.
24655 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
24657 [XPG3 || XPG4] (O_RSYNC): Likewise.
24658 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
24660 [XPG3 || XPG4] (pthread_sigmask): Likewise.
24661 [XPG3 || XPG4] (sigqueue): Likewise.
24662 [XPG3 || XPG4] (sigtimedwait): Likewise.
24663 [XPG3 || XPG4] (sigwaitinfo): Likewise.
24664 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
24665 [XPG3 || XPG4] (vsnprintf): Likewise.
24666 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
24668 [XPG3 || XPG4] (blksize_t): Likewise.
24669 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
24671 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
24672 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24673 [XPG3 || XPG4] (struct itimerspec): Likewise.
24674 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
24675 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
24676 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
24677 [XPG3 || XPG4] (clockid_t): Likewise.
24678 [XPG3 || XPG4] (timer_t): Likewise.
24679 [XPG3 || XPG4] (clock_getres): Likewise.
24680 [XPG3 || XPG4] (clock_gettime): Likewise.
24681 [XPG3 || XPG4] (clock_settime): Likewise.
24682 [XPG3 || XPG4] (nanosleep): Likewise.
24683 [XPG3 || XPG4] (timer_create): Likewise.
24684 [XPG3 || XPG4] (timer_delete): Likewise.
24685 [XPG3 || XPG4] (timer_gettime): Likewise.
24686 [XPG3 || XPG4] (timer_getoverrun): Likewise.
24687 [XPG3 || XPG4] (timer_settime): Likewise.
24688 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
24689 [XPG3 || XPG4] (getlogin_r): Likewise.
24690 [XPG3 || XPG4] (pread): Likewise.
24691 [XPG3 || XPG4] (pthread_atfork): Likewise.
24692 [XPG3 || XPG4] (pwrite): Likewise.
24695 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
24698 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24700 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
24701 finalizing MALLSTREAM.
24703 * sysdeps/mach/hurd/syncfs.c: New file.
24705 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24708 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
24709 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
24710 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
24711 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
24712 (_nss_dns_gethostbyname4_r): Likewise.
24713 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
24714 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
24716 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
24719 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
24721 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
24723 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
24724 * elf/cache.c (print_entry): Print ",AArch64" for
24727 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
24728 * elf/cache.c (print_entry): Print ",hard-float" for
24731 2012-11-18 David S. Miller <davem@davemloft.net>
24733 With help from Joseph Myers.
24734 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
24736 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
24738 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
24739 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
24741 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
24742 * math/libm-test.inc (y0_test): New tests.
24743 (y1_test): New tests.
24744 * sysdeps/i386/fpu/libm-test-ulps: Update.
24745 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24748 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
24750 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
24752 * configure: Regenerated.
24754 2012-11-17 David S. Miller <davem@davemloft.net>
24757 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
24758 nonzero exponents with absolute value below 0x1p-128 to +/-
24761 2012-11-17 Joseph Myers <joseph@codesourcery.com>
24763 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
24765 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
24767 * posix/getconf-speclist.c: New file.
24768 * posix/posix-envs.def: Likewise.
24769 * posix/confstr.c (START_ENV_GROUP): New macro.
24770 (END_ENV_GROUP): Likewise.
24771 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24772 (KNOWN_PRESENT_ENV_STRING): Likewise.
24773 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24774 (UNKNOWN_ENVIRONMENT): Likewise.
24775 (confstr): Include posix-envs.def instead of handling
24776 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
24777 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
24778 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
24779 (END_ENV_GROUP): Likewise.
24780 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24781 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24782 (UNKNOWN_ENVIRONMENT): Likewise.
24783 (__sysconf): Include posix-envs.def instead of handling associated
24784 cases directly here.
24785 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
24786 preprocessing getconf-speclist.c rather than running getconf or
24787 generating empty file.
24789 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
24791 * scripts/check-local-headers.sh: Ignore 'mach' headers.
24793 2012-11-16 Andrej Lajovic <natrij@gmail.com>
24796 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
24798 2012-11-16 David S. Miller <davem@davemloft.net>
24800 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
24801 smaller than LDBL_EPSILON/2.0L, just return xm1.
24803 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
24805 * elf/tst-array1.c (init): Set constructor priority to 1000.
24806 (fini): Set destructor priority to 1000.
24807 * elf/tst-array2dep.c: Likewise.
24809 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24812 * libio/fileops.c (_IO_new_file_write): Correctly return error.
24813 (_IO_new_file_xsputn): Also return EOF if none of the input
24814 data was written when overflow failed.
24815 * libio/iopadn.c (_IO_padn): Likewise.
24816 * libio/iowpadn.c (_IO_wpadn): Likewise.
24817 * stdio-common/tst-put-error.c: Add copyright notice.
24818 (do_test): Add case for printing padded string.
24819 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
24820 _IO_padn returned error.
24821 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
24822 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
24825 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24827 * libio/libioP.h: Add comment note that the references to C++
24828 bits are now obsolete.
24830 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24832 * math/libm-test.inc (check_complex): Use asprintf.
24834 2012-11-14 Joseph Myers <joseph@codesourcery.com>
24836 * debug/pcprofiledump.c (print_version): Update copyright year.
24837 * malloc/memusagestat.c (print_version): Likewise.
24839 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
24842 * elf/Makefile (tests): Add tst-audit8.
24843 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
24844 ($(objpfx)tst-audit8.out): New target.
24845 (tst-audit8-ENV): New variable.
24846 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
24847 audit if l_reloc_result is NULL.
24848 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
24849 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
24850 * elf/tst-audit8.c: New file.
24852 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24854 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
24855 * misc/Makefile (CFLAGS-select.c): Define.
24856 * posix/Makefile (CFLAGS-pause.c): Define.
24858 2012-11-13 David S. Miller <davem@davemloft.net>
24860 * crypt/Makefile: Move test targets after toplevel Rules
24861 inclusion. Grab any necessary sysdep routines when linking.
24862 * crypt/md5.c (md5_process_block): Remove define, we will always
24863 name it __md5_process_block.
24864 (md5_finish_ctx): Update md5_process_block call.
24865 (md5_stream): Likewise.
24866 (md5_process_bytes): Likewise.
24867 (md5_process_block): Rename to __md5_process_block and move to ...
24868 * crypt/md5-block.c: ... here.
24869 * crypt/sha256.c (sha256_process_block): Move to ...
24870 * crypt/sha256-block.c: ... here.
24871 * crypt/sha512.c (sha512_process_block): Move to ...
24872 * crypt/sha512-block.c: ... here.
24873 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
24875 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
24876 * sysdeps/sparc/sparc64/multiarch/Makefile
24877 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
24879 (localedef-aux): Add md5 crypto assembler when in locale subdir.
24880 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
24882 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
24883 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
24884 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
24885 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
24886 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
24887 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
24888 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
24889 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
24890 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
24892 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
24893 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
24895 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
24897 2012-11-13 Joseph Myers <joseph@codesourcery.com>
24899 * timezone/tzselect.ksh: Update from tzcode git revision
24900 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
24901 * timezone/zdump.c: Likewise.
24902 * timezone/zic.c: Likewise.
24903 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
24904 in TZVERSION setting, not $(PKGVERSION).
24905 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
24906 REPORT_BUGS_TO settings.
24909 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
24912 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24914 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
24915 detection to immediately after _FP_ROUND().
24916 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
24919 2012-11-11 David S. Miller <davem@davemloft.net>
24921 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
24923 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
24924 __close rather than their public counterparts.
24926 2012-11-10 Joseph Myers <joseph@codesourcery.com>
24928 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
24930 [UNIX98] (sem_timedwait): Do not expect.
24931 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
24932 [XPG4 || UNIX98] (sockatmark): Do not expect.
24933 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
24934 (clock_getcpuclockid): Do not expect.
24935 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
24936 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
24938 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
24939 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
24940 [UNIX98] (vwscanf): Likewise.
24941 [UNIX98] (vswscanf): Likewise.
24943 2012-11-09 Joseph Myers <joseph@codesourcery.com>
24945 * timezone/version.h: Remove file.
24946 * timezone/README: Do not refer to version.h.
24947 * timezone/Makefile ($(objpfx)zic.o): New dependency on
24948 $(objpfx)version.h.
24949 ($(objpfx)zdump.o): Likewise.
24950 ($(objpfx)version.h): New target.
24952 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
24954 * timezone/README: Don't mention modification to tzselect.ksh.
24955 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
24956 work on unmodified tzselect.ksh. Substitute version numbers in
24959 * Makefile (format-me): Remove.
24960 (INSTALL): Adjust indentation. Use commands directly instead of
24961 using $(format-me).
24963 * aclocal.m4 (ACX_PKGVERSION): New macro.
24964 (ACX_BUGURL): Likewise.
24965 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
24966 (PKGVERSION): New AC_DEFINE_UNQUOTED.
24967 (REPORT_BUGS_TO): Likewise.
24968 * configure: Regenerated.
24969 * config.h.in (PKGVERSION): New macro.
24970 (REPORT_BUGS_TO): Likewise.
24971 * config.make.in (PKGVERSION): New variable.
24972 (PKGVERSION_TEXI): Likewise.
24973 (REPORT_BUGS_TO): Likewise.
24974 (REPORT_BUGS_TEXI): Likewise.
24975 * Makefile (format-me): Use -I$(common-objpfx)manual.
24976 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
24977 ($(common-objpfx)manual/%): New target.
24978 (manual/%): Remove target.
24979 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24980 (print_version): Use PKGVERSION.
24981 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
24982 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24983 and REPORT_BUGS_TO.
24984 ($(objpfx)xtrace): Likewise.
24985 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24986 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24987 (print_version): Use PKGVERSION.
24988 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24989 (do_version): Use PKGVERSION.
24990 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24992 (common-ldd-rewrite): Likewise.
24993 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24994 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24995 (print_version): Use PKGVERSION.
24996 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24997 * elf/pldd.c (argp_program_bug_address): Remove variable.
24998 (more_help): New function.
24999 (argp): Use more_help.
25000 (print_version): Use PKGVERSION.
25001 * elf/sln.c (main): Use PKGVERSION.
25002 (usage): Use REPORT_BUGS_TO.
25003 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
25004 (top level): Use PKGVERSION.
25005 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
25006 (print_version): Use PKGVERSION.
25007 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
25008 (print_version): Use PKGVERSION.
25009 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
25010 (print_version): Use PKGVERSION.
25011 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
25012 (print_version): Use PKGVERSION.
25013 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25014 (print_version): Use PKGVERSION.
25015 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25016 (print_version): Use PKGVERSION.
25017 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25019 ($(objpfx)memusage): Likewise.
25020 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25021 (do_version): Use PKGVERSION.
25022 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25023 (print_version): Use PKGVERSION.
25024 * malloc/mtrace.pl ($PACKAGE): Remove variable.
25025 ($PKGVERSION): New variable.
25026 ($REPORT_BUGS_TO): Likewise.
25027 (usage): Use $REPORT_BUGS_TO.
25028 (top level): Use $PKGVERSION.
25029 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25030 ($(objpfx)pkgvers.texi): New rule.
25031 ($(objpfx)stamp-pkgvers): Likewise.
25032 * manual/install.texi: Include pkgvers.texi.
25033 (--with-pkgversion): Document new configure option.
25034 (--with-bugurl): Likewise.
25035 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25036 than necessarily for this particular distribution. Use
25037 REPORT_BUGS_TO for where to report bugs.
25038 * INSTALL: Regenerated.
25039 * manual/libc.texinfo: Include pkgvers.texi.
25040 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25041 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25042 (print_version): Use PKGVERSION.
25043 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25044 (print_version): Use PKGVERSION.
25045 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25046 (print_version): Use PKGVERSION.
25047 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25048 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25050 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25051 (print_version): Use PKGVERSION.
25052 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25053 (print_version): Use PKGVERSION.
25054 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25057 * timezone/checktab.awk: Update from tzcode 2012i.
25058 * timezone/ialloc.c: Likewise.
25059 * timezone/private.h: Likewise.
25060 * timezone/scheck.c: Likewise.
25061 * timezone/tzfile.h: Likewise.
25062 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25063 (TZVERSION): Hardcode tzcode version number.
25064 * timezone/zdump.c: Update from tzcode 2012i.
25065 * timezone/zic.c: Likewise.
25066 * timezone/version.h: New file.
25067 * timezone/README: Describe version.h. Update upstream location.
25070 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25071 (mktemp): Enable declaration.
25072 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25073 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25074 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25075 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25077 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25079 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25081 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25083 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25085 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25089 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25090 offset in buffer as u_int32_t not u_long. Consistently use memcpy
25091 for copies of such integer values.
25092 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25093 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25095 2012-11-09 Andreas Jaeger <aj@suse.de>
25097 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25098 definitions and declarations that are provided by
25099 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25101 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25103 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
25104 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25105 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25108 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25110 * elf/elf.h: Update comment before AArch64 relocations.
25112 2012-11-07 David S. Miller <davem@davemloft.net>
25114 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25115 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25116 (__start_context): Declare.
25117 (__makecontext_ret): Delete.
25118 (__makecontext): Hook up __start_context instead of
25120 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25121 (sysdep_routines): Add __start_context when in stdlib.
25123 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25125 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25126 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25127 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
25129 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
25130 (READELF): New variable. Use it instead of hardcoded "readelf".
25132 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
25134 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25135 * sysdeps/x86/Makefile: Here.
25136 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25137 * sysdeps/x86/tst-xmmymm.sh: This.
25139 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25141 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
25143 [UNIX98] (pthread_barrier_t): Do not expect.
25144 [UNIX98] (pthread_barrierattr_t): Likewise.
25145 [UNIX98] (pthread_spinlock_t): Likewise.
25146 [UNIX98] (pthread_barrier_destroy): Likewise.
25147 [UNIX98] (pthread_barrier_init): Likewise.
25148 [UNIX98] (pthread_barrier_wait): Likewise.
25149 [UNIX98] (pthread_barrierattr_destroy): Likewise.
25150 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
25151 [UNIX98] (pthread_barrierattr_init): Likewise.
25152 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
25153 [UNIX98] (pthread_getcpuclockid): Likewise.
25154 [UNIX98] (pthread_mutex_timedlock): Likewise.
25155 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25156 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
25157 [UNIX98] (pthread_sigmask): Likewise.
25158 [UNIX98] (pthread_spin_destroy): Likewise.
25159 [UNIX98] (pthread_spin_init): Likewise.
25160 [UNIX98] (pthread_spin_lock): Likewise.
25161 [UNIX98] (pthread_spin_trylock): Likewise.
25162 [UNIX98] (pthread_spin_unlock): Likewise.
25163 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
25165 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
25166 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
25167 [XPG3 || XPG4] (pthread_cond_t): Likewise.
25168 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
25169 [XPG3 || XPG4] (pthread_key_t): Likewise.
25170 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
25171 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
25172 [XPG3 || XPG4] (pthread_once_t): Likewise.
25173 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
25174 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
25175 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
25176 [XPG3 || XPG4] (pthread_t): Likewise.
25178 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
25180 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
25182 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
25183 Change function return type to int.
25185 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
25186 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
25187 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
25188 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
25189 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
25190 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
25191 [!POSIX] (posix_madvise): Likewise.
25192 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
25194 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
25195 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
25196 (mode_t): Likewise.
25197 (posix_mem_offset): Likewise.
25198 (posix_typed_mem_get_info): Likewise.
25199 (posix_typed_mem_open): Likewise.
25201 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
25202 Change condition to [XOPEN2K8].
25204 * conform/conformtest.pl: Preprocess allow-header data with -x c
25205 instead of from stdin.
25206 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
25207 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
25208 [C99-based standards] (cerfc): Likewise.
25209 [C99-based standards] (cexp2): Likewise.
25210 [C99-based standards] (cexpm1): Likewise.
25211 [C99-based standards] (clog10): Likewise.
25212 [C99-based standards] (clog1p): Likewise.
25213 [C99-based standards] (clog2): Likewise.
25214 [C99-based standards] (clgamma): Likewise.
25215 [C99-based standards] (ctgamma): Likewise.
25216 [C99-based standards] (cerff): Likewise.
25217 [C99-based standards] (cerfcf): Likewise.
25218 [C99-based standards] (cexp2f): Likewise.
25219 [C99-based standards] (cexpm1f): Likewise.
25220 [C99-based standards] (clog10f): Likewise.
25221 [C99-based standards] (clog1pf): Likewise.
25222 [C99-based standards] (clog2f): Likewise.
25223 [C99-based standards] (clgammaf): Likewise.
25224 [C99-based standards] (ctgammaf): Likewise.
25225 [C99-based standards] (cerfl): Likewise.
25226 [C99-based standards] (cerfcl): Likewise.
25227 [C99-based standards] (cexp2l): Likewise.
25228 [C99-based standards] (cexpm1l): Likewise.
25229 [C99-based standards] (clog10l): Likewise.
25230 [C99-based standards] (clog1pl): Likewise.
25231 [C99-based standards] (clog2l): Likewise.
25232 [C99-based standards] (clgammal): Likewise.
25233 [C99-based standards] (ctgammal): Likewise.
25234 * conform/data/inttypes.h-data [C99-based standards]: Include
25235 stdint.h-data. Remove all expectations for stdint.h contents.
25236 [C99-based standards] (PRI*): Do not allow.
25237 [C99-based standards] (SCN*): Likewise.
25238 [C99-based standards] (*_t): Likewise.
25239 [C99-based-standards] (PRId8): Expect macro.
25240 [C99-based-standards] (PRIi8): Likewise.
25241 [C99-based-standards] (PRIo8): Likewise.
25242 [C99-based-standards] (PRIu8): Likewise.
25243 [C99-based-standards] (PRIx8): Likewise.
25244 [C99-based-standards] (PRIX8): Likewise.
25245 [C99-based-standards] (SCNd8): Likewise.
25246 [C99-based-standards] (SCNi8): Likewise.
25247 [C99-based-standards] (SCNo8): Likewise.
25248 [C99-based-standards] (SCNu8): Likewise.
25249 [C99-based-standards] (SCNx8): Likewise.
25250 [C99-based-standards] (PRIdLEAST8): Likewise.
25251 [C99-based-standards] (PRIiLEAST8): Likewise.
25252 [C99-based-standards] (PRIoLEAST8): Likewise.
25253 [C99-based-standards] (PRIuLEAST8): Likewise.
25254 [C99-based-standards] (PRIxLEAST8): Likewise.
25255 [C99-based-standards] (PRIXLEAST8): Likewise.
25256 [C99-based-standards] (SCNdLEAST8): Likewise.
25257 [C99-based-standards] (SCNiLEAST8): Likewise.
25258 [C99-based-standards] (SCNoLEAST8): Likewise.
25259 [C99-based-standards] (SCNuLEAST8): Likewise.
25260 [C99-based-standards] (SCNxLEAST8): Likewise.
25261 [C99-based-standards] (PRIdFAST8): Likewise.
25262 [C99-based-standards] (PRIiFAST8): Likewise.
25263 [C99-based-standards] (PRIoFAST8): Likewise.
25264 [C99-based-standards] (PRIuFAST8): Likewise.
25265 [C99-based-standards] (PRIxFAST8): Likewise.
25266 [C99-based-standards] (PRIXFAST8): Likewise.
25267 [C99-based-standards] (SCNdFAST8): Likewise.
25268 [C99-based-standards] (SCNiFAST8): Likewise.
25269 [C99-based-standards] (SCNoFAST8): Likewise.
25270 [C99-based-standards] (SCNuFAST8): Likewise.
25271 [C99-based-standards] (SCNxFAST8): Likewise.
25272 [C99-based-standards] (PRId16): Likewise.
25273 [C99-based-standards] (PRIi16): Likewise.
25274 [C99-based-standards] (PRIo16): Likewise.
25275 [C99-based-standards] (PRIu16): Likewise.
25276 [C99-based-standards] (PRIx16): Likewise.
25277 [C99-based-standards] (PRIX16): Likewise.
25278 [C99-based-standards] (SCNd16): Likewise.
25279 [C99-based-standards] (SCNi16): Likewise.
25280 [C99-based-standards] (SCNo16): Likewise.
25281 [C99-based-standards] (SCNu16): Likewise.
25282 [C99-based-standards] (SCNx16): Likewise.
25283 [C99-based-standards] (PRIdLEAST16): Likewise.
25284 [C99-based-standards] (PRIiLEAST16): Likewise.
25285 [C99-based-standards] (PRIoLEAST16): Likewise.
25286 [C99-based-standards] (PRIuLEAST16): Likewise.
25287 [C99-based-standards] (PRIxLEAST16): Likewise.
25288 [C99-based-standards] (PRIXLEAST16): Likewise.
25289 [C99-based-standards] (SCNdLEAST16): Likewise.
25290 [C99-based-standards] (SCNiLEAST16): Likewise.
25291 [C99-based-standards] (SCNoLEAST16): Likewise.
25292 [C99-based-standards] (SCNuLEAST16): Likewise.
25293 [C99-based-standards] (SCNxLEAST16): Likewise.
25294 [C99-based-standards] (PRIdFAST16): Likewise.
25295 [C99-based-standards] (PRIiFAST16): Likewise.
25296 [C99-based-standards] (PRIoFAST16): Likewise.
25297 [C99-based-standards] (PRIuFAST16): Likewise.
25298 [C99-based-standards] (PRIxFAST16): Likewise.
25299 [C99-based-standards] (PRIXFAST16): Likewise.
25300 [C99-based-standards] (SCNdFAST16): Likewise.
25301 [C99-based-standards] (SCNiFAST16): Likewise.
25302 [C99-based-standards] (SCNoFAST16): Likewise.
25303 [C99-based-standards] (SCNuFAST16): Likewise.
25304 [C99-based-standards] (SCNxFAST16): Likewise.
25305 [C99-based-standards] (PRId32): Likewise.
25306 [C99-based-standards] (PRIi32): Likewise.
25307 [C99-based-standards] (PRIo32): Likewise.
25308 [C99-based-standards] (PRIu32): Likewise.
25309 [C99-based-standards] (PRIx32): Likewise.
25310 [C99-based-standards] (PRIX32): Likewise.
25311 [C99-based-standards] (SCNd32): Likewise.
25312 [C99-based-standards] (SCNi32): Likewise.
25313 [C99-based-standards] (SCNo32): Likewise.
25314 [C99-based-standards] (SCNu32): Likewise.
25315 [C99-based-standards] (SCNx32): Likewise.
25316 [C99-based-standards] (PRIdLEAST32): Likewise.
25317 [C99-based-standards] (PRIiLEAST32): Likewise.
25318 [C99-based-standards] (PRIoLEAST32): Likewise.
25319 [C99-based-standards] (PRIuLEAST32): Likewise.
25320 [C99-based-standards] (PRIxLEAST32): Likewise.
25321 [C99-based-standards] (PRIXLEAST32): Likewise.
25322 [C99-based-standards] (SCNdLEAST32): Likewise.
25323 [C99-based-standards] (SCNiLEAST32): Likewise.
25324 [C99-based-standards] (SCNoLEAST32): Likewise.
25325 [C99-based-standards] (SCNuLEAST32): Likewise.
25326 [C99-based-standards] (SCNxLEAST32): Likewise.
25327 [C99-based-standards] (PRIdFAST32): Likewise.
25328 [C99-based-standards] (PRIiFAST32): Likewise.
25329 [C99-based-standards] (PRIoFAST32): Likewise.
25330 [C99-based-standards] (PRIuFAST32): Likewise.
25331 [C99-based-standards] (PRIxFAST32): Likewise.
25332 [C99-based-standards] (PRIXFAST32): Likewise.
25333 [C99-based-standards] (SCNdFAST32): Likewise.
25334 [C99-based-standards] (SCNiFAST32): Likewise.
25335 [C99-based-standards] (SCNoFAST32): Likewise.
25336 [C99-based-standards] (SCNuFAST32): Likewise.
25337 [C99-based-standards] (SCNxFAST32): Likewise.
25338 [C99-based-standards] (PRId64): Likewise.
25339 [C99-based-standards] (PRIi64): Likewise.
25340 [C99-based-standards] (PRIo64): Likewise.
25341 [C99-based-standards] (PRIu64): Likewise.
25342 [C99-based-standards] (PRIx64): Likewise.
25343 [C99-based-standards] (PRIX64): Likewise.
25344 [C99-based-standards] (SCNd64): Likewise.
25345 [C99-based-standards] (SCNi64): Likewise.
25346 [C99-based-standards] (SCNo64): Likewise.
25347 [C99-based-standards] (SCNu64): Likewise.
25348 [C99-based-standards] (SCNx64): Likewise.
25349 [C99-based-standards] (PRIdLEAST64): Likewise.
25350 [C99-based-standards] (PRIiLEAST64): Likewise.
25351 [C99-based-standards] (PRIoLEAST64): Likewise.
25352 [C99-based-standards] (PRIuLEAST64): Likewise.
25353 [C99-based-standards] (PRIxLEAST64): Likewise.
25354 [C99-based-standards] (PRIXLEAST64): Likewise.
25355 [C99-based-standards] (SCNdLEAST64): Likewise.
25356 [C99-based-standards] (SCNiLEAST64): Likewise.
25357 [C99-based-standards] (SCNoLEAST64): Likewise.
25358 [C99-based-standards] (SCNuLEAST64): Likewise.
25359 [C99-based-standards] (SCNxLEAST64): Likewise.
25360 [C99-based-standards] (PRIdFAST64): Likewise.
25361 [C99-based-standards] (PRIiFAST64): Likewise.
25362 [C99-based-standards] (PRIoFAST64): Likewise.
25363 [C99-based-standards] (PRIuFAST64): Likewise.
25364 [C99-based-standards] (PRIxFAST64): Likewise.
25365 [C99-based-standards] (PRIXFAST64): Likewise.
25366 [C99-based-standards] (SCNdFAST64): Likewise.
25367 [C99-based-standards] (SCNiFAST64): Likewise.
25368 [C99-based-standards] (SCNoFAST64): Likewise.
25369 [C99-based-standards] (SCNuFAST64): Likewise.
25370 [C99-based-standards] (SCNxFAST64): Likewise.
25371 [C99-based-standards] (PRIdMAX): Likewise.
25372 [C99-based-standards] (PRIiMAX): Likewise.
25373 [C99-based-standards] (PRIoMAX): Likewise.
25374 [C99-based-standards] (PRIuMAX): Likewise.
25375 [C99-based-standards] (PRIxMAX): Likewise.
25376 [C99-based-standards] (PRIXMAX): Likewise.
25377 [C99-based-standards] (SCNdMAX): Likewise.
25378 [C99-based-standards] (SCNiMAX): Likewise.
25379 [C99-based-standards] (SCNoMAX): Likewise.
25380 [C99-based-standards] (SCNuMAX): Likewise.
25381 [C99-based-standards] (SCNxMAX): Likewise.
25382 [C99-based-standards] (PRIdPTR): Likewise.
25383 [C99-based-standards] (PRIiPTR): Likewise.
25384 [C99-based-standards] (PRIoPTR): Likewise.
25385 [C99-based-standards] (PRIuPTR): Likewise.
25386 [C99-based-standards] (PRIxPTR): Likewise.
25387 [C99-based-standards] (PRIXPTR): Likewise.
25388 [C99-based-standards] (SCNdPTR): Likewise.
25389 [C99-based-standards] (SCNiPTR): Likewise.
25390 [C99-based-standards] (SCNoPTR): Likewise.
25391 [C99-based-standards] (SCNuPTR): Likewise.
25392 [C99-based-standards] (SCNxPTR): Likewise.
25393 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
25395 * conform/data/stdint.h-data: Update comments to clarify
25397 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
25399 [C99-based standards] (INT8_MAX): Likewise.
25400 [C99-based standards] (INT16_MIN): Likewise.
25401 [C99-based standards] (INT16_MAX): Likewise.
25402 [C99-based standards] (INT32_MIN): Likewise.
25403 [C99-based standards] (INT32_MAX): Likewise.
25404 [C99-based standards] (INT64_MIN): Likewise.
25405 [C99-based standards] (INT64_MAX): Likewise.
25406 [C99-based standards] (UINT8_MAX): Likewise.
25407 [C99-based standards] (UINT16_MAX): Likewise.
25408 [C99-based standards] (UINT32_MAX): Likewise.
25409 [C99-based standards] (UINT64_MAX): Likewise.
25410 [C99-based standards] (INT_LEAST8_MIN): Likewise.
25411 [C99-based standards] (INT_LEAST8_MAX): Likewise.
25412 [C99-based standards] (INT_LEAST16_MIN): Likewise.
25413 [C99-based standards] (INT_LEAST16_MAX): Likewise.
25414 [C99-based standards] (INT_LEAST32_MIN): Likewise.
25415 [C99-based standards] (INT_LEAST32_MAX): Likewise.
25416 [C99-based standards] (INT_LEAST64_MIN): Likewise.
25417 [C99-based standards] (INT_LEAST64_MAX): Likewise.
25418 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
25419 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
25420 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
25421 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
25422 [C99-based standards] (INT_FAST8_MIN): Likewise.
25423 [C99-based standards] (INT_FAST8_MAX): Likewise.
25424 [C99-based standards] (INT_FAST16_MIN): Likewise.
25425 [C99-based standards] (INT_FAST16_MAX): Likewise.
25426 [C99-based standards] (INT_FAST32_MIN): Likewise.
25427 [C99-based standards] (INT_FAST32_MAX): Likewise.
25428 [C99-based standards] (INT_FAST64_MIN): Likewise.
25429 [C99-based standards] (INT_FAST64_MAX): Likewise.
25430 [C99-based standards] (UINT_FAST8_MAX): Likewise.
25431 [C99-based standards] (UINT_FAST16_MAX): Likewise.
25432 [C99-based standards] (UINT_FAST32_MAX): Likewise.
25433 [C99-based standards] (UINT_FAST64_MAX): Likewise.
25434 [C99-based standards] (INTPTR_MIN): Likewise.
25435 [C99-based standards] (INTPTR_MAX): Likewise.
25436 [C99-based standards] (UINTPTR_MAX): Likewise.
25437 [C99-based standards] (INTMAX_MIN): Likewise.
25438 [C99-based standards] (INTMAX_MAX): Likewise.
25439 [C99-based standards] (UINTMAX_MAX): Likewise.
25440 [C99-based standards] (PTRDIFF_MIN): Likewise.
25441 [C99-based standards] (PTRDIFF_MAX): Likewise.
25442 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
25443 [C99-based standards] (SIZE_MAX): Likewise.
25444 [C99-based standards] (WCHAR_MAX): Likewise.
25445 [C99-based standards] (WINT_MAX): Likewise.
25446 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
25447 constraint on value.
25448 [C99-based standards] (WCHAR_MIN): Likewise.
25449 [C99-based standards] (WINT_MIN): Likewise.
25450 [C99-based standards] (*_t): Allow.
25451 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
25452 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
25453 Include math.h-data and complex.h-data. Remove all expectations
25454 of math.h and complex.h contents.
25455 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
25457 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
25458 (struct tm): Expect tag.
25459 [C99-based-standards] (wcstof): Expect function.
25460 [C99-based-standards] (wcstold): Likewise.
25461 [C99-based-standards] (wcstoll): Likewise.
25462 [C99-based-standards] (wcstoull): Likewise.
25463 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
25464 macro-int-constant. Specify type.
25465 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
25466 constraint on value.
25467 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25469 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25471 [ISO C standards]: Do not allow headers.
25472 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25473 wcs[abcdefghijklmnopqrstuvwxyz]*.
25474 [ISO C standards] (*_t): Do not allow.
25475 * conform/data/wctype.h-data [C99-based standards] (iswblank):
25477 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25478 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25480 [ISO C standards]: Do not allow headers.
25481 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25482 is[abcdefghijklmnopqrstuvwxyz]*.
25483 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25484 to[abcdefghijklmnopqrstuvwxyz]*.
25485 [ISO C standards] (*_t): Do not allow.
25486 * conform/data/stdalign.h-data: New file.
25487 * conform/data/stdbool.h-data: Likewise.
25488 * conform/data/stdnoreturn.h-data: Likewise.
25490 2012-11-07 Roland McGrath <roland@hack.frob.com>
25493 * manual/filesys.texi (Directory Entries): Typo fix.
25494 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25496 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25498 * elf/elf.h (EM_AARCH64): New macro.
25499 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25500 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25501 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25502 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25503 (R_AARCH64_TLSDESC): Likewise.
25504 (NT_ARM_TLS): Likewise.
25505 (NT_ARM_HW_BREAK): Likewise.
25506 (NT_ARM_HW_WATCH): Likewise.
25508 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25511 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25512 (__ieee754_powl): Saturate nonzero exponents with absolute value
25513 below 0x1p-79 to +/- 0x1p-79.
25514 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25515 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25516 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25517 nonzero exponents with absolute value below 0x1p-32 to +/-
25519 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25520 (__ieee754_powl): Saturate nonzero exponents with absolute value
25521 below 0x1p-79 to +/- 0x1p-79.
25522 * math/libm-test.inc (pow_test): Add more tests.
25524 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25526 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25527 _dl_s390_cap_flags with kernel. Increase string length.
25528 (_dl_s390_platforms): Add z196 and zEC12.
25530 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25532 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25533 Change XOPEN21K to XOPEN2K.
25535 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
25537 * string/memmove.c: Use memcpy when possible.
25539 2012-11-06 Andreas Jaeger <aj@suse.de>
25541 * po/eo.po: Update from translation team.
25543 2012-11-06 Joseph Myers <joseph@codesourcery.com>
25546 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25547 exponent and small x and y exponents, scale x or y up. Increase
25548 by 2 the exponent used in scaling up.
25549 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25550 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25551 * math/libm-test.inc (fma_test): Add more tests.
25552 (fma_test_towardzero): Likewise.
25553 (fma_test_downward): Likewise.
25554 (fma_test_upward): Likewise.
25556 2012-11-05 Joseph Myers <joseph@codesourcery.com>
25559 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25563 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25564 namespace for names of struct fields.
25565 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25567 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25568 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25570 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
25573 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25575 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25577 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25581 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25584 2012-11-04 Joseph Myers <joseph@codesourcery.com>
25587 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25588 definitely overflow as x * y not x * y + z.
25589 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25590 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25591 * math/libm-test.inc (fma_test): Add more tests.
25592 (fma_test_towardzero): Likewise.
25593 (fma_test_downward): Likewise.
25594 (fma_test_upward): Likewise.
25596 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25600 * include/stub-tag.h: Remove file.
25601 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25603 * manual/maint.texi (Porting): Don't reference it.
25604 * Makerules ($(objpfx)stubs): Likewise.
25605 * dirent/closedir.c: Don't include <stub-tag.h>.
25606 * dirent/dirfd.c: Likewise.
25607 * dirent/fdopendir.c: Likewise.
25608 * dirent/getdents.c: Likewise.
25609 * dirent/getdents64.c: Likewise.
25610 * dirent/opendir.c: Likewise.
25611 * dirent/readdir.c: Likewise.
25612 * dirent/readdir64.c: Likewise.
25613 * dirent/readdir64_r.c: Likewise.
25614 * dirent/readdir_r.c: Likewise.
25615 * dirent/rewinddir.c: Likewise.
25616 * dirent/seekdir.c: Likewise.
25617 * dirent/telldir.c: Likewise.
25618 * gmon/profil.c: Likewise.
25619 * grp/setgroups.c: Likewise.
25620 * inet/if_index.c: Likewise.
25621 * io/access.c: Likewise.
25622 * io/chdir.c: Likewise.
25623 * io/chmod.c: Likewise.
25624 * io/chown.c: Likewise.
25625 * io/close.c: Likewise.
25626 * io/dup.c: Likewise.
25627 * io/dup2.c: Likewise.
25628 * io/dup3.c: Likewise.
25629 * io/euidaccess.c: Likewise.
25630 * io/faccessat.c: Likewise.
25631 * io/fchdir.c: Likewise.
25632 * io/fchmod.c: Likewise.
25633 * io/fchmodat.c: Likewise.
25634 * io/fchown.c: Likewise.
25635 * io/fchownat.c: Likewise.
25636 * io/fcntl.c: Likewise.
25637 * io/flock.c: Likewise.
25638 * io/fstatfs.c: Likewise.
25639 * io/fstatfs64.c: Likewise.
25640 * io/fstatvfs.c: Likewise.
25641 * io/fstatvfs64.c: Likewise.
25642 * io/futimens.c: Likewise.
25643 * io/fxstat.c: Likewise.
25644 * io/fxstat64.c: Likewise.
25645 * io/fxstatat.c: Likewise.
25646 * io/fxstatat64.c: Likewise.
25647 * io/getcwd.c: Likewise.
25648 * io/isatty.c: Likewise.
25649 * io/lchmod.c: Likewise.
25650 * io/lchown.c: Likewise.
25651 * io/link.c: Likewise.
25652 * io/linkat.c: Likewise.
25653 * io/lseek.c: Likewise.
25654 * io/lseek64.c: Likewise.
25655 * io/lxstat64.c: Likewise.
25656 * io/mkdir.c: Likewise.
25657 * io/mkdirat.c: Likewise.
25658 * io/mkfifo.c: Likewise.
25659 * io/mkfifoat.c: Likewise.
25660 * io/open.c: Likewise.
25661 * io/open64.c: Likewise.
25662 * io/openat.c: Likewise.
25663 * io/openat64.c: Likewise.
25664 * io/pipe.c: Likewise.
25665 * io/pipe2.c: Likewise.
25666 * io/poll.c: Likewise.
25667 * io/posix_fadvise.c: Likewise.
25668 * io/posix_fadvise64.c: Likewise.
25669 * io/posix_fallocate.c: Likewise.
25670 * io/posix_fallocate64.c: Likewise.
25671 * io/read.c: Likewise.
25672 * io/readlink.c: Likewise.
25673 * io/readlinkat.c: Likewise.
25674 * io/rmdir.c: Likewise.
25675 * io/sendfile.c: Likewise.
25676 * io/sendfile64.c: Likewise.
25677 * io/statfs.c: Likewise.
25678 * io/statfs64.c: Likewise.
25679 * io/statvfs.c: Likewise.
25680 * io/statvfs64.c: Likewise.
25681 * io/symlink.c: Likewise.
25682 * io/symlinkat.c: Likewise.
25683 * io/ttyname.c: Likewise.
25684 * io/ttyname_r.c: Likewise.
25685 * io/umask.c: Likewise.
25686 * io/unlink.c: Likewise.
25687 * io/unlinkat.c: Likewise.
25688 * io/utime.c: Likewise.
25689 * io/utimensat.c: Likewise.
25690 * io/write.c: Likewise.
25691 * io/xmknod.c: Likewise.
25692 * io/xmknodat.c: Likewise.
25693 * io/xstat.c: Likewise.
25694 * io/xstat64.c: Likewise.
25695 * login/getpt.c: Likewise.
25696 * login/grantpt.c: Likewise.
25697 * login/unlockpt.c: Likewise.
25698 * math/e_acoshl.c: Likewise.
25699 * math/e_acosl.c: Likewise.
25700 * math/e_asinl.c: Likewise.
25701 * math/e_atan2l.c: Likewise.
25702 * math/e_atanhl.c: Likewise.
25703 * math/e_coshl.c: Likewise.
25704 * math/e_expl.c: Likewise.
25705 * math/e_fmodl.c: Likewise.
25706 * math/e_gammal_r.c: Likewise.
25707 * math/e_hypotl.c: Likewise.
25708 * math/e_j0l.c: Likewise.
25709 * math/e_j1l.c: Likewise.
25710 * math/e_jnl.c: Likewise.
25711 * math/e_lgammal_r.c: Likewise.
25712 * math/e_log10l.c: Likewise.
25713 * math/e_log2l.c: Likewise.
25714 * math/e_logl.c: Likewise.
25715 * math/e_powl.c: Likewise.
25716 * math/e_rem_pio2l.c: Likewise.
25717 * math/e_sinhl.c: Likewise.
25718 * math/e_sqrtl.c: Likewise.
25719 * math/fclrexcpt.c: Likewise.
25720 * math/fedisblxcpt.c: Likewise.
25721 * math/feenablxcpt.c: Likewise.
25722 * math/fegetenv.c: Likewise.
25723 * math/fegetexcept.c: Likewise.
25724 * math/fegetround.c: Likewise.
25725 * math/feholdexcpt.c: Likewise.
25726 * math/fesetenv.c: Likewise.
25727 * math/fesetround.c: Likewise.
25728 * math/feupdateenv.c: Likewise.
25729 * math/fgetexcptflg.c: Likewise.
25730 * math/fraiseexcpt.c: Likewise.
25731 * math/fsetexcptflg.c: Likewise.
25732 * math/ftestexcept.c: Likewise.
25733 * math/k_cosl.c: Likewise.
25734 * math/k_rem_pio2l.c: Likewise.
25735 * math/k_sinl.c: Likewise.
25736 * math/k_tanl.c: Likewise.
25737 * math/s_asinhl.c: Likewise.
25738 * math/s_atanl.c: Likewise.
25739 * math/s_cbrtl.c: Likewise.
25740 * math/s_erfl.c: Likewise.
25741 * math/s_expm1l.c: Likewise.
25742 * math/s_log1pl.c: Likewise.
25743 * math/s_tanhl.c: Likewise.
25744 * misc/acct.c: Likewise.
25745 * misc/brk.c: Likewise.
25746 * misc/chflags.c: Likewise.
25747 * misc/chroot.c: Likewise.
25748 * misc/fchflags.c: Likewise.
25749 * misc/fgetxattr.c: Likewise.
25750 * misc/flistxattr.c: Likewise.
25751 * misc/fremovexattr.c: Likewise.
25752 * misc/fsetxattr.c: Likewise.
25753 * misc/fsync.c: Likewise.
25754 * misc/ftruncate.c: Likewise.
25755 * misc/futimes.c: Likewise.
25756 * misc/futimesat.c: Likewise.
25757 * misc/getdomain.c: Likewise.
25758 * misc/getdtsz.c: Likewise.
25759 * misc/gethostid.c: Likewise.
25760 * misc/gethostname.c: Likewise.
25761 * misc/getloadavg.c: Likewise.
25762 * misc/getpagesize.c: Likewise.
25763 * misc/getsysstats.c: Likewise.
25764 * misc/getxattr.c: Likewise.
25765 * misc/gtty.c: Likewise.
25766 * misc/ioctl.c: Likewise.
25767 * misc/lgetxattr.c: Likewise.
25768 * misc/listxattr.c: Likewise.
25769 * misc/llistxattr.c: Likewise.
25770 * misc/lremovexattr.c: Likewise.
25771 * misc/lsetxattr.c: Likewise.
25772 * misc/lutimes.c: Likewise.
25773 * misc/madvise.c: Likewise.
25774 * misc/mincore.c: Likewise.
25775 * misc/mlock.c: Likewise.
25776 * misc/mlockall.c: Likewise.
25777 * misc/mmap.c: Likewise.
25778 * misc/mprotect.c: Likewise.
25779 * misc/msync.c: Likewise.
25780 * misc/munlock.c: Likewise.
25781 * misc/munlockall.c: Likewise.
25782 * misc/munmap.c: Likewise.
25783 * misc/preadv.c: Likewise.
25784 * misc/preadv64.c: Likewise.
25785 * misc/ptrace.c: Likewise.
25786 * misc/pwritev.c: Likewise.
25787 * misc/pwritev64.c: Likewise.
25788 * misc/readv.c: Likewise.
25789 * misc/reboot.c: Likewise.
25790 * misc/remap_file_pages.c: Likewise.
25791 * misc/removexattr.c: Likewise.
25792 * misc/revoke.c: Likewise.
25793 * misc/select.c: Likewise.
25794 * misc/setdomain.c: Likewise.
25795 * misc/setegid.c: Likewise.
25796 * misc/seteuid.c: Likewise.
25797 * misc/sethostid.c: Likewise.
25798 * misc/sethostname.c: Likewise.
25799 * misc/setregid.c: Likewise.
25800 * misc/setreuid.c: Likewise.
25801 * misc/setxattr.c: Likewise.
25802 * misc/sstk.c: Likewise.
25803 * misc/stty.c: Likewise.
25804 * misc/swapoff.c: Likewise.
25805 * misc/swapon.c: Likewise.
25806 * misc/sync.c: Likewise.
25807 * misc/syncfs.c: Likewise.
25808 * misc/syscall.c: Likewise.
25809 * misc/truncate.c: Likewise.
25810 * misc/ualarm.c: Likewise.
25811 * misc/usleep.c: Likewise.
25812 * misc/ustat.c: Likewise.
25813 * misc/utimes.c: Likewise.
25814 * misc/vhangup.c: Likewise.
25815 * misc/writev.c: Likewise.
25816 * posix/_exit.c: Likewise.
25817 * posix/alarm.c: Likewise.
25818 * posix/execve.c: Likewise.
25819 * posix/fexecve.c: Likewise.
25820 * posix/fork.c: Likewise.
25821 * posix/fpathconf.c: Likewise.
25822 * posix/getaddrinfo.c: Likewise.
25823 * posix/getegid.c: Likewise.
25824 * posix/geteuid.c: Likewise.
25825 * posix/getgid.c: Likewise.
25826 * posix/getgroups.c: Likewise.
25827 * posix/getlogin.c: Likewise.
25828 * posix/getlogin_r.c: Likewise.
25829 * posix/getpgid.c: Likewise.
25830 * posix/getpid.c: Likewise.
25831 * posix/getppid.c: Likewise.
25832 * posix/getresgid.c: Likewise.
25833 * posix/getresuid.c: Likewise.
25834 * posix/getsid.c: Likewise.
25835 * posix/getuid.c: Likewise.
25836 * posix/glob64.c: Likewise.
25837 * posix/nanosleep.c: Likewise.
25838 * posix/pathconf.c: Likewise.
25839 * posix/pause.c: Likewise.
25840 * posix/posix_madvise.c: Likewise.
25841 * posix/pread.c: Likewise.
25842 * posix/pread64.c: Likewise.
25843 * posix/pwrite.c: Likewise.
25844 * posix/pwrite64.c: Likewise.
25845 * posix/sched_getaffinity.c: Likewise.
25846 * posix/sched_getp.c: Likewise.
25847 * posix/sched_gets.c: Likewise.
25848 * posix/sched_primax.c: Likewise.
25849 * posix/sched_primin.c: Likewise.
25850 * posix/sched_rr_gi.c: Likewise.
25851 * posix/sched_setaffinity.c: Likewise.
25852 * posix/sched_setp.c: Likewise.
25853 * posix/sched_sets.c: Likewise.
25854 * posix/sched_yield.c: Likewise.
25855 * posix/setgid.c: Likewise.
25856 * posix/setlogin.c: Likewise.
25857 * posix/setpgid.c: Likewise.
25858 * posix/setresgid.c: Likewise.
25859 * posix/setresuid.c: Likewise.
25860 * posix/setsid.c: Likewise.
25861 * posix/setuid.c: Likewise.
25862 * posix/sleep.c: Likewise.
25863 * posix/spawni.c: Likewise.
25864 * posix/sysconf.c: Likewise.
25865 * posix/times.c: Likewise.
25866 * posix/wait.c: Likewise.
25867 * posix/wait3.c: Likewise.
25868 * posix/wait4.c: Likewise.
25869 * posix/waitpid.c: Likewise.
25870 * resolv/gai_sigqueue.c: Likewise.
25871 * resource/getpriority.c: Likewise.
25872 * resource/getrlimit.c: Likewise.
25873 * resource/getrusage.c: Likewise.
25874 * resource/nice.c: Likewise.
25875 * resource/setpriority.c: Likewise.
25876 * resource/setrlimit.c: Likewise.
25877 * resource/ulimit.c: Likewise.
25878 * rt/aio_cancel.c: Likewise.
25879 * rt/aio_fsync.c: Likewise.
25880 * rt/aio_read.c: Likewise.
25881 * rt/aio_sigqueue.c: Likewise.
25882 * rt/aio_suspend.c: Likewise.
25883 * rt/aio_write.c: Likewise.
25884 * rt/clock_getres.c: Likewise.
25885 * rt/clock_gettime.c: Likewise.
25886 * rt/clock_nanosleep.c: Likewise.
25887 * rt/clock_settime.c: Likewise.
25888 * rt/lio_listio.c: Likewise.
25889 * rt/mq_close.c: Likewise.
25890 * rt/mq_getattr.c: Likewise.
25891 * rt/mq_notify.c: Likewise.
25892 * rt/mq_open.c: Likewise.
25893 * rt/mq_receive.c: Likewise.
25894 * rt/mq_send.c: Likewise.
25895 * rt/mq_setattr.c: Likewise.
25896 * rt/mq_timedreceive.c: Likewise.
25897 * rt/mq_timedsend.c: Likewise.
25898 * rt/mq_unlink.c: Likewise.
25899 * rt/shm_open.c: Likewise.
25900 * rt/shm_unlink.c: Likewise.
25901 * rt/timer_create.c: Likewise.
25902 * rt/timer_delete.c: Likewise.
25903 * rt/timer_getoverr.c: Likewise.
25904 * rt/timer_gettime.c: Likewise.
25905 * rt/timer_settime.c: Likewise.
25906 * setjmp/__longjmp.c: Likewise.
25907 * setjmp/setjmp.c: Likewise.
25908 * signal/kill.c: Likewise.
25909 * signal/killpg.c: Likewise.
25910 * signal/raise.c: Likewise.
25911 * signal/sigaction.c: Likewise.
25912 * signal/sigaltstack.c: Likewise.
25913 * signal/sigblock.c: Likewise.
25914 * signal/sigignore.c: Likewise.
25915 * signal/sigintr.c: Likewise.
25916 * signal/signal.c: Likewise.
25917 * signal/sigpause.c: Likewise.
25918 * signal/sigpending.c: Likewise.
25919 * signal/sigqueue.c: Likewise.
25920 * signal/sigreturn.c: Likewise.
25921 * signal/sigset.c: Likewise.
25922 * signal/sigsetmask.c: Likewise.
25923 * signal/sigstack.c: Likewise.
25924 * signal/sigsuspend.c: Likewise.
25925 * signal/sigtimedwait.c: Likewise.
25926 * signal/sigvec.c: Likewise.
25927 * signal/sigwait.c: Likewise.
25928 * signal/sigwaitinfo.c: Likewise.
25929 * signal/sysv_signal.c: Likewise.
25930 * socket/accept.c: Likewise.
25931 * socket/accept4.c: Likewise.
25932 * socket/bind.c: Likewise.
25933 * socket/connect.c: Likewise.
25934 * socket/getpeername.c: Likewise.
25935 * socket/getsockname.c: Likewise.
25936 * socket/getsockopt.c: Likewise.
25937 * socket/isfdtype.c: Likewise.
25938 * socket/listen.c: Likewise.
25939 * socket/recv.c: Likewise.
25940 * socket/recvfrom.c: Likewise.
25941 * socket/recvmsg.c: Likewise.
25942 * socket/send.c: Likewise.
25943 * socket/sendmsg.c: Likewise.
25944 * socket/sendto.c: Likewise.
25945 * socket/setsockopt.c: Likewise.
25946 * socket/shutdown.c: Likewise.
25947 * socket/sockatmark.c: Likewise.
25948 * socket/socket.c: Likewise.
25949 * socket/socketpair.c: Likewise.
25950 * stdio-common/ctermid.c: Likewise.
25951 * stdio-common/cuserid.c: Likewise.
25952 * stdio-common/remove.c: Likewise.
25953 * stdio-common/rename.c: Likewise.
25954 * stdio-common/renameat.c: Likewise.
25955 * stdio-common/tempname.c: Likewise.
25956 * stdlib/getcontext.c: Likewise.
25957 * stdlib/makecontext.c: Likewise.
25958 * stdlib/setcontext.c: Likewise.
25959 * stdlib/swapcontext.c: Likewise.
25960 * stdlib/system.c: Likewise.
25961 * streams/fattach.c: Likewise.
25962 * streams/fdetach.c: Likewise.
25963 * streams/getmsg.c: Likewise.
25964 * streams/getpmsg.c: Likewise.
25965 * streams/putmsg.c: Likewise.
25966 * streams/putpmsg.c: Likewise.
25967 * sysdeps/unix/bsd/getpt.c: Likewise.
25968 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
25969 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
25970 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25973 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
25974 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25975 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25976 * sysvipc/msgctl.c: Likewise.
25977 * sysvipc/msgget.c: Likewise.
25978 * sysvipc/msgrcv.c: Likewise.
25979 * sysvipc/msgsnd.c: Likewise.
25980 * sysvipc/semctl.c: Likewise.
25981 * sysvipc/semget.c: Likewise.
25982 * sysvipc/semop.c: Likewise.
25983 * sysvipc/semtimedop.c: Likewise.
25984 * sysvipc/shmat.c: Likewise.
25985 * sysvipc/shmctl.c: Likewise.
25986 * sysvipc/shmdt.c: Likewise.
25987 * sysvipc/shmget.c: Likewise.
25988 * termios/tcdrain.c: Likewise.
25989 * termios/tcflow.c: Likewise.
25990 * termios/tcflush.c: Likewise.
25991 * termios/tcgetattr.c: Likewise.
25992 * termios/tcgetpgrp.c: Likewise.
25993 * termios/tcsendbrk.c: Likewise.
25994 * termios/tcsetattr.c: Likewise.
25995 * termios/tcsetpgrp.c: Likewise.
25996 * time/adjtime.c: Likewise.
25997 * time/clock.c: Likewise.
25998 * time/getitimer.c: Likewise.
25999 * time/gettimeofday.c: Likewise.
26000 * time/setitimer.c: Likewise.
26001 * time/settimeofday.c: Likewise.
26002 * time/stime.c: Likewise.
26003 * time/time.c: Likewise.
26005 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
26007 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
26010 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
26012 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26014 2012-11-03 Joseph Myers <joseph@codesourcery.com>
26017 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26018 FE_TONEAREST before applying Dekker multiplication and Knuth
26019 addition. Clear inexact exceptions and check for exact zero
26020 results afterwards.
26021 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26022 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26023 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26024 * math/libm-test.inc (fma_test): Add more tests.
26025 (fma_test_towardzero): Likewise.
26026 (fma_test_downward): Likewise.
26027 (fma_test_upward): Likewise.
26028 * sysdeps/generic/math_private.h (default_libc_fesetround): New
26030 (libc_fesetround): New macro.
26031 (libc_fesetroundf): Likewise.
26032 (libc_fesetroundl): Likewise.
26033 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26035 (libc_fesetround_387): Likewise.
26036 (libc_fesetroundf): New macro.
26037 (libc_fesetround): Likewise.
26038 (libc_fesetroundl): Likewise.
26039 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26041 (libc_fesetroundf): New macro.
26042 (libc_fesetround): Likewise.
26043 (libc_fesetroundl): Likewise.
26044 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26045 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26046 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26048 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26049 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26051 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26052 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26054 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26058 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26059 integer constant usable in #if and use that to give value to enum
26061 (FE_DIVBYZERO): Likewise.
26062 (FE_UNDERFLOW): Likewise.
26063 (FE_OVERFLOW): Likewise.
26064 (FE_INVALID): Likewise.
26065 (FE_INVALID_SNAN): Likewise.
26066 (FE_INVALID_ISI): Likewise.
26067 (FE_INVALID_IDI): Likewise.
26068 (FE_INVALID_ZDZ): Likewise.
26069 (FE_INVALID_IMZ): Likewise.
26070 (FE_INVALID_COMPARE): Likewise.
26071 (FE_INVALID_SOFTWARE): Likewise.
26072 (FE_INVALID_SQRT): Likewise.
26073 (FE_INVALID_INTEGER_CONVERSION): Likewise.
26074 (FE_TONEAREST): Likewise.
26075 (FE_TOWARDZERO): Likewise.
26076 (FE_UPWARD): Likewise.
26077 (FE_DOWNWARD): Likewise.
26078 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26079 (FE_DIVBYZERO): Likewise.
26080 (FE_OVERFLOW): Likewise.
26081 (FE_UNDERFLOW): Likewise.
26082 (FE_INEXACT): Likewise.
26083 (FE_TONEAREST): Likewise.
26084 (FE_DOWNWARD): Likewise.
26085 (FE_UPWARD): Likewise.
26086 (FE_TOWARDZERO): Likewise.
26087 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26088 (FE_UNDERFLOW): Likewise.
26089 (FE_OVERFLOW): Likewise.
26090 (FE_DIVBYZERO): Likewise.
26091 (FE_INVALID): Likewise.
26092 (FE_TONEAREST): Likewise.
26093 (FE_TOWARDZERO): Likewise.
26094 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26095 (FE_OVERFLOW): Likewise.
26096 (FE_UNDERFLOW): Likewise.
26097 (FE_DIVBYZERO): Likewise.
26098 (FE_INEXACT): Likewise.
26099 (FE_TONEAREST): Likewise.
26100 (FE_TOWARDZERO): Likewise.
26101 (FE_UPWARD): Likewise.
26102 (FE_DOWNWARD): Likewise.
26103 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26104 (FE_DIVBYZERO): Likewise.
26105 (FE_OVERFLOW): Likewise.
26106 (FE_UNDERFLOW): Likewise.
26107 (FE_INEXACT): Likewise.
26108 (FE_TONEAREST): Likewise.
26109 (FE_DOWNWARD): Likewise.
26110 (FE_UPWARD): Likewise.
26111 (FE_TOWARDZERO): Likewise.
26113 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
26115 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26117 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
26119 * scripts/cross-test-ssh.sh (command): Use newlines to separate
26120 commands. Quote $PWD.
26121 (blacklist_exports): Don't use remove_newlines. Replace "declare
26123 (remove_newlines): Remove.
26125 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
26127 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26128 * stdlib/stdlib.h (atof): Moved to ...
26129 * include/bits/stdlib-float.h: Here. New file.
26130 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26131 * stdlib/bits/stdlib-float.h: New file.
26132 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26134 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26137 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26139 * conform/conformtest.pl (@headers): Add fenv.h.
26140 * conform/data/fenv.h-data: New file.
26141 * include/fenv.h [_ISOMAC]: Disable all contents of file except
26142 include of <math/fenv.h>.
26144 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
26145 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
26146 && !UNIX98]. Enables tests for XOPEN2K8.
26147 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
26148 POSIX2008]: Likewise.
26150 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
26151 (struct rusage): Do not expect type or its members.
26154 * math/math.h (FP_NAN): Define macro to integer constant usable in
26155 #if and use that to give value to enum constant.
26156 (FP_INFINITE): Likewise.
26157 (FP_ZERO): Likewise.
26158 (FP_SUBNORMAL): Likewise.
26159 (FP_NORMAL): Likewise.
26161 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
26163 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
26164 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
26167 2012-11-02 Roland McGrath <roland@hack.frob.com>
26169 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
26170 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
26171 autoconf-time if not.
26172 * configure.in: Remove AC_PREREQ.
26174 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26176 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
26177 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
26178 of the internal implementation.
26180 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26182 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
26183 except include of <misc/sys/syslog.h>.
26185 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
26188 function returns with a NULL context exit with zero.
26190 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26192 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
26194 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
26196 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
26197 (run_program_cmd): This.
26198 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
26199 (tst_langinfo): New variable. Use it.
26201 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
26203 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
26204 floating point opcodes.
26206 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26208 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
26211 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
26213 * sysdeps/mach/hurd/powerpc: Remove directory.
26214 * sysdeps/mach/powerpc: Likewise.
26216 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26218 * scripts/check-local-headers.sh: Ignore c++ headers.
26220 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26222 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
26223 __libc_cleanup_region_start argument.
26225 2012-11-01 Joseph Myers <joseph@codesourcery.com>
26229 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
26230 x * y using scaling, not as x * y + z.
26231 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26232 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26233 * math/libm-test.inc (fma_test): Add more tests.
26234 (fma_test_towardzero): Likewise.
26235 (fma_test_downward): Likewise.
26236 (fma_test_upward): Likewise.
26238 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26240 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
26242 2012-10-31 Joseph Myers <joseph@codesourcery.com>
26244 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
26247 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
26249 * rt/tst-shm.c (worker): Correct checking for mmap failure.
26251 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26258 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26261 Fix the order of the list for glibc 2.17.
26262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26265 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26267 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26269 2012-10-31 Joseph Myers <joseph@codesourcery.com>
26272 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
26273 for low part of x being zero before using __atanl (y).
26274 * math/libm-test.inc (atan2_test): Add another test.
26276 * manual/install.texi (Configuring and compiling): Document
26277 general use of test-wrapper and test-wrapper-env.
26278 * INSTALL: Regenerated.
26280 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
26281 (__fma): Do not extract and scale down low bits on after-rounding
26282 systems when result rounded to normal precision would have normal
26284 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
26285 (__fmal): Do not extract and scale down low bits on after-rounding
26286 systems when result rounded to normal precision would have normal
26288 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
26289 (__fmal): Do not extract and scale down low bits on after-rounding
26290 systems when result rounded to normal precision would have normal
26292 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
26294 (fma_test): Add more tests.
26295 (fma_test_towardzero): Likewise.
26296 (fma_test_downward): Likewise.
26297 (fma_test_upward): Likewise.
26299 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
26301 * sysdeps/i386/tininess.h: Renamed to ...
26302 * sysdeps/x86/tininess.h: This.
26303 * sysdeps/x86_64/tininess.h: Removed.
26305 2012-10-30 Joseph Myers <joseph@codesourcery.com>
26307 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
26308 input. Use $(build-program-cmd).
26309 ($(objpfx)tst-array1-static.out): Likewise.
26310 ($(objpfx)tst-array2.out): Likewise.
26311 ($(objpfx)tst-array3.out): Likewise.
26312 ($(objpfx)tst-array4.out): Likewise.
26313 ($(objpfx)tst-array5.out): Likewise.
26314 ($(objpfx)tst-array5-static.out): Likewise.
26316 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
26318 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
26321 * nss/nsswitch.h (nss_interface_function): Provide new
26322 macro for use with NSS functions.
26323 * grp/initgroups.c: Use new macro.
26324 * nss/getXXbyYY.c: Likewise.
26325 * nss/getXXbyYY_r.c: Likewise.
26326 * nss/getXXent.c: Likewise.
26327 * nss/getXXent_r.c: Likewise.
26328 * sysdeps/posix/getaddrinfo.c: Likewise.
26330 2012-10-30 Andreas Jaeger <aj@suse.de>
26332 * po/ru.po: Update Russion translation from translation project.
26334 2012-10-30 Joseph Myers <joseph@codesourcery.com>
26338 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
26339 result and shift together with sticky bit instead of replicating
26340 round-to-nearest rounding.
26341 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26342 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26343 * math/libm-test.inc (fma_test): Add more tests. Do not permit
26344 missing underflow exceptions.
26345 (fma_test_towardzero): Add more tests.
26346 (fma_test_downward): Likewise.
26347 (fma_test_upward): Likewise.
26350 * sysdeps/generic/tininess.h: New file.
26351 * sysdeps/i386/tininess.h: Likewise.
26352 * sysdeps/sh/tininess.h: Likewise.
26353 * sysdeps/x86_64/tininess.h: Likewise.
26354 * stdlib/tst-strtod-underflow.c: Likewise.
26355 * stdlib/tst-tininess.c: Likewise.
26356 * stdlib/strtod_l.c: Include <tininess.h>.
26357 (round_and_return): Do not set errno for exact underflow cases.
26358 Force an underflow exception when setting errno for underflow.
26359 Determine underflow based on rounding to normal precision if
26360 TININESS_AFTER_ROUNDING.
26361 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
26362 ERANGE for exact underflow cases.
26363 * stdlib/Makefile (tests): Add tst-tininess and
26364 tst-strtod-underflow.
26365 ($(objpfx)tst-tininess): Use $(link-libm).
26366 ($(objpfx)tst-strtod-underflow): Likewise.
26368 2012-10-30 Andreas Jaeger <aj@suse.de>
26371 * elf/Makefile (tests): Remove conditional for have-initfini-array
26372 since this is now always required and the variable does not exist
26374 (tests-static): Likewise.
26375 (modules-names): Likewise.
26377 * po/eo.po: Add Esperanto translation from translation project.
26379 * elf/tst-array1.c (fini_array): Make writeable so that it can be
26380 merged with constructor/destructor.
26381 (init_array): Likewise.
26382 * elf/tst-array2dep.c (fini_array): Likewise.
26383 (init_array): Likewise.
26385 2012-10-29 Mike Frysinger <vapier@gentoo.org>
26387 * manual/message.texi: Delete @cartouche tags.
26389 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
26391 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
26393 * sysdeps/mach/hurd/fsync.c: Likewise.
26395 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
26396 [_POSIX_REALTIME_SIGNALS]: Change condition to
26397 [_POSIX_REALTIME_SIGNALS > 0].
26399 2012-10-27 Andreas Jaeger <aj@suse.de>
26401 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
26402 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
26403 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
26404 [__WORDSIZE != 64]: Likewise.
26406 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
26408 * iconvdata/tst-table.sh: Remove ${SHELL}.
26409 * iconvdata/tst-tables.sh: Likewise.
26411 2012-10-25 David S. Miller <davem@davemloft.net>
26413 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26414 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
26417 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
26419 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26420 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
26421 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
26424 2012-10-25 Roland McGrath <roland@hack.frob.com>
26426 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26427 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
26430 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26431 Jim Blandy <jimb@codesourcery.com>
26433 * scripts/cross-test-ssh.sh: New file.
26434 * manual/install.texi (Configuring and compiling): Document use of
26436 * INSTALL: Regenerated.
26438 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
26440 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
26443 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26445 * Makeconfig (run-program-prefix): Fix comment.
26447 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26448 Jim Blandy <jimb@codesourcery.com>
26450 * Makeconfig (test-wrapper): New variable,
26451 (test-wrapper-env): Likewise.
26452 [$(cross-compiling) = yes && $(test-wrapper) != ""]
26453 (run-built-tests): Define to yes.
26454 (run-program-prefix): Use $(test-wrapper).
26455 (built-program-cmd): Likewise.
26456 * Rules (make-test-out): Use $(test-wrapper-env) and
26457 $(host-built-program-cmd).
26458 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
26459 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
26461 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
26462 $(test-wrapper-env) to tst-rtld-load-self.sh.
26463 ($(objpfx)order2.out): Use $(test-wrapper).
26464 ($(objpfx)tst-initorder.out): Likewise.
26465 ($(objpfx)tst-initorder2.out): Likewise.
26466 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
26467 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26468 (test_wrapper_env): New variable. Use it to run ld.so.
26469 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26470 Use it to run ld.so.
26471 (test_wrapper_env): Likewise.
26472 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26473 $(test-wrapper) to run-iconv-test.sh.
26474 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26475 (ICONV): Use $test_wrapper.
26476 * posix/Makefile ($(objpfx)globtest.out): Pass
26477 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26478 globtest.sh, not $(run-program-prefix).
26479 * posix/globtest.sh (run_via_rtld_prefix): New variable.
26480 (test_wrapper): Likewise.
26481 (test_wrapper_env): Likewise. Use it to run globtest with HOME
26482 set together with run_via_rtld_prefix.
26483 (run_program_prefix): Define in terms of test_wrapper and
26484 run_via_rtld_prefix.
26486 2012-10-24 Roland McGrath <roland@hack.frob.com>
26488 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26489 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26493 * include/time.h: Remove librt_hidden_proto (clock_gettime).
26494 Declare __clock_getres, __clock_gettime, __clock_settime,
26495 __clock_nanosleep, and __clock_getcpuclockid.
26496 * rt/clock_gettime.c: Define __clock_gettime as an alias.
26497 Remove librt_hidden_def (clock_gettime).
26498 * sysdeps/unix/clock_gettime.c: Likewise.
26499 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26500 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26501 * rt/clock_getres.c: Define __clock_getres as an alias.
26502 * sysdeps/posix/clock_getres.c: Likewise.
26503 * rt/clock_settime.c: Define __clock_settime as an alias.
26504 * sysdeps/unix/clock_settime.c: Likewise.
26505 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26506 * sysdeps/unix/clock_nanosleep.c: Likewise.
26507 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26508 * rt/clock-compat.c: New file.
26509 * rt/Makefile (librt-routines): Add clock-compat and move
26510 $(clock-routines) to ...
26511 (routines): ... here, new variable.
26512 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26513 Don't add get_clockfreq here.
26514 * rt/Versions (libc: GLIBC_2.17): New version set.
26515 Add clock_* symbols here.
26516 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
26517 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26518 (GLIBC_2.17): Add clock_* symbols.
26519 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26520 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26521 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26526 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26530 * NEWS: Mention the move.
26532 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26533 Use __open, __read, __close rather than their public counterparts.
26534 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26535 (__get_clockfreq_via_cpuinfo): Likewise.
26536 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26537 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26539 * config.h.in (HAVE_IFUNC): New #undef.
26540 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26542 * configure: Regenerated.
26544 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26546 * configure.in: Move READELF check to start of file.
26547 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26548 libc_cv_asm_gnu_indirect_function in the process.
26549 * configure: Regenerated.
26551 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26553 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26554 send the output to /dev/null.
26555 (libc_cv_cc_with_libunwind): Likewise.
26556 (libc_cv_as_noexecstack): Likewise.
26557 * configure: Regenerate.
26559 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26561 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26563 * posix/globtest.sh (TMPDIR): Do not set.
26564 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26565 (testout): Likewise.
26567 2012-10-24 Andreas Jaeger <aj@suse.de>
26569 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26570 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26571 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26572 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26573 posix_fadvise64, posix_fallocate64.
26575 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26576 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26577 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26579 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26581 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26583 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26584 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26585 <bits/fcntl-linux.h>.
26586 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26588 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26589 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26590 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26591 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26592 [__WORDSIZE != 64]: Likewise.
26594 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26596 * Makeconfig (run-built-tests): New variable.
26597 * Rules [$(cross-compiling) = yes]: Change condition to
26598 [$(run-built-tests) = no].
26599 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26600 to [$(run-built-tests) = yes].
26601 * elf/Makefile [$(cross-compiling) = no]: Likewise
26602 * grp/Makefile [$(cross-compiling) = no]: Likewise.
26603 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26604 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26605 * intl/Makefile [$(cross-compiling) = no]: Likewise.
26606 * io/Makefile [$(cross-compiling) = no]: Likewise.
26607 * libio/Makefile [$(cross-compiling) = no]: Likewise.
26608 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26609 * misc/Makefile [$(cross-compiling) = no]: Likewise.
26610 * posix/Makefile [$(cross-compiling) = no]: Likewise.
26611 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26612 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26613 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26614 * string/Makefile [$(cross-compiling) = no]: Likewise.
26616 * posix/Makefile ($(objpfx)globtest.out): Pass
26617 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26618 $(rtld-installed-name).
26619 * posix/globtest.sh (elf_objpfx): Remove variable.
26620 (rtld_installed_name): Likewise.
26621 (library_path): Likewise.
26622 (run_program_prefix): New variable. Use for running globtest
26625 2012-10-23 Jim Blandy <jimb@codesourcery.com>
26626 Joseph Myers <joseph@codesourcery.com>
26628 * Makeconfig (host-built-program-cmd): New variable.
26629 * elf/Makefile (tst-stackguard1-ARGS): Use
26630 $(host-built-program-cmd).
26631 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26632 (tst-spawn-ARGS): Likewise.
26633 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26635 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26636 Jim Blandy <jimb@codesourcery.com>
26638 * Makeconfig (run-via-rtld-prefix): New variable.
26639 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26640 (built-program-cmd): Likewise.
26642 2012-10-22 Andreas Jaeger <aj@suse.de>
26644 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26645 __O_RSYNC if it exists, otherwise to O_SYNC.
26647 2012-10-22 Jim Blandy <jimb@codesourcery.com>
26648 Joseph Myers <joseph@codesourcery.com>
26650 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
26652 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
26654 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
26657 2012-10-22 Andreas Jaeger <aj@suse.de>
26659 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26661 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
26663 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26664 bits/fcntl-linux.h.
26666 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26667 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
26669 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
26671 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26674 2012-10-21 Jim Blandy <jimb@codesourcery.com>
26675 Joseph Myers <joseph@codesourcery.com>
26677 * config.make.in (NM): New variable.
26679 2012-10-21 Andreas Jaeger <aj@suse.de>
26681 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
26682 definitions and declarations that are provided by
26683 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26685 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26688 * elf/Makefile (tests-static): Add tst-leaks1-static.
26689 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
26690 ($(objpfx)tst-leaks1-static): New rule.
26691 ($(objpfx)tst-leaks1-static-mem): Likewise.
26692 (tst-leaks1-static-ENV): New macro.
26693 * elf/dl-open.c (dl_open_worker): Check the main application
26694 only if SHARED is defined.
26695 * elf/tst-leaks1-static.c: New file.
26697 2012-10-20 Andreas Jaeger <aj@suse.de>
26699 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
26700 generic values for Linux.
26701 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
26702 and declarations that are provided by <bits/fcntl-linux.h> and
26703 include <bits/fcntl-linux.h>.
26704 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26705 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26707 2012-10-20 Roland McGrath <roland@hack.frob.com>
26709 * io/fcntl.h: Move include of <bits/types.h> to the top and
26710 include it unconditionally.
26712 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26714 * wcsmbs/Makefile (tests-ifunc): New variable.
26715 (tests): Add $(tests-ifunc).
26716 * wcsmbs/test-wcschr-ifunc.c: New file.
26717 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26718 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26719 * wcsmbs/test-wcslen-ifunc.c: Likewise.
26720 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26721 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26723 * string/Makefile (tests-ifunc): New variable.
26724 (tests): Add $(tests-ifunc).
26725 * string/test-memccpy.c (TEST_NAME): New macro.
26726 * string/test-memchr.c (TEST_NAME): Likewise.
26727 * string/test-memcmp.c (TEST_NAME): Likewise.
26728 * string/test-memcpy.c (TEST_NAME): Likewise.
26729 * string/test-memmem.c (TEST_NAME): Likewise.
26730 * string/test-memmove.c (TEST_NAME): Likewise.
26731 * string/test-memset.c (TEST_NAME): Likewise.
26732 * string/test-rawmemchr.c (TEST_NAME): Likewise.
26733 * string/test-stpcpy.c (TEST_NAME): Likewise.
26734 * string/test-stpncpy.c (TEST_NAME): Likewise.
26735 * string/test-strcasecmp.c (TEST_NAME): Likewise.
26736 * string/test-strcasestr.c (TEST_NAME): Likewise.
26737 * string/test-strcat.c (TEST_NAME): Likewise.
26738 * string/test-strchr.c (TEST_NAME): Likewise.
26739 * string/test-strcmp.c(TEST_NAME): Likewise.
26740 * string/test-strcpy.c (TEST_NAME): Likewise.
26741 * string/test-strcspn.c (TEST_NAME): Likewise.
26742 * string/test-strlen.c (TEST_NAME): Likewise.
26743 * string/test-strncasecmp.c (TEST_NAME): Likewise.
26744 * string/test-strncmp.c (TEST_NAME): Likewise.
26745 * string/test-strncpy.c (TEST_NAME): Likewise.
26746 * string/test-strnlen.c (TEST_NAME): Likewise.
26747 * string/test-strpbrk.c (TEST_NAME): Likewise.
26748 * string/test-strrchr.c (TEST_NAME): Likewise.
26749 * string/test-strspn.c (TEST_NAME): Likewise.
26750 * string/test-strstr.c (TEST_NAME): Likewise.
26751 * string/test-bcopy-ifunc.c: New file.
26752 * string/test-bzero-ifunc.c: Likewise.
26753 * string/test-memccpy-ifunc.c: Likewise.
26754 * string/test-memchr-ifunc.c: Likewise.
26755 * string/test-memcmp-ifunc.c: Likewise.
26756 * string/test-memcpy-ifunc.c: Likewise.
26757 * string/test-memmem-ifunc.c: Likewise.
26758 * string/test-memmove-ifunc.c: Likewise.
26759 * string/test-mempcpy-ifunc.c: Likewise.
26760 * string/test-memset-ifunc.c: Likewise.
26761 * string/test-rawmemchr-ifunc.c: Likewise.
26762 * string/test-stpcpy-ifunc.c: Likewise.
26763 * string/test-stpncpy-ifunc.c: Likewise.
26764 * string/test-strcasecmp-ifunc.c: Likewise.
26765 * string/test-strcasestr-ifunc.c: Likewise.
26766 * string/test-strcat-ifunc.c: Likewise.
26767 * string/test-strchr-ifunc.c: Likewise.
26768 * string/test-strchrnul-ifunc.c: Likewise.
26769 * string/test-strcmp-ifunc.c: Likewise.
26770 * string/test-strcpy-ifunc.c: Likewise.
26771 * string/test-strcspn-ifunc.c: Likewise.
26772 * string/test-strlen-ifunc.c: Likewise.
26773 * string/test-strncasecmp-ifunc.c: Likewise.
26774 * string/test-strncat-ifunc.c: Likewise.
26775 * string/test-strncmp-ifunc.c: Likewise.
26776 * string/test-strncpy-ifunc.c: Likewise.
26777 * string/test-strnlen-ifunc.c: Likewise.
26778 * string/test-strpbrk-ifunc.c: Likewise.
26779 * string/test-strrchr-ifunc.c: Likewise.
26780 * string/test-strspn-ifunc.c: Likewise.
26781 * string/test-strstr-ifunc.c: Likewise.
26783 * debug/Makefile (tests-ifunc): New variable.
26784 (tests): Add $(tests-ifunc).
26785 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
26786 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
26787 * debug/test-stpcpy_chk-ifunc.c: New file.
26788 * debug/test-strcpy_chk-ifunc.c: Likewise.
26790 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26793 * elf/dl-load.c (open_verify): Retry read if the entire ELF
26794 header is not read in.
26796 2012-10-19 Joseph Myers <joseph@codesourcery.com>
26798 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
26799 script to $(SHELL) as $<. Pass $(common-objpfx) to script
26800 directly. Pass built executable to script as
26801 $(built-program-cmd).
26802 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
26803 $testprogram without using LD_LIBRARY_PATH and $ldso.
26805 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
26806 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
26807 $(rtld-installed-name).
26808 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
26809 (rtld_installed_name): Likewise.
26810 (library_path): Likewise.
26811 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
26812 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
26813 $(run-program-prefix) to tst-tables.sh.
26814 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
26815 it to run tst-table-from and tst-table-to.
26816 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
26817 Pass it to tst-table.sh.
26818 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
26819 $(run-program-prefix) to tst-gettext.sh.
26820 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
26822 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
26824 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
26825 to run tst-gettext.
26826 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
26827 to run tst-gettext2.
26828 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
26829 to run tst-translit.
26830 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
26831 $(run-program-prefix) to tst-mtrace.sh.
26832 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
26834 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
26835 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
26836 $(rtld-installed-name).
26837 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
26838 (rtld_installed_name): Likewise.
26839 (run_program_prefix): New variable. Use it to run wordexp-test.
26841 * Makeconfig (ARCH): Remove all definitions.
26842 (machine): Likewise.
26843 [ARCH]: Remove conditional code.
26844 [!objdir]: Give error.
26845 [!objdir] (objpfx): Remove.
26846 [!objdir] (common-objpfx): Likewise.
26847 [!objdir] (common-objdir): Likewise.
26848 * configure.in (config_makefile): Remove. Hardcode Makefile in
26849 AC_CONFIG_FILES call.
26850 * configure: Regenerated.
26853 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
26855 (testout): Likewise.
26857 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
26858 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
26859 $(rtld-installed-name).
26860 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
26861 (rtld_installed_name): Likwise.
26862 (runit): Remove function.
26863 (run_getconf): New variable, Use it for running getconf binary.
26865 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
26868 * string/test-memmem.c (check_result): New function.
26869 (do_one_test): Use it.
26870 (check1): New function.
26871 (test_main): Use it.
26873 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
26875 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
26877 2012-10-18 Joseph Myers <joseph@codesourcery.com>
26879 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
26880 (_G_LSEEK64): Likewise.
26881 (_G_MMAP64): Likewise.
26882 (_G_FSTAT64): Likewise.
26883 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
26884 (_G_LSEEK64): Likewise.
26885 (_G_MMAP64): Likewise.
26886 (_G_FSTAT64): Likewise.
26887 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
26888 unconditional. Call __mmap64 directly.
26889 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
26890 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
26891 __lseek64 directly.
26892 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
26893 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
26895 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
26896 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
26897 __lseek64 directly.
26898 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
26899 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
26900 __lseek64 directly.
26901 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
26902 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
26903 __lseek64 directly.
26904 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
26905 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
26906 __fxstat64 directly.
26907 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
26908 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
26910 (freopen64) [!_G_OPEN64]: Remove conditional code.
26911 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
26913 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
26914 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
26916 (ftello64) [!_G_LSEEK64]: Remove conditional code.
26917 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
26919 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26920 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
26922 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
26923 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
26925 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26926 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
26928 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26929 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
26931 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26933 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26936 * manual/memory.texi (Malloc Tunable Parameters): Add note
26937 about free list pointers overwriting some perturb bytes.
26938 Wording suggested by Roland McGrath.
26940 2012-10-17 Joseph Myers <joseph@codesourcery.com>
26942 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
26943 (lgamma_test): Likewise.
26944 (tgamma_test): Likewise.
26946 2012-10-16 Florian Weimer <fweimer@redhat.com>
26949 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
26950 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
26952 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
26954 * NEWS: Mention BZ #14716.
26955 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
26956 when removing AVAILABLE1_USES_J macro.
26958 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
26960 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
26961 (__bswap_64): __uint64_t for unsigned 64-bit int.
26963 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
26965 * include/string.h (memmem): Declare libc hidden alias.
26966 * string/memmem.c (memmem): Define libc hidden alias.
26967 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
26968 __read, __close instead of open, read, close.
26970 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
26972 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
26973 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
26975 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
26976 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26977 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
26979 (__rawmemchr_sse2): Likewise.
26980 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
26981 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
26982 (__strchr_sse2): Likewise.
26983 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26984 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26985 (__strcasecmp_sse2): Likewise.
26986 (__strncasecmp_sse2): Likewise.
26987 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26988 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26989 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26990 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26991 (__strrchr_sse2): Likewise.
26992 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26994 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26995 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26996 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26997 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26998 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26999 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27000 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27001 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27002 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
27003 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
27004 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
27005 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
27006 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
27007 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27008 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27009 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27010 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27011 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27012 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
27013 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27014 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27015 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27016 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27017 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27018 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27019 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27020 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27021 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27022 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27023 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27025 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27027 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27028 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27029 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27030 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27032 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27034 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27035 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27036 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27037 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27039 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27040 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27041 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27042 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27043 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27044 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27045 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27046 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27047 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27048 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27049 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27050 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27051 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27052 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27053 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27054 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27055 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27056 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27057 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27058 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27059 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27060 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27061 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27062 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27063 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27064 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27065 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27066 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27067 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27068 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27069 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27070 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27071 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27072 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27073 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27074 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27075 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27076 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27077 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27078 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27079 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27081 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27082 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27083 * include/ifunc-impl-list.h: New file.
27084 * misc/ifunc-impl-list.c: Likewise.
27085 * misc/Makefile (routines): Add ifunc-impl-list.
27086 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27087 * string/test-string.h: Include <ifunc-impl-list.h>.
27088 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27089 TEST_NAME]: New variables.
27090 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27092 (test_init): Call __libc_ifunc_impl_list to initialize
27093 func_list if TEST_IFUNC and TEST_NAME are defined.
27095 * string/Makefile (strop-tests): Add bcopy and bzero.
27096 * string/test-bcopy.c: New file.
27097 * string/test-bzero.c: Likewise.
27098 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27100 * string/test-memset.c: Support bzero test if TEST_BZERO is
27102 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27104 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27106 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27109 2012-10-10 Joseph Myers <joseph@codesourcery.com>
27111 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27112 * configure: Regenerated.
27114 * Makeconfig (+link-static-before-libc): Don't include
27115 $(link-static-libc).
27117 * libio/libio.h (_IO_pos_t): Remove.
27119 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27121 * NEWS: Add note about FIPS mode. Wording suggested by Roland
27124 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27126 * crypt/crypt-entry.c: Include fips-private.h.
27127 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27128 * crypt/md5c-test.c (main): Tolerate disabled MD5.
27129 * sysdeps/unix/sysv/linux/fips-private.h: New file.
27130 * sysdeps/generic/fips-private.h: New file, dummy fallback.
27132 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27134 * crypt/crypt-private.h: Include stdbool.h.
27135 (_ufc_setup_salt_r): Return bool.
27136 * crypt/crypt-entry.c: Include errno.h.
27137 (__crypt_r): Return NULL with EINVAL for bad salt.
27138 * crypt/crypt_util.c (bad_for_salt): New.
27139 (_ufc_setup_salt_r): Check that salt is long enough and within
27140 the specified alphabet.
27141 * crypt/badsalttest.c: New file.
27142 * crypt/Makefile (tests): Add it.
27143 ($(objpfx)badsalttest): New.
27145 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
27147 * NEWS: Add entry for BZ #14602.
27149 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27151 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
27153 * math/libm-test.inc: Update comment listing what functions and
27155 (isgreater_test): New function.
27156 (isgreaterequal_test): Likewise.
27157 (isless_test): Likewise.
27158 (islessequal_test): Likewise.
27159 (islessgreater_test): Likewise.
27160 (isunordered_test): Likewise.
27161 (main): Call the new functions.
27163 2012-10-09 Roland McGrath <roland@hack.frob.com>
27165 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
27166 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
27167 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
27168 * sysdeps/i386/configure: Regenerated.
27169 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
27170 * sysdeps/mach/configure: Regenerated.
27171 * sysdeps/mach/hurd/configure: Regenerated.
27172 * sysdeps/powerpc/configure: Regenerated.
27173 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27174 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27175 * sysdeps/s390/s390-32/configure: Regenerated.
27176 * sysdeps/s390/s390-64/configure: Regenerated.
27177 * sysdeps/sh/configure: Regenerated.
27178 * sysdeps/sparc/configure: Regenerated.
27179 * sysdeps/unix/sysv/linux/configure: Regenerated.
27180 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27181 * sysdeps/x86_64/configure: Regenerated.
27183 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
27184 defined. Don't check if MAP is NULL.
27186 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27188 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
27189 (_G_stat64): Likewise.
27190 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
27191 (_G_stat64): Likewise.
27192 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
27193 instead of struct _G_stat64.
27194 * libio/fileops.c (mmap_remap_check): Likewise.
27195 (decide_maybe_mmap): Likewise.
27196 (_IO_new_file_seekoff): Likewise.
27197 (_IO_file_stat): Likewise.
27198 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
27200 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
27201 instead of struct _G_stat64.
27202 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27204 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
27207 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27209 (CHECK_EOL): New macro.
27210 (two_way_short_needle): Check beginning of haystack for EOL. Use
27212 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27213 Replace with CHECK_EOL.
27214 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27215 Replace with CHECK_EOL.
27217 2012-10-08 Joseph Myers <joseph@codesourcery.com>
27219 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
27221 * math/libm-test.inc: Update comment listing what functions and
27223 (finite_test): New function.
27224 (isinf_test): Likewise.
27225 (isnan_test): Likewise.
27226 (fpclassify_test): Test subnormal input.
27227 (isfinite_test): Likewise.
27228 (isnormal_test): Likewise.
27229 (main): Call the new functions.
27231 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
27234 * Makerules (%.dynsym): Force C locale when running
27235 $(OBJDUMP) --dynamic-syms.
27237 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
27239 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
27242 2012-10-06 David S. Miller <davem@davemloft.net>
27244 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
27245 upper 32-bits of the length value in %o2 since we use branch-on-register
27246 tests which consider the entire 64-bit register.
27248 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
27250 * string/test-strstr.c (check2): Add a test for page boundary.
27252 2012-10-05 David S. Miller <davem@davemloft.net>
27254 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
27255 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
27257 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27259 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27260 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
27261 and bzero when HWCAP_SPARC_CRYPTO is present.
27263 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
27266 * string/test-strstr.c (check2): New function.
27267 (test_main): Call check2.
27269 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
27271 * string/bug-strcasestr1.c (do_test): Moved to ...
27272 * string/test-strcasestr.c (check1): Here. New function.
27273 (do_one_test): Break out result checking code into ...
27274 (check_result): This. New function.
27275 (do_one_test): Call check_result.
27276 (test_main): Call check1.
27277 * string/bug-strchr1.c (do_test): Moved to ...
27278 * string/test-strchr.c (check1): Here. New function.
27279 (do_one_test): Break out result checking code into ...
27280 (check_result): This. New function.
27281 (do_one_test): Call check_result.
27282 (test_main): Call check1.
27283 * string/bug-strstr1.c (main): Moved to ...
27284 * string/test-strstr.c (check1): Here. New function.
27285 (do_one_test): Break out result checking code into ...
27286 (check_result): This. New function.
27287 (do_one_test): Call check_result.
27288 (test_main): Call check1.
27289 * string/bug-strcasestr1.c: Removed.
27290 * string/bug-strchr1.c: Likewise.
27291 * string/bug-strstr1.c: Likewise.
27293 * elf/Makefile (dl-routines): Add hwcaps.
27294 * elf/dl-support.c (_dl_important_hwcaps): Removed.
27295 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
27296 (_dl_important_hwcaps): Moved to ...
27297 * elf/dl-hwcaps.c: Here. New file.
27298 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
27301 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
27302 if IS_IN_rtld isn't defined.
27304 * elf/dl-support.c (_dl_sysinfo_map): New.
27305 Include "get-dynamic-info.h" and "setup-vdso.h".
27306 (_dl_non_dynamic_init): Call setup_vdso.
27307 * elf/dynamic-link.h: Don't include <assert.h>.
27308 (elf_get_dynamic_info): Moved to ...
27309 * elf/get-dynamic-info.h: Here. New file.
27310 * elf/dynamic-link.h: Include "get-dynamic-info.h".
27311 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
27312 * elf/setup-vdso.h: Here. New file.
27313 * elf/rtld.c: Include "setup-vdso.h".
27314 (dl_main): Call setup_vdso.
27316 2012-10-05 Joseph Myers <joseph@codesourcery.com>
27318 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
27319 creal in comment listing functions tested. List finite, isinf,
27320 isnan, isless, islessequal, isgreater, isgreaterequal,
27321 islessgreater, isunordered, lgamma_r and pow10 as functions and
27322 macros not tested. Mention which functions not tested are aliases
27323 for other functions. Fix typo. Note that signs of NaNs are not
27326 * scripts/config.guess: Update from config.git.
27327 * scripts/config.sub: Likewise.
27329 2012-10-04 Roland McGrath <roland@hack.frob.com>
27331 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
27332 * misc/madvise.c (madvise): Renamed to __madvise.
27333 Make madvise a weak alias.
27334 * include/sys/mman.h: Declare __madvise.
27335 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
27336 * sysdeps/unix/syscalls.list
27337 (madvise): Make __madvise the strong name, and madvise a weak alias.
27338 * sysdeps/unix/sysv/linux/syscalls.list
27339 (madvise, mmap): Remove redundant entries.
27340 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
27341 * malloc/malloc.c (mtrim): Likewise.
27342 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
27344 2012-10-03 Roland McGrath <roland@hack.frob.com>
27346 * sysdeps/mach/hurd/dl-cache.c: File removed.
27347 * config.h.in (USE_LDCONFIG): New #undef.
27348 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
27349 * configure: Regenerated.
27350 * elf/Makefile (dl-routines): Add dl-cache only under
27351 [$(use-ldconfig) = yes].
27352 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
27353 cache on [USE_LDCONFIG].
27354 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
27356 * elf/rtld.c (dl_main): Likewise.
27358 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
27360 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
27361 _SC_LEVEL4_CACHE_LINESIZE.
27363 2012-10-03 Roland McGrath <roland@hack.frob.com>
27365 * sysdeps/unix/bsd/confstr.h: File removed.
27367 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
27369 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
27372 2012-10-02 Roland McGrath <roland@hack.frob.com>
27374 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
27375 Make 'mapoff' field ElfW(Off) rather than off_t.
27377 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
27379 * nscd/Makefile: Remove nscd-cflags and all its users.
27380 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
27381 (CFLAGS-nonlib): Add compiler flags for nscd modules.
27384 * malloc.c (malloc_printerr): Clarify error message.
27386 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
27389 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27390 Set bit_FMA_Usable if FMA is supported.
27391 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
27393 (bit_FMA4_Usable): Updated.
27394 (index_FMA_Usable): New macro.
27395 (CPUID_FMA): Likewise
27396 (HAS_FMA): Defined with bit_FMA_Usable.
27398 2012-10-01 Roland McGrath <roland@hack.frob.com>
27400 * bits/types.h (__swblk_t): Type removed.
27401 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
27402 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
27403 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27404 (__SWBLK_T_TYPE): Likewise.
27405 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27406 (__SWBLK_T_TYPE): Likewise.
27407 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27408 (__SWBLK_T_TYPE): Likewise.
27409 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27410 (__SWBLK_T_TYPE): Likewise.
27412 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
27413 Honza Horak <hhorak@redhat.com>
27415 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
27416 (xdr_mapname): Use YPMAXMAP as maxsize.
27417 (xdr_peername): Use YPMAXPEER as maxsize.
27418 (xdr_keydat): Use YPAXRECORD as maxsize.
27419 (xdr_valdat): Use YPMAXRECORD as maxsize.
27421 2012-10-01 Roland McGrath <roland@hack.frob.com>
27423 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
27425 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
27426 * csu/init-first.c: ... here.
27427 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
27428 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27429 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27430 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27431 * sysdeps/i386/init-first.c: File removed.
27432 * sysdeps/sh/init-first.c: File removed.
27434 2012-10-01 Joseph Myers <joseph@codesourcery.com>
27437 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
27438 if x * y might underflow to zero and z is zero.
27439 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27440 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27441 * math/libm-test.inc (min_subnorm_value): New variable.
27442 (fma_test): Add more tests.
27443 (fma_test_towardzero): Likewise.
27444 (fma_test_downward): Likewise
27445 (fma_test_upward): Likewise.
27446 (initialize): Set min_subnorm_value.
27448 2012-09-29 Joseph Myers <joseph@codesourcery.com>
27451 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
27453 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
27454 mode for addition resulting in exact zero.
27455 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
27456 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
27458 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27459 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27460 * math/libm-test.inc (fma_test): Add more tests.
27461 (fma_test_towardzero): New function.
27462 (fma_test_downward): Likewise.
27463 (fma_test_upward): Likewise.
27464 (main): Call the new functions.
27466 2012-09-28 David S. Miller <davem@davemloft.net>
27468 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
27470 2012-09-28 Roland McGrath <roland@hack.frob.com>
27472 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27473 instead of SIGALRM.
27475 * sysdeps/gnu/_G_config.h: Moved to ...
27476 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27477 * sysdeps/mach/hurd/_G_config.h: Moved to ...
27478 * sysdeps/generic/_G_config.h: ... here.
27480 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
27482 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27484 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27485 Conditionalize target on [libnss_test1.so-version].
27487 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27489 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27490 (elfobjdir): Move out of conditionals.
27492 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27493 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27494 (__nss_lookup_function): Conditionalize label remove_from_tree on
27495 [!DO_STATIC_NSS || SHARED], matching its only use.
27497 2012-09-28 David S. Miller <davem@davemloft.net>
27499 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27500 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27502 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27504 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27505 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27506 when HWCAP_SPARC_CRYPTO is present.
27508 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27510 * io/tst-mknodat.c: Create a FIFO instead of a socket.
27512 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
27515 * stdio-common/vfprintf.c (process_string_arg): Revert
27518 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
27520 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27522 * stdio-common/tst-sprintf.c: Include <locale.h>
27523 (main): Test sprintf's handling of incomplete multibyte
27526 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
27528 * elf/dl-runtime.c (VERSYMIDX): Removed.
27529 * elf/dl-version.c (VERSYMIDX): Likewise.
27530 * elf/do-rel.h (VERSYMIDX): Likewise.
27531 (VALIDX): Likewise.
27532 * elf/dynamic-link.h (VERSYMIDX): Likewise.
27533 * elf/rtld.c (VALIDX): Likewise.
27534 (ADDRIDX): Likewise.
27535 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27536 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27537 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
27538 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27539 (VALIDX): Likewise.
27540 (ADDRIDX): Likewise.
27542 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27544 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27546 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
27549 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27551 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27552 addresses are in the same scope as 192.0.2/24.
27553 * posix/gai.conf: Document new scope table defaults.
27555 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27558 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27559 for ftell. Compute offsets from write pointers instead.
27560 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27562 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27565 * libio/Makefile (tests): New test case tst-fseek.
27566 * libio/tst-fseek.c: New test case to verify that fseek/ftell
27567 combination works in wide mode.
27568 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27569 state when the external buffer state changes.
27571 2012-09-27 David S. Miller <davem@davemloft.net>
27574 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27575 pass reloc->r_addend in as the 'high' argument to
27576 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27580 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27582 * rt/tst-aio2.c: Include <pthread.h>.
27583 * rt/tst-aio3.c: Likewise.
27585 2012-09-27 Steve Ellcey <sellcey@mips.com>
27587 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27589 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
27591 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27592 contents on [SHARED].
27594 2012-09-26 Marek Polacek <polacek@redhat.com>
27598 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27599 for C++ and GCC <4.3 as well as for non GCC compilers.
27601 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27603 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27605 2012-09-25 Roland McGrath <roland@hack.frob.com>
27607 * Makefile.in (all, install): Declare with .PHONY.
27608 Reported by Michael Hope <michael.hope@linaro.org>.
27610 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27612 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27613 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27615 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27617 (sydep_routines): Add the new and the internal functions.
27618 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27619 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27621 (GLIBC_2.17): Add the new function.
27622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27623 (GLIBC_2.17): Likewise.
27624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27625 (GLIBC_2.17): Likewise.
27626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27627 (GLIBC_2.17): Likewise.
27628 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27630 2012-09-25 Alan Modra <amodra@gmail.com>
27632 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27633 Add release barrier before setting once_control to say
27634 initialisation is done. Add hints on lwarx. Use macro in
27636 (clear_once_control): Add release barrier.
27638 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27641 * math/s_clog.c (__clog): Handle more values close to |z| = 1
27643 * math/s_clog10.c (__clog10): Likewise.
27644 * math/s_clog10f.c (__clog10f): Likewise.
27645 * math/s_clog10l.c (__clog10l): Likewise.
27646 * math/s_clogf.c (__clogf): Likewise.
27647 * math/s_clogl.c (__clogl): Likewise.
27648 * math/Makefile (libm-calls): Add x2y2m1.
27649 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
27650 (__x2y2m1): Likewise.
27651 (__x2y2m1l): Likewise.
27652 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
27653 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
27654 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
27655 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27656 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
27657 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
27658 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
27659 * sysdeps/i386/fpu/libm-test-ulps: Update.
27660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27663 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27664 int as type of variable DEPTH.
27665 (glob): Use size_t instead of int as type of variables NEWCOUNT
27668 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27670 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27671 Add s_sincosf-sse2.
27672 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
27673 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
27674 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
27675 macros for using routine as __sincosf_ia32.
27676 Use macro for function declaration and weak_alias.
27677 * sysdeps/i386/fpu/libm-test-ulps: Update.
27679 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
27680 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27682 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
27683 subnormal argument.
27684 * math/s_cexpf.c (__cexpf): Likewise.
27685 * math/s_csinf.c (__csinf): Likewise.
27686 * math/s_csinhf.c (__csinhf): Likewise.
27687 * math/s_ctanf.c (__ctanf): Likewise.
27688 * math/s_ctanhf.c (__ctanhf): Likewise.
27689 * math/s_ccosh.c (__ccoshf): Likewise.
27690 * math/s_cexp.c (__cexpl): Likewise.
27691 * math/s_csin.c (__csin): Likewise.
27692 * math/s_csinh.c (__csinh): Likewise.
27693 * math/s_ctan.c (__ctan): Likewise.
27694 * math/s_ctanh.c (ctanh): Likewise.
27695 * math/s_ccoshl.c (__ccoshl): Likewise.
27696 * math/s_cexpl.c (__cexpl): Likewise.
27697 * math/s_csinl.c (__csinl): Likewise.
27698 * math/s_csinhl.c (__csinhl): Likewise.
27699 * math/s_ctanl.c (__ctanl): Likewise.
27700 * math/s_ctanhl.c (__ctanhl): Likewise.
27702 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27704 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
27705 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
27706 (_IO_off_t): Define to __off_t, not _G_off_t.
27707 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
27708 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
27709 (_IO_wint_t): Define to wint_t, not _G_wint_t.
27710 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
27711 type of __dummy and __dummy2 fields.
27712 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
27713 (_G_ssize_t): Likewise.
27714 (_G_off_t): Likewise.
27715 (_G_pid_t): Likewise.
27716 (_G_uid_t): Likewise.
27717 (_G_wchar_t): Likewise.
27718 (_G_wint_t): Likewise.
27719 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
27720 (_G_ssize_t): Likewise.
27721 (_G_off_t): Likewise.
27722 (_G_pid_t): Likewise.
27723 (_G_uid_t): Likewise.
27724 (_G_wchar_t): Likewise.
27725 (_G_wint_t): Likewise.
27726 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
27727 (_G_ssize_t): Likewise.
27728 (_G_off_t): Likewise.
27729 (_G_pid_t): Likewise.
27730 (_G_uid_t): Likewise.
27731 (_G_wchar_t): Likewise.
27732 (_G_wint_t): Likewise.
27734 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27736 * malloc/arena.c: Include malloc-sysdep.h.
27737 (shrink_heap): Use check_may_shrink_heap to decide if madvise
27738 is sufficient to shrink the heap or an unmap is needed.
27739 * sysdeps/generic/malloc-sysdep.h: New file. Define
27740 new function check_may_shrink_heap.
27741 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
27742 new function check_may_shrink_heap.
27744 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27746 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
27749 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
27751 * catgets/test-gencat.sh: Add "set -e".
27752 * elf/tst-pathopt.sh: Likewise.
27753 * grp/tst_fgetgrent.sh: Likewise.
27754 * iconvdata/run-iconv-test.sh: Likewise.
27755 * intl/tst-gettext.sh: Likewise.
27756 * intl/tst-gettext2.sh: Likewise.
27757 * intl/tst-gettext4.sh: Likewise.
27758 * intl/tst-gettext6.sh: Likewise.
27759 * intl/tst-translit.sh: Likewise.
27760 * io/ftwtest-sh: Likewise.
27761 * libio/test-freopen.sh: Likewise.
27762 * malloc/tst-mtrace.sh: Likewise.
27763 * posix/globtest.sh: Likewise.
27764 * posix/tst-getconf.sh: Likewise.
27765 * posix/wordexp-tst.sh: Likewise.
27766 * stdio-common/tst-printf.sh: Likewise.
27767 * stdio-common/tst-unbputc.sh: Likewise.
27768 * stdlib/tst-fmtmsg.sh: Likewise.
27769 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27770 * catgets/Makefile: Do not specify -e option when running
27771 testsuite shell scripts.
27772 * elf/Makefile: Likewise.
27773 * grp/Makefile: Likewise.
27774 * iconvdata/Makefile: Likewise.
27775 * intl/Makefile: Likewise.
27776 * io/Makefile: Likewise.
27777 * libio/Makefile: Likewise.
27778 * malloc/Makefile: Likewise.
27779 * posix/Makefile: Likewise.
27780 * stdio-common/Makefile: Likewise.
27781 * stdlib/Makefile: Likewise.
27782 * sysdeps/x86_64/Makefile: Likewise.
27784 * io/ftwtest-sh: Add copyright header.
27785 * posix/globtest.sh: Likewise.
27786 * posix/tst-getconf.sh: Likewise.
27787 * posix/wordexp-tst.sh: Likewise.
27788 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27790 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
27793 * Makeconfig (+link): Defined as $(+link-static) if
27794 $(build-shared) isn't yes.
27795 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
27797 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
27799 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
27802 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
27803 new chunk size with MALLOC_ALIGN_MASK.
27805 2012-09-24 Joseph Myers <joseph@codesourcery.com>
27808 * stdio-common/printf_fphex.c: Include <stdbool.h> and
27810 (__printf_fphex): Determine rounding using get_rounding_mode and
27812 * stdio-common/tst-printf-round.c (struct hex_test): New
27814 (hex_tests): New variable.
27815 (test_hex_in_one_mode): New function.
27816 (do_test): Also run tests for hex float output.
27818 2012-09-21 Joseph Myers <joseph@codesourcery.com>
27820 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27821 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27822 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
27823 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27824 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27825 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
27826 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27827 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27829 2012-09-20 Joseph Myers <joseph@codesourcery.com>
27831 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
27832 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
27833 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
27834 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
27836 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
27839 * elf/rtld.c (dl_main): Limit the check for self loading to normal
27841 * elf/tst-rtld-load-self.sh: New test.
27842 * elf/Makefile: Run it.
27844 2012-09-18 Joseph Myers <joseph@codesourcery.com>
27846 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
27847 (tst-writev-ENV): Remove.
27848 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
27850 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
27852 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
27854 2012-09-17 Joseph Myers <joseph@codesourcery.com>
27856 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
27858 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
27860 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
27861 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
27862 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
27865 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
27868 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
27869 * config.make.in (have-cpp-asm-debuginfo): Removed.
27870 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
27871 * configure: Regenerated.
27873 2012-09-14 Joseph Myers <joseph@codesourcery.com>
27876 * stdio-common/printf_fp.c: Include <stdbool.h> and
27878 (___printf_fp): Determine rounding using get_rounding_mode and
27880 * stdio-common/tst-printf-round.c: New file.
27881 * stdio-common/Makefile (tests): Add tst-printf-round.
27882 (link-libm): New variable.
27883 ($(objpfx)tst-printf-round): Depend in $(link-libm).
27885 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
27888 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
27889 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
27891 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
27894 2012-09-13 Joseph Myers <joseph@codesourcery.com>
27896 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
27897 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27898 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27899 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27901 2012-09-12 Joseph Myers <joseph@codesourcery.com>
27904 * include/rounding-mode.h: New file.
27905 * sysdeps/generic/get-rounding-mode.h: Likewise.
27906 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
27907 * stdlib/strtod_l.c: Include <rounding-mode.h>.
27908 (MAX_VALUE): New macro.
27909 (MIN_VALUE): Likewise.
27910 (overflow_value): New function.
27911 (underflow_value): Likewise.
27912 (round_and_return): Use overflow_value and underflow_value to
27913 determine return values in overflow and underflow cases. Use
27914 round_away to determine rounding depending on rounding mode.
27915 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
27916 determine return values in overflow and underflow cases.
27917 * stdlib/tst-strtod-round.c: Include <fenv.h>.
27918 (struct test_results): New structure.
27919 (struct test): Use struct test_results to store expected results
27920 for all rounding modes.
27921 (TEST): Include expected results for all rounding modes.
27922 (test_in_one_mode): New function.
27923 (do_test): Use test_in_one_mode to compute and check results.
27924 Check results for all rounding modes.
27925 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
27928 2012-12-09 Allan McRae <allan@archlinux.org>
27930 * sysdeps/i386/fpu/libm-test-ulps: Update
27932 2012-09-11 Joseph Myers <joseph@codesourcery.com>
27934 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
27935 (_G_int32_t): Likewise.
27936 (_G_uint16_t): Likewise.
27937 (_G_uint32_t): Likewise.
27938 (_G_HAVE_BOOL): Likewise.
27939 (_G_HAVE_ATEXIT): Likewise.
27940 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27941 (_G_HAVE_IO_FILE_OPEN): Likewise.
27942 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
27943 (_G_int32_t): Likewise.
27944 (_G_uint16_t): Likewise.
27945 (_G_uint32_t): Likewise.
27946 (_G_HAVE_BOOL): Likewise.
27947 (_G_HAVE_ATEXIT): Likewise.
27948 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27949 (_G_HAVE_IO_FILE_OPEN): Likewise.
27950 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
27951 (_G_int32_t): Likewise.
27952 (_G_uint16_t): Likewise.
27953 (_G_uint32_t): Likewise.
27954 (_G_HAVE_BOOL): Likewise.
27955 (_G_HAVE_ATEXIT): Likewise.
27956 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27957 (_G_HAVE_IO_FILE_OPEN): Likewise.
27959 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
27961 * csu/libc-tls.c: Update copyright years.
27963 2012-09-10 Joseph Myers <joseph@codesourcery.com>
27965 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
27966 [!_G_USING_THUNKS]: Remove conditional code.
27967 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
27968 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
27970 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
27971 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
27972 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27973 (_G_VTABLE_LABEL_PREFIX): Likewise.
27974 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27975 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27976 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27977 (_G_VTABLE_LABEL_PREFIX): Likewise.
27978 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27979 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27980 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27981 (_G_VTABLE_LABEL_PREFIX): Likewise.
27982 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27984 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
27986 * libio/Makefile: Include ../Makeconfig before tests.
27987 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27988 only if $(build-shared) is yes.
27990 * iconv/gconv_db.c: Update copyright years.
27992 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27994 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27995 unwind info if defined PIC. Fix special cases description.
27996 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27998 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28000 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
28002 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
28004 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
28006 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
28009 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
28010 (LDLIBS-tst-chk4): This.
28011 (LDFLAGS-tst-chk5): Renamed to ...
28012 (LDLIBS-tst-chk5): This.
28013 (LDFLAGS-tst-chk6): Renamed to ...
28014 (LDLIBS-tst-chk6): This.
28015 (LDFLAGS-tst-lfschk4): Renamed to ...
28016 (LDLIBS-tst-lfschk4): This.
28017 (LDFLAGS-tst-lfschk5): Renamed to ...
28018 (LDLIBS-tst-lfschk5): This.
28019 (LDFLAGS-tst-lfschk6): Renamed to ...
28020 (LDLIBS-tst-lfschk6): This.
28022 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28023 on $(common-objpfx)soversions.mk.
28025 2012-09-07 Joseph Myers <joseph@codesourcery.com>
28028 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28031 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28033 * malloc/arena.c (arena_get_retry): New function that gets
28034 another arena for the caller to try its request on.
28035 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28036 current arena cannot fulfill the request.
28037 (__libc_memalign): Likewise.
28038 (__libc_memalign): Likewise.
28039 (__libc_pvalloc): Likewise.
28040 (__libc_calloc): Likewise.
28042 2012-09-05 John Tobey <john.tobey@gmail.com>
28045 * manual/arith.texi (Operations on Complex): Fix description
28046 of carg branch cut.
28048 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28051 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28055 * manual/memory.texi (Memory): Make order of menu items match
28058 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28060 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28061 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
28062 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28064 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28066 * csu/libc-tls.c (static_dtv): Renamed to ...
28067 (_dl_static_dtv): This. Make it global.
28068 (_dl_initial_dtv): Removed.
28069 (__libc_setup_tls): Updated.
28070 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28071 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28074 2012-09-06 Petr Machata <pmachata@redhat.com>
28076 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28077 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28078 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28079 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28081 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28084 * csu/libc-tls.c (_dl_initial_dtv): New variable.
28085 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28088 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28091 * Makeconfig (link-static-before-libc): Replace $(+prector)
28093 (link-static-after-libc): Replace $(+postctor) with
28095 (link-bounded): Replace $(+prector)/$(+postctor) with
28096 $(+prectorT)/$(+postctorT).
28097 (+prectorT): New macro.
28098 (+postctorT): Likewise.
28100 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28102 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28103 (round_str): Handle values above the maximum for IBM long double
28105 * stdlib/tst-strtod-round.c (tests): Regenerated.
28107 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28109 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28111 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28112 zarch_nohighgprs around the zarch optimized routines.
28113 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28114 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28115 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28118 2012-09-05 David S. Miller <davem@davemloft.net>
28120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28122 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28123 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
28124 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28125 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28128 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28130 * malloc/arena.c: Fold copyright years.
28131 * malloc/mcheck.c, malloc/memusage.c: Likewise.
28133 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28135 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28137 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28139 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
28141 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28143 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
28144 change internal state upon failure.
28146 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28148 * malloc/mcheck.c (mcheck_check_all): Fix typo.
28149 * malloc/memusage.c (mmap): Likewise.
28150 (mmap64, mremap): Likewise. Adjust name in comment.
28152 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28154 * libio/fileops.c: Fix typos in comments.
28155 * libio/oldfileops.c: Likewise.
28156 * libio/wfileops.c: Likewise.
28158 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28161 * malloc/Makefile (tests): Add tst-malloc-usable test case.
28162 (tst-malloc-usable-ENV): Set environment for test case.
28163 * malloc/hooks.c (malloc_check_get_size): New function to get
28165 * malloc/malloc.c (musable): Use malloc_check_get_size.
28166 * malloc/tst-malloc-usable.c: New test case.
28168 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28170 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
28172 2012-09-05 Allan McRae <allan@archlinux.org>
28175 * configure.in (CXX_SYSINCLUDES): Use compiler output to
28176 determine header location.
28177 * configure: Regenerated.
28179 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28181 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
28183 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
28184 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
28186 (test): Regenerate.
28188 2012-09-04 David S. Miller <davem@davemloft.net>
28190 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
28191 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
28192 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
28194 2012-09-04 Florian Weimer <fweimer@redhat.com>
28196 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
28199 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
28201 2012-09-04 Joseph Myers <joseph@codesourcery.com>
28204 * libio/iogetdelim.c: Include <limits.h>.
28205 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
28206 + len + 1 would overflow.
28208 2012-09-03 Andreas Jaeger <aj@suse.de>
28210 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28211 * sysdeps/i386/fpu/libm-test-ulps: Update.
28213 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28215 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28216 Add s_sinf-sse2, s_conf-sse2.
28218 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
28219 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
28220 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
28221 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
28223 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
28224 for using routine as __sinf_ia32.
28225 Use macro for function declaration and weak_alias.
28226 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
28227 for using routine as __cosf_ia32.
28228 Use macro for function declaration and weak_alias.
28230 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
28231 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
28233 * sysdeps/x86_64/fpu/s_sinf.S: New file.
28234 * sysdeps/x86_64/fpu/s_cosf.S: New file.
28235 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28237 * math/libm-test.inc (cos_test): Add more test cases.
28238 (sin_test): Likewise.
28239 (sincos_test): Likewise.
28241 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28243 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
28244 (IFUNC_RESOLVE): Make pointers to the specialized implementations
28246 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28248 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
28251 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
28252 first element of the GOT.
28253 (elf_machine_load_address): Return the difference between
28254 the runtime address of _DYNAMIC and elf_machine_dynamic ().
28256 2012-09-01 Allan McRae <allan@archlinux.org>
28259 * configure.in (AWK): Require gawk version 3.0 or later.
28260 * configure: Regenerated.
28262 2012-09-01 Joseph Myers <joseph@codesourcery.com>
28264 * sysdeps/unix/sysv/linux/kernel-features.h
28265 (__ASSUME_POSIX_CPU_TIMERS): Remove.
28266 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28267 [__NR_clock_getres]: Make code unconditional.
28268 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
28269 (clock_getcpuclockid): Remove code left unreachable by removal of
28271 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
28272 code unconditional.
28273 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28274 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28275 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
28276 Make code unconditional.
28277 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28278 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28279 * sysdeps/unix/sysv/linux/clock_settime.c
28280 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
28282 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
28283 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28285 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
28288 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
28289 scripts/test-installation.pl.
28291 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
28292 and $ld_so_version if it is set.
28294 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28297 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
28298 failure if reading from procfs failed.
28299 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
28301 2012-08-27 Joseph Myers <joseph@codesourcery.com>
28303 * sysdeps/unix/sysv/linux/kernel-features.h
28304 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
28305 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28306 Remove conditional code.
28307 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28308 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
28309 Remove conditional code.
28310 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28311 * sysdeps/unix/sysv/linux/i386/fxstat.c
28312 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28313 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28314 * sysdeps/unix/sysv/linux/i386/fxstatat.c
28315 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28316 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28317 * sysdeps/unix/sysv/linux/i386/lxstat.c
28318 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28319 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28320 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
28321 Remove conditional code.
28322 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28323 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28324 Remove conditional code.
28325 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28326 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
28327 <kernel-features.h>.
28328 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
28330 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
28331 Remove conditional code.
28332 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28333 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
28334 Remove conditional.
28336 2012-08-27 Mike Frysinger <vapier@gentoo.org>
28339 * NEWS: Add fixed bug number.
28341 2012-08-27 Joseph Myers <joseph@codesourcery.com>
28344 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
28345 underflowing exponent in case of negative sign.
28346 * stdlib/tst-strtod-round-data: Add more tests.
28347 * stdlib/tst-strtod-round.c (tests): Regenerated.
28350 * stdlib/strtod_l.c (NDIG): Remove.
28351 (HEXNDIG): Likewise.
28352 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
28353 smallest representable value.
28354 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
28355 lie within an exact representation of 1/2 ulp of the result.
28356 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
28358 (TENS_P9_IDX): Define unconditionally.
28359 (TENS_P9_SIZE): Likewise.
28360 (TENS_P10_IDX): Likewise.
28361 (TENS_P10_SIZE): Likewise.
28362 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
28363 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
28364 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
28365 entries for 10^2^13 and 10^2^14.
28366 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
28367 (TENS_P13_IDX): Define.
28368 (TENS_P13_SIZE): Likewise.
28369 (TENS_P14_IDX): Likewise.
28370 (TENS_P14_SIZE): Likewise.
28371 (_fpioconst_pow10): Change array size to
28372 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
28374 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
28375 1024]: Add entries for 10^2^13 and 10^2^14.
28376 [LAST_POW10 > _LAST_POW10]: Remove #error.
28377 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
28378 (_fpioconst_pow10): Change array size to
28379 FPIOCONST_POW10_ARRAY_SIZE.
28380 * stdlib/gen-fpioconst.c: New file.
28381 * stdlib/gen-tst-strtod-round.c: Likewise.
28382 * stdlib/tst-strtod-round-data: Likewise.
28383 * stdlib/tst-strtod-round.c: Likewise.
28384 * stdlib/Makefile (tests): Add tst-strtod-round.
28387 * stdlib/strtod_l.c: Include <stdint.h>.
28388 (NDEBUG): Do not define.
28389 (round_and_return): Change EXPONENT parameter to type intmax_t.
28390 Rearrange calculations to avoid internal overflow possibilities.
28391 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
28392 Rearrange calculations to avoid internal overflow possibilities.
28393 Assert that number fits inside MPNSIZE limbs.
28394 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
28395 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
28396 calculations and add assertions to avoid internal overflow
28397 possibilities. Add casts to avoid signed/unsigned operations.
28398 * stdlib/tst-strtod-overflow.c: New file.
28399 * stdlib/Makefile (tests): Add tst-strtod-overflow.
28401 2012-08-25 Marek Polacek <polacek@redhat.com>
28403 * time/time.h: Fix some typos in comments.
28405 2012-08-23 Roland McGrath <roland@hack.frob.com>
28407 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
28408 * posix/tst-rfc3484-2.c: Likewise.
28409 * posix/tst-rfc3484-3.c: Likewise.
28411 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
28413 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
28414 (EF_ARM_ABI_FLOAT_HARD): Likewise.
28416 2012-08-23 Joseph Myers <joseph@codesourcery.com>
28418 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
28419 #include of fxstatat64.c.
28421 2012-08-22 Roland McGrath <roland@hack.frob.com>
28423 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
28424 * shadow/getspent_r.c: Likewise.
28425 * shadow/getspnam.c: Likewise.
28426 * shadow/getspnam_r.c: Likewise.
28427 * gshadow/getsgent.c: Likewise.
28428 * gshadow/getsgent_r.c: Likewise.
28429 * gshadow/getsgnam.c: Likewise.
28430 * gshadow/getsgnam_r.c: Likewise.
28431 * inet/getnetbyad.c: Likewise.
28432 * inet/getnetbyad_r.c: Likewise.
28433 * inet/getnetbynm.c: Likewise.
28434 * inet/getnetbynm_r.c: Likewise.
28435 * inet/getnetent.c: Likewise.
28436 * inet/getnetent_r.c: Likewise.
28437 * inet/getproto.c: Likewise.
28438 * inet/getproto_r.c: Likewise.
28439 * inet/getprtent.c: Likewise.
28440 * inet/getprtent_r.c: Likewise.
28441 * inet/getprtname.c: Likewise.
28442 * inet/getprtname_r.c: Likewise.
28443 * inet/getrpcbyname.c: Likewise.
28444 * inet/getrpcbyname_r.c: Likewise.
28445 * inet/getrpcbynumber.c: Likewise.
28446 * inet/getrpcbynumber_r.c: Likewise.
28447 * inet/getrpcent.c: Likewise.
28448 * inet/getrpcent_r.c: Likewise.
28449 * inet/getaliasent.c: Likewise.
28450 * inet/getaliasent_r.c: Likewise.
28451 * inet/getaliasname.c: Likewise.
28452 * inet/getaliasname_r.c: Likewise.
28453 * nscd/getgrgid_r.c: Likewise.
28454 * nscd/getgrnam_r.c: Likewise.
28455 * nscd/gethstbyad_r.c: Likewise.
28456 * nscd/gethstbynm3_r.c: Likewise.
28457 * nscd/getpwnam_r.c: Likewise.
28458 * nscd/getpwuid_r.c: Likewise.
28459 * nscd/getsrvbynm_r.c: Likewise.
28460 * nscd/getsrvbypt_r.c: Likewise.
28461 * nscd/gai.c: Likewise.
28463 * configure.in (build_nscd): New substituted variable, set
28464 by --disable-build-nscd and defaults to $use_nscd.
28465 * configure: Regenerated.
28466 * config.make.in (build-nscd): New substituted variable.
28467 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
28468 Change conditional to require [$(build-nscd) = yes] as well.
28469 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28472 * configure.in (use_nscd): New substituted variable, set by
28473 --disable-nscd. If enabled, define USE_NSCD.
28474 * configure: Regenerated.
28475 * config.h.in: Add USE_NSCD.
28476 * config.make.in (use-nscd): New substituted variable.
28477 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28478 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28479 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28480 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28481 (CFLAGS-getgrnam_r.c): Likewise.
28482 (CFLAGS-initgroups.c): Likewise.
28483 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28484 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28486 * inet/getnetgrent_r.c
28487 (nscd_setnetgrent): New function, broken out of ...
28488 (setnetgrent): ... here. Call it.
28489 (innetgr): Conditionalize nscd bits on [USE_NSCD].
28490 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28491 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28492 * nscd/Makefile (routines, aux): Move definitions after include of
28493 Makeconfig. Conditionalize on [$(use-nscd) != no].
28494 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28495 Conditionalize on [USE_NSCD].
28496 (is_nscd, nscd_init_cb): Likewise.
28497 (nss_load_library): Conditionalize init callback on [USE_NSCD].
28498 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28499 * nss/nss_db/db-init.c: Likewise.
28500 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28502 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28503 (make_request): Use it.
28504 (cache_valid_p): New function.
28505 (__check_pf): Use it.
28506 * NEWS: Add item for --disable-nscd.
28508 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
28510 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28511 to support sed >= 4.2.1-20-ga9bf076.
28512 * configure: Regenerated.
28514 2012-08-22 Roland McGrath <roland@hack.frob.com>
28516 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28517 Conditionalize whole body on [IREL].
28519 2012-08-22 Jeff Law <law@redhat.com>
28522 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28523 if the family is PF_UNSPEC.
28525 2012-08-22 Mike Frysinger <vapier@gentoo.org>
28527 * Makerules (lib-version): Rename from V.
28528 (install-lib-nosubdir): Change V to lib-version.
28530 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
28533 * powerpc32/power6/wcschr.c: New file.
28534 * powerpc32/power6/wcscpy.c: New file.
28535 * powerpc32/power6/wcsrchr.c: New file.
28536 * powerpc64/power6/wcschr.c: New file.
28537 * powerpc64/power6/wcscpy.c: New file.
28538 * powerpc64/power6/wcsrchr.c: New file.
28540 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28542 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28543 (two_way_short_needle): Use it.
28544 * string/strstr.c (AVAILABLE1_USES_J): Define.
28545 * string/strcasestr.c: Likewise.
28547 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28549 * string/strcasestr.c (TOLOWER): Make side-effect safe.
28552 * NEWS: Add an entry.
28553 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28554 define their defaults.
28555 (two_way_short_needle): Detect end-of-string on-the-fly.
28556 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28557 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28558 * string/bug-strcasestr1.c: New test.
28559 * string/Makefile: Run it.
28561 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28564 * string/str-two-way.h (two_way_short_needle): Optimize matching of
28565 the first character.
28567 2012-08-21 Roland McGrath <roland@hack.frob.com>
28569 * csu/elf-init.c (__libc_csu_irel): Function removed.
28570 * csu/libc-start.c (apply_irel): New function.
28571 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28573 2012-08-21 Joseph Myers <joseph@codesourcery.com>
28575 * sysdeps/unix/sysv/linux/kernel-features.h
28576 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28577 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28578 <kernel-features.h>.
28579 [__NR_fadvise64_64]: Make code unconditional.
28580 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28581 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28582 !__NR_fadvise64_64)]: Likewise.
28583 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28584 !__NR_fadvise64_64))]: Likewise.
28585 [__NR_fadvise64]: Make code unconditional.
28586 [!__NR_fadvise64]: Remove conditional code.
28587 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28588 <kernel-features.h>.
28589 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28591 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28594 not include <kernel-features.h>.
28595 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28597 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28599 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28600 include <kernel-features.h>.
28601 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28603 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28606 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28608 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28609 slight instruction rearrangements per scrollpipe analysis.
28610 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28612 2012-08-20 Roland McGrath <roland@hack.frob.com>
28614 * manual/syslog.texi (syslog; vsyslog, closelog):
28615 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28616 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28618 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28619 DSOCAPS to match condition on defining it.
28621 2012-08-20 Joseph Myers <joseph@codesourcery.com>
28623 * sysdeps/unix/sysv/linux/kernel-features.h
28624 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28626 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28627 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28629 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28630 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28632 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28633 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28635 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28636 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28638 * sysdeps/unix/sysv/linux/kernel-features.h
28639 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28640 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28642 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28643 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28644 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28645 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28646 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
28647 Make code unconditional.
28648 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28649 (__mmap64) [!__NR_mmap2]: Likewise.
28650 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
28651 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28652 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28653 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
28654 [__NR_mmap2]: Make code unconditional.
28655 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28656 (__mmap64) [!__NR_mmap2]: Likewise.
28658 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28660 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
28662 2012-08-18 Andreas Jaeger <aj@suse.de>
28664 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
28666 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28668 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
28669 * include/unistd.h (__have_sock_cloexec): Likewise.
28670 (__have_pipe2): Likewise.
28671 (__have_dup3): Likewise.
28673 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28676 * include/unistd.h (__have_pipe2): Change define into an extern int.
28677 (__have_dup3): Likewise.
28678 * socket/have_sock_cloexec.c: Include fcntl.h.
28679 (__have_pipe2): New variable.
28680 (__have_dup3): Likewise.
28682 2012-08-17 Mike Frysinger <vapier@gentoo.org>
28684 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
28686 2012-08-17 Marek Polacek <polacek@redhat.com>
28688 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
28689 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
28691 2012-08-17 Roland McGrath <roland@hack.frob.com>
28693 * configure.in: Add AC_SUBST for sysheaders.
28694 * configure: Regenerated.
28695 * config.make.in (sysheaders): New substituted variable.
28697 * sysdeps/unix/mkfifo.c: Moved ...
28698 * sysdeps/posix/mkfifo.c: ... here.
28699 * sysdeps/unix/mkfifoat.c: Moved ...
28700 * sysdeps/posix/mkfifoat.c: ... here.
28702 * sysdeps/unix/utime.c: Moved ...
28703 * sysdeps/posix/utime.c: ... here.
28705 * sysdeps/unix/time.c: Moved ...
28706 * sysdeps/posix/time.c: ... here.
28707 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
28708 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
28710 * sysdeps/unix/nice.c: Moved ...
28711 * sysdeps/posix/nice.c: ... here.
28713 * sysdeps/unix/alarm.c: Moved ...
28714 * sysdeps/posix/alarm.c: ... here.
28716 * intl/Makefile ($(codeset_mo)): Depend on the input file.
28718 2012-08-17 Jeff Law <law@redhat.com>
28720 * intl/Makefile (codeset_mo): New variable.
28721 ($(codeset_mo)): New target.
28722 (tst-codeset.out): Depend on that. Remove explicit rule.
28723 (tst-gettext3.out, tst-gettext5.out): Likewise.
28724 (LOCPATH-ENV, tst-codeset-ENV): New variables.
28725 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
28726 * intl/tst-codeset.sh: Remove.
28727 * intl/tst-gettext3.sh: Likewise.
28728 * intl/tst-gettext5.sh: Likewise.
28730 2012-08-17 Roland McGrath <roland@hack.frob.com>
28732 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
28733 * sysdeps/unix/syscalls.list: ... here.
28735 * sysdeps/posix/getaddrinfo.c
28736 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
28737 (gaiconf_init, gaiconf_reload): Use them.
28738 [!_STATBUF_ST_NSEC]
28739 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
28740 Define using time_t rather than struct timespec.
28742 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
28743 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
28745 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
28747 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
28748 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
28751 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
28752 __libc_cleanup_push argument.
28754 * bits/param.h: New file.
28755 * misc/sys/param.h: New file.
28756 * include/sys/param.h: New file.
28757 * misc/Makefile (headers): Add bits/param.h.
28758 * sysdeps/generic/sys/param.h: File removed.
28759 * sysdeps/unix/sysv/linux/bits/param.h: New file.
28760 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
28761 * sysdeps/mach/hurd/bits/param.h: New file.
28762 * sysdeps/mach/hurd/sys/param.h: File removed.
28764 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
28767 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
28769 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
28770 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
28773 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
28774 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
28775 rather than -D_IO_MTSAFE_IO conditionally.
28776 * stdio-common/Makefile (CPPFLAGS): Likewise.
28777 * wcsmbs/Makefile (CPPFLAGS): Likewise.
28778 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
28779 Use $(libio-mtsafe).
28780 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
28781 of -D_IO_MTSAFE_IO.
28782 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
28783 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
28784 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
28785 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
28786 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
28787 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
28788 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
28789 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
28790 (CFLAGS-fread_u_chk.c): Likewise.
28791 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
28792 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
28793 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
28794 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
28795 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
28796 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
28797 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
28798 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
28799 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
28801 * libio/Makefile: Test [$(libc-reentrant) = yes]
28802 instead of [$(filter %REENTRANT, $(defines)) nonempty].
28805 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
28806 * sysdeps/pthread/configure: File removed.
28807 * sysdeps/pthread/Makeconfig: New file.
28808 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
28809 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
28811 2012-08-16 Gary Benson <gbenson@redhat.com>
28813 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
28814 unmapping the first object in a namespace.
28816 2012-08-16 Roland McGrath <roland@hack.frob.com>
28818 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
28819 (__internal_setnetgrent): ... this. Add internal_function to
28820 definition. Add libc_hidden_def.
28821 (setnetgrent): Update caller.
28822 (internal_endnetgrent): Renamed to ...
28823 (__internal_endnetgrent): ... this. Add internal_function to
28824 definition. Add libc_hidden_def.
28825 (endnetgrent): Update caller.
28826 (internal_getnetgrent_r): Renamed to ...
28827 (__internal_getnetgrent_r): ... this. Add internal_function to
28828 definition. Add libc_hidden_def.
28829 (__getnetgrent_r): Update caller.
28830 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
28832 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28834 * stdlib/longlong.h: Update from GCC.
28836 2012-08-16 Roland McGrath <roland@hack.frob.com>
28838 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
28839 on _QL, which is set by umul_ppmm but never used.
28840 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
28841 variables, which are set by GMP macros but never used.
28842 * stdio-common/_itowa.c (_itowa): Likewise.
28843 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
28844 * stdlib/mod_1.c (mpn_mod_1): Likewise.
28846 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
28848 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
28849 struct La_sh_regs is not constant.
28850 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
28851 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
28852 and struct La_sparc64_regs are not constant.
28854 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28856 * sysdeps/unix/sysv/linux/kernel-features.h
28857 (__ASSUME_POSIX_TIMERS): Remove.
28858 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28859 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28860 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
28861 Make code unconditional.
28862 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28863 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
28864 Make code unconditional.
28865 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28866 * sysdeps/unix/sysv/linux/clock_nanosleep.c
28867 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
28868 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28869 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
28870 Make code unconditional.
28871 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28872 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
28873 (__libc_missing_posix_timers): Remove.
28875 2012-08-15 Roland McGrath <roland@hack.frob.com>
28877 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
28878 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
28880 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
28882 * elf/dl-sym.c: Include <stdlib.h>.
28884 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
28885 constants, which avoids warnings in 32-bit builds.
28887 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
28888 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
28890 * misc/lseek.c: File moved to ...
28891 * io/lseek.c: ... here.
28893 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
28895 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
28896 shifting LEN more than 31 bits at once.
28898 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28901 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
28902 segmentation fault for a case of two empty input strings.
28903 * string/test-strncasecmp.c (check1): Renamed to...
28904 (bz12205): ...this.
28905 (bz14195): Add new testcase for two empty input strings and N > 0.
28906 (test_main): Call new testcase, adapt for renamed function.
28908 2012-08-15 Andreas Jaeger <aj@suse.de>
28911 * crypt/md5test2.c: New test, based on test supplied by Serge
28912 Belyshev <belyshev@depni.sinp.msu.ru>.
28913 * crypt/Makefile (xtests): Add md5test-giant..
28914 * crypt/Makefile ($(objpfx)md5test-giant): Add.
28916 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
28919 * crypt/md5.c (md5_process_block): Don't assume the buffer
28920 length is less than 2**32.
28921 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
28922 length is less than 2**64.
28924 2012-08-15 Roland McGrath <roland@hack.frob.com>
28926 * string/str-two-way.h: Include <sys/param.h>.
28927 (MAX): Macro removed.
28929 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
28930 Move #define and #undef of memmove to just before and after
28931 including <string.h>.
28933 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
28934 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
28935 and after including <string.h>. Move declarations of
28936 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
28937 to before #include "string/memmove.c".
28939 * include/dirent.h: Declare __getdirentries.
28941 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
28942 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
28944 2012-08-14 Mike Frysinger <vapier@gentoo.org>
28946 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
28947 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
28948 * sysdeps/i386/configure: Regenerated.
28949 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
28950 STABS_CURRENT_FILE, and STABS_FUN.
28951 (END): Remove call to STABS_FUN_END.
28952 (STABS_CURRENT_FILE1): Delete.
28953 (STABS_CURRENT_FILE): Likewise.
28954 (STABS_FUN): Likewise.
28955 (STABS_FUN_END): Likewise.
28956 (STABS_FUN2): Likewise.
28957 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
28958 * sysdeps/x86_64/configure: Regenerated.
28960 2012-08-14 Roland McGrath <roland@hack.frob.com>
28962 * elf/dl-open.c: Include <atomic.h>.
28963 * elf/dl-lookup.c: Likewise.
28965 2012-08-14 Joseph Myers <joseph@codesourcery.com>
28967 * sysdeps/unix/sysv/linux/kernel-features.h
28968 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
28969 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
28971 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
28973 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
28974 condition on __ASSUME_CLONE_THREAD_FLAGS.
28976 2012-08-14 Andreas Jaeger <aj@suse.de>
28978 * sysdeps/i386/fpu/libm-test-ulps: Update.
28980 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
28982 * include/atomic.h (atomic_exchange_and_add): Split into ...
28983 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28986 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
28988 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28990 2012-08-13 Jeff Law <law@redhat.com>
28992 * manual/stdio.texi (snprintf): Clarify handling of the trailing
28993 null byte in the output string.
28995 2012-08-10 Joseph Myers <joseph@codesourcery.com>
28997 * sysdeps/unix/sysv/linux/kernel-features.h
28998 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28999 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29000 (__ASSUME_ARG_MAX_STACK_BASED): Define.
29001 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29002 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
29003 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
29004 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
29006 2012-08-09 Jeff Law <law@redhat.com>
29009 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
29010 When avoid_arena is set, don't retry in the that arena. Pick the
29011 next one, whatever it might be.
29012 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
29013 (arena_lock): Pass in new parameter to arena_get2.
29014 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29016 (__libc_malloc): Unify retrying after main arena failure with
29017 __libc_memalign version.
29018 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29020 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
29023 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29024 to __redirect_strstr.
29025 (__strstr_sse42): Use typeof __redirect_strstr.
29026 (__strstr_ia32): Likewise.
29027 (__libc_strstr): New prototype.
29028 (strstr): Renamed to ...
29029 (__libc_strstr): This.
29030 (strstr): New strong alias of __libc_strstr.
29031 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29032 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29035 (__libc_time): New prototype.
29036 (time_ifunc): Replace time with __libc_time.
29037 (time): New strong alias and hidden definition of __libc_time.
29038 (__GI_time): Remove strong alias.
29039 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29040 Include <stddef.h>.
29041 (memmove): Redefined to __redirect_memmove.
29042 (__memmove_sse2): Use typeof __redirect_memmove.
29043 (__memmove_ssse3): Likewise.
29044 (__memmove_ssse3_back): Likewise.
29045 (__libc_memmove): New prototype.
29046 (memmove): Renamed to ...
29047 (__libc_memmove): This.
29048 (memmove): New strong alias of __libc_memmove.
29050 2012-08-08 Mark Salter <msalter@redhat.com>
29053 (R_MN10300_TLS_GD): Define.
29054 (R_MN10300_TLS_LD): Likewise.
29055 (R_MN10300_TLS_LDO): Likewise.
29056 (R_MN10300_TLS_GOTIE): Likewise.
29057 (R_MN10300_TLS_IE): Likewise.
29058 (R_MN10300_TLS_LE): Likewise.
29059 (R_MN10300_TLS_DTPMOD): Likewise.
29060 (R_MN10300_TLS_DTPOFF): Likewise.
29061 (R_MN10300_TLS_TPOFF): Likewise.
29062 (R_MN10300_SYM_DIFF): Likewise.
29063 (R_MN10300_ALIGN): Likewise.
29064 (R_MN10300_NUM): Update.
29066 2012-08-08 Joseph Myers <joseph@codesourcery.com>
29068 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29071 2012-08-08 Roland McGrath <roland@hack.frob.com>
29073 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29075 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29076 sysdeps/unix -> sysdeps/posix move.
29077 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29079 2012-08-07 Allan McRae <allan@archlinux.org>
29082 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29083 (SUNOS_CPP): Likewise.
29084 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29086 (open_input): Call CPP using execvp.
29088 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29090 * sysdeps/unix/sysv/linux/kernel-features.h
29091 (__ASSUME_PROT_GROWSUPDOWN): Remove.
29092 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29093 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29094 (__ASSUME_WAITID_SYSCALL): Likewise.
29095 * sysdeps/unix/sysv/linux/dl-execstack.c
29096 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29097 code unconditional.
29098 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29100 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29101 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29102 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29104 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29106 [__ASSUME_WAITID_SYSCALL]: Likewise.
29107 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29109 2012-08-07 Roland McGrath <roland@hack.frob.com>
29111 * sysdeps/unix/closedir.c: Renamed to ...
29112 * sysdeps/posix/closedir.c: ... here.
29113 * sysdeps/unix/dirfd.c: Renamed to ...
29114 * sysdeps/posix/dirfd.c: ... here.
29115 * sysdeps/unix/dirstream.h: Renamed to ...
29116 * sysdeps/posix/dirstream.h: ... here.
29117 * sysdeps/unix/fdopendir.c: Renamed to ...
29118 * sysdeps/posix/fdopendir.c: ... here.
29119 * sysdeps/unix/opendir.c: Renamed to ...
29120 * sysdeps/posix/opendir.c: ... here.
29121 * sysdeps/unix/readdir.c: Renamed to ...
29122 * sysdeps/posix/readdir.c: ... here.
29123 * sysdeps/unix/readdir_r.c: Renamed to ...
29124 * sysdeps/posix/readdir_r.c: ... here.
29125 * sysdeps/unix/rewinddir.c: Renamed to ...
29126 * sysdeps/posix/rewinddir.c: ... here.
29127 * sysdeps/unix/seekdir.c: Renamed to ...
29128 * sysdeps/posix/seekdir.c: ... here.
29129 * sysdeps/unix/telldir.c: Renamed to ...
29130 * sysdeps/posix/telldir.c: ... here.
29131 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29132 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29133 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29134 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29136 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29137 * bits/fcntl.h: ... here.
29139 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
29141 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
29142 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
29143 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
29144 (struct flock): Move l_start, l_len to the beginning.
29145 Use __pid_t for l_pid.
29146 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
29147 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
29148 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
29149 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
29150 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
29151 [__USE_LARGEFILE64] (struct flock64): New type.
29152 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
29154 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
29155 * bits/dirent.h: ... here.
29157 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
29158 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
29160 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29162 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29163 Change from 2.6.0 to 2.6.16.
29164 * sysdeps/unix/sysv/linux/configure: Regenerated.
29165 * sysdeps/unix/sysv/linux/kernel-features.h
29166 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
29167 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
29169 (__ASSUME_UTIMES): Likewise.
29170 (__ASSUME_CLONE_STOPPED): Remove.
29171 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
29172 architectures, not kernel version.
29173 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
29174 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29175 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29176 (__ASSUME_WAITID_SYSCALL): Likewise.
29177 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
29178 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
29179 * README: State 2.6.16 as minimum Linux kernel version. Do not
29180 refer to older versions.
29182 2012-08-06 Roland McGrath <roland@hack.frob.com>
29184 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
29185 Define alphasort64 as an alias.
29186 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
29187 Define versionsort64 as an alias.
29188 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
29189 Define scandir64 as an alias.
29190 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
29191 Define scandirat64 as an alias.
29192 * dirent/alphasort64.c (alphasort64):
29193 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
29194 * dirent/versionsort64.c: Likewise.
29195 * dirent/scandir64.c: Likewise.
29196 * dirent/scandirat64.c: Likewise.
29197 * sysdeps/wordsize-64/alphasort.c: File removed.
29198 * sysdeps/wordsize-64/alphasort64.c: File removed.
29199 * sysdeps/wordsize-64/scandir.c: File removed.
29200 * sysdeps/wordsize-64/scandir64.c: File removed.
29201 * sysdeps/wordsize-64/scandirat.c: File removed.
29202 * sysdeps/wordsize-64/scandirat64.c: File removed.
29203 * sysdeps/wordsize-64/versionsort.c: File removed.
29204 * sysdeps/wordsize-64/versionsort64.c: File removed.
29205 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
29206 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
29207 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
29208 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
29209 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
29210 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
29211 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
29212 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
29214 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
29215 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29216 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
29217 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29218 [defined __arch64__ || defined __sparcv9]
29219 (__INO_T_MATCHES_INO64_T): New macro.
29220 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29221 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
29222 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
29223 * sysdeps/unix/sysv/linux/bits/dirent.h
29224 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
29225 (_DIRENT_MATCHES_DIRENT64): New macro.
29227 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
29228 Define lockf64 as an alias.
29229 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
29230 Define fseeko64 as an alias.
29231 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
29232 Define ftello64 as an alias.
29233 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
29234 Define _IO_fgetpos64 and fgetpos64 as aliases.
29235 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
29236 Define _IO_fsetpos64 and fsetpos64 as aliases.
29237 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
29238 Conditionalize body on this.
29239 * libio/fseeko64.c: Likewise.
29240 * libio/ftello64.c: Likewise.
29241 * libio/iofgetpos64.c: Likewise.
29242 * libio/iofsetpos64.c: Likewise.
29243 * sysdeps/wordsize-64/lockf.c: File removed.
29244 * sysdeps/wordsize-64/lockf64.c: File removed.
29245 * sysdeps/wordsize-64/fseeko.c: File removed.
29246 * sysdeps/wordsize-64/fseeko64.c: File removed.
29247 * sysdeps/wordsize-64/ftello.c: File removed.
29248 * sysdeps/wordsize-64/ftello64.c: File removed.
29249 * sysdeps/wordsize-64/iofgetpos.c: File removed.
29250 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
29251 * sysdeps/wordsize-64/iofsetpos.c: File removed.
29252 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
29253 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
29254 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
29255 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
29256 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
29257 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
29258 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
29259 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
29260 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
29261 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
29262 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
29264 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29265 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29266 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
29267 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29268 [defined __arch64__ || defined __sparcv9]
29269 (__OFF_T_MATCHES_OFF64_T): New macro.
29270 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29271 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29272 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29273 (__OFF_T_MATCHES_OFF64_T): New macro.
29275 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29277 * stdlib/secure-getenv.c (__secure_getenv): Replace
29278 GLIBC_2_16 with GLIBC_2_17.
29280 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29282 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
29283 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29285 2012-08-03 David S. Miller <davem@davemloft.net>
29287 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29289 2012-08-03 Joseph Myers <joseph@codesourcery.com>
29291 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
29293 (__ASSUME_CORRECT_SI_PID): Likewise.
29294 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
29295 (__ASSUME_TMPFS_NAME): Likewise.
29296 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
29297 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
29298 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
29299 (HAVE_AUX_SECURE): Make definition unconditional.
29300 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
29301 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
29303 2012-08-03 Roland McGrath <roland@hack.frob.com>
29305 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
29306 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
29307 * sysdeps/mach/hurd/eloop-threshold.h: New file.
29308 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29309 __eloop_threshold instead of SYMLOOP_MAX.
29311 * sysdeps/generic/eloop-threshold.h: New file.
29312 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
29314 * elf/chroot_canon.c (chroot_canon): Likewise.
29316 2012-08-03 Joseph Myers <joseph@codesourcery.com>
29319 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29320 Change to 2.6.0 everywhere.
29321 * sysdeps/unix/sysv/linux/configure: Regenerated.
29322 * sysdeps/unix/sysv/linux/kernel-features.h
29323 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
29324 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
29326 (__ASSUME_POSIX_TIMERS): Define unconditionally.
29327 (__ASSUME_FUTEX_REQUEUE): Remove.
29328 (__ASSUME_STATFS64): Define unconditionally.
29329 (__ASSUME_AT_SECURE): Likewise.
29330 (__ASSUME_CORRECT_SI_PID): Likewise.
29331 (__ASSUME_TGKILL): Define without depending on kernel version for
29333 (__ASSUME_UTIMES): Likewise.
29334 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
29336 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
29337 (__ASSUME_TMPFS_NAME): Likewise.
29338 * README: Update reference to Linux kernel versions.
29340 2012-08-02 Marek Polacek <polacek@redhat.com>
29343 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
29344 libc_cv_asm_type_prefix with %.
29345 * configure: Regenerated.
29346 * include/libc-symbols.h: Remove comment about
29347 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29348 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
29349 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
29350 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
29351 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
29352 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29353 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
29354 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
29355 * elf/tst-unique2mod1.c: Likewise.
29356 * elf/tst-unique1mod2.c: Likewise.
29357 * elf/tst-unique1mod1.c: Likewise.
29358 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
29359 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
29360 Replace ASM_TYPE_DIRECTIVE with .type.
29361 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29362 * sysdeps/i386/sysdep.h: Likewise.
29363 * sysdeps/x86_64/sysdep.h: Likewise.
29364 * sysdeps/sh/sysdep.h: Likewise.
29365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29366 Do not define ASM_TYPE_DIRECTIVE.
29367 * sysdeps/powerpc/sysdep.h: Likewise.
29368 * sysdeps/powerpc/powerpc32/sysdep.h:
29369 Replace ASM_TYPE_DIRECTIVE with .type.
29370 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29371 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29372 * sysdeps/i386/fpu/e_powf.S: Likewise.
29373 * sysdeps/i386/fpu/e_expl.S: Likewise.
29374 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29375 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29376 * sysdeps/i386/fpu/e_pow.S: Likewise.
29377 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29378 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29379 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29380 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29381 * sysdeps/i386/fpu/e_log2.S: Likewise.
29382 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29383 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29384 * sysdeps/i386/fpu/e_powl.S: Likewise.
29385 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29386 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29387 * sysdeps/i386/fpu/e_logl.S: Likewise.
29388 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29389 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29390 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29391 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29392 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29393 * sysdeps/i386/fpu/e_log.S: Likewise.
29394 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29395 * sysdeps/i386/fpu/e_logf.S: Likewise.
29396 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29397 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29398 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29399 * sysdeps/i386/fpu/e_log10.S: Likewise.
29400 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29401 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29402 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29403 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29404 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29405 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29406 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29407 * sysdeps/i386/i686/strtok.S: Likewise.
29408 * sysdeps/i386/i386-mcount.S: Likewise.
29409 * sysdeps/i386/strtok.S: Likewise.
29410 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
29411 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29412 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29413 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29414 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29415 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29416 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29417 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29418 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29419 * sysdeps/x86_64/_mcount.S: Likewise.
29420 * sysdeps/x86_64/strtok.S: Likewise.
29421 * sysdeps/sh/_mcount.S: Likewise.
29423 2012-08-01 Roland McGrath <roland@hack.frob.com>
29425 * libio/iofopen.c: Include <fcntl.h>.
29426 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
29427 (_IO_fopen64, fopen64): Define as aliases.
29428 * libio/iofopen64.c: Include <fcntl.h>.
29429 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
29430 Conditionalize body on this.
29431 * sysdeps/wordsize-64/iofopen.c: File removed.
29432 * sysdeps/wordsize-64/iofopen64.c: File removed.
29434 2012-08-01 Marek Polacek <polacek@redhat.com>
29436 * libc/Makeconfig: Use elf in place of binfmt-subdir.
29437 Use dlfcn directly instead of a variable.
29438 (binfmt-subdir): Do not define.
29441 2012-08-01 Joseph Myers <joseph@codesourcery.com>
29443 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
29444 Remove all definitions.
29445 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
29446 <kernel-features.h>.
29447 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29448 (miss_F_GETOWN_EX): Remove all definitions.
29449 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
29451 [!__ASSUME_FCNTL64]: Remove conditional code.
29452 [__ASSUME_FCNTL64]: Make code unconditional.
29453 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
29454 <kernel-features.h>.
29455 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29456 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
29457 (lockf64) [__NR_fcntl64]: Make code unconditional.
29458 (lockf64) [__ASSUME_FCNTL64]: Likewise.
29460 * sysdeps/unix/sysv/linux/kernel-features.h
29461 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
29462 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
29463 Make code unconditional.
29464 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29465 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
29467 [__NR_vfork]: Make code unconditional.
29468 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29469 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29471 [__NR_vfork]: Make code unconditional.
29472 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29473 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29475 2012-08-01 Roland McGrath <roland@hack.frob.com>
29477 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29478 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29480 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29481 Define mkstemp64 as an alias.
29482 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29483 Define mkstemps64 as an alias.
29484 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29485 Define mkostemp64 as an alias.
29486 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29487 Define mkostemps64 as an alias.
29488 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29489 Conditionalize body on this.
29490 * misc/mkostemp64.c: Likewise.
29491 * misc/mkostemps64.c: Likewise.
29492 * misc/mkstemps64.c: Likewise.
29493 * sysdeps/wordsize-64/mkstemp64.c: File removed.
29494 * sysdeps/wordsize-64/mkostemp64.c: File removed.
29495 * sysdeps/wordsize-64/mkostemp.c: File removed.
29496 * sysdeps/wordsize-64/mkstemp.c: File removed.
29497 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29498 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29499 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29500 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29503 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29504 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29505 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29506 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29508 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29509 compat_symbol macros from <shlib-compat.h> rather than the underlying
29510 default_symbol_version and symbol_version macros, so that DEFAULT
29511 lines in shlib-versions are respected.
29512 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29514 2012-08-01 Florian Weimer <fweimer@redhat.com>
29516 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29517 Declare with warn_unused_result.
29518 (setgid, setregid, setegid, setresgid): Likewise.
29519 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29521 * WUR-REPORT: Remove set*id functions.
29523 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
29525 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29527 2012-07-31 Roland McGrath <roland@hack.frob.com>
29530 * include/sys/socket.h (__libc_accept, __libc_accept4):
29531 Add attribute_hidden.
29532 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29534 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29536 * inet/getnetgrent_r.c (setup): Likewise.
29538 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29540 2012-07-31 David S. Miller <davem@davemloft.net>
29542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29544 2012-07-31 Joseph Myers <joseph@codesourcery.com>
29547 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29548 value between 1.0 and 2.0 and smaller part has absolute value less
29550 * math/s_clog10.c (__clog10): Likewise.
29551 * math/s_clog10f.c (__clog10f): Likewise.
29552 * math/s_clog10l.c (__clog10l): Likewise.
29553 * math/s_clogf.c (__clogf): Likewise.
29554 * math/s_clogl.c (__clogl): Likewise.
29555 * math/libm-test.inc (clog_test): Add more tests.
29556 (clog10_test): Likewise.
29557 * sysdeps/i386/fpu/libm-test-ulps: Update.
29558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29560 2012-07-31 Florian Weimer <fweimer@redhat.com>
29562 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29563 Exit with zero in case no suitable GID is found, and write a
29564 message to standard error.
29566 2012-07-30 Roland McGrath <roland@hack.frob.com>
29568 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29570 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29571 (MAXPATHLEN): Removed.
29572 (NOGROUP, NODEV): New macros.
29573 (setbit, clrbit, isset, isclr): New macros.
29574 (howmany, roundup, powerof2): New macros.
29575 (DEV_BSIZE): New macro.
29577 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29578 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29580 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29581 definition on [!__NO_LONG_DOUBLE_MATH].
29583 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29584 PTR_MANGLE and PTR_DEMANGLE.
29586 * socket/accept4.c (accept4): Rename to __libc_accept4.
29587 Define accept4 as a weak alias.
29589 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29590 on [_DIRENT_HAVE_D_TYPE].
29591 * io/ftw.c (ftw_dir): Likewise.
29593 * io/xmknod.c (__xmknod): Don't check PATH for being null.
29595 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29597 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29598 Use the BSD numbers rather than the arbitrary ones we had.
29599 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29600 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29601 (SIGXCPU, SIGXFSZ): New macros.
29604 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29605 initializer on [_LIBC_REENTRANT].
29607 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29608 definitions inside [_POSIX_MAPPED_FILES].
29610 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29612 * dirent/opendir.c: Include <fcntl.h>.
29614 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29615 (__libc_getspecific): Likewise.
29616 (__libc_key_create): Likewise.
29618 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29619 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29620 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29621 (tmpfile64): Define as alias.
29622 * sysdeps/wordsize-64/tmpfile.c: File removed.
29623 * sysdeps/wordsize-64/tmpfile64.c: File removed.
29624 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29625 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29627 * stdio-common/vfscanf.c: Include <stdbool.h>.
29628 * nss/makedb.c: Likewise.
29629 * stdio-common/_i18n_number.h: Likewise.
29630 * argp/argp-help.c: Likewise.
29631 * posix/wordexp.c: Likewise.
29632 * sysdeps/posix/spawni.c: Likewise.
29633 * nss/nss_files/files-initgroups.c: Likewise.
29634 * stdio-common/reg-modifier.c: Include <stdlib.h>.
29635 * nss/nss_files/files-initgroups.c: Likewise.
29636 * nss/nss_db/db-netgrp.c: Likewise.
29637 * nss/nss_db/db-initgroups.c: Likewise.
29638 * io/fchmodat.c: Include <sys/stat.h>.
29640 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29641 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29643 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29646 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
29647 Add multiple inclusion protection.
29649 2012-07-27 David S. Miller <davem@davemloft.net>
29651 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29653 2012-07-27 Gary Benson <gbenson@redhat.com>
29656 * elf/rtld.c: Include <stap-probe.h>.
29657 (dl_main): Added static probes "init_start" and "init_complete".
29658 * elf/dl-load.c: Include <stap-probe.h>.
29659 (lose): Take new parameter "nsid".
29660 Added static probe "map_failed".
29661 (_dl_map_object_from_fd): Pass namespace id to lose.
29662 Added static probe "map_start".
29663 (open_verify): Pass namespace id to lose.
29664 * elf/dl-open.c: Include <stap-probe.h>.
29665 (dl_open_worker) Added static probes "map_complete", "reloc_start"
29666 and "reloc_complete".
29667 * elf/dl-close.c: Include <stap-probe.h>.
29668 (_dl_close_worker): Added static probes "unmap_start" and
29670 * elf/rtld-debugger-interface.txt: New file documenting the above.
29672 2012-07-26 Roland McGrath <roland@hack.frob.com>
29674 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
29675 rather than a string variable.
29676 * sunrpc/rpc_main.c (h_output): Likewise.
29677 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
29679 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
29681 * inet/check_native.c: New file.
29683 2012-07-26 Joseph Myers <joseph@codesourcery.com>
29686 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
29687 if larger part has absolute value 1.0.
29688 * math/s_clog10.c (__clog10): Likewise.
29689 * math/s_clog10f.c (__clog10f): Likewise.
29690 * math/s_clog10l.c (__clog10l): Likewise.
29691 * math/s_clogf.c (__clogf): Likewise.
29692 * math/s_clogl.c (__clogl): Likewise.
29693 * math/libm-test.inc (clog_test): Add more tests.
29694 (clog10_test): Likewise.
29695 * sysdeps/i386/fpu/libm-test-ulps: Update.
29696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29698 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
29699 (pltexit): Likewise.
29700 (La_regs): Likewise.
29701 (La_retval): Likewise.
29702 (int_retval): Likewise.
29703 Update #error for removed macros to refer only to definitions in
29705 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
29707 (pltexit): Likewise.
29708 (La_regs): Likewise.
29709 (La_retval): Likewise.
29710 (int_retval): Likewise.
29711 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
29713 (pltexit): Likewise.
29714 (La_regs): Likewise.
29715 (La_retval): Likewise.
29716 (int_retval): Likewise.
29717 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
29719 (pltexit): Likewise.
29720 (La_regs): Likewise.
29721 (La_retval): Likewise.
29722 (int_retval): Likewise.
29723 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
29725 (pltexit): Likewise.
29726 (La_regs): Likewise.
29727 (La_retval): Likewise.
29728 (int_retval): Likewise.
29729 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
29731 (pltexit): Likewise.
29732 (La_regs): Likewise.
29733 (La_retval): Likewise.
29734 (int_retval): Likewise.
29735 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
29737 (pltexit): Likewise.
29738 (La_regs): Likewise.
29739 (La_retval): Likewise.
29740 (int_retval): Likewise.
29741 * sysdeps/generic/tst-audit.h: Update comment to refer only to
29742 macro definitions in tst-audit.h.
29743 * sysdeps/i386/tst-audit.h: New file.
29744 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
29745 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
29746 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
29747 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
29748 * sysdeps/sh/tst-audit.h: Likewise.
29749 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
29750 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
29751 * sysdeps/x86_64/tst-audit.h: Likewise.
29753 2012-07-26 Andreas Jaeger <aj@suse.de>
29755 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
29758 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
29759 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
29760 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
29762 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
29763 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
29764 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
29766 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
29769 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
29771 (si_call_addr, si_syscall, si_arch): Define new macro.
29772 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
29774 (si_call_addr, si_syscall, si_arch): Define new marcro.
29775 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
29777 (si_call_addr, si_syscall, si_arch): Define new macro.
29778 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
29780 (si_call_addr, si_syscall, si_arch): Define new macro.
29782 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29785 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29786 Change to 2.4.21 where previously 2.4.1.
29787 * sysdeps/unix/sysv/linux/configure: Regenerated.
29788 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
29789 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
29790 Linux kernel version.
29791 (__ASSUME_STD_AUXV): Remove.
29792 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
29794 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
29795 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
29796 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
29797 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
29798 (__ASSUME_NETLINK_SUPPORT): Likewise.
29799 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
29800 (__no_netlink_support): Remove conditional definition.
29801 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
29803 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29804 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
29805 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
29806 (if_nameindex_ioctl): Remove.
29807 (if_nameindex_netlink): Do not handle __no_netlink_support.
29808 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29810 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
29811 Remove conditional code.
29812 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29814 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
29816 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29817 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
29818 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
29820 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
29821 [!__ASSUME_STD_AUXV]: Remove conditional code.
29822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
29823 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
29824 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
29825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
29826 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
29827 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29829 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29831 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
29832 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29834 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29836 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29839 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
29842 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29843 code unconditional.
29844 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29846 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29848 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29851 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29853 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29856 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29857 code unconditional.
29858 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29860 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29862 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29865 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29866 code unconditional.
29867 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29869 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29871 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29874 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
29876 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
29877 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
29878 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29879 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
29880 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
29881 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29882 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29883 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29884 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
29885 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29886 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
29887 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
29888 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
29889 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29890 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
29891 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
29892 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
29893 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
29894 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
29895 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
29896 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
29897 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
29898 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29900 2012-07-25 Florian Weimer <fweimer@redhat.com>
29902 * Versions.def: Add GLIBC_2.17.
29903 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
29904 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
29905 Introduce __libc_secure_getenv.
29906 * stdlib/Versions (2.17): Add secure_getenv
29907 (GLIBC_PRIVATE): Add __libc_secure_getenv.
29908 * stdlib/secure-getenv.c: Rename __secure_getenv to
29909 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
29910 symbol __secure_getenv for GLIBC_2.0.
29911 * stdlib/tst-secure-getenv.c: New.
29912 * stdlib/Makefile (tests): Add testcase.
29913 * manual/startup.texi (Environment Access): Document
29915 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
29916 __libc_secure_getenv.
29917 * inet/ruserpass.c (ruserpass): Likewise.
29918 * malloc/mtrace.c (mtrace): Likewise.
29919 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
29920 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
29921 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
29922 * sysdeps/posix/tempname.c: Likewise. Evaluate
29923 HAVE_SECURE_GETENV.
29924 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
29925 __secure_getenv to __libc_secure_getenv.
29926 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
29927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29933 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29934 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29935 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29936 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29937 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29939 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29941 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
29942 (struct La_i86_retval): Likewise.
29943 (struct La_x86_64_regs): Likewise.
29944 (struct La_x86_64_retval): Likewise.
29945 (struct La_x32_regs): Likewise.
29946 (struct La_x32_retval): Likewise.
29947 (struct La_ppc32_regs): Likewise.
29948 (struct La_ppc32_retval): Likewise.
29949 (struct La_ppc64_regs): Likewise.
29950 (struct La_ppc64_retval): Likewise.
29951 (struct La_sh_regs): Likewise.
29952 (struct La_sh_retval): Likewise.
29953 (struct La_s390_32_regs): Likewise.
29954 (struct La_s390_32_retval): Likewise.
29955 (struct La_s390_64_regs): Likewise.
29956 (struct La_s390_64_retval): Likewise.
29957 (struct La_sparc32_regs): Likewise.
29958 (struct La_sparc32_retval): Likewise.
29959 (struct La_sparc64_regs): Likewise.
29960 (struct La_sparc64_retval): Likewise.
29961 (struct audit_ifaces): Remove architecture-specific pltenter and
29963 * sysdeps/i386/ldsodefs.h: New file.
29964 * sysdeps/powerpc/ldsodefs.h: Likewise.
29965 * sysdeps/s390/ldsodefs.h: Likewise.
29966 * sysdeps/sh/ldsodefs.h: Likewise.
29967 * sysdeps/sparc/ldsodefs.h: Likewise.
29968 * sysdeps/x86_64/ldsodefs.h: Likewise.
29970 2012-07-25 Marek Polacek <polacek@redhat.com>
29973 * math/libm-test.inc (yn_test): Add another test.
29974 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
29975 to ERANGE when the result is +-Inf.
29976 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29977 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29978 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
29979 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29981 2012-07-24 Joseph Myers <joseph@codesourcery.com>
29983 * conform/data/time.h-data (NULL): Use macro-constant. Require
29985 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
29987 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
29989 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
29991 * configure.in <sysdeps resolving>: Correct printing
29993 * configure: Regenerate.
29995 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
29997 * math/w_ilogb.c: Include <limits.h>.
29998 * math/w_ilogbl.c: Likewise.
30000 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30002 * manual/lang.texi (__va_copy): Document primarily as ISO C99
30003 va_copy. Document allowing for unavailable va_copy only as
30004 pre-C99 compatibility.
30005 * manual/string.texi (Copying and Concatenation): Use va_copy
30006 instead of __va_copy in concat example.
30008 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
30010 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
30011 (__sendto): Use create_address_port. Initialize APORT and deallocate
30014 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30015 with O_NOLINK passed to __file_name_lookup.
30017 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30018 with O_NOLINK passed to __file_name_lookup.
30020 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30021 negative N or less than NGIDS.
30023 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30024 type to string_t. Set ERANGE as errno and return it if NAME is not big
30025 enough. Use memcpy instead of strncpy.
30027 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30029 * elf/Makefile (check-data): Remove.
30030 (localplt.data): New vpath directive.
30031 ($(objpfx)check-localplt.out): Use localplt.data from vpath
30032 instead of $(check-data).
30033 * scripts/data/localplt-generic.data: Move to ...
30034 * sysdeps/generic/localplt.data: ... here.
30035 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30036 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30037 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30040 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30043 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30046 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30047 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30049 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30050 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30052 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30053 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30056 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30058 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30059 PPC32 and PPC64 files.
30060 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30061 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30063 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30065 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30066 __makecontext_ret to ...
30067 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30068 ... here and call exit if uc_link is NULL. New file.
30069 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30070 __makecontext_ret.S.
30071 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30072 __makecontext_ret to ...
30073 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30074 ... here and call exit if uc_link is NULL. New file.
30075 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30076 __makecontext_ret.S.
30078 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30080 * elf/elf.h (R_390_IRELATIVE): New definition.
30081 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30082 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
30083 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30084 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30085 (elf_machine_lazy_rel): Likewise.
30086 * sysdeps/s390/dl-irel.h: New file.
30087 * sysdeps/s390/s390-64/memcpy.S: New asm code.
30088 * sysdeps/s390/s390-64/memset.S: New asm code.
30089 * sysdeps/s390/s390-64/memcmp.S: New asm code.
30090 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30091 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30092 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30093 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30094 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30095 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30096 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30097 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30098 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30099 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30100 * sysdeps/s390/s390-32/memcpy.S: New asm code.
30101 * sysdeps/s390/s390-32/memset.S: New asm code.
30102 * sysdeps/s390/s390-32/memcmp.S: New asm code.
30104 2012-07-17 Marek Polacek <polacek@redhat.com>
30107 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30108 * sysdeps/s390/s390-64/configure.in: Likewise.
30109 * sysdeps/sparc/configure.in: Likewise.
30110 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30111 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30112 * sysdeps/i386/configure.in: Likewise.
30113 * sysdeps/x86_64/configure.in: Likewise.
30114 * sysdeps/sh/configure.in: Likewise.
30115 * sysdeps/s390/s390-32/configure: Regenerated.
30116 * sysdeps/s390/s390-64/configure: Likewise.
30117 * sysdeps/x86_64/configure: Likewise.
30118 * sysdeps/sh/configure: Likewise.
30119 * sysdeps/powerpc/powerpc64/configure: Likewise.
30120 * sysdeps/powerpc/powerpc32/configure: Likewise.
30121 * sysdeps/sparc/configure: Likwise.
30122 * sysdeps/i386/configure: Likewise.
30124 * elf/dl-open.c: Comment fixes.
30126 2012-07-17 Joseph Myers <joseph@codesourcery.com>
30128 * Makefile [CXX] (check-data): Remove.
30129 [CXX] (c++-types.data): New vpath directive.
30130 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30131 vpath. Do not allow for C++ type data being missing.
30132 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30133 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30134 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30135 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30136 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30137 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30138 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30141 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
30142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30144 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
30145 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
30147 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
30148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
30150 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
30151 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
30153 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
30154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30156 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
30157 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
30159 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
30160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
30162 * elf/tls-macros.h (TLS_LE): Move architecture-specific
30163 definitions to architecture-specific files.
30164 (TLS_IE): Likewise.
30165 (TLS_LD): Likewise.
30166 (TLS_GD): Likewise.
30167 * sysdeps/i386/tls-macros.h: New file.
30168 * sysdeps/powerpc/tls-macros.h: Likewise.
30169 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
30170 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
30171 * sysdeps/sh/tls-macros.h: Likewise.
30172 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
30173 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
30174 * sysdeps/x86_64/tls-macros.h: Likewise.
30176 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30178 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
30179 zero value for regular exit case.
30181 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30182 (__start_context): Preserve zero value for regular exit case.
30184 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30185 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30187 * manual/setjmp.texi (setcontext): Clarify normal process
30188 termination when uc_link is the null pointer.
30189 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
30192 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
30194 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
30195 preprocessor. Test for each exception mask separately.
30197 2012-07-16 Andreas Jaeger <aj@suse.de>
30199 * po/ru.po: Update from translation team.
30201 2012-07-15 Joseph Myers <joseph@codesourcery.com>
30203 * conform/data/string.h-data (NULL): Use macro-constant. Require
30205 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30206 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30207 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
30208 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
30209 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30211 2012-07-13 Andreas Jaeger <aj@suse.de>
30213 * po/fr.po: Update from translation team.
30215 2012-07-12 Marek Polacek <polacek@redhat.com>
30218 * math/libm-test.inc (yn_test): Add test for BZ #14173.
30219 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
30222 2012-07-12 Joseph Myers <joseph@codesourcery.com>
30225 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30226 Change to 2.4.1 where previously 2.4.0.
30227 * sysdeps/unix/sysv/linux/configure: Regenerated.
30228 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
30229 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
30231 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
30232 (__ASSUME_AT_CLKTCK): Remove.
30233 (__ASSUME_AT_PAGESIZE): Likewise.
30234 (__ASSUME_AT_XID): Likewise.
30235 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
30236 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
30237 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
30239 (HAVE_AUX_PAGESIZE): Likewise.
30240 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
30241 [__ASSUME_AT_CLKTCK]: Make code unconditional.
30242 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
30244 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
30247 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
30248 the temporary buffer used to invoke __gethostbyname2_r,
30249 __gethostbyaddr_r and gethostbyname4_r to make room for struct
30250 host_data / struct gaih_addrtuple.
30251 * resolv/nss_dns/dns-host.c (global scope): Move definition of
30252 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
30253 header file nss/nsswitch.h.
30254 * nss/nsswitch.h (global scope): Add definition of implementation
30255 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
30256 resolv/nss_dns/dns-host.c).
30258 2012-07-11 Andreas Jaeger <aj@suse.de>
30260 * po/fr.po: Update from translation team.
30262 * po/sv.po: Update from translation team
30263 * po/fr.po: Another update from translation team.
30265 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30267 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
30268 for subnormals or multiply small sinh result by itself.
30269 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30272 2012-07-11 David S. Miller <davem@davemloft.net>
30274 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30276 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
30279 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
30280 (INTERNAL_MARK): Shift it here.
30282 2012-07-10 Marek Polacek <polacek@redhat.com>
30285 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
30286 libc_cv_asm_global_directive with .globl.
30287 * configure: Regenerated.
30288 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
30290 * sysdeps/i386/configure: Regenerated.
30291 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
30293 * sysdeps/x86_64/configure: Regenerated.
30294 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
30295 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
30296 * elf/tst-unique2mod2.c: Likewise.
30297 * elf/tst-unique2mod1.c: Likewise.
30298 * elf/tst-unique1mod2.c: Likewise.
30299 * elf/tst-unique1mod1.c: Likewise.
30300 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30301 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30302 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30303 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30304 * sysdeps/mach/sysdep.h: Likewise.
30305 * sysdeps/i386/sysdep.h: Likewise.
30306 * sysdeps/i386/i386-mcount.S: Likewise.
30307 * sysdeps/x86_64/_mcount.S: Likewise.
30308 * sysdeps/x86_64/sysdep.h: Likewise.
30309 * sysdeps/sh/_mcount.S: Likewise.
30310 * sysdeps/sh/sysdep.h: Likewise.
30311 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
30312 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
30313 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
30314 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30315 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
30316 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
30317 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
30318 * locale/localeinfo.h: Likewise.
30319 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
30320 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
30322 2012-07-09 Roland McGrath <roland@hack.frob.com>
30325 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
30327 * manual/message.texi (The Uniforum approach): Likewise.
30328 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
30329 (glibc iconv Implementation): Likewise.
30331 2012-07-09 Joseph Myers <joseph@codesourcery.com>
30334 * math/s_clog.c (__clog): Avoid scaling a value down where that
30335 could result in underflow.
30336 * math/s_clog10.c (__clog10): Likewise.
30337 * math/s_clog10f.c (__clog10f): Likewise.
30338 * math/s_clog10l.c (__clog10l): Likewise.
30339 * math/s_clogf.c (__clogf): Likewise.
30340 * math/s_clogl.c (__clogl): Likewise.
30341 * math/libm-test.inc (clog_test): Add more tests.
30342 (clog10_test): Likewise.
30343 * sysdeps/i386/fpu/libm-test-ulps: Update.
30344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30346 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
30349 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
30350 by 7 not 8 to examine high bit of fractional part.
30353 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
30354 for call to __mcount_internal.
30355 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
30356 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
30357 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
30359 2012-07-06 Joseph Myers <joseph@codesourcery.com>
30362 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
30363 approximation for values within 0x1p-13f of an odd multiple of
30365 * math/libm-test.inc (tan_test): Do not allow spurious underflow
30366 exception. Add more tests.
30367 * sysdeps/i386/fpu/libm-test-ulps: Update.
30370 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
30371 inputs and return -1 for them. Do not check for +Inf in case not
30372 reachable for +Inf.
30373 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
30374 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
30375 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30376 and return -1 for them. Do not check for +Inf in case not
30377 reachable for +Inf.
30378 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
30380 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30381 and return -1 for them. Do not check for +Inf in case not
30382 reachable for +Inf.
30383 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
30384 spurious underflow.
30385 * sysdeps/i386/fpu/libm-test-ulps: Update.
30386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30388 2012-07-06 Mike Frysinger <vapier@gentoo.org>
30390 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
30392 2012-07-05 Joseph Myers <joseph@codesourcery.com>
30396 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
30397 could result in spurious underflow. Scale down values above
30398 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
30399 * math/s_csqrtf.c (__csqrtf): Likewise.
30400 * math/s_csqrtl.c (__csqrtl): Likewise.
30401 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
30402 spurious underflow.
30403 * sysdeps/i386/fpu/libm-test-ulps: Update.
30404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30406 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
30408 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
30410 * catgets/xopen-msg.awk: New file.
30411 * catgets/xopen-msg.sed: Removed.
30413 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
30415 * intl/po2test.awk: New file.
30416 * intl/po2test.sed: Removed.
30418 2012-07-04 Joseph Myers <joseph@codesourcery.com>
30421 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
30422 or multiply small sinh result by itself.
30423 * math/s_ctanf.c (__ctanf): Likewise.
30424 * math/s_ctanh.c (__ctanh): Likewise.
30425 * math/s_ctanhf.c (__ctanhf): Likewise.
30426 * math/s_ctanhl.c (__ctanhl): Likewise.
30427 * math/s_ctanl.c (__ctanl): Likewise.
30428 * math/libm-test.inc (ctan_test_tonearest): New function.
30429 (ctan_test_towardzero): Likewise.
30430 (ctan_test_downward): Likewise.
30431 (ctan_test_upward): Likewise.
30432 (ctanh_test_tonearest): Likewise.
30433 (ctanh_test_towardzero): Likewise.
30434 (ctanh_test_downward): Likewise.
30435 (ctanh_test_upward): Likewise.
30436 (main): Call these new functions.
30437 * sysdeps/i386/fpu/libm-test-ulps: Update.
30438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30440 2012-07-03 Mike Frysinger <vapier@gentoo.org>
30442 * .gitignore: Delete /ports entry.
30444 2012-07-03 Andreas Jaeger <aj@suse.de>
30446 * po/bg.po: Update from translation team.
30447 * po/cs.po: Likewise.
30448 * po/de.po: Likewise.
30449 * po/hr.po: Likewise.
30450 * po/nl.pl: Likewise.
30451 * po/pl.po: Likewise.
30452 * po/vi.po: Likewise.
30454 2012-07-03 Joseph Myers <joseph@codesourcery.com>
30456 * Makeconfig [!+link] (+link-before-libc): New variable.
30457 [!+link] (+link-after-libc): Likewise.
30458 [!+link] (+link-tests): Likewise.
30459 [!+link] (+link): Define in terms of $(+link-before-libc) and
30460 $(+link-after-libc).
30461 [!+link-static] (+link-static-before-libc): New variable.
30462 [!+link-static] (+link-static-after-libc): Likewise.
30463 [!+link-static] (+link-static-tests): Likewise.
30464 [!+link-static] (+link-static): Define in terms of
30465 $(+link-static-before-libc) and $(+link-static-after-libc).
30466 [build-shared] (link-libc-before-gnulib): New variable.
30467 [build-shared] (link-libc-tests): Likewise.
30468 [build-shared] (link-libc): Define in terms of
30469 $(link-libc-before-gnulib).
30470 [!build-shared] (link-libc-tests): New variable.
30471 (link-libc-static-tests): New variable.
30472 [!gnulib] (gnulib-arch): New variable.
30473 [!gnulib] (gnulib-tests): Likewise.
30474 [!gnulib] (static-gnulib-arch): Likewise.
30475 [!gnulib] (static-gnulib-tests): Likewise.
30476 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
30477 Define with "=" instead of ":=".
30478 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
30479 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
30480 * Rules (binaries-all-notests): New variable.
30481 (binaries-all-tests): Likewise.
30482 (binaries-static-notests): Likewise.
30483 (binaries-static-tests): Likewise.
30484 (binaries-all): Define using $(binaries-all-notests) and
30485 $(binaries-all-tests).
30486 (binaries-static): Define using $(binaries-static-notests) and
30487 $(binaries-static-tests).
30488 (binaries-shared-tests): New variable.
30489 (binaries-shared-notests): Likewise.
30490 (binaries-shared): Remove variable.
30491 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30492 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30493 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30494 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30495 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30496 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30497 * elf/Makefile (sln-modules): New variable.
30498 (extra-objs): Add $(sln-modules:=.o).
30499 (ldconfig-modules): Add static-stubs.
30500 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30501 * elf/static-stubs.c: New file.
30504 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30505 by 7 not 8 to examine high bit of fractional part. Use volatile
30506 variables when splitting into final array of floats if
30507 __FLT_EVAL_METHOD__ != 0.
30508 * math/libm-test.inc (cos_test): Add another test.
30509 (sin_test): Likewise.
30510 * sysdeps/i386/fpu/libm-test-ulps: Update.
30513 * math/libm-test.inc (cosh_test): Add more tests.
30515 * version.h (RELEASE): Set to "development".
30516 (VERSION): Set to "2.16.90".
30518 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
30520 * NEWS: Update copyright. Remove last-updated date.
30521 Mention math library bug fixes and timezone data changes.
30522 * README: Mention GNU/Hurd, x32, and HPPA support status.
30524 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
30526 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30528 2012-06-27 Andreas Jaeger <aj@suse.de>
30530 * manual/contrib.texi (Contributors): Add Samuel Thibault.
30532 2012-06-25 Andreas Jaeger <aj@suse.de>
30534 * sysdeps/s390/fpu/libm-test-ulps: Update.
30536 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
30537 Thomas Schwinge <thomas@codesourcery.com>
30539 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30540 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30541 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30544 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
30546 * sysdeps/mach/start.c: Remove file.
30547 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30548 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30549 * sysdeps/sh/init-first.c: Likewise.
30551 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30552 registers for frame unwinding purposes, add CFI directives.
30553 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30554 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30555 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30558 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30559 __fortify_fail returning.
30560 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30562 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30563 sysdeps/sh/____longjmp_chk.S.
30564 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30565 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30566 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30567 (gen-as-const-headers): Append sigaltstack-offsets.sym.
30569 * sysdeps/sh/abort-instr.h: New file.
30570 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30571 process in case exit returns.
30573 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30574 initialize the GOT register before use.
30576 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30577 calculation of ARGC > 4.
30579 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30580 meaningful names to some local labels.
30582 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30583 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30585 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30586 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30587 (__arch_compare_and_exchange_val_16_acq): Likewise.
30588 (__arch_compare_and_exchange_val_32_acq): Likewise.
30589 (atomic_exchange_and_add): Fix gUSA sequence.
30590 (atomic_add): Likewise.
30591 (atomic_add_negative): Likewise.
30592 (atomic_add_zero): Likewise.
30593 (atomic_bit_test_set): Likewise.
30595 2012-06-22 Andreas Schwab <schwab@redhat.com>
30598 * include/link.h (struct link_map): Add l_free_initfini.
30599 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30601 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30602 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30603 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30606 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
30608 * configure.in: Use AC_LANG_SOURCE.
30609 * configure: Regenerate.
30611 2012-06-22 Roland McGrath <roland@hack.frob.com>
30613 * configure.in (libc_cv_localstatedir): New substituted variable.
30614 * configure: Regenerated.
30615 * config.make.in (localstatedir): New variable, substituted from
30616 libc_cv_localstatedir.
30617 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30618 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30619 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30620 * sysdeps/gnu/configure: Regenerated.
30622 2012-06-21 Jeff Law <law@redhat.com>
30625 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30626 free. Simplify list management for _LIBC case.
30628 2012-06-21 Joseph Myers <joseph@codesourcery.com>
30631 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30632 Clear sign bit of 64-bit integer value before comparing against
30635 * sysdeps/mach/configure: Regenerated.
30637 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
30640 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30642 2012-06-21 Jeff Law <law@redhat.com>
30645 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
30646 uint16_t for elements in the "seen" array to avoid char overflows.
30647 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30648 * elf/dl-open.c (dl_open_worker): Likewise.
30650 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
30652 * scripts/list-sources.sh: Scan PORTS for translations.
30653 * po/libc.pot: Regenerated.
30655 2012-06-21 Andreas Jaeger <aj@suse.de>
30658 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
30660 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
30661 * bits/byteswap-16.h (__bswap_16): Likewise.
30662 * bits/byteswap.h (__bswap_constant_16): Likewise.
30664 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
30667 * sysdeps/i386/fpu_control.h: Removed.
30668 * sysdeps/x86_64/fpu_control.h: Moved to ...
30669 * sysdeps/x86/fpu_control.h: Here.
30671 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
30672 (_FPU_SETCW): Likewise.
30674 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
30677 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
30678 * sysdeps/x86/fpu/bits/mathinline.h: This.
30679 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
30683 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
30684 functions if __x86_64__ is defined.
30686 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
30688 * string/endian.h: Add !__ASSEMBLER__ condition for including
30689 conversion interfaces.
30691 2012-06-15 Joseph Myers <joseph@codesourcery.com>
30694 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
30695 of ABS(x) in calculating zero to negative powers other than odd
30697 * math/libm-test.inc (pow_test): Add more tests.
30699 2012-06-15 Andreas Jaeger <aj@suse.de>
30701 * manual/contrib.texi (Contributors): Update entry of Liubov
30702 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30705 2012-06-15 Cyril Hrubis <metan@ucw.cz>
30707 * string/string.h: Add __wur to GNU version of strerror_r.
30709 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
30712 * string/Makefile (tests): Add tst-strtok_r.
30713 * string/tst-strtok_r.c: New file.
30714 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
30715 RAX_LP/RDX_LP on SAVE_PTR.
30717 2012-06-14 Roland McGrath <roland@hack.frob.com>
30719 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
30721 2012-06-14 Joseph Myers <joseph@codesourcery.com>
30723 * libm_test.inc (csqrt_test): Allow more spurious underflow
30725 (j0_test): Likewise.
30726 (j1_test): Likewise.
30727 (y0_test): Likewise.
30728 (y1_test): Likewise.
30730 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
30732 * po/Makefile (libc.pot): Use UTF-8 charset.
30734 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
30737 Suppress sign-conversion warning from FD_SET.
30738 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
30739 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
30740 not unsigned long int.
30741 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
30743 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
30747 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
30748 __extern_always_inline instead of __extern_inline.
30749 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
30750 (__signbit): Likewise.
30751 (__signbitl): Support C++ namespace.
30752 (lrintf): New inline function.
30754 (llrintf): Likewise.
30755 (llrint): Likewise.
30765 (floorf): Likewise.
30766 (nearbyint): Likewise.
30767 (nearbyintf): Likewise.
30769 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
30771 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
30772 non-default versions.
30774 2012-06-11 Roland McGrath <roland@hack.frob.com>
30777 * manual/argp.texi (Argp): Reword argp_parse description slightly.
30779 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
30781 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
30782 (FE_UPWARD, FE_DOWNWARD): Don't define.
30783 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
30784 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30786 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
30788 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30789 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30791 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30793 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30794 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
30795 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
30796 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
30798 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
30801 * sysdeps/i386/fpu/bits/fenv.h: Removed.
30802 * sysdeps/i386/fpu/Implies: New file.
30803 * sysdeps/x86_64/fpu/Implies: Likewise.
30804 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
30805 * sysdeps/x86/fpu/bits/fenv.h: This.
30807 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
30810 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30813 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
30814 character 0xffff that matches the last element of the
30817 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30819 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
30822 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30824 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
30825 values higher than 25.6283.
30827 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30829 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
30830 subnormal exponent extraction and add some __builtin_expect.
30831 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
30832 Fix for subnormal mantissa calculation.
30834 2012-06-04 Mike Frysinger <vapier@gentoo.org>
30836 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
30837 cpu2 is -1 and errno is not ENOSYS.
30839 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
30842 * sysdeps/i386/i486/bits/string.h: Renamed to ...
30843 * sysdeps/x86/bits/string.h: This.
30844 * sysdeps/x86_64/bits/string.h: Removed.
30846 * sysdeps/i386/i486/bits/string.h: Define inline functions only
30847 if not compiling for x86-64, but compiling for >= i486.
30849 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
30850 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
30852 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
30853 New macro from Linux kernel 3.4.0.
30854 (FP_XSTATE_MAGIC2): Likewise.
30855 (FP_XSTATE_MAGIC2_SIZE): Likewise.
30856 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
30857 (struct _fpx_sw_bytes): New struct.
30858 (struct _xsave_hdr): Likewise.
30859 (struct _ymmh_state): Likewise.
30860 (struct _xstate): Likewise.
30862 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
30863 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
30864 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
30865 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
30866 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
30867 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
30869 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
30870 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
30871 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
30872 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
30873 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
30874 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
30876 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30879 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
30880 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
30881 (sysdep_headers): Include sys/platform/ppc.h.
30882 * sysdeps/powerpc/test-gettimebase.c: Test for
30883 __ppc_get_timebase() to catch future ISA opcode/insn changes.
30884 * manual/Makefile (appendices): Include platform.texi.
30885 * manual/contrib.texi (Contributors): Update @node pointers.
30886 * manual/maint.texi (Maintenance): Likewise.
30887 (Platform): New node.
30888 * manual/platform.texi: New file. Document the new features.
30890 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30891 Jakub Jelinek <jakub@redhat.com>
30894 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
30895 where __builtin_expect is unavailable.
30897 2012-06-03 David S. Miller <davem@davemloft.net>
30899 * stdlib/longlong.h: Updated from GCC.
30901 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
30904 * sysdeps/powerpc/powerpc32/mcount.c: New file.
30905 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
30907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30908 (GLIBC_2.16): Likewise.
30910 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30912 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
30914 2012-06-01 Joseph Myers <joseph@codesourcery.com>
30916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
30917 (default-abi): New variable.
30918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
30919 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
30921 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
30923 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
30925 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
30928 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
30929 definition. Document in comment.
30931 2012-06-01 David S. Miller <davem@davemloft.net>
30933 * stdlib/longlong.h: Updated from GCC.
30935 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30938 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
30939 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
30940 sys/debugreg.h sys/io.h here.
30941 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
30942 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
30944 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
30945 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
30946 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
30947 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
30948 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
30949 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
30951 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
30952 Define only if __x86_64__ is defined.
30954 2012-06-01 Joseph Myers <joseph@codesourcery.com>
30957 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
30958 Use int64_t for variable i.
30959 * math/libm-test.inc (fmod_test): Add more tests.
30961 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
30962 z computation is not scheduled after fetestexcept.
30963 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
30964 Use math_force_eval instead of asm to ensure calculation scheduled
30965 before exception test.
30966 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
30967 Ensure a1 + u.d computation is not scheduled after fetestexcept.
30969 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
30971 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
30972 computation is not scheduled after fetestexcept.
30974 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30977 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
30978 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
30980 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30982 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
30983 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30985 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30988 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30990 (__WCHAR_MIN): Support __WORDSIZE == 64.
30991 (__WCHAR_MAX): Likewise.
30993 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30994 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30997 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30998 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31001 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
31002 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31004 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
31005 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
31007 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
31008 Defined to 1 if __x86_64__ isn't defined.
31009 (_STAT_VER_LINUX_OLD): New.
31010 (st_atime): Remove duplicate.
31011 (st_mtime): Likewise.
31012 (st_ctime): Likewise.
31014 2012-05-31 David S. Miller <davem@davemloft.net>
31016 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31019 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
31021 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31025 * elf/dl-reloc.c: Include <_itoa.h>.
31026 (_dl_reloc_bad_type): Remove use of INTUSE.
31027 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31028 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31029 * stdio-common/psiginfo.c (psiginfo): Likewise.
31030 * stdio-common/psignal.c (psignal): Likewise.
31031 * string/strsignal.c (strsignal): Likewise.
31032 * include/signal.h (_sys_siglist): Declare hidden proto.
31033 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
31034 INTVARDEF with libc_hidden_data_def.
31035 * stdio-common/itoa-udigits.c: Likewise.
31036 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31037 (_itoa_lower_digits_internal): Remove declaration.
31038 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31039 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31040 (_sys_sigabbrev_internal): Remove aliases.
31041 (_sys_siglist): Define hidden alias.
31043 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
31045 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31048 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31051 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31052 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31054 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31055 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31056 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31057 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31058 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31059 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31061 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31062 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31063 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31065 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31073 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31074 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31075 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31077 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31078 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31079 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31080 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31081 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31082 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31084 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31085 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31087 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31088 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31090 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31091 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31092 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31094 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31095 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31097 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31099 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31100 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31101 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31103 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31105 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31107 2012-05-31 Joseph Myers <joseph@codesourcery.com>
31109 * math/math.h (M_El): Use two more decimal places.
31110 (M_LOG2El): Likewise.
31111 (M_LOG10El): Likewise.
31112 (M_LN2l): Likewise.
31113 (M_LN10l): Likewise.
31115 (M_PI_2l): Likewise.
31116 (M_PI_4l): Likewise.
31117 (M_1_PIl): Likewise.
31118 (M_2_PIl): Likewise.
31119 (M_2_SQRTPIl): Likewise.
31120 (M_SQRT2l): Likewise.
31121 (M_SQRT1_2l): Likewise.
31123 2012-05-31 David S. Miller <davem@davemloft.net>
31125 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31126 values between float registers.
31127 * sysdeps/sparc/sparc64/memset.S: Likewise.
31128 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31130 2012-05-31 Mike Frysinger <vapier@gentoo.org>
31132 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31133 -D_FORTIFY_SOURCE=1.
31134 (CPPFLAGS-tst-longjmp_chk.c): Define.
31135 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31136 (CPPFLAGS-tst-longjmp_chk2.c): Define.
31137 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31138 CFLAGS-tst-wchar-h.c.
31140 2012-05-31 Marek Polacek <polacek@redhat.com>
31143 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
31144 __endmntent_internal): Remove declaration.
31145 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
31146 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
31147 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
31149 2012-05-30 David S. Miller <davem@davemloft.net>
31151 * sysdeps/sparc/sparc32/soft-fp/q_util.c
31152 (___Q_simulate_exceptions): Use real FP ops rather than writing
31154 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
31157 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31160 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
31161 * sysdeps/x86/bits/xtitypes.h: This.
31163 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
31164 * sysdeps/x86/bits/wordsize.h: This.
31166 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
31167 * sysdeps/x86/bits/huge_vall.h: This.
31169 * sysdeps/i386/bits/select.h: Removed.
31170 * sysdeps/x86_64/bits/select.h: Renamed to ...
31171 * sysdeps/x86/bits/select.h: This.
31173 * sysdeps/i386/bits/setjmp.h: Removed.
31174 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
31175 * sysdeps/x86/bits/setjmp.h: This.
31177 * sysdeps/i386/bits/mathdef.h: Removed.
31178 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
31179 * sysdeps/x86/bits/mathdef.h: This.
31181 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
31184 * include/sys/socket.h (__connect_internal)
31185 (__libc_sa_len_internal): Remove declaration.
31186 (__connect, __libc_sa_len): Declare hidden_proto.
31187 (SA_LEN): Remove use of INTUSE.
31188 * socket/connect.c: Add libc_hidden_def.
31189 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
31190 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
31191 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
31193 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31194 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
31195 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
31196 of adding _internal alias.
31198 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31201 * sysdeps/i386/bits/link.h: Removed.
31202 * sysdeps/i386/bits/linkmap.h: Likewise.
31203 * sysdeps/x86_64/bits/link.h: Renamed to ...
31204 * sysdeps/x86/bits/link.h: This.
31205 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
31206 * sysdeps/x86/bits/linkmap.h: This.
31208 * sysdeps/i386/bits/endian.h: Removed.
31209 * sysdeps/x86_64/bits/endian.h: Renamed to ...
31210 * sysdeps/x86/bits/endian.h: This.
31212 * sysdeps/i386/bits/byteswap.h: Removed.
31213 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31214 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
31215 * sysdeps/x86/bits/byteswap.h: This.
31216 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
31217 * sysdeps/x86/bits/byteswap-16.h: This.
31218 * sysdeps/i386/Implies: Add x86.
31219 * sysdeps/x86_64/Implies: Likewise.
31221 2012-05-30 David S. Miller <davem@davemloft.net>
31223 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
31224 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
31225 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31226 (FP_TRAPPING_EXCEPTIONS): Define.
31227 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31228 (FP_TRAPPING_EXCEPTIONS): Define.
31229 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
31230 subnormals only when inexact has been signalled or underflow
31231 exceptions are enabled.
31232 (_FP_PACK_CANONICAL): Likewise.
31234 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31237 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
31238 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
31240 2012-05-30 Richard Henderson <rth@twiddle.net>
31242 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
31243 with #ifndef NOT_IN_libc.
31245 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
31246 marked to avoid plt entry.
31248 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31251 * Makeconfig (default-abi): New macro.
31252 (abi-includes): Likewise.
31253 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
31254 $(abi-$(default-abi)-lib-soname) for soname if defined.
31255 ($(common-objpfx)gnu/lib-names.stmp): Generate from
31257 * Makefile (installed-stubs): Likewise.
31258 * include/stubs-biarch.h: Removed.
31259 * scripts/lib-names.awk: Only handle one library at a time.
31260 * scripts/soversions.awk: Remove WORDSIZE support.
31261 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
31263 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
31265 (syscall-list-default-condition): Likewise.
31266 (syscall-list-default-condition): Likewise.
31267 (syscall-list-includes): Likewise.
31268 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
31269 syscall-list-* with abi-*. Handle undefined abi-variants.
31270 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
31271 * sysdeps/unix/sysv/linux/i386/Implies: New file.
31272 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
31273 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
31274 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
31275 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
31277 (syscall-list-32-options): Likewise.
31278 (syscall-list-32-condition): Likewise.
31279 (syscall-list-64-options): Likewise.
31280 (syscall-list-64-condition): Likewise.
31281 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
31283 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
31286 (abi-64-ld-soname): New macro.
31287 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
31288 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
31291 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
31292 * sysdeps/x86_64/x32/shlib-versions: Likewise.
31294 2012-05-30 Joseph Myers <joseph@codesourcery.com>
31296 * sysdeps/unix/sysv/linux/kernel-features.h
31297 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
31298 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
31299 include <kernel-features.h>.
31300 [!__NR_ftruncate64]: Remove conditional code.
31301 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31302 [__NR_ftruncate64]: Make code unconditional.
31303 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31304 * sysdeps/unix/sysv/linux/truncate64.c: Do not
31305 include <kernel-features.h>.
31306 [!__NR_ftruncate64]: Remove conditional code.
31307 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31308 [__NR_ftruncate64]: Make code unconditional.
31309 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
31311 include <kernel-features.h>.
31312 [!__NR_ftruncate64]: Remove conditional code.
31313 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31314 [__NR_ftruncate64]: Make code unconditional.
31315 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31317 include <kernel-features.h>.
31318 [!__NR_ftruncate64]: Remove conditional code.
31319 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31320 [__NR_ftruncate64]: Make code unconditional.
31321 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31323 * configure.in (libc_cv_fpie): Weaken to a compile test using
31324 LIBC_TRY_CC_OPTION.
31325 * configure: Regenerated.
31327 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
31330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
31331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
31332 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31334 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
31335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
31336 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
31337 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
31338 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
31339 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31342 2012-05-27 David S. Miller <davem@davemloft.net>
31344 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
31346 (__Q_simulate_exceptions): Return void. Change to simulate
31347 exceptions by writing into the %fsr.
31348 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
31349 (__Qp_handle_exceptions): Likewise.
31351 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
31352 __Qp_handle_exceptions.
31353 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
31354 __Qp_handle_exceptions.
31355 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31356 as unused and give dummy FP_RND_NEAREST initializer.
31357 (FP_INHIBIT_RESULTS): Define.
31358 (___Q_simulate_exceptions): Update declaration.
31359 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
31361 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31362 as unused and give dummy FP_RND_NEAREST initializer.
31363 (__Qp_handle_exceptions): Update declaration.
31364 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
31367 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
31369 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
31370 the temporary FPU control word.
31371 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31372 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
31373 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
31374 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31375 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31376 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
31377 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
31378 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31379 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31380 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31381 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31383 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31385 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
31388 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
31390 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
31391 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
31392 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
31393 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
31395 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
31396 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
31399 2012-05-27 Ulrich Drepper <drepper@gmail.com>
31401 * po/h.po: Update from translation team.
31403 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
31405 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
31407 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
31408 handling of denormals.
31409 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31410 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31411 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31412 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31413 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31414 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
31415 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
31418 2012-05-26 Marek Polacek <polacek@redhat.com>
31421 * math/libm-test.inc (fma_test): Don't always expect underflow
31424 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31427 * elf/tst-execstack.c: Include stackinfo.h.
31428 (do_test): Adjust test case to ensure that pthread_getattr_np
31429 behaviour remains the same after marking stack executable.
31431 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31433 * sysdeps/unix/sysv/linux/kernel-features.h
31434 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
31435 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
31437 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31438 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31439 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
31441 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31442 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31444 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
31446 * configure.in: Define the default includes to being none.
31447 * configure: Regenerated.
31449 2012-05-25 Roland McGrath <roland@hack.frob.com>
31451 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
31452 * sysdeps/x86_64/setjmp.S: Likewise.
31453 * sysdeps/i386/bsd-setjmp.S: Likewise.
31454 * sysdeps/i386/bsd-_setjmp.S: Likewise.
31455 * sysdeps/i386/setjmp.S: Likewise.
31456 * sysdeps/i386/__longjmp.S: Likewise.
31457 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31458 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
31460 * include/stap-probe.h: New file.
31461 * configure.in: Handle --enable-systemtap.
31462 * configure: Regenerated.
31463 * config.h.in (USE_STAP_PROBE): New #undef.
31464 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
31465 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
31466 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31468 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31471 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31472 to 2.4.0 where earlier.
31473 * sysdeps/unix/sysv/linux/configure: Regenerated.
31474 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31475 <kernel-features.h>.
31476 [__ASSUME_32BITUIDS]: Make code unconditional.
31477 [!__ASSUME_32BITUIDS]: Remove conditional code.
31478 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
31479 <kernel-features.h>.
31480 [__ASSUME_32BITUIDS]: Make code unconditional.
31481 [!__ASSUME_32BITUIDS]: Remove conditional code.
31482 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
31483 [__ASSUME_32BITUIDS]: Make code unconditional.
31484 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31485 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
31486 <kernel-features.h>.
31487 [__ASSUME_32BITUIDS]: Make code unconditional.
31488 [!__ASSUME_32BITUIDS]: Remove conditional code.
31489 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
31490 <kernel-features.h>.
31491 [__ASSUME_32BITUIDS]: Make code unconditional.
31492 [!__ASSUME_32BITUIDS]: Remove conditional code.
31493 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
31494 <kernel-features.h>.
31495 [__ASSUME_32BITUIDS]: Make code unconditional.
31496 [!__ASSUME_32BITUIDS]: Remove conditional code.
31497 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
31498 <kernel-features.h>.
31499 [__ASSUME_32BITUIDS]: Make code unconditional.
31500 [!__ASSUME_32BITUIDS]: Remove conditional code.
31501 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31502 <kernel-features.h>.
31503 [__ASSUME_32BITUIDS]: Make code unconditional.
31504 [!__ASSUME_32BITUIDS]: Remove conditional code.
31505 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31506 <kernel-features.h>.
31507 [__ASSUME_32BITUIDS]: Make code unconditional.
31508 [!__ASSUME_32BITUIDS]: Remove conditional code.
31509 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
31510 <kernel-features.h>.
31511 [__ASSUME_32BITUIDS]: Make code unconditional.
31512 [!__ASSUME_32BITUIDS]: Remove conditional code.
31513 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31514 <kernel-features.h>.
31515 [__ASSUME_32BITUIDS]: Make code unconditional.
31516 [!__ASSUME_32BITUIDS]: Remove conditional code.
31517 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31518 <kernel-features.h>.
31519 [__ASSUME_32BITUIDS]: Make code unconditional.
31520 [!__ASSUME_32BITUIDS]: Remove conditional code.
31521 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
31522 <kernel-features.h>.
31523 [__ASSUME_32BITUIDS]: Make code unconditional.
31524 [!__ASSUME_32BITUIDS]: Remove conditional code.
31525 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
31526 <kernel-features.h>.
31527 [__NR_setresgid] (__setresgid): Do not declare.
31528 [__ASSUME_32BITUIDS]: Make code unconditional.
31529 [!__ASSUME_32BITUIDS]: Remove conditional code.
31530 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31531 <kernel-features.h>.
31532 [__NR_setresuid] (__setresuid): Do not declare.
31533 [__ASSUME_32BITUIDS]: Make code unconditional.
31534 [!__ASSUME_32BITUIDS]: Remove conditional code.
31535 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
31536 <kernel-features.h>.
31537 [__ASSUME_32BITUIDS]: Make code unconditional.
31538 [!__ASSUME_32BITUIDS]: Remove conditional code.
31539 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
31540 <kernel-features.h>.
31541 [__ASSUME_32BITUIDS]: Make code unconditional.
31542 [!__ASSUME_32BITUIDS]: Remove conditional code.
31543 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
31544 <kernel-features.h>.
31545 [__ASSUME_32BITUIDS]: Make code unconditional.
31546 [!__ASSUME_32BITUIDS]: Remove conditional code.
31547 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
31548 <kernel-features.h>.
31549 [__ASSUME_32BITUIDS]: Make code unconditional.
31550 [!__ASSUME_32BITUIDS]: Remove conditional code.
31551 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
31552 <kernel-features.h>.
31553 [__ASSUME_32BITUIDS]: Make code unconditional.
31554 [!__ASSUME_32BITUIDS]: Remove conditional code.
31555 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
31556 <kernel-features.h>.
31557 [__ASSUME_32BITUIDS]: Make code unconditional.
31558 [!__ASSUME_32BITUIDS]: Remove conditional code.
31559 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
31560 <kernel-features.h>.
31561 [__ASSUME_32BITUIDS]: Make code unconditional.
31562 [!__ASSUME_32BITUIDS]: Remove conditional code.
31563 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
31564 <kernel-features.h>.
31565 [__ASSUME_32BITUIDS]: Make code unconditional.
31566 [!__ASSUME_32BITUIDS]: Remove conditional code.
31567 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
31568 <kernel-features.h>.
31569 [__ASSUME_32BITUIDS]: Make code unconditional.
31570 [!__ASSUME_32BITUIDS]: Remove conditional code.
31571 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31572 <kernel-features.h>.
31573 [__ASSUME_32BITUIDS]: Make code unconditional.
31574 [!__ASSUME_32BITUIDS]: Remove conditional code.
31575 * sysdeps/unix/sysv/linux/kernel-features.h
31576 (__ASSUME_SETRESUID_SYSCALL): Remove.
31577 (__ASSUME_SETRESGID_SYSCALL): Likewise.
31578 (__ASSUME_32BITUIDS): Likewise.
31579 (__ASSUME_LDT_WORKS): Likewise.
31580 (__ASSUME_O_DIRECTORY): Likewise.
31581 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31582 architecture but not kernel version.
31583 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31584 (__ASSUME_MMAP2_SYSCALL): Likewise.
31585 (__ASSUME_STAT64_SYSCALL): Likewise.
31586 (__ASSUME_IPC64): Likewise.
31587 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31588 <kernel-features.h>.
31589 [__ASSUME_32BITUIDS]: Make code unconditional.
31590 [!__ASSUME_32BITUIDS]: Remove conditional code.
31591 * sysdeps/unix/sysv/linux/opendir.c: Do not include
31592 <kernel-features.h>.
31593 [__ASSUME_O_DIRECTORY]: Make code unconditional.
31594 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31595 132096]: Remove conditional code.
31596 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31597 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31598 <kernel-features.h>.
31599 [__ASSUME_32BITUIDS]: Make code unconditional.
31600 [!__ASSUME_32BITUIDS]: Remove conditional code.
31601 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31602 <kernel-features.h>.
31603 [__ASSUME_32BITUIDS]: Make code unconditional.
31604 [!__ASSUME_32BITUIDS]: Remove conditional code.
31605 * sysdeps/unix/sysv/linux/setegid.c: Do not include
31606 <kernel-features.h>.
31607 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31609 (__setresgid): Do not declare.
31610 [__ASSUME_32BITUIDS]: Make code unconditional.
31611 [!__ASSUME_32BITUIDS]: Remove conditional code.
31612 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31613 <kernel-features.h>.
31614 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31616 (__setresuid): Do not declare.
31617 [__ASSUME_32BITUIDS]: Make code unconditional.
31618 [!__ASSUME_32BITUIDS]: Remove conditional code.
31619 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31620 <kernel-features.h>.
31621 [__ASSUME_32BITUIDS]: Make code unconditional.
31622 [!__ASSUME_32BITUIDS]: Remove conditional code.
31623 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31624 <kernel-features.h>.
31625 [__ASSUME_32BITUIDS]: Make code unconditional.
31626 [!__ASSUME_32BITUIDS]: Remove conditional code.
31628 2012-05-25 Richard Henderson <rth@twiddle.net>
31630 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31631 dl_hwcap to ifunc resolver.
31632 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31634 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31635 dl_hwcap to ifunc resolver.
31636 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31638 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31641 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31642 for |x| <= 2**-26, not 2**-57.
31643 * math/libm-test.inc (acos_test): Do not allow spurious underflow
31646 2012-05-24 Jeff Law <law@redhat.com>
31648 * stdio-common/Makefile (tests): Add bug25.
31649 * stdio-common/bug25.c: New test.
31651 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31654 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
31655 multiple of MALLOC_ALIGNMENT in size.
31656 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
31658 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31660 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
31662 (FILENAME_MAX): Use macro-int-constant.
31663 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
31664 (_IOFBF): Use macro-int-constant.
31665 (_IOLBF): Likewise.
31666 (_IONBF): Likewise.
31667 (SEEK_CUR): Likewise.
31668 (SEEK_END): Likewise.
31669 (SEEK_SET): Likewise.
31670 (TMP_MAX): Likewise.
31671 (EOF): Use macro-int-constant. Require < 0.
31672 (NULL): Use macro-constant. Require == 0.
31673 (stdin): Require type to be FILE *.
31674 (stdout): Likewise.
31675 (stderr): Likewise.
31676 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
31677 macro-int-constant.
31678 (EXIT_SUCCESS): Likewise.
31679 (NULL): Use macro-constant. Require == 0.
31680 (RAND_MAX): Use macro-int-constant.
31681 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
31682 [C99-based standards] (strtof): Require function.
31683 [C99-based standards] (strtold): Likewise.
31684 [C99-based standards] (strtoll): Likewise.
31685 [C99-based standards] (strtoull): Likewise.
31686 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31687 [ISO || ISO99 || ISO11] (limits.h): Likewise.
31688 [ISO || ISO99 || ISO11] (math.h): Likewise.
31689 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
31690 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31691 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31693 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
31696 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
31697 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
31698 * intl/dgettext.c (DCGETTEXT): Likewise.
31699 * intl/gettext.c (DCGETTEXT): Likewise.
31700 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
31701 * posix/regex_internal.h (gettext): Likewise.
31702 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
31703 Remove declaration.
31704 * include/argz.h (__argz_count_internal)
31705 (__argz_stringify_internal): Remove declaration.
31706 (__argz_count, __argz_stringify): Declare hidden proto.
31707 * intl/dcgettext.c: Remove use of INTDEF.
31708 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
31709 * string/argz-stringify.c: Likewise.
31710 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31711 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31712 Declare hidden proto.
31713 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31714 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31715 Declare hidden proto.
31716 * include/stdio.h (__asprintf_internal): Don't declare.
31717 (__asprintf): Don't define as macro. Declare hidden proto.
31718 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
31719 (__fsetlocking): Declare hidden proto.
31720 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
31721 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
31723 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
31724 (_IO_setlinebuf): Remove use of INTUSE.
31725 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
31726 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
31727 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
31728 Remove declaration.
31729 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
31730 (_IO_do_flush): Remove use of INTUSE.
31731 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
31732 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
31733 (_IO_adjust_column, _IO_least_wmarker)
31734 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
31735 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
31736 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
31737 (_IO_default_doallocate, _IO_wdefault_doallocate)
31738 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
31739 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
31740 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
31741 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
31742 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
31743 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
31744 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
31745 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
31746 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
31747 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
31748 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
31749 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
31750 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
31752 (_IO_flush_all_internal, _IO_adjust_column_internal)
31753 (_IO_default_uflow_internal, _IO_default_finish_internal)
31754 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
31755 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
31756 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
31757 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
31758 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
31759 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
31760 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
31761 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
31762 (_IO_file_close_internal, _IO_file_close_it_internal)
31763 (_IO_file_underflow_internal, _IO_file_overflow_internal)
31764 (_IO_file_init_internal, _IO_file_attach_internal)
31765 (_IO_file_fopen_internal, _IO_file_read_internal)
31766 (_IO_file_sync_internal, _IO_file_seek_internal)
31767 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
31768 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
31769 (_IO_str_underflow_internal, _IO_str_overflow_internal)
31770 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
31771 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
31772 (_IO_list_all_internal, _IO_link_in_internal)
31773 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
31774 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
31775 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
31776 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
31777 (_IO_do_write_internal, _IO_padn_internal)
31778 (_IO_getline_info_internal, _IO_getline_internal)
31779 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
31780 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
31781 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
31782 (_IO_vfscanf_internal, _IO_vfprintf_internal)
31783 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
31784 (_IO_init_internal, _IO_un_link_internal): Don't declare.
31785 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
31786 with libc_hidden_ver, remove use of INTUSE.
31787 * libio/genops.c: Likewise.
31788 * libio/freopen.c: Likewise.
31789 * libio/freopen64.c: Likewise.
31790 * libio/iofclose.c: Likewise.
31791 * libio/iofdopen.c: Likewise.
31792 * libio/iofflush.c: Likewise.
31793 * libio/iofflush_u.c: Likewise.
31794 * libio/iofgets.c: Likewise.
31795 * libio/iofgets_u.c: Likewise.
31796 * libio/iofopen.c: Likewise.
31797 * libio/iofopncook.c: Likewise.
31798 * libio/iofread.c: Likewise.
31799 * libio/iofread_u.c: Likewise.
31800 * libio/ioftell.c: Likewise.
31801 * libio/iofwrite.c: Likewise.
31802 * libio/iogetline.c: Likewise.
31803 * libio/iogets.c: Likewise.
31804 * libio/iogetwline.c: Likewise.
31805 * libio/iopadn.c: Likewise.
31806 * libio/iopopen.c: Likewise.
31807 * libio/ioseekoff.c: Likewise.
31808 * libio/ioseekpos.c: Likewise.
31809 * libio/iosetbuffer.c: Likewise.
31810 * libio/iosetvbuf.c: Likewise.
31811 * libio/ioungetc.c: Likewise.
31812 * libio/ioungetwc.c: Likewise.
31813 * libio/iovdprintf.c: Likewise.
31814 * libio/iovsprintf.c: Likewise.
31815 * libio/iovsscanf.c: Likewise.
31816 * libio/memstream.c: Likewise.
31817 * libio/obprintf.c: Likewise.
31818 * libio/oldfileops.c: Likewise.
31819 * libio/oldiofclose.c: Likewise.
31820 * libio/oldiofdopen.c: Likewise.
31821 * libio/oldiofopen.c: Likewise.
31822 * libio/oldiopopen.c: Likewise.
31823 * libio/oldstdfiles.c: Likewise.
31824 * libio/putc.c: Likewise.
31825 * libio/setbuf.c: Likewise.
31826 * libio/setlinebuf.c: Likewise.
31827 * libio/stdfiles.c: Likewise.
31828 * libio/strops.c: Likewise.
31829 * libio/vasprintf.c: Likewise.
31830 * libio/vscanf.c: Likewise.
31831 * libio/vsnprintf.c: Likewise.
31832 * libio/vswprintf.c: Likewise.
31833 * libio/wfiledoalloc.c: Likewise.
31834 * libio/wfileops.c: Likewise.
31835 * libio/wgenops.c: Likewise.
31836 * libio/wmemstream.c: Likewise.
31837 * libio/wstrops.c: Likewise.
31838 * libio/__fpurge.c: Likewise.
31839 * libio/__fsetlocking.c: Likewise.
31840 * assert/assert.c: Likewise.
31841 * debug/fgets_chk.c: Likewise.
31842 * debug/fgets_u_chk.c: Likewise.
31843 * debug/fread_chk.c: Likewise.
31844 * debug/fread_u_chk.c: Likewise.
31845 * debug/gets_chk.c: Likewise.
31846 * debug/obprintf_chk.c: Likewise.
31847 * debug/vasprintf_chk.c: Likewise.
31848 * debug/vdprintf_chk.c: Likewise.
31849 * debug/vsnprintf_chk.c: Likewise.
31850 * debug/vsprintf_chk.c: Likewise.
31851 * malloc/mtrace.c: Likewise.
31852 * misc/error.c: Likewise.
31853 * misc/syslog.c: Likewise.
31854 * stdio-common/asprintf.c: Likewise.
31855 * stdio-common/fxprintf.c: Likewise.
31856 * stdio-common/getw.c: Likewise.
31857 * stdio-common/isoc99_fscanf.c: Likewise.
31858 * stdio-common/isoc99_scanf.c: Likewise.
31859 * stdio-common/isoc99_vfscanf.c: Likewise.
31860 * stdio-common/isoc99_vscanf.c: Likewise.
31861 * stdio-common/isoc99_vsscanf.c: Likewise.
31862 * stdio-common/printf-prs.c: Likewise.
31863 * stdio-common/printf_fp.c: Likewise.
31864 * stdio-common/printf_fphex.c: Likewise.
31865 * stdio-common/printf_size.c: Likewise.
31866 * stdio-common/putw.c: Likewise.
31867 * stdio-common/scanf.c: Likewise.
31868 * stdio-common/sprintf.c: Likewise.
31869 * stdio-common/tmpfile.c: Likewise.
31870 * stdio-common/vfprintf.c: Likewise.
31871 * stdio-common/vfscanf.c: Likewise.
31872 * stdlib/strfmon_l.c: Likewise.
31873 * sunrpc/openchild.c: Likewise.
31874 * sunrpc/xdr_stdio.c: Likewise.
31875 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31876 * sysdeps/mach/hurd/tmpfile.c: Likewise.
31878 2012-05-24 Roland McGrath <roland@hack.frob.com>
31880 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31882 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
31883 in the third column, to generate for the shared library an IFUNC
31884 that uses _dl_vdso_vsym.
31885 * Makerules (COMPILE.c, compile-stdin.c): New variables.
31886 * Makeconfig (object-suffixes-noshared): New variable.
31888 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
31889 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
31890 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
31891 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
31894 * include/sys/time.h (__gettimeofday): Remove macro.
31895 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
31896 * time/gettimeofday.c (__gettimeofday): Remove #undef.
31898 (__gettimeofday): Add libc_hidden_def.
31899 (gettimeofday): Add libc_hidden_weak.
31900 * sysdeps/mach/gettimeofday.c: Likewise.
31901 * sysdeps/posix/gettimeofday.c: Likewise.
31902 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31903 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31904 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
31905 (__gettimeofday_internal): Remove strong_alias.
31906 (__gettimeofday): Add libc_hidden_def.
31907 (gettimeofday): Add libc_hidden_weak.
31908 * sysdeps/unix/syscalls.list (gettimeofday):
31909 Remove __gettimeofday_internal alias.
31911 2012-05-24 Daniel Jacobowitz <drow@false.org>
31912 H.J. Lu <hongjiu.lu@intel.com>
31915 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
31916 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
31917 (largebin_index_32_big): New.
31918 (largebin_index): Use it for 16-byte alignment.
31919 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
31920 correction with front_misalign.
31922 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
31925 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31927 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
31929 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31931 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
31933 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
31935 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
31937 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
31939 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31941 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
31943 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
31945 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31947 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
31950 * scripts/data/c++-types-x32-linux-gnu.data: New file.
31951 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
31953 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31957 * math/libm-test.inc (exp_test): Add test from bug 14036.
31958 (pow_test): Add test from bug 10846.
31960 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
31962 (special_function): Do not include flags in test name.
31963 (parse_args): Likewise.
31964 * sysdeps/i386/fpu/libm-test-ulps: Update.
31965 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31966 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31967 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31970 * math/gen-libm-test.pl (%beautify): Add entries for underflow
31972 * math/libm-test.inc ("Philosophy"): Update comment about
31974 (UNDERFLOW_EXCEPTION): New macro.
31975 (UNDERFLOW_EXCEPTION_OK): Likewise.
31976 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
31977 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
31978 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
31979 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31980 (INVALID_EXCEPTION_OK): Update value.
31981 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31982 (OVERFLOW_EXCEPTION_OK): Likewise.
31983 (IGNORE_ZERO_INF_SIGN): Likewise.
31984 (test_exceptions): Handle underflow exceptions.
31985 (acos_test): Update for underflow exception expectations.
31986 (cexp_test): Likewise.
31987 (clog_test): Likewise.
31988 (clog10_test): Likewise.
31989 (csqrt_test): Likewise.
31990 (ctan_test): Likewise.
31991 (ctanh_test): Likewise.
31992 (exp_test): Likewise.
31993 (exp10_test): Likewise.
31994 (exp2_test): Likewise.
31995 (expm1_test): Likewise.
31996 (fma_test): Likewise.
31997 (j0_test): Likewise.
31998 (jn_test): Likewise.
31999 (nexttoward_test): Likewise.
32000 (pow_test): Likewise.
32001 (scalbn_test): Likewise.
32002 (scalbln_test): Likewise.
32003 (tan_test): Likewise.
32004 (y1_test): Likewise.
32005 * sysdeps/i386/fpu/libm-test-ulps: Update.
32006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32008 2012-05-23 David S. Miller <davem@davemloft.net>
32010 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32011 (__libc_sigaction): Remove unused local variables.
32013 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32015 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32017 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
32019 mktime: avoid signed integer overflow
32020 * time/mktime.c (__mktime_internal): Do not mishandle the case
32021 where diff == INT_MIN.
32023 mktime: simplify computation of average
32024 * time/mktime.c (ranged_convert): Use new time_t_avg function
32025 instead of rolling our own (probably-slower) code.
32027 mktime: do not assume signed right shift propagates sign bit
32028 * time/mktime.c (isdst_differ): New static function.
32029 (__mktime_internal): No need to normalize tm_isdst now.
32030 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32033 mktime: merge another wrapv change from gnulib
32034 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32035 from some compilers.
32037 mktime: remove incorrect attempt at unusual arithmetics
32038 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32039 The code didn't really work on such machines anyway.
32040 (TYPE_MINIMUM): Assume two's complement.
32041 (twos_complement_arithmetic): Verify that long_int and time_t
32042 are two's complement (or unsigned, in the latter case).
32044 mktime: check signed shifts on long_int and time_t, too
32045 * time/mktime.c (SHR): Check that shifts work as desired
32046 on the types long_int and time_t too, as SHR is used on
32049 mktime: do not assume 'long' is wide enough
32050 * time/mktime.c (verify): Move decl up.
32051 (long_int): New type.
32052 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32053 to remove assumption in the code that 'long' is wide enough to
32054 store year values. This assumption is not true on x32 and on
32055 some non-glibc platforms.
32057 mktime: merge wrapv change from gnulib
32058 * time/mktime.c (WRAPV): New macro.
32059 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32060 (guess_time_tm, __mktime_internal): Do not assume that signed
32061 integer overflow wraps around; modern compilers generate code
32062 where this assumption is no longer valid.
32064 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32066 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32067 Replace "jmp L(pseudo_end)" with "ret".
32068 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32071 2012-05-23 Andreas Jaeger <aj@suse.de>
32073 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32074 * sysdeps/unix/sysv/linux/poll.c: Remove file.
32076 2012-05-23 Andreas Jaeger <aj@suse.de>
32077 Maximilian Attems <max@stro.at>
32079 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32082 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32084 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32085 code so that pseudo_end is just ret and the stack pointer is
32086 correct also for static library in error case.
32088 2012-05-23 Joseph Myers <joseph@codesourcery.com>
32090 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32091 move to syscalls.list.
32092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32097 * manual/install.texi (Running make install): Do not mention Linux
32098 kernel version for which pt_chown is not needed.
32099 (Linux): Do not mention problems with nscd with 2.0 kernels.
32100 * INSTALL: Regenerated.
32102 2012-05-23 Andreas Jaeger <aj@suse.de>
32104 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32105 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32107 * sysdeps/unix/sysv/linux/s390/bits/mman.h
32108 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32109 * sysdeps/unix/sysv/linux/sh/bits/mman.h
32110 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32111 * sysdeps/unix/sysv/linux/i386/bits/mman.h
32112 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32113 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32114 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32115 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32116 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32117 * sysdeps/unix/sysv/linux/bits/in.h
32118 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32120 2012-05-22 Roland McGrath <roland@hack.frob.com>
32122 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32123 (PREPARE_VERSION): Just use assert instead, it will be elided
32124 under [NDEBUG] anyway.
32126 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32128 * sysdeps/unix/sysv/linux/Makefile: Include
32129 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
32130 (sysdep_routines): Remove sysctl.
32131 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32132 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32133 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32134 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32135 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32137 2012-05-22 Andreas Jaeger <aj@suse.de>
32139 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
32140 that pseudo_end is just ret and the stack pointer is correct also
32141 for static library in error case.
32143 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
32146 * nss/nsswitch.c (defconfig_entries): New variable.
32147 (__nss_database_lookup): Don't leak defconfig entries.
32148 (nss_parse_service_list): Don't leak on error paths.
32149 (free_database_entries): New function.
32150 (free_defconfig): New function.
32151 (free_mem): Move common code to free_database_entries.
32153 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32155 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
32157 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
32159 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32160 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
32161 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
32163 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
32164 (INTERNAL_SYSCALL_TYPES): Likewise.
32165 (LOAD_ARGS_TYPES_[1-6]): Likewise.
32166 (LOAD_REGS_TYPES_[1-6]): Likewise.
32167 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
32168 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
32170 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32172 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
32173 copysignl for GLIBC_2_0.
32174 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
32175 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
32176 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
32177 logbl for GLIBC_2_0.
32178 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32179 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32181 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32183 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
32184 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32186 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32189 * time/mktime.c: Update copyright years.
32191 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
32193 mktime: merge comment-quoting-style change from gnulib
32194 * time/mktime.c: Quote 'like this' in comments.
32195 The GNU coding standards suggest that we no longer quote `like this',
32196 as "`" and "'" are typically rendered asymmetrically nowadays.
32197 The typical gnulib style is to quote 'like this' when quoting
32198 code, and "like this" when quoting English.
32200 * time/mktime.c (compile-command): Add "-I.".
32202 mktime: merge mktime-internal.h change from gnulib
32203 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
32205 mktime: merge time_r change from gnulib
32206 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
32208 mktime: merge DEBUG change from gnulib
32209 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
32210 case system <time.h> has a #define.
32212 mktime: merge <sys/types.h> change from gnulib
32213 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
32214 since <time.t> is now guaranteed to define time_t.
32216 mktime: merge HAVE_CONFIG_H change from gnulib
32217 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
32219 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32221 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32224 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
32226 (struct rusage): Use anonymous union to pad each field to
32229 2012-05-21 David S. Miller <davem@davemloft.net>
32231 * Makefules (o-iterator): Remove .s cases.
32232 (compile-command.s): Delete.
32233 (COMPILE.s): Delete.
32234 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
32236 2012-05-21 Joseph Myers <joseph@codesourcery.com>
32238 * configure.in (libc_cv_predef_stack_protector): Only consider
32239 "foobar" and "__stack_chk_fail" lines in libc_undefs.
32240 * configure: Regenerated.
32242 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32244 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32245 New macro. Use R*LP on int and pointer.
32246 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
32247 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
32248 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
32249 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
32251 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
32252 [__WORDSIZE_TIME64_COMPAT32] instead of
32253 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
32254 (struct utmp): Likewise.
32255 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
32256 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
32258 (__WORDSIZE_TIME64_COMPAT32): This.
32259 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
32260 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
32261 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
32262 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
32263 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
32264 (__WORDSIZE_TIME64_COMPAT32): New macro.
32266 2012-05-21 Andreas Jaeger <aj@suse.de>
32268 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
32269 only if [SHARED]. Add prototype for __wcschr_ia32.
32271 2012-05-21 Roland McGrath <roland@hack.frob.com>
32273 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
32274 of %rbp unmolested in the jmp_buf while mangling the low bits.
32275 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
32276 unmolested high bits of %rbp while demangling the low bits.
32277 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32279 2012-05-21 Andreas Jaeger <aj@suse.de>
32281 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
32282 * sunrpc/svc_simple.c: Use it for registerrpc.
32283 * sunrpc/xcrypt.c: Use it for passwd2des.
32285 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
32287 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32289 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
32290 Don't define if [__SYSCALL_WORDSIZE != 32].
32291 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
32294 2012-05-21 Bruno Haible <bruno@clisp.org>
32295 Andreas Jaeger <aj@suse.de>
32297 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
32298 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
32299 inptr and inend for must_buffer_ch.
32300 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
32301 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
32302 * stdio-common/Makefile (tests): Remove bug15.
32303 (bug15-ENV): Remove macro.
32304 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
32307 2012-05-19 Andreas Jaeger <aj@suse.de>
32308 Roland McGrath <roland@hack.frob.com>
32310 * manual/contrib.texi: Completely rewritten. It contains now an
32311 alphabetical list of contributors and their contributions.
32313 2012-05-21 Richard Henderson <rth@twiddle.net>
32315 * misc/getauxval.c (__getauxval): Use unsigned long int.
32316 * misc/sys/auxv.h: Include <sys/cdefs.h>.
32317 (getauxval): Use unsigned long int.
32319 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32321 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32323 2012-05-21 Roland McGrath <roland@hack.frob.com>
32325 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
32326 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
32327 __alignof__ (long double).
32329 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32331 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32333 2012-05-20 Richard Henderson <rth@twiddle.net>
32335 * misc/getauxval.c: New file.
32336 * misc/sys/auxv.h: New file.
32337 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
32338 (routines): Add getauxval.
32339 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
32340 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
32341 * elf/dl-sysdep.c (_dl_auxv): Remove.
32342 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
32343 * elf/dl-support.c (_dl_auxv): New variable.
32344 (_dl_aux_init): Initialize it.
32345 * manual/startup.texi (Auxiliary Vector): New node.
32346 * sysdeps/generic/bits/hwcap.h: New file.
32347 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
32348 * sysdeps/powerpc/sysdep.h: ... here. Include it.
32349 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
32350 * sysdeps/sparc/sysdep.h: ... here. Include it.
32351 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
32352 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
32353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
32356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
32357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
32358 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
32359 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32360 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32361 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
32362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
32364 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32366 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32368 2012-05-19 David S. Miller <davem@davemloft.net>
32370 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32372 2012-05-19 Joseph Myers <joseph@codesourcery.com>
32375 * math/s_ccosh.c: Include <float.h>
32376 (__ccosh): Avoid internal overflow calculating sinh and cosh
32377 values before multiplying by sin and cos values.
32378 * math/s_ccoshf.c: Likewise.
32379 * math/s_ccoshl.c: Likewise.
32380 * math/s_csin.c: Likewise.
32381 * math/s_csinf.c: Likewise.
32382 * math/s_csinl.c: Likewise.
32383 * math/s_csinh.c: Likewise.
32384 * math/s_csinhf.c: Likewise.
32385 * math/s_csinhl.c: Likewise.
32386 * math/libm-test.inc (ccos_test): Add more tests.
32387 (ccosh_test): Likewise.
32388 (csin_test): Likewise.
32389 (csinh_test): Likewise.
32390 * sysdeps/i386/fpu/libm-test-ulps: Update.
32391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32393 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
32395 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
32396 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
32398 * sysdeps/x86_64/x32/_itoa.h: Add comment.
32400 2012-05-19 Joseph Myers <joseph@codesourcery.com>
32402 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
32403 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
32404 * sysdeps/powerpc/soft-fp/Versions: Likewise.
32405 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
32406 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
32407 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
32408 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
32409 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
32410 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
32411 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
32412 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
32413 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
32414 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
32415 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
32416 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
32417 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
32418 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
32419 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
32420 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
32421 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
32422 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
32423 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
32424 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
32425 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
32426 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
32427 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
32428 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
32429 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
32430 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
32431 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
32432 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
32434 2012-05-18 Andreas Jaeger <aj@suse.de>
32436 * csu/.gitignore: Delete.
32438 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32440 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
32441 (timex): Use __syscall_slong_t.
32443 2012-05-18 Andreas Jaeger <aj@suse.de>
32444 Carlos O'Donell <carlos_odonell@mentor.com>
32446 * manual/install.texi (Configuring and compiling): Update
32447 description about files modified in the source directory.
32448 * INSTALL: Regenerated.
32450 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32452 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
32453 value. Use "or" to set return value to -1.
32454 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
32455 negate return value.
32457 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32459 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
32460 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
32461 failure if the compiler has Graphite support disabled.
32462 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
32464 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
32465 (CFLAGS-memmove.c): Likewise.
32466 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
32469 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32471 * sysdeps/x86_64/x32/_itoa.h: New file.
32473 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32474 getdents system call only if kernel and user dirents have the
32475 same d_ino and d_off.
32477 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32478 LLONG_MAX != LONG_MAX.
32479 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32480 (_fitoa_word): Likewise.
32482 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32484 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32485 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32486 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32488 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32489 include <bits/wordsize.h>. Check __x86_64__ instead of
32491 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32492 if __x86_64__ is defined. Use anonymous union on fpstate.
32494 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32497 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
32499 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32500 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32501 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32502 Refer to _rtld_local_ro instead of _rtld_global_ro.
32503 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32505 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32507 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32509 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32510 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32511 of _rtld_global, and rtld_progname instead of _dl_argv[0].
32513 * sysdeps/powerpc/powerpc32/dl-machine.c
32514 (__elf_machine_runtime_setup) [PROF]: Don't reference
32517 2012-05-18 Andreas Jaeger <aj@suse.de>
32519 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32520 function only available for GCCs before 3.4 since GCC 3.4
32521 introduced a builtin.
32523 (llrintf): Likewise.
32524 (llrint): Likewise.
32531 (nearbyint): Likewise.
32532 (nearbyintf): Likewise.
32536 (floorf): Likewise.
32538 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32540 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32541 on both fields and cast pointer to __syscall_ulong_t.
32543 * bits/types.h (__fsword_t): New type.
32544 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32545 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32546 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32547 (__FSWORD_T_TYPE): Likewise.
32548 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32549 (__FSWORD_T_TYPE): Likewise.
32550 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32551 (__FSWORD_T_TYPE): Likewise.
32552 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32553 (__FSWORD_T_TYPE): Likewise.
32554 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32555 __SWORD_TYPE with __fsword_t.
32556 (statfs64): Likewise.
32558 2012-05-17 David S. Miller <davem@davemloft.net>
32560 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32562 2012-05-17 Andreas Jaeger <aj@suse.de>
32564 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32567 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32569 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32571 2012-05-17 Andreas Jaeger <aj@suse.de>
32573 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32576 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32578 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32580 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32582 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32583 * sysdeps/x86_64/tst-mallocalign1.c: New file.
32585 2012-05-17 Andreas Jaeger <aj@suse.de>
32586 Carlos O'Donell <carlos_odonell@mentor.com>
32589 * sysdeps/x86_64/multiarch/init-arch.h
32590 (bit_YMM_Usable): Rename to...
32591 (bit_AVX_Usable): ... this.
32592 (bit_FMA4_Usable): New macro.
32593 (bit_XMM_state): New macro.
32594 (bit_YMM_state): New macro.
32595 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32596 [__ASSEMBLER__] (index_AVX_Usable): ... this.
32597 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32598 (CPUID_OSXSAVE): New macro.
32599 (CPUID_AVX): New macro.
32600 (CPUID_FMA4): New macro.
32601 (index_YMM_Usable): Rename to...
32602 (index_AVX_Usable): ... this.
32603 (HAS_AVX): Use HAS_ARCH_FEATURE.
32604 (HAS_FMA4): Likewise.
32605 (HAS_YMM_USABLE): Remove.
32606 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32607 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32609 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32610 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32611 * sysdeps/x86_64/multiarch/Makefile: Likewise.
32612 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32613 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32615 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32617 * math/libm-test.c: Support platforms without multiple rounding modes.
32618 * math/bug-nextafter.c: Support platforms without FP exceptions.
32619 * math/bug-nexttoward.c: Likewise.
32620 * math/test-fenv.c: Likewise.
32621 * math/test-misc.c: Likewise.
32622 * stdlib/bug-getcontext.c: Likewise.
32624 2012-05-17 Andreas Jaeger <aj@suse.de>
32626 * manual/examples/search.c (critter_cmp): Change signature to
32628 * manual/string.texi (Collation Functions): Likewise.
32630 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32632 * bits/types.h: Fold copyright years.
32633 * bits/typesizes.h: Likewise.
32634 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32635 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32636 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32637 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32638 * time/time.h: Likewise.
32640 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
32643 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32644 in instead of returning them. Return void.
32645 (__libc_mallinfo): Accumulate over all arenas.
32646 (__malloc_stats): Adjust for change in int_mallinfo interface.
32648 2012-05-16 Roland McGrath <roland@hack.frob.com>
32651 * configure.in (NM): Add AC_CHECK_TOOL for it.
32652 (libc_extra_cflags): New substituted variable.
32653 Check for -fstack-protector being used implicitly.
32654 * configure: Regenerated.
32655 * config.make.in (config-extra-cflags): New variable,
32656 gets @libc_extra_cflags@.
32657 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
32660 * configure.in: Check for _FORTIFY_SOURCE being predefined.
32661 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
32662 * configure: Regenerated.
32663 * config.make.in (CPPUNDEFS): New substituted variable.
32664 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
32665 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
32666 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
32668 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32670 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32671 (mq_attr): Use __syscall_slong_t.
32673 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32675 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
32676 Check __x86_64__ instead of __WORDSIZE.
32677 (_STAT_VER_LINUX): Likewise.
32678 (stat): Check __x86_64__ instead of __WORDSIZE. Use
32679 __syscall_ulong_t and __syscall_slong_t.
32680 (stat64): Likewise.
32682 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32684 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
32686 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32688 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
32690 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32692 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
32695 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
32696 include <bits/wordsize.h>. Check __x86_64__ instead of
32698 (greg_t): Use "__extension__ long long int" if __x86_64__ is
32700 (mcontext_t): Replace "unsigned long" with "unsigned long long".
32702 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
32703 include <bits/wordsize.h>. Check __x86_64__ instead of
32705 (user_regs_struct): Use "__extension__ unsigned long long"
32706 instead of "unsigned long" if __x86_64__ is defined.
32707 (user): Likewise. Pad after pointer field if __ILP32__ is
32710 2012-05-16 Joseph Myers <joseph@codesourcery.com>
32712 * configure.in (makeinfo): Require version 4.5 or later. Allow
32714 * configure: Regenerated.
32715 * manual/install.texi (texinfo): Increase version requirement to
32717 * INSTALL: Regenerated.
32719 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
32721 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32723 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
32725 * sysdeps/x86_64/x32/ffs.c: New file.
32727 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
32729 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
32730 defined. Use __syscall_ulong_t.
32731 (shminfo): Use __syscall_ulong_t.
32732 (shm_info): Likewise.
32734 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
32737 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
32739 (msgqnum_t): Use __syscall_ulong_t.
32740 (msglen_t): Likewise.
32741 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
32744 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
32745 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32747 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
32749 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
32750 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
32752 * sysvipc/sys/msg.h (msgbuf): Replace long int with
32755 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
32756 include <bits/wordsize.h>. Check __x86_64__ instead of
32759 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
32760 "unsigned long long int" if __x86_64__ is defined.
32761 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
32763 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
32764 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32765 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
32767 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
32769 (GET_PC): Cast to uintptr_t first.
32770 (GET_FRAME): Likewise.
32771 (GET_STACK): Likewise.
32773 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
32774 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
32775 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
32776 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
32777 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
32778 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
32779 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
32780 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
32781 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32782 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
32783 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
32784 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
32785 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32786 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
32787 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
32788 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
32789 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
32790 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
32791 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
32792 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
32793 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
32794 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
32795 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
32796 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
32797 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
32798 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
32799 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
32800 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
32801 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
32803 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
32805 * Makerules (+depfiles): Also collect depfiles from .oS in
32807 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
32808 .oS, $(libnldbl-routines)).
32810 * Makerules (native-compile-mkdep-flags): Define.
32811 * sunrpc/Makefile (extra-objs): Add $(addprefix
32812 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
32813 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
32814 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
32815 calling $(make-target-directory).
32817 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32819 * bits/types.h (__snseconds_t): Removed.
32820 * time/time.h (struct timespec): Replace __snseconds_t with
32822 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
32823 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
32825 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32826 (__SNSECONDS_T_TYPE): Likewise.
32827 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32828 (__SNSECONDS_T_TYPE): Likewise.
32829 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32830 (__SNSECONDS_T_TYPE): Likewise.
32832 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32834 * sysdeps/mach/hurd/bits/typesizes.h
32835 (__SYSCALL_SLONG_TYPE): New macro.
32836 (__SYSCALL_ULONG_TYPE): Likewise.
32838 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32840 * bits/types.h (__syscall_slong_t): New type.
32841 (__syscall_ulong_t): Likewise.
32843 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
32844 (__SYSCALL_ULONG_TYPE): Likewise.
32845 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32846 (__SYSCALL_SLONG_TYPE): Likewise.
32847 (__SYSCALL_ULONG_TYPE): Likewise.
32848 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32849 (__SYSCALL_SLONG_TYPE): Likewise.
32850 (__SYSCALL_ULONG_TYPE): Likewise.
32851 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32852 (__SYSCALL_SLONG_TYPE): Likewise.
32853 (__SYSCALL_ULONG_TYPE): Likewise.
32855 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32857 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
32858 Add sigaltstack-offsets.sym.
32859 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
32860 <sigaltstack-offsets.h>.
32861 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
32862 longjmp_msg pointer.
32863 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
32864 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
32866 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
32868 2012-05-15 Joseph Myers <joseph@codesourcery.com>
32870 * elf/stackguard-macros.h: Remove file.
32871 * sysdeps/generic/stackguard-macros.h: New file.
32872 * sysdeps/i386/stackguard-macros.h: Likewise.
32873 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32874 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32875 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32876 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32877 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32878 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32879 * sysdeps/x86_64/stackguard-macros.h: Likewise.
32880 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
32881 <elf/stackguard-macros.h>.
32884 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
32885 __aligned__ in attribute.
32886 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
32887 (gregset_t): Likewise.
32889 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32891 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
32892 * sysdeps/x86_64/64/Implies-after: Here. New file.
32893 * sysdeps/x86_64/x32/Implies-after: New file.
32895 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32897 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
32898 and access return value for _dl_profile_fixup. Use R10_LP to
32901 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32903 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
32905 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32907 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
32908 * sysdeps/x86_64/x32/sysdep.h: New file.
32910 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32912 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
32913 * sysdeps/x86_64/setjmp.S: Likewise.
32915 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32917 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
32918 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
32919 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
32920 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
32921 remove unused global constant.
32923 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
32925 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
32926 include of <not-cancel.h>.
32928 2012-05-15 Roland McGrath <roland@hack.frob.com>
32930 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
32932 2012-05-15 Jeff Law <law@redhat.com>
32933 Andreas Jaeger <aj@suse.de>
32936 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
32938 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
32939 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
32940 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
32941 code changing __hst_map_handle.map.
32943 2012-05-15 Roland McGrath <roland@hack.frob.com>
32945 * configure.in (sysnames): Look for Implies-before and Implies-after
32947 * configure: Regenerated.
32949 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32951 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
32952 8-byte data alignment with LP_SIZE alignment.
32954 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32956 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
32959 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32961 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
32963 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32965 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
32966 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
32967 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
32969 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32971 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32973 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
32974 (stackinfo_sub_sp): Likewise.
32976 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32978 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
32981 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32983 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32986 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32988 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32991 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32993 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32995 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32997 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32998 into R11_LP and load __x86_64_shared_cache_size_half into
33001 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33003 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
33006 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33008 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
33010 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
33012 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33014 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33015 powerpc32/power7/fpu/s_logb.c via #include.
33016 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33017 powerpc32/power7/fpu/s_logbf.c via #include.
33018 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33019 powerpc32/power7/fpu/s_logbl.c via #include.
33021 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33023 * README.libm: Remove file.
33025 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33027 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33028 count for x32. Use R*_LP and omit operand-size suffix.
33030 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33032 * shlib-versions: Move x86_64-.*-linux.* entries to ...
33033 * sysdeps/x86_64/64/shlib-versions: Here. New file.
33034 * sysdeps/x86_64/x32/shlib-versions: New file.
33036 2012-05-14 Roland McGrath <roland@hack.frob.com>
33038 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33039 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33040 Use _dl_fatal_printf instead.
33042 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33044 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33045 set if not set by the user. Do not allow for being unset.
33046 * sysdeps/unix/sysv/linux/configure: Regenerated.
33048 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33050 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33051 the `q' suffix from lea and replace .quad with ASM_ADDR.
33053 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33055 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33056 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
33058 (PTR_DEMANGLE): Likewise.
33060 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33062 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33064 (ASM_ADDR): Likewise.
33065 (RAX_LP): Likewise.
33066 (RBP_LP): Likewise.
33067 (RBX_LP): Likewise.
33068 (RCX_LP): Likewise.
33069 (RDI_LP): Likewise.
33070 (RSI_LP): Likewise.
33071 (RSP_LP): Likewise.
33074 (R10_LP): Likewise.
33075 (R10_LP): Likewise.
33076 (R11_LP): Likewise.
33077 (R12_LP): Likewise.
33078 (R13_LP): Likewise.
33079 (R14_LP): Likewise.
33080 (R15_LP): Likewise.
33082 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33084 * sysdeps/x86_64/x32/dl-machine.h: New file.
33086 2012-05-14 Andreas Jaeger <aj@suse.de>
33088 * manual/Makefile (subdir): Remove export of subdir.
33089 (all): Remove target.
33090 (.PHONY): Remove all from list.
33091 (mkinstalldirs): Remove.
33092 (.PHONY): Remove installdirs from list.
33093 ($(inst_infodir)/libc.info): Use make-target-directory.
33094 (installdirs): Remove.
33095 (subdir_%): Remove.
33096 (glibc-targets): Remove.
33099 ($(objpfx)stubs ../po/manual.pot): Remove.
33100 ($(objpfx)stamp%): Remove.
33101 (make-target-directory): Remove.
33102 (subdir_install): Remove.
33103 (routines): Remove.
33110 * manual/.gitignore: Remove, it's not needed anymore.
33111 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33113 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33115 (texis): Renamed to $(objpfx)texis.
33116 (texis-path): New, contains path to generated files.
33117 (chapters.%): Use texis-path for complete path, add extra argument
33119 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33120 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33121 (summary,texi, stamp-summary): Use complete path of
33122 files. Generate files in build dir.
33123 (dir-add.texi): Build in build dir.
33124 (libm-err.texi,stamp-libm-err): Likewise.
33125 (version.texi, stamp-version): Likewise.
33126 (.%c.texi): Likewise.
33127 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33128 (mostlyclean): Remove target.
33129 (realclean): Remove target.
33130 (generated): Add new variable with contents from mostlyclean and
33131 realclean, remove entries duplicated in common-mostlyclean, add
33132 stamp-libm-err and stamp-version.
33133 (generated-dirs): Add libc directory.
33134 ($(inst_infodir)/libc.info): Install files from build dir.
33136 * manual/install.texi (Configuring and compiling): Adjust since
33137 the info files are not part of the tar ball anymore.
33139 2012-05-14 Andreas Jaeger <aj@suse.de>
33141 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
33144 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33147 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33148 to 2.2.0 where earlier.
33149 * sysdeps/unix/sysv/linux/configure: Regenerated.
33150 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
33151 Remove conditional code.
33152 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
33153 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
33154 Remove conditional code.
33155 [!__NR_lchown]: Likewise.
33156 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33157 [__NR_lchown]: Likewise.
33158 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
33159 comment referencing __ASSUME_LCHOWN_SYSCALL.
33160 * sysdeps/unix/sysv/linux/i386/sigaction.c
33161 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33162 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33163 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
33164 Remove conditional code.
33165 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
33166 (__protocol_available): Remove #if 0 code.
33167 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
33169 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
33170 * sysdeps/unix/sysv/linux/kernel-features.h
33171 (__ASSUME_GETCWD_SYSCALL): Don't define.
33172 (__ASSUME_REALTIME_SIGNALS): Likewise.
33173 (__ASSUME_PREAD_SYSCALL): Likewise.
33174 (__ASSUME_PWRITE_SYSCALL): Likewise.
33175 (__ASSUME_POLL_SYSCALL): Likewise.
33176 (__ASSUME_LCHOWN_SYSCALL): Likewise.
33177 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
33179 (__ASSUME_SIOCGIFNAME): Don't define.
33180 (__ASSUME_MSG_NOSIGNAL): Likewise.
33181 (__ASSUME_SENDFILE): Define unconditionally.
33182 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
33183 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
33185 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
33186 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
33187 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33188 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33189 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
33190 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33191 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
33193 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33194 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33196 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33197 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
33199 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33200 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33202 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33203 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
33205 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33206 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33208 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33209 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
33211 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33212 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33214 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33215 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33216 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
33217 Remove conditional code.
33218 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33219 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33220 Remove conditional code.
33221 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33222 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
33223 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
33224 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33225 Remove conditional code.
33226 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33227 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
33228 Remove conditional code.
33229 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33230 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
33231 Remove conditional code.
33232 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33233 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33234 Remove conditional code.
33235 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33236 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33237 Remove conditional code.
33238 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33239 * sysdeps/unix/sysv/linux/sh/pwrite64.c
33240 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33241 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33242 * sysdeps/unix/sysv/linux/sigaction.c
33243 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33244 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33245 * sysdeps/unix/sysv/linux/sigpending.c
33246 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33247 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33248 * sysdeps/unix/sysv/linux/sigprocmask.c
33249 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33250 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33251 * sysdeps/unix/sysv/linux/sigsuspend.c
33252 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33253 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33254 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33255 (__libc_missing_rt_sigs): Remove.
33256 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
33257 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
33258 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
33259 Remove conditional code.
33260 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
33261 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
33263 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
33264 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
33265 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
33266 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
33268 2012-05-14 Andreas Jaeger <aj@suse.de>
33270 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
33271 it's not used in glibc.
33272 (__coshm1): Likewise.
33273 (__acosh1p): Likewise.
33276 * manual/string.texi (Copying and Concatenation): Add missing
33277 variable in concat example.
33278 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
33280 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33283 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
33284 __builtin_clzl with __builtin_clzll.
33286 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33289 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
33292 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33294 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
33295 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
33296 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
33297 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
33299 2012-05-14 Mike Frysinger <vapier@gentoo.org>
33301 * NEWS: Update ia64 info.
33303 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
33305 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
33308 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
33310 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
33311 * sysdeps/unix/syscalls.list (dup3): Likewise.
33312 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
33313 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
33315 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33317 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
33318 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
33320 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33322 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
33324 (TLS_IE): Use mov/add instead of movq/addq to load thread
33326 (TLS_GD_PREFIX): New.
33329 2012-05-11 David S. Miller <davem@davemloft.net>
33331 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
33332 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
33333 (_FPU_SETCW): Likewise.
33335 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33337 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
33338 is 32-byte aligned.
33340 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
33343 * iconvdata/gb18030.c: Update tables.
33344 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
33345 characters specially.
33346 (BODY for TO_LOOP): Add encoding of missing ranges.
33348 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
33351 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
33352 * sysdeps/mach/hurd/dup3.c: Likewise.
33353 * sysdeps/mach/hurd/readlinkat.c: Likewise.
33354 * sysdeps/powerpc/memmove.c:: Likewise.
33356 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33358 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
33359 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
33361 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33363 * elf/elf.h (R_X86_64_RELATIVE64): New.
33364 (R_X86_64_NUM): Updated.
33365 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33366 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
33367 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
33368 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
33369 tst-quad1pie tst-quad2pie
33370 (modules-names): Add tst-quadmod1 tst-quadmod2.
33371 ($(objpfx)tst-quad1): New dependency.
33372 ($(objpfx)tst-quad2): Likewise.
33373 ($(objpfx)tst-quad1pie): Likewise.
33374 ($(objpfx)tst-quad2pie): Likewise.
33375 * sysdeps/x86_64/tst-quad1.c: New file.
33376 * sysdeps/x86_64/tst-quad1pie.c: New file.
33377 * sysdeps/x86_64/tst-quad2.c: Likewise.
33378 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
33379 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
33380 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
33381 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
33382 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
33384 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33386 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
33387 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
33388 * streams/stropts.h (t_scalar_t): Define type.
33390 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
33391 (_PATH_PRESERVE): Set to "/var/lib".
33392 (_PATH_RWHODIR): Set to "/var/spool/rwho".
33394 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
33397 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
33398 if __dir_mkfile succeeded.
33400 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
33401 checking for _hurd_dtablesize. Unlock it right after having
33402 finished _hurd_dtable allocation.
33404 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33406 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
33407 * sysdeps/mach/hurd/configure: Regenerated.
33408 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
33409 special-casing to...
33410 * sysdeps/gnu/configure.in: ... this new file.
33411 * sysdeps/unix/sysv/linux/configure: Regenerated.
33412 * sysdeps/gnu/configure: New generated file.
33414 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
33415 for Linux: use nsec instead of usec, as well as:
33416 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
33417 members of type struct timespec.
33418 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
33420 (struct stat64): Likewise.
33421 (_STATBUF_ST_NSEC): New macro.
33422 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
33424 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33425 __strtoul_internal rather than strtoul.
33427 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33429 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
33432 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33434 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
33435 which preserves existing values.
33436 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
33438 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33440 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
33441 TIMEOUT values. Return EINVAL for NFDS values either negative or
33442 greater than FD_SETSIZE.
33444 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33446 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
33447 allocated, call __vm_protect to finish enabling the existing space, and
33448 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
33449 allocate the remainder.
33451 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33453 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
33454 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
33456 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33458 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
33459 sysdeps/mach/hurd/readlink.c.
33461 * posix/tst-sysconf.c (posix_options): Only use
33462 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
33463 _POSIX_SYNCHRONIZED_IO when they are defined
33464 * sysdeps/mach/hurd/bits/posix_opt.h:
33465 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
33466 (_XOPEN_REALTIME): Undefine macro.
33467 (_XOPEN_REALTIME_THREADS): Undefine macro.
33468 (_XOPEN_SHM): Undefine macro.
33469 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33471 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33473 (_POSIX_ASYNC_IO): Undefine macro.
33474 (_POSIX_PRIORITIZED_IO): Undefine macro.
33475 (_POSIX_SPIN_LOCKS): Define macro to -1.
33477 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33478 SA_NODEFER, SA_RESETHAND.
33479 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33480 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33483 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33485 * elf/Makefile (pldd-modules): Define unconditionally.
33487 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33489 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33491 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33493 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33494 Return ENOENT when name is empty.
33495 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33497 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33499 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33501 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33503 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33505 Fix mlock in all cases except non-readable pages.
33506 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33507 instead of VM_PROT_ALL as parameter to __vm_wire function.
33509 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33510 (__mkdir): When path is `/', just fail with EEXIST.
33511 * sysdeps/mach/hurd/mkdirat.c: Likewise.
33513 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33515 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33516 <sys/uio.h> (for writev).
33517 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33518 and <sys/param.h> (for MIN).
33520 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33522 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33523 REQUESTED_TIME. Properly set the remaining time and return EINTR
33526 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33528 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33529 Depend on against $(link-rpcuserlibs).
33531 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33533 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33534 (__libc_stack_end): Do not use attribute_relro.
33535 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33536 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
33537 to libthread-provided value.
33538 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33541 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33544 * bits/libc-lock.h (__libc_once_get): New macro.
33545 * sysdeps/mach/bits/libc-lock.h: Likewise.
33546 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33547 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33548 instead of using implementation details.
33550 * libio/fileops.c: Unconditionally include <kernel-features.h>.
33551 * libio/freopen.c: Likewise.
33552 * libio/freopen64.c: Likewise.
33553 * misc/syslog.c: Likewise.
33554 * nscd/connections.c: Likewise.
33555 * nscd/netgroupcache.c: Likewise.
33556 * sysdeps/posix/getcwd.c: Likewise.
33558 2012-05-10 Roland McGrath <roland@hack.frob.com>
33560 * math/w_ilogbf.c: Add #include <limits.h>.
33562 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33564 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
33565 path instead of returning without unlocking.
33567 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33568 immediate-write ioctls.
33569 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33571 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33573 * sysdeps/mach/hurd/i386/init-first.c (init): Use
33574 __builtin_frame_address instead of making assumptions about the
33575 location of the return address relative to DATA. Force early load of
33576 the return address.
33577 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33578 __builtin_frame_address.
33581 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33582 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
33583 implement dup3 and do some further code clean-ups.
33584 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33585 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33587 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33589 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33591 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33592 HURD_CRITICAL_END around holding _hurd_dtable_lock.
33593 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33594 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33595 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33598 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33599 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
33600 when handler == SIG_ERR, not when handler != SIG_ERR.
33602 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33604 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33605 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33608 accept4 for GNU Hurd.
33609 * include/sys/socket.h (__libc_accept4): New prototype.
33610 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
33611 to implement __libc_accept4.
33612 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33614 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33616 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33617 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33618 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33619 signal-defines.sym.
33621 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33623 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
33625 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33627 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33628 assertion on O_CLOEXEC flag.
33629 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33630 * hurd/intern-fd.c: Likewise.
33631 * hurd/port2fd.c: Likewise.
33633 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33636 * bits/in.h (IPV6_PKTINFO): Define new macro.
33637 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33639 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33644 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33645 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33646 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
33647 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33648 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33649 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33650 * math/libm-test.inc (logb_test) : Additional logb tests.
33652 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
33653 Andreas Jaeger <aj@suse.de>
33655 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
33656 * configure: Regenerated.
33657 * config.h.in (LINK_OBSOLETE_RPC): New macro.
33658 * config.make.in (link-obsolete-rpc): New substituted variable.
33659 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
33660 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
33661 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33662 (shared-only-routines): Don't set it under [link-obsolete-rpc],
33663 so that libc.a contains the symbols.
33664 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33665 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
33666 * sunrpc/auth_none.c: Likewise.
33667 * sunrpc/auth_unix.c: Likewise.
33668 * sunrpc/authdes_prot.c: Likewise.
33669 * sunrpc/authuxprot.c: Likewise.
33670 * sunrpc/clnt_gen.c: Likewise.
33671 * sunrpc/clnt_perr.c: Likewise.
33672 * sunrpc/clnt_raw.c: Likewise.
33673 * sunrpc/clnt_simp.c: Likewise.
33674 * sunrpc/clnt_tcp.c: Likewise.
33675 * sunrpc/clnt_udp.c: Likewise.
33676 * sunrpc/clnt_unix.c: Likewise.
33677 * sunrpc/des_crypt.c: Likewise.
33678 * sunrpc/des_soft.c: Likewise.
33679 * sunrpc/get_myaddr.c: Likewise.
33680 * sunrpc/key_call.c: Likewise.
33681 * sunrpc/key_prot.c: Likewise.
33682 * sunrpc/netname.c: Likewise.
33683 * sunrpc/pm_getmaps.c: Likewise.
33684 * sunrpc/pm_getport.c: Likewise.
33685 * sunrpc/pmap_clnt.c: Likewise.
33686 * sunrpc/pmap_prot.c: Likewise.
33687 * sunrpc/pmap_prot2.c: Likewise.
33688 * sunrpc/pmap_rmt.c: Likewise.
33689 * sunrpc/publickey.c: Likewise.
33690 * sunrpc/rpc_cmsg.c: Likewise.
33691 * sunrpc/rpc_common.c: Likewise.
33692 * sunrpc/rpc_dtable.c: Likewise.
33693 * sunrpc/rpc_prot.c: Likewise.
33694 * sunrpc/rpc_thread.c: Likewise.
33695 * sunrpc/rtime.c: Likewise.
33696 * sunrpc/svc.c: Likewise.
33697 * sunrpc/svc_auth.c: Likewise.
33698 * sunrpc/svc_raw.c: Likewise.
33699 * sunrpc/svc_run.c: Likewise.
33700 * sunrpc/svc_tcp.c: Likewise.
33701 * sunrpc/svc_udp.c: Likewise.
33702 * sunrpc/svc_unix.c: Likewise.
33703 * sunrpc/svcauth_des.c: Likewise.
33704 * sunrpc/xcrypt.c: Likewise.
33705 * sunrpc/xdr.c: Likewise.
33706 * sunrpc/xdr_array.c: Likewise.
33707 * sunrpc/xdr_float.c: Likewise.
33708 * sunrpc/xdr_intXX_t.c: Likewise.
33709 * sunrpc/xdr_mem.c: Likewise.
33710 * sunrpc/xdr_rec.c: Likewise.
33711 * sunrpc/xdr_ref.c: Likewise.
33712 * sunrpc/xdr_sizeof.c: Likewise.
33713 * sunrpc/xdr_stdio.c: Likewise.
33715 2012-05-10 Roland McGrath <roland@hack.frob.com>
33717 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
33718 change. Update copyright years.
33720 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33722 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
33724 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
33725 Joseph Myers <joseph@codesourcery.com>
33726 Paul Pluzhnikov <ppluzhnikov@google.com>
33729 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
33731 [cross-compiling] (extra-libs): Likewise.
33732 [cross-compiling] (extra-libs-others): Likewise.
33733 [cross-compiling] (librpcsvc-routines): Likewise.
33734 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
33735 [cross-compiling] (omit-deps): Likewise.
33736 (sunrpc-CPPFLAGS): New variable.
33737 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
33738 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
33739 (cross-rpcgen-objs): New variable.
33740 (extra-objs): Append $(cross-rpcgen-objs).
33741 ($(cross-rpcgen-objs)): New rule.
33742 ($(objpfx)cross-rpcgen): Likewise.
33743 (rpcgen-cmd): Define to use $(built-program-file). Expand
33745 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
33746 ($(objpfx)x%.stmp): Likewise.
33747 * sunrpc/proto.h [IS_IN_build] (_): Define.
33748 [IS_IN_build] (_libc_intl_domainname): Likewise.
33750 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33752 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
33753 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
33754 and R_X86_64_TPOFF64.
33756 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33758 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
33759 sysdeps/unix/sysv/syscalls.list.
33762 * sysdeps/unix/sysv/syscalls.list: Remove file.
33764 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
33767 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
33768 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
33769 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
33770 (__LC_IDENTIFICATION): Make these macros useful in #if
33771 expressions, as required by C99.
33773 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
33775 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
33776 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
33779 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
33781 * stdlib/longlong.h: Updated from GCC.
33783 2012-05-09 Andreas Jaeger <aj@suse.de>
33785 * nscd/nscd.c (run_modes): Make named enum, reorder so that
33786 default is first entry.
33787 (run_mode): Set type.
33788 (main): Remove informal message about syslog.
33789 (options): Fix typo.
33792 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
33795 (llrintf): Likewise.
33796 (llrint): Likewise.
33799 (nearbyint): Likewise.
33800 (nearbyintf): Likewise.
33802 2012-05-09 Andreas Jaeger <aj@suse.de>
33803 Pedro Alves <palves@redhat.com>
33805 * nscd/nscd.c (run_mode): Use enum.
33806 (main): Cleanup coding style issue.
33808 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
33809 Andreas Jaeger <aj@suse.de>
33811 * nscd/nscd.c (go_background): Replaced with...
33812 (run_mode): ... this.
33813 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
33814 (options): Add -F --foreground.
33815 (main): Implement it.
33816 (parse_opt): Parse it.
33818 2012-05-09 Andreas Jaeger <aj@suse.de>
33821 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
33822 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
33823 -Wconversion warning.
33824 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
33827 2012-05-09 Joseph Myers <joseph@codesourcery.com>
33829 * conform/data/locale.h-data (NULL): Use macro-constant. Require
33831 (LC_ALL): Use macro-int-constant.
33832 (LC_COLLATE): Likewise.
33833 (LC_CTYPE): Likewise.
33834 (LC_MESSAGES): Likewise.
33835 (LC_MONETARY): Likewise.
33836 (LC_NUMERIC): Likewise.
33837 (LC_TIME): Likewise.
33838 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
33839 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33840 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33841 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
33843 [C99-based standards] (float_t): Expect type.
33844 [C99-based standards] (double_t): Expect type.
33845 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
33847 [C99-based standards] (HUGE_VALL): Likewise.
33848 [C99-based standards] (INFINITY): Likewise.
33849 [C99-based standards] (NAN): Likewise.
33850 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
33851 [C99-based standards] (FP_NAN): Likewise.
33852 [C99-based standards] (FP_NORMAL): Likewise.
33853 [C99-based standards] (FP_SUBNORMAL): Likewise.
33854 [C99-based standards] (FP_ZERO): Likewise.
33855 [C99-based standards] (FP_FAST_FMA): Use
33856 optional-macro-int-constant. Specify type. Require == 1.
33857 [C99-based standards] (FP_FAST_FMAF): Likewise.
33858 [C99-based standards] (FP_FAST_FMAL): Likewise.
33859 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
33860 [C99-based standards] (FP_ILOGBNAN): Likewise.
33861 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
33863 [C99-based standards] (MATH_ERREXCEPT): Likewise.
33864 [C99-based standards] (math_errhandling): Specify type.
33865 [ISO99 || ISO11] (signgam): Do not allow.
33866 [non-C99-based standards] (copysignf): Do not allow.
33867 [non-C99-based standards] (exp2f): Likewise.
33868 [non-C99-based standards] (log2f): Likewise.
33869 [non-C99-based standards] (modff): Allow.
33870 [non-C99-based standards] (erff): Do not allow.
33871 [non-C99-based standards] (erfcf): Likewise.
33872 [non-C99-based standards] (gammaf): Likewise.
33873 [non-C99-based standards] (hypotf): Likewise.
33874 [non-C99-based standards] (j0f): Likewise.
33875 [non-C99-based standards] (j1f): Likewise.
33876 [non-C99-based standards] (jnf): Likewise.
33877 [non-C99-based standards] (lgammaf): Likewise.
33878 [non-C99-based standards] (tgammaf): Likewise.
33879 [non-C99-based standards] (y0f): Likewise.
33880 [non-C99-based standards] (y1f): Likewise.
33881 [non-C99-based standards] (ynf): Likewise.
33882 [non-C99-based standards] (isnanf): Likewise.
33883 [non-C99-based standards] (acoshf): Likewise.
33884 [non-C99-based standards] (asinhf): Likewise.
33885 [non-C99-based standards] (atanhf): Likewise.
33886 [non-C99-based standards] (cbrtf): Likewise.
33887 [non-C99-based standards] (expm1f): Likewise.
33888 [non-C99-based standards] (ilogbf): Likewise.
33889 [non-C99-based standards] (log1pf): Likewise.
33890 [non-C99-based standards] (logbf): Likewise.
33891 [non-C99-based standards] (nextafterf): Likewise.
33892 [non-C99-based standards] (remainderf): Likewise.
33893 [non-C99-based standards] (rintf): Likewise.
33894 [non-C99-based standards] (scalbf): Likewise.
33895 [non-C99-based standards] (copysignl): Likewise.
33896 [non-C99-based standards] (exp2l): Likewise.
33897 [non-C99-based standards] (log2l): Likewise.
33898 [non-C99-based standards] (modfl): Allow.
33899 [non-C99-based standards] (erfl): Do not allow.
33900 [non-C99-based standards] (erfcl): Likewise.
33901 [non-C99-based standards] (gammal): Likewise.
33902 [non-C99-based standards] (hypotl): Likewise.
33903 [non-C99-based standards] (j0l): Likewise.
33904 [non-C99-based standards] (j1l): Likewise.
33905 [non-C99-based standards] (jnl): Likewise.
33906 [non-C99-based standards] (lgammal): Likewise.
33907 [non-C99-based standards] (tgammal): Likewise.
33908 [non-C99-based standards] (y0l): Likewise.
33909 [non-C99-based standards] (y1l): Likewise.
33910 [non-C99-based standards] (ynl): Likewise.
33911 [non-C99-based standards] (isnanl): Likewise.
33912 [non-C99-based standards] (acoshl): Likewise.
33913 [non-C99-based standards] (asinhl): Likewise.
33914 [non-C99-based standards] (atanhl): Likewise.
33915 [non-C99-based standards] (cbrtl): Likewise.
33916 [non-C99-based standards] (expm1l): Likewise.
33917 [non-C99-based standards] (ilogbl): Likewise.
33918 [non-C99-based standards] (log1pl): Likewise.
33919 [non-C99-based standards] (logbl): Likewise.
33920 [non-C99-based standards] (nextafterl): Likewise.
33921 [non-C99-based standards] (remainderl): Likewise.
33922 [non-C99-based standards] (rintl): Likewise.
33923 [non-C99-based standards] (scalbl): Likewise.
33924 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33925 [non-C99-based standards] (FP_*): Do not allow.
33926 [C99-based standards] (FP_*): Change to
33927 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33928 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33930 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
33931 (SIG_ERR): Likewise.
33932 [X/Open-based standards] (SIG_HOLD): Likewise.
33933 (SIG_IGN): Likewise.
33934 (SIGABRT): Use macro-int-constant. Specify type. Require
33936 (SIGFPE): Likewise.
33937 (SIGILL): Likewise.
33938 (SIGINT): Likewise.
33939 (SIGSEGV): Likewise.
33940 (SIGTER): Likewise.
33941 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
33942 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
33943 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
33944 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
33945 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
33946 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
33947 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
33948 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
33949 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
33950 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
33951 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
33952 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
33953 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
33954 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
33955 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
33956 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
33957 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
33958 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
33959 [X/Open-based standards] (SIGTRAP): Likewise.
33960 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
33961 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
33962 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
33963 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
33964 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33967 2012-05-08 Ian Wienand <ianw@vmware.com>
33970 * time/tzset.c (__tzset_parse_tz): Update default rules for
33971 daylight time changes in the Energy Policy Act of 2005.
33973 2012-05-09 Andreas Jaeger <aj@suse.de>
33976 * elf/ldconfig.c (parse_conf): Change string to make clear that
33977 ldconfig only issued a warning if ld.so.conf does not exist.
33979 2012-05-08 David S. Miller <davem@davemloft.net>
33981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
33982 movxtod instead of popping the value on the stack.
33984 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33986 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
33988 * config.h.in: Add HAVE_ARM_PCS_VFP.
33990 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
33993 * include/features.h: Warn if user requests __FORTIFY_SOURCE
33994 checking but the checks are disabled for any reason.
33996 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
33998 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33999 and ELF64_R_TYPE with ELFW(R_TYPE).
34001 2012-05-08 Joseph Myers <joseph@codesourcery.com>
34003 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
34004 (ulimit): Likewise.
34006 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
34007 (settimeofday): Likewise.
34009 2012-05-08 Mike Frysinger <vapier@gentoo.org>
34011 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
34012 a struct th_u2 inside the union, and move tu_block/tu_code into
34013 a new th_u3 union of tu_block/tu_code inside of that. Move
34014 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
34015 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
34016 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34017 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34018 (th_stuff): Change to th_u1.tu_stuff.
34020 (th_msg): Change to th_u1.th_u2.tu_data.
34022 2012-05-07 David S. Miller <davem@davemloft.net>
34024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34027 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34028 (SETUP_PIC_REG): Use it.
34029 (SETUP_PIC_REG_LEAF): Use it.
34031 2012-05-07 Joseph Myers <joseph@codesourcery.com>
34035 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34037 (EXPL_FINITE): Likewise.
34038 (FLDLOG): Likewise.
34039 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34040 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34042 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34044 (EXPL_FINITE): Likewise.
34045 (FLDLOG): Likewise.
34046 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34047 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34049 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
34050 test of -max_value argument for long double.
34051 * sysdeps/i386/fpu/libm-test-ulps: Update.
34052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34054 2012-05-06 David S. Miller <davem@davemloft.net>
34056 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34057 quad soft-float symbols whose references which are compiler
34059 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34061 2012-05-06 Joseph Myers <joseph@codesourcery.com>
34065 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34067 (EXPL_FINITE): Likewise.
34068 (FLDLOG): Likewise.
34071 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34072 Adjust comments for base varying.
34073 (__expl_finite): Change alias to EXPL_FINITE.
34074 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34076 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34077 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34078 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34079 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34080 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34082 (EXPL_FINITE): Likewise.
34083 (FLDLOG): Likewise.
34086 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34087 Adjust comments for base varying.
34088 (__expl_finite): Change alias to EXPL_FINITE.
34089 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
34091 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34094 * math/libm-test.inc (check_float_internal): Correct ulp
34095 calculation for subnormal expected results.
34097 2012-05-06 Andreas Jaeger <aj@suse.de>
34099 * Makeconfig (+math-flags): New, set to -frounding-math.
34100 (+cflags): Add +math-flags so that all of glibc gets compiled with
34103 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34105 2012-05-05 Joseph Myers <joseph@codesourcery.com>
34107 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34113 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34114 (__ieee754_expl): Allow for and saturate large arguments.
34115 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34116 (u_threshold): Likewise.
34117 (__exp): Call __ieee754_exp before checking for overflow and
34119 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34120 (u_threshold): Likewise.
34121 (__expf): Call __ieee754_expf before checking for overflow and
34123 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34124 (u_threshold): Likewise.
34125 (__expl): Call __ieee754_expl before checking for overflow and
34127 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34128 (__ieee754_expl): Allow for and saturate large arguments.
34129 * math/libm-test.inc (exp_test): Add another test. Do not allow
34130 missing overflow exception on overflow.
34131 (expm1_test): Do not allow missing overflow exception on overflow.
34133 * sysdeps/i386/fpu/e_expl.c: Move to ...
34134 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
34135 rather than using inline asm.
34136 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34137 * sysdeps/x86_64/fpu/e_expl.S: Copy from
34138 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
34140 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34143 (signal): Likewise.
34147 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34149 * sysdeps/unix/syscalls.list (adjtime): Add entry from
34150 sysdeps/unix/common/syscalls.list.
34151 (fchmod): Likewise.
34152 (fchown): Likewise.
34153 (ftruncate): Likewise.
34154 (getrusage): Likewise.
34155 (gettimeofday): Likewise.
34156 (setpgid): Likewise.
34157 (setregid): Likewise.
34158 (setreuid): Likewise.
34159 (sigaction): Likewise.
34160 (truncate): Likewise.
34161 (vhangup): Likewise.
34162 * sysdeps/unix/common/syscalls.list: Remove file.
34163 * sysdeps/unix/bsd/Implies: Don't include unix/common.
34164 * sysdeps/unix/sysv/linux/Implies: Likewise.
34166 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
34168 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
34169 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
34170 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
34172 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34174 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
34176 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
34177 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
34179 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
34180 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
34182 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
34183 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
34185 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
34186 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
34188 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
34189 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
34191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
34192 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
34194 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34196 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
34198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
34200 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
34202 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
34203 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
34205 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
34207 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
34209 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
34211 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34213 * sysdeps/unix/common/bits/dirent.h: Remove file.
34214 * sysdeps/unix/common/bits/fcntl.h: Likewise.
34216 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
34217 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
34218 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
34219 * sysdeps/unix/bsd/isatty.c: Likewise.
34220 * sysdeps/unix/bsd/tcdrain.c: Likewise.
34221 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
34222 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
34224 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34227 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
34228 long double comparison inaccuracies.
34229 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
34230 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34232 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
34234 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
34235 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
34237 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34240 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
34241 nonzero digits before rounding a hex value.
34242 * stdlib/tst-strtod.c (tests): Add another test.
34244 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34246 * sysdeps/s390/fpu/libm-test-ulps: Update.
34248 2012-05-03 Andreas Jaeger <aj@suse.de>
34250 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
34251 does not get optimized out.
34252 (malloc_opt_barrier): New.
34254 2012-05-03 Andreas Jaeger <aj@suse.de>
34255 Roland McGrath <roland@hack.frob.com>
34257 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
34258 intermediate file deletion.
34259 (generated): Add .symlist files.
34261 2012-05-03 Joseph Myers <joseph@codesourcery.com>
34264 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
34265 Redirect under this condition.
34266 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34267 [__USE_GNU] (__dprintf_chk): Not under this condition.
34268 [__USE_GNU] (__vdprintf_chk): Likewise.
34269 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
34270 under this condition.
34271 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34272 [__USE_XOPEN2K8] (dprintf): Define under this condition.
34273 [__USE_XOPEN2K8] (vdprintf): Likewise.
34274 [__USE_GNU] (__dprintf_chk): Not under this condition.
34275 [__USE_GNU] (__vdprintf_chk): Likewise.
34276 [__USE_GNU] (dprintf): Likewise.
34277 [__USE_GNU] (vdprintf): Likewise.
34279 2012-05-03 Roland McGrath <roland@hack.frob.com>
34281 * elf/Makefile (common-generated): Set this instead of generated for
34282 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
34283 $(all-built-dso)-derived lists.
34285 2012-05-03 Andreas Jaeger <aj@suse.de>
34287 * sysdeps/i386/fpu/libm-test-ulps: Update.
34290 * FAQ.in: Likewise.
34291 * scripts/gen-FAQ.pl: Likewise.
34292 * manual/install.texi (Installation): Point to online location of
34294 * Makefile (files-for-dist): Remove FAQ.
34297 2012-05-02 Allan McRae <allan@archlinux.org>
34299 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
34300 (LDFLAGS-reldepmod5.so): Likewise.
34301 (LDFLAGS-reldep6mod1.so): Likewise.
34302 (LDFLAGS-reldep6mod4.so): Likewise.
34303 (LDFLAGS-reldep8mod3.so): Likewise.
34304 (LDFLAGS-unload4mod1.so): Likewise.
34305 (LDFLAGS-unload4mod2.so): Likewise.
34306 (LDFLAGS-tst-initorder): Likewise.
34307 (LDFLAGS-tst-initordera2.so): Likewise.
34308 (LDFLAGS-tst-initordera3.so): Likewise.
34309 (LDFLAGS-tst-initordera4.so): Likewise.
34310 (LDFLAGS-tst-initorderb2.so): Likewise.
34311 (LDFLAGS-noload): Likewise.
34312 (LDFLAGS-next): Likewise.
34313 (LDFLAGS-order2mod1.so): Likewise.
34314 (LDFLAGS-order2mod2.so): Likewise.
34315 (LDFLAGS-tst-initorder2): Likewise.
34316 (LDFLAGS-tst-initorder2a.so): Likewise.
34317 (LDFLAGS-tst-initorder2b.so): Likewise.
34318 (LDFLAGS-tst-initorder2c.so): Likewise.
34319 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
34321 2012-05-02 David S. Miller <davem@davemloft.net>
34323 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34325 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
34328 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
34330 2012-05-02 Andreas Jaeger <aj@suse.de>
34332 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
34333 since we manipulate rounding mode.
34334 (CPPFLAGS-test-idouble.c): Likewise.
34335 (CPPFLAGS-test-ifloat.c): Likewise.
34336 (CFLAGS-test-ldouble.c): Likewise.
34337 (CFLAGS-test-double.c): Likewise.
34338 (CFLAGS-test-float.c): Likewise.
34339 (CFLAGS-test-misc.c): Likewise.
34340 (CFLAGS-test-test-fenv.c): Likewise.
34342 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34346 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
34347 comparisons to determine direction to adjust input.
34349 2012-05-01 Roland McGrath <roland@hack.frob.com>
34351 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
34352 output to the target.
34354 * scripts/localplt.awk: New file.
34355 * elf/Makefile ($(objpfx)check-localplt): Target removed.
34356 (check-localplt-CFLAGS): Variable removed.
34357 ($(all-built-dso:=.jmprel)): New static pattern rule.
34358 (generated): Add those targets.
34359 (localplt-built-dso): New variable.
34360 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
34362 * elf/check-localplt.c: File removed.
34364 * scripts/check-execstack.awk: New file.
34365 * elf/Makefile ($(objpfx)check-execstack): Target removed.
34366 (check-execstack-CFLAGS): Variable removed.
34367 ($(objpfx)check-execstack.h): Target removed.
34368 ($(objpfx)execstack-default): New target.
34369 (generated): Add that instead of check-execstack.h.
34370 ($(all-built-dso:=.phdr)): New static pattern rule.
34371 (generated): Add those targets.
34372 * elf/check-execstack.c: File removed.
34374 * scripts/check-textrel.awk: New file.
34375 * elf/Makefile ($(objpfx)check-textrel): Target removed.
34376 (check-textrel-CFLAGS): Variable removed.
34377 (all-built-dso): Use := to define.o
34378 ($(all-built-dso:=.dyn)): New static pattern rule.
34379 (generated): Add those targets.
34380 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
34381 * config.make.in (READELF): New substituted variable.
34382 * elf/check-textrel.c: File removed.
34384 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34386 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34388 * conform/data/ctype.h-data [C99-based standards] (isblank):
34390 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
34391 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
34392 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34393 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
34394 Specify type. Require positive value.
34395 (EILSEQ): Likewise.
34396 (ERANGE): Likewise.
34397 [ISO || POSIX] (EILSEQ): Do not expect.
34398 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
34399 Specify type. Require positive value.
34400 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
34401 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
34402 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
34403 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
34404 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
34405 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
34406 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
34407 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
34408 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
34409 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
34410 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
34411 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
34412 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
34413 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
34414 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
34415 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
34416 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
34417 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
34418 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
34419 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
34420 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
34421 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
34422 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
34423 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
34424 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
34425 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
34426 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
34427 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
34428 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
34429 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
34430 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
34431 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
34432 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
34433 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
34434 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
34435 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
34436 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
34437 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
34438 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
34439 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
34440 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
34441 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
34442 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
34443 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
34444 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
34445 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
34446 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
34447 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
34448 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
34449 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
34450 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
34451 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
34452 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
34453 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
34454 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
34455 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
34456 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
34457 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
34458 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
34459 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
34460 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
34461 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
34462 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
34463 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
34464 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
34465 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
34466 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
34467 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
34468 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
34469 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34470 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34471 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34472 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34473 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34474 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34475 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34476 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34478 (FLT_ROUNDS): Expect as macro, not constant.
34479 (FLT_MANT_DIG): Use macro-int-constant.
34480 (DBL_MANT_DIG): Likewise.
34481 (LDBL_MANT_DIG): Likewise.
34482 (FLT_DIG): Likewise.
34483 (DBL_DIG): Likewise.
34484 (LDBL_DIG): Likewise.
34485 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
34486 (DBL_MIN_EXP): Likewise.
34487 (LDBL_MIN_EXP): Likewise.
34488 (FLT_MAX_EXP): Use macro-int-constant.
34489 (DBL_MAX_EXP): Likewise.
34490 (LDBL_MAX_EXP): Likewise.
34491 (FLT_MAX_10_EXP): Likewise.
34492 (DBL_MAX_10_EXP): Likewise.
34493 (LDBL_MAX_10_EXP): Likewise.
34494 (FLT_MAX): Use macro-constant.
34495 (DBL_MAX): Likewise.
34496 (LDBL_MAX): Likewise.
34497 (FLT_EPSILON): Use macro-constant. Give upper bound.
34498 (DBL_EPSILON): Likewise.
34499 (LDBL_EPSILON): Likewise.
34500 (FLT_MIN): Likewise.
34501 (DBL_MIN): Likewise.
34502 (LDBL_MIN): Likewise.
34503 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34504 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34505 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34506 [ISO11] (FLT_HAS_SUBNORM): Likewise.
34507 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34508 [ISO11] (DBL_DECIMAL_DIG): Likewise.
34509 [ISO11] (FLT_DECIMAL_DIG): Likewise.
34510 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34511 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34512 [ISO11] (FLT_TRUE_MIN): Likewise.
34513 [ISO11] (LDBL_TRUE_MIN): Likewise.
34514 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34515 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34516 (SCHAR_MIN): Use macro-int-constant. Specify type.
34517 (SCHAR_MAX): Likewise.
34518 (UCHAR_MAX): Likewise.
34519 (CHAR_MIN): Likewise.
34520 (CHAR_MAX): Likewise.
34521 (MB_LEN_MAX): Use macro-int-constant.
34522 (SHRT_MIN): Use macro-int-constant. Specify type.
34523 (SHRT_MAX): Likewise.
34524 (USHRT_MAX): Likewise.
34525 (INT_MAX): Likewise.
34526 (INT_MIN): Use macro-int-constant. Specify type. Make upper
34528 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
34530 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34532 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
34533 bound negative. Suffix upper bound with "L".
34534 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34536 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34538 [C99-based standards] (LLONG_MAX): Likewise.
34539 [C99-based standards] (ULLONG_MAX): Likewise.
34540 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
34542 [ISO11] (max_align_t): Require type.
34543 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34545 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34546 from $CFLAGS, without defining away __attribute__ calls.
34547 (checknamespace): Use $CFLAGS_namespace.
34549 * conform/conformtest.pl (@keywords): Only include C99 keywords
34550 for standards based on C99 or C11.
34552 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34554 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34557 * conform/conformtest.pl: Handle "macro-int-constant" and test for
34558 usability of symbols in #if.
34560 * conform/conformtest.pl: If macro or constant types start
34561 "promoted:", expect the symbol to be of the following type
34562 promoted by the integer promotions.
34564 * conform/conformtest.pl: Parse all "constant" and "macro" lines
34565 in one place. Also handle "macro-constant".
34567 * conform/conformtest.pl: Only accept expected macro values with
34568 "==". Parse all "macro" lines in one place.
34569 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34571 * conform/conformtest.pl: Handle braced types on "constant" lines
34572 instead of handling "typed-constant".
34573 * conform/data/signal.h-data: Use "constant" instead of
34576 * conform/conformtest.pl: Handle "optional-" at start of lines in
34577 one place rather than duplicating several cases. Handle each
34578 format of "macro" line with initial "optional-".
34580 * conform/conformtest.pl: Only accept expected constant or
34581 optional-constant values with "==". Parse all "constant" lines in
34582 one place. Parse all "optional-constant" lines in one place.
34583 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34584 * conform/data/fmtmsg.h-data: Likewise.
34585 * conform/data/netinet/in.h-data: Likewise.
34586 * conform/data/tar.h-data: Likewise.
34587 * conform/data/limits.h-data: Use "==" form on "constant" and
34588 "optional-constant" lines.
34590 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34591 Use -std=c99 for XOPEN2K.
34592 (@knownproblems): Remove.
34593 (newtoken): Don't check %isknown.
34595 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34596 Do not expect macro.
34597 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34598 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34599 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34600 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34601 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34602 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34603 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34604 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34605 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34606 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34607 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34608 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34609 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34610 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34611 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34612 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34613 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34614 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34615 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34616 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34617 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34618 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34619 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34620 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34621 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34622 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34623 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34624 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34625 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34626 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34627 [XPG3] (acosh): Likewise.
34628 [XPG3] (asinh): Likewise.
34629 [XPG3] (atanh): Likewise.
34630 [XPG3] (cbrt): Likewise.
34631 [XPG3] (expm1): Likewise.
34632 [XPG3] (ilogb): Likewise.
34633 [XPG3] (log1p): Likewise.
34634 [XPG3] (logb): Likewise.
34635 [XPG3] (nextafter): Likewise.
34636 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34637 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34638 [XPG3] (remainder): Likewise.
34639 [XPG3] (rint): Likewise.
34640 [XPG3 || XPG4 || UNIX98] (round): Likewise.
34641 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34642 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34643 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34644 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34645 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34646 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
34647 [UNIX98 || XOPEN2K] (scalb): Expect.
34648 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
34649 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
34650 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
34651 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
34652 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
34653 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
34654 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
34655 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
34656 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
34657 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
34658 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
34659 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
34660 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
34661 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
34662 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
34663 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
34664 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
34665 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
34666 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
34667 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
34668 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
34669 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
34670 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
34671 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
34672 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
34673 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
34674 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
34675 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
34676 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
34677 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
34678 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
34679 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
34680 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
34681 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
34682 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
34683 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
34684 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
34685 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
34686 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
34687 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
34688 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
34689 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
34690 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
34691 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
34692 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
34693 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
34694 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
34695 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
34696 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
34697 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
34698 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
34699 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
34700 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
34701 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
34702 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
34703 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
34704 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
34705 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
34706 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
34707 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
34708 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
34709 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
34710 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
34711 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
34712 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
34713 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
34714 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
34715 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
34716 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
34717 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
34718 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
34719 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
34720 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
34721 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
34722 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
34723 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
34724 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
34725 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
34726 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
34727 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
34728 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
34729 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
34730 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
34731 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
34732 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
34733 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
34734 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
34735 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
34736 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
34737 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
34738 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
34739 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
34740 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
34741 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
34742 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
34743 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
34744 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
34745 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
34746 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
34747 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
34748 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
34749 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
34750 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
34751 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
34752 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
34753 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
34754 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
34755 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
34756 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
34757 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
34758 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
34759 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
34760 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
34761 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
34762 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
34763 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
34764 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
34765 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
34766 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
34767 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
34768 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
34769 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
34770 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
34771 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
34772 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
34773 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
34774 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
34775 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
34776 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
34777 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
34778 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
34779 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
34780 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
34781 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
34782 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
34783 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
34784 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
34786 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
34787 _XOPEN_SOURCE_EXTENDED for XPG4.
34789 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
34791 * Makeconfig (localtime): Remove variable.
34792 (inst_localtime-file): Likewise.
34794 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
34808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
34812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34815 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34819 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
34820 comparisons to determine direction to adjust input.
34821 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34822 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
34823 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34825 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34827 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34829 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34830 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34832 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34834 * math/libm-test.inc (nexttoward_test): Add more tests.
34836 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34839 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
34840 in version GLIBC_2.1, not GLIBC_2.0.
34841 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
34844 2012-04-30 Joseph Myers <joseph@codesourcery.com>
34847 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
34849 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34850 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
34851 * math/libm-test.inc (acos_test): Add more tests.
34852 (asin_test): Likewise.
34853 * sysdeps/i386/fpu/libm-test-ulps: Update.
34854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34857 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
34859 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
34860 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34861 * math/libm-test.inc (acos_test_tonearest): New function.
34862 (acos_test_towardzero): Likewise.
34863 (acos_test_downward): Likewise.
34864 (acos_test_upward): Likewise.
34865 (asin_test_tonearest): Likewise.
34866 (asin_test_towardzero): Likewise.
34867 (asin_test_downward): Likewise.
34868 (asin_test_upward): Likewise.
34869 (main): Call the new functions.
34870 * sysdeps/i386/fpu/libm-test-ulps: Update.
34871 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34875 * math/e_exp10.c: Include <float.h>.
34876 (__ieee754_exp10): Handle underflow here rather than multiplying
34877 large negative argument by M_LN10.
34878 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
34880 * math/e_exp10l.c: Include <float.h>.
34881 (__ieee754_exp10l): Handle underflow here rather than multiplying
34882 large negative argument by M_LN10l.
34883 * math/libm-test.inc (exp10_test): Add another test. Do not allow
34884 spurious overflow exception on underflow.
34886 2012-04-29 Marek Polacek <polacek@redhat.com>
34888 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
34889 (__fortify_function): New macro.
34890 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
34891 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
34892 __extern_always_inline.
34893 * libio/bits/stdio2.h: Likewise.
34894 * libio/bits/stdio.h: Likewise.
34895 * string/string.h: Likewise.
34896 * string/bits/string3.h: Likewise.
34897 * include/stdio.h: Likewise.
34898 * stdlib/bits/stdlib.h: Likewise.
34899 * stdlib/stdlib.h: Likewise.
34900 * rt/bits/mqueue2.h: Likewise.
34901 * rt/mqueue.h: Likewise.
34902 * posix/bits/unistd.h: Likewise.
34903 * posix/unistd.h: Likewise.
34904 * io/bits/poll2.h: Likewise.
34905 * io/bits/fcntl2.h: Likewise.
34906 * io/fcntl.h: Likewise.
34907 * io/sys/poll.h: Likewise.
34908 * misc/bits/syslog.h: Likewise.
34909 * misc/bits/syslog-ldbl.h: Likewise.
34910 * misc/sys/syslog.h: Likewise.
34911 * socket/bits/socket2.h: Likewise.
34912 * socket/sys/socket.h: Likewise.
34913 * debug/tst-chk1.c: Likewise.
34914 * wcsmbs/bits/wchar2.h: Likewise.
34915 * wcsmbs/bits/wchar-ldbl.h: Likewise.
34916 * wcsmbs/wchar.h: Likewise.
34918 2012-04-29 Andreas Jaeger <aj@suse.de>
34920 * Makerules (tests): Remove enable-check-abi protection.
34921 (check-abi-warn): Remove.
34922 (check-abi-%): Remove check-abi-warn usage.
34924 * configure.in: Remove check-abi configure option.
34925 * configure: Regenerated.
34926 * config.make.in (enable-check-abi): Remove.
34928 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
34931 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
34932 double functions to double *_finite functions.
34935 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
34936 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
34938 * stdio-common/Makefile (tests): Add tst-sprintf3.
34939 * stdio-common/tst-sprintf3.c: New file.
34941 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
34942 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
34944 2012-04-28 Joseph Myers <joseph@codesourcery.com>
34946 * conform/conformtest.pl: Remove duplicate typed-constant
34949 2012-04-28 David S. Miller <davem@davemloft.net>
34951 * Makerules (%.abilist): Add vpath on sysdep_dirs.
34952 (check-abi-%): Remove AWK script prerequisite and explicit
34954 (check-abi): Rewrite to just diff the symlist with the abilist.
34955 (config-tls, config-abi-config): Delete, no longer used.
34956 (update-abi-%): Remove AWK script and explicit abilist directory.
34957 (update-abi): Rewrite to simply compare and conditionally copy the
34958 symlist and the sysdep abilist file. Remove update-abi-config
34960 * abilist/ld.abilist: Remove.
34961 * abilist/libBrokenLocale.abilist: Remove.
34962 * abilist/libanl.abilist: Remove.
34963 * abilist/libcrypt.abilist: Remove.
34964 * abilist/libdl.abilist: Remove.
34965 * abilist/librt.abilist: Remove.
34966 * abilist/libthread_db.abilist: Remove.
34967 * abilist/libutil.abilist: Remove.
34968 * scripts/extract-abilist.awk: Remove.
34969 * scripts/merge-abilist.awk: Remove.
34970 * sysdeps/generic/libcidn.abilist: New file.
34971 * sysdeps/generic/libnss_compat.abilist: New file.
34972 * sysdeps/generic/libnss_db.abilist: New file.
34973 * sysdeps/generic/libnss_dns.abilist: New file.
34974 * sysdeps/generic/libnss_files.abilist: New file.
34975 * sysdeps/generic/libnss_hesiod.abilist: New file.
34976 * sysdeps/generic/libnss_nis.abilist: New file.
34977 * sysdeps/generic/libnss_nisplus.abilist: New file.
34978 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
34979 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34980 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
34982 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
34983 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34984 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34985 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34986 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34987 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34988 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34989 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34990 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34992 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34993 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34994 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34995 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34997 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34998 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34999 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35000 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
35001 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
35002 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
35004 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
35005 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
35006 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
35008 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
35009 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
35011 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
35013 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35015 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35017 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35019 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35021 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35023 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35025 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35027 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35029 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35031 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35033 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35064 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35066 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35068 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35070 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35072 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35074 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35076 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35078 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35080 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35082 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35084 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35086 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35087 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35089 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35091 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35093 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35095 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35097 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35099 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35101 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35103 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35105 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35107 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35109 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35111 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35112 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35113 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35115 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35116 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35117 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35118 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35119 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35120 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35121 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35122 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35123 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35124 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35126 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35130 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35132 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35134 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35136 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35138 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
35140 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35142 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35144 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
35146 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35148 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
35150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
35151 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
35153 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35155 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
35157 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
35159 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
35161 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
35163 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
35165 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35167 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35169 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
35171 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35173 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
35176 2012-04-28 Joseph Myers <joseph@codesourcery.com>
35178 * conform/conformtest.pl: Fix typo in handling typed-constant from
35181 2012-04-27 Joseph Myers <joseph@codesourcery.com>
35183 * README: Cut down references to pre-2.6 Linux kernels and
35184 Linuxthreads. Update lists of configurations in libc and ports
35185 and sort alphabetically. Say "or newer" with Linux kernel version
35188 * config.h.in [IS_IN_build]: Allow compiling without optimization.
35190 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35193 * math/libm-test.inc (logb_test_downward): New test to expose
35194 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
35197 2012-04-27 Joseph Myers <joseph@codesourcery.com>
35200 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
35202 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
35203 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
35205 2012-04-26 Joseph Myers <joseph@codesourcery.com>
35207 * sysdeps/unix/i386/brk.S: Remove file.
35208 * sysdeps/unix/i386/dl-brk.S: Likewise.
35209 * sysdeps/unix/i386/pipe.S: Likewise.
35210 * sysdeps/unix/i386/sigreturn.S: Likewise.
35211 * sysdeps/unix/i386/syscall.S: Likewise.
35212 * sysdeps/unix/i386/vfork.S: Likewise.
35213 * sysdeps/unix/i386/wait.S: Likewise.
35215 * sysdeps/unix/common/tcsendbrk.c: Move to ...
35216 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
35218 * configure.in (arm*-none*): Do not allow without
35219 --enable-hacker-mode.
35220 (netbsd*): Remove case setting base_os.
35221 (386bsd*): Likewise.
35222 (freebsd*): Likewise.
35225 (sunos*): Likewise.
35226 (ultrix*): Likewise.
35227 (newsos*): Likewise.
35228 (dynix*): Likewise.
35234 (minix*): Likewise.
35235 (irix4*): Likewise.
35236 (irix6*): Likewise.
35237 (solaris[2-9]*): Likewise.
35239 * configure: Regenerated.
35241 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35244 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
35245 overflow or cancellation in calculating denominator.
35246 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
35247 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
35248 down expression to avoid unexpected rounding in newer GCCs.
35249 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
35251 2012-04-26 David S. Miller <davem@davemloft.net>
35253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
35254 long-double compat symbols.
35255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
35259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
35261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
35262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
35263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
35264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
35266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
35267 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35269 2012-04-25 David S. Miller <davem@davemloft.net>
35271 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
35272 HWCAP_* values only after the memory barriers have been defined.
35273 (atomic_full_barrier): Define.
35274 (atomic_read_barrier): Define.
35275 (atomic_write_barrier): Define.
35277 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35279 * shlib-versions: Add libgcc_s version information.
35280 * sysdeps/generic/libgcc_s.h: Remove.
35281 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
35283 * sysdeps/gnu/unwind-resume.c: Likewise.
35284 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
35286 2012-04-25 David S. Miller <davem@davemloft.net>
35288 * sysdeps/unix/sparc/brk.S: Delete.
35289 * sysdeps/unix/sparc/dl-brk.S: Delete.
35290 * sysdeps/unix/sparc/pipe.S: Delete.
35291 * sysdeps/unix/sparc/sysdep.S: Delete.
35292 * sysdeps/unix/sparc/sysdep.h: Delete.
35293 * sysdeps/unix/sparc/vfork.S: Delete.
35294 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
35295 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
35296 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
35297 (ret_ERRVAL, r0, r1, MOVE): Define.
35298 (JUMPTARGET): Remove.
35299 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
35300 sysdeps/unix/sparc/sysdep.h
35301 (ENTRY, END): Remove.
35302 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35304 2012-04-25 Joseph Myers <joseph@codesourcery.com>
35306 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
35307 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
35310 * timezone/README: Update upstream location and email address for
35312 * timezone/zdump.c: Update from tzcode 2012b.
35313 * timezone/zic.c: Likewise.
35315 * configure.in (libc_cv_as_needed): Remove test.
35316 * configure: Regenerated.
35317 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
35318 conditional definition.
35319 [$(have-as-needed) != yes] (no-as-needed): Likewise.
35320 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
35321 * config.make.in (have-as-needed): Remove variable.
35323 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35324 Paul Pluzhnikov <ppluzhnikov@google.com>
35326 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
35329 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
35331 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
35332 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
35333 * sysdeps/sh/strlen.S: Likewise.
35335 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35337 * sysdeps/unix/fork.S: Remove file.
35338 * sysdeps/unix/i386/fork.S: Likewise.
35339 * sysdeps/unix/sparc/fork.S: Likewise.
35341 * sysdeps/unix/system.c: Remove file.
35342 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
35344 * sysdeps/unix/getegid.S: Remove file.
35345 * sysdeps/unix/geteuid.S: Likewise.
35347 2012-04-24 Roland McGrath <roland@hack.frob.com>
35349 * scripts/check-localplt.awk: New file.
35350 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
35352 * scripts/data/localplt-generic.data: Add a comment.
35354 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
35355 NODE when __dir_mkfile failed.
35356 * sysdeps/mach/hurd/symlinkat.c: Likewise.
35357 Reported by Ludovic Courtès <ludo@gnu.org>.
35359 2012-04-24 Andreas Jaeger <aj@suse.de>
35361 * Makerules (common-clean): Also remove gen-as-const-headers
35364 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35366 * Makerules (native-compile): Do not change working directory for
35367 build. Use $(OUTPUT_OPTION) in command.
35368 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
35370 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35373 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
35374 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
35375 * math/libm-test.inc (floor_test): Add more tests.
35376 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
35378 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35380 * sysdeps/unix/getdents.c: Remove file.
35381 * sysdeps/unix/sysv/getdents.c: Likewise.
35382 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
35384 * sysdeps/unix/syscalls.list (madvise): Add syscall from
35385 sysdeps/unix/mman/syscalls.list.
35387 (mprotect): Likewise.
35389 (munmap): Likewise.
35390 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
35391 * sysdeps/unix/mman/syscalls.list: Remove.
35392 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
35394 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
35395 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
35396 * configure: Regenerated.
35397 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
35398 $(libgcc_s_suffix).
35399 * config.make.in (libgcc_s_suffix): Remove variable.
35401 2012-04-23 Joseph Myers <joseph@codesourcery.com>
35403 * sysdeps/unix/sysv/gethostname.c: Move to ...
35404 * sysdeps/posix/gethostname.c: ... here.
35406 * sysdeps/unix/execve.S: Remove file.
35408 * sysdeps/unix/_exit.S: Remove file.
35410 2012-04-23 Andreas Jaeger <aj@suse.de>
35413 * manual/Makefile: Remove make dist support, there's no
35414 need for a stand-alone documentation tar ball.
35415 (TEXI2DVI): Define always, it's not in Makeconfig.
35418 (edition): Removed.
35419 (glibc-doc-$(edition).tar): Removed
35423 (ETAGS): Remove, it's in Makeconfig.
35424 (move-if-change): Remove, it's in Makeconfig.
35426 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
35429 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
35430 (strtod, strtof, strtold, strtol, strtoul, strtoq)
35431 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
35432 (strtod_l, strtof_l, strtold_l): Remove __wur.
35433 It is not necessarily an error to ignore strtol's return value.
35434 One can reliably look at the stored endptr to decide whether
35435 the number had valid syntax.
35437 2012-04-21 Andreas Jaeger <aj@suse.de>
35440 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
35442 2012-04-21 Joseph Myers <joseph@codesourcery.com>
35444 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
35445 * sysdeps/unix/sysv/Versions: Remove file.
35447 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
35450 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35452 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
35455 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
35456 version from __vm86.
35458 2012-04-20 Joseph Myers <joseph@codesourcery.com>
35460 * sysdeps/unix/common/lxstat.c: Remove file.
35461 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
35463 * sysdeps/unix/sysv/Makefile: Remove file.
35465 * sysdeps/unix/sysv/direct.h: Remove file.
35467 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
35468 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
35469 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35470 * sysdeps/unix/sysv/bits/signum.h: Likewise.
35471 * sysdeps/unix/sysv/bits/stat.h: Likewise.
35472 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35473 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35475 * sysdeps/unix/sysv/setrlimit.c: Remove file.
35477 * sysdeps/unix/xmknod.c: Remove file.
35478 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35480 * sysdeps/unix/sysv/settimeofday.c: Remove file.
35482 * sysdeps/unix/sysv/i386/time.S: Remove file.
35484 * sysdeps/unix/fxstat.c: Remove file.
35485 * sysdeps/unix/xstat.c: Likewise.
35486 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35488 * sysdeps/unix/sysv/sigaction.c: Remove file.
35490 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35491 (sysdep_headers): Remove variable.
35492 [termio.h not in sysdep_headers] (generated): Likewise.
35493 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35494 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35495 * sysdeps/unix/sysv/tcdrain.c: Likewise.
35496 * sysdeps/unix/sysv/tcflow.c: Likewise.
35497 * sysdeps/unix/sysv/tcflush.c: Likewise.
35498 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35499 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35500 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35501 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35502 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35504 * sysdeps/unix/siglist.c: Remove file.
35506 * sysdeps/unix/getppid.S: Remove file.
35508 * sysdeps/unix/mkdir.c: Remove file.
35509 * sysdeps/unix/rmdir.c: Likewise.
35511 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
35513 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35515 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35516 errlist-compat value.
35518 2012-04-18 David S. Miller <davem@davemloft.net>
35520 * sysdeps/generic/memcopy.h (reg_char): Delete.
35521 * debug/strcat_chk.c: Use char, not reg_char.
35522 * debug/strcpy_chk.c: Likewise.
35523 * debug/strncat_chk.c: Likewise.
35524 * debug/strncpy_chk.c: Likewise.
35525 * string/memchr.c: Likewise.
35526 * string/memrchr.c: Likewise.
35527 * string/rawmemchr.c: Likewise.
35528 * string/strcat.c: Likewise.
35529 * string/strchr.c: Likewise.
35530 * string/strchrnul.c: Likewise.
35531 * string/strcmp.c: Likewise.
35532 * string/strcpy.c: Likewise.
35533 * string/strncat.c: Likewise.
35534 * string/strncmp.c: Likewise.
35535 * string/strncpy.c: Likewise.
35537 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35539 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35540 __builtin_memcopy is called when src and dest ranges are known to not
35543 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35545 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35546 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35547 fwd_align_merge macro call.
35548 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35549 bwd_align_merge macro call.
35550 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35552 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35554 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35555 bwd_align_merge macros.
35556 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35557 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35558 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35560 2012-04-18 David S. Miller <davem@davemloft.net>
35562 * sysdeps/sparc/sparc64/memcopy.h: Delete.
35564 2012-04-18 Andreas Jaeger <aj@suse.de>
35567 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35568 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35569 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35571 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35572 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35573 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35575 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35576 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35577 Adjust for changed ldbl-128 files.
35579 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35580 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35581 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35583 2012-04-17 David S. Miller <davem@davemloft.net>
35585 * sysdeps/sparc/sparc32/memcopy.h: Delete.
35587 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
35589 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35590 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35591 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35592 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35593 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35594 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35596 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35599 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35600 * math/libm-test.inc: Add ilogb errno and exception tests.
35601 * math/w_ilogb.c: New file: ilogb wrapper.
35602 * math/w_ilogbf.c: New file: ilogbf wrapper.
35603 * math/w_ilogbl.c: New file: ilogbl wrapper.
35604 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35605 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35606 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35607 exception being thrown with 0.0 as argument.
35608 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35609 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35610 exception being thrown with 0.0 as argument.
35611 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35612 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35613 exception being thrown with 0.0 as argument.
35614 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35615 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35616 exception being thrown with 0.0 as argument.
35617 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35618 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
35619 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
35620 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35621 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35622 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35623 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35624 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35625 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35627 2012-04-17 Petr Baudis <pasky@ucw.cz>
35629 * include/sys/uio.h: Change __vector to __iovec to avoid clash
35632 2012-04-16 Marek Polacek <polacek@redhat.com>
35634 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35636 2012-04-16 Marek Polacek <polacek@redhat.com>
35638 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35639 operands of fdivp instruction.
35641 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35643 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35644 * elf/tst-auditmod3b.c: Likewise.
35645 * elf/tst-auditmod4b.c: Likewise.
35646 * elf/tst-auditmod5b.c: Likewise.
35647 * elf/tst-auditmod6b.c: Likewise.
35648 * elf/tst-auditmod6c.c: Likewise.
35649 * elf/tst-auditmod7b.c: Likewise.
35650 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
35651 * sysdeps/x86_64/preconfigure.in: Likewise.
35652 * sysdeps/x86_64/preconfigure: Regenerated.
35654 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35656 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
35659 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
35661 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35662 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
35664 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
35667 * locale/iso-639.def: Fix gl language name. Spotted by
35670 2012-04-12 Roland McGrath <roland@hack.frob.com>
35673 * libio/libio.h (__io_write_fn): Update comment.
35675 2012-04-12 Petr Baudis <pasky@ucw.cz>
35678 * stdio.texi (Hook Functions): The user provided writer function
35679 is not allowed to return -1.
35681 2012-04-11 David S. Miller <davem@davemloft.net>
35683 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35685 2012-04-11 Mike Frysinger <vapier@gentoo.org>
35687 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
35688 Add a leading slash to rtkaio.
35690 2012-04-11 Jim Meyering <meyering@redhat.com>
35693 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
35694 It is not necessarily an error to ignore fwrite's return
35695 value. One can reliably use ferror to test for errors after
35698 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35700 * bits/types.h (__snseconds_t): New type.
35701 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
35703 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35704 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35705 (__SNSECONDS_T_TYPE): Likewise.
35706 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35707 (__SNSECONDS_T_TYPE): Likewise.
35708 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35709 (__SNSECONDS_T_TYPE): Likewise.
35711 2012-04-10 Andreas Jaeger <aj@suse.de>
35714 * manual/time.texi (Processor Time): Return type of times is
35715 elapsed real time since an arbitrary point in the past.
35716 (CPU Time): Move CLK_TCK from here...
35717 (Processor Time): ...to here. Correct description.
35718 * manual/conf.texi (Constants for Sysconf): Correct description of
35721 2012-04-10 David S. Miller <davem@davemloft.net>
35724 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
35725 where the is a gap between DT_REL(A) and DT_JMPREL.
35727 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35729 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
35730 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35731 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35733 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35735 * elf/dl-support.c (_dl_inhibit_cache): New variable.
35736 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
35737 (dl_main): Handle --inhibit-cache.
35738 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
35740 * elf/dl-load.c (_dl_map_object): Use it.
35741 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
35743 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35746 * sysdeps/i386/fpu/e_powl.S (p78): New object.
35747 (__ieee754_powl): Saturate large exponents rather than testing for
35748 overflow of y*log2(x).
35749 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35750 * math/libm-test.inc (pow_test): Do not permit spurious overflow
35754 * math/s_ctan.c: Include <float.h>.
35755 (__ctan): Avoid internal overflow or cancellation in calculating
35757 * math/s_ctanf.c: Likewise.
35758 * math/s_ctanl.c: Likewise.
35759 * math/s_ctanh.c: Likewise.
35760 * math/s_ctanhf.c: Likewise.
35761 * math/s_ctanhl.c: Likewise.
35762 * math/libm-test.inc (ctan_test): Add more tests.
35763 (ctanh_test): Likewise.
35764 * sysdeps/i386/fpu/libm-test-ulps: Update.
35765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35767 2012-04-09 Andreas Jaeger <aj@suse.de>
35770 * manual/filesys.texi (Directory Entries): Mention that d_namlen
35771 is an optional BSD extension.
35774 * manual/stdio.texi (Opening Streams): Document additional fopen
35777 2012-04-09 Roland McGrath <roland@hack.frob.com>
35779 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
35780 %eax without telling the compiler.
35782 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
35785 * manual/install.texi: Use sourceware.org.
35787 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35790 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
35791 (__ieee754_pow): Generate overflow and underflow using huge*huge
35792 and tiny*tiny rather than just returning constant infinity or zero
35793 for large exponents.
35794 * math/libm-test.inc (pow_test): Require overflow exceptions for
35795 applicable cases of large exponents.
35798 * sysdeps/i386/fpu/e_pow.S (p10): New object.
35799 (__ieee754_pow): Use iterative multiplication algorithm only for
35800 integer exponents with absolute value below 1024. Check for odd
35801 integer exponents when using algorithm for real exponents.
35802 * math/libm-test.inc (pow_test): Add more tests.
35803 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35805 2012-04-08 Joseph Myers <joseph@codesourcery.com>
35808 * math/libm-test.inc (exp_test): Do not allow overflow exception
35811 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
35814 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
35815 instead of __kernel_standard_f.
35817 2012-04-08 Mike Frysinger <vapier@gentoo.org>
35819 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
35820 * sysdeps/x86_64/memset_chk.S: Likewise.
35822 2012-04-08 Andreas Jaeger <aj@suse.de>
35825 * manual/startup.texi (Environment Access): Describe return value
35826 for putenv and setenv.
35829 * manual/filesys.texi (Directory Entries): Add description for
35833 * manual/filesys.texi (Directory Entries): Clarify that it's file
35834 system not operating system in the description of DT_UNKNOWN.
35837 * manual/syslog.texi (closelog): Fix reference, it's openlog.
35839 2012-04-08 Stephen Compall <s11@member.fsf.org>
35842 * manual/llio.texi (Opening and Closing Files): Add cross
35843 reference to explain mode argument.
35845 2012-04-07 Mike Frysinger <vapier@gentoo.org>
35847 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
35848 * sysdeps/x86_64/memset_chk.S: Likewise.
35850 2012-04-07 David S. Miller <davem@davemloft.net>
35852 * elf/elf.h (R_SPARC_WDISP10): Define.
35853 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
35855 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
35856 R_SPARC_SIZE64 and R_SPARC_H34.
35858 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
35860 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
35861 conditions and remove no longer applicable assertion.
35863 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35865 * bits/byteswap.h: Include <features.h>.
35866 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35867 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35869 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35871 * bits/byteswap.h (__bswap_16): Removed.
35872 Include <bits/byteswap-16.h> to get __bswap_16.
35873 * sysdeps/i386/bits/byteswap.h: Likewise.
35874 * sysdeps/s390/bits/byteswap.h: Likewise.
35875 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35876 * bits/byteswap-16.h: New file.
35877 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35878 * sysdeps/s390/bits/byteswap-16.h: Likewise.
35879 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
35880 * string/Makefile (headers): Add bits/byteswap-16.h.
35882 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35885 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
35887 * nss/Makefile (tests-static, tests): Add tst-nss-static.
35888 * nss/tst-nss-static.c: New.
35890 2012-04-06 Robert Millan <rmh@gnu.org>
35893 * manual/llio.texi (File Position Primitive): lseek
35894 refers to WHENCE when it really means OFFSET.
35896 2012-04-06 Andreas Jaeger <aj@suse.de>
35898 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
35899 strncmp declarations.
35901 * abilist/libc.abilist: Add __poll and __ppoll.
35903 2012-04-05 David S. Miller <davem@davemloft.net>
35905 * scripts/check-local-headers.sh: Accept a host triplet in the
35906 path matched by the exclude regexp.
35908 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
35910 * sysdeps/powerpc/powerpc32/dl-machine.h
35911 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
35912 * sysdeps/s390/s390-32/dl-machine.h
35913 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35914 * sysdeps/sparc/sparc32/dl-machine.h
35915 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35916 * sysdeps/sparc/sparc64/dl-machine.h
35917 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35919 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
35921 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
35922 undefined symbol errors.
35924 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
35927 2012-04-05 Michael Matz <matz@suse.de>
35930 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
35932 2012-04-05 Andreas Jaeger <aj@suse.de>
35935 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
35938 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35940 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
35941 which ROUND is no valid rounding mode.
35943 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35945 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
35947 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
35949 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35951 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
35952 an exception using FPU order intentionally.
35954 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35956 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
35957 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
35958 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
35959 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
35961 2012-04-05 Simon Josefsson <simon@josefsson.org>
35964 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
35965 EINVAL when BUFLEN is too smal.
35967 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
35970 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
35971 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35973 2012-04-03 Andreas Jaeger <aj@suse.de>
35976 * manual/setjmp.texi (System V contexts): Fix sentence.
35979 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35980 New macro for this case.
35981 [!__GNUC__] (__bswap_64): New inline function for this case.
35982 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35983 * bits/byteswap.h: Likewise.
35984 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35985 ull, guard with __GLIBC_HAVE_LONG_LONG.
35987 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35988 __GLIBC_HAVE_LONG_LONG.
35990 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35991 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35993 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35996 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35997 inptr and inend, rather than using last_ch.
35999 2012-04-02 David S. Miller <davem@davemloft.net>
36001 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
36002 * stdio-common/printf-parse.h (read_int): Change return type to
36003 'int', return -1 on INT_MAX overflow.
36004 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
36005 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
36006 overflows INT_MAX. Check for overflow of in-format-string precision
36007 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
36008 SIZE_MAX not INT_MAX for integer overflow test.
36009 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
36010 skip the construct in the format string but do not record anything.
36011 * stdio-common/bug22.c: Adjust to test both width/prevision
36012 INT_MAX overflow as well as total length INT_MAX overflow. Check
36013 explicitly for proper errno values.
36015 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
36017 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36019 * string/test-strcmp.c [! WIDE]: Likewise.
36020 * time/tst-mktime2.c: Likewise for INT_MAX.
36021 * string/test-string.h: #include <sys/param.h> for MIN.
36023 * csu/init-first.c (__libc_init_first): Call __ctype_init.
36024 * sysdeps/i386/init-first.c (init): Likewise.
36025 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36026 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36027 * sysdeps/sh/init-first.c (init): Likewise.
36029 2012-04-01 Ulrich Drepper <drepper@gmail.com>
36031 * po/ru.po: Update from translation team.
36032 * po/vi.po: Likewise.
36034 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36036 * resolv/nss_dns/dns-host.c: Merge copyright years.
36038 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36040 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36041 Optimize memcpy with prefetch if
36042 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
36043 src, dst pointers have unequal 16 byte alignments.
36045 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36048 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36049 from a CNAME entry and return the minimum ttl for the query.
36050 (gaih_getanswer_slice): Likewise.
36052 2012-03-30 Jeff Law <law@redhat.com>
36054 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36056 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36057 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36059 * resolv/nss_dns/dns-host.c: Update copyright year.
36061 2012-03-30 Ulrich Drepper <drepper@gmail.com>
36063 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
36064 requests to save a system call. Fix check that all bytes are sent.
36066 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36067 comments for sendmmsg.
36069 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36072 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36073 with only 1 character between 0x0041 and 0x01b0.
36074 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36075 * wcsmbs/tst-mbsnrtowcs.c: New file.
36077 2012-03-29 David S. Miller <davem@davemloft.net>
36079 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36080 small copies by hand.
36082 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36085 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36086 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36089 2012-03-28 David S. Miller <davem@davemloft.net>
36091 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36092 that branches into memcpy.
36093 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36094 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36095 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36096 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36097 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36099 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36100 implementation too.
36101 * sysdeps/sparc/mempcpy.S: New file.
36103 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36104 the IFUNC routine in the libc case.
36105 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36107 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36108 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36109 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36110 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36111 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36112 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36113 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36114 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36116 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36117 loop to 256 bytes instead of 64 bytes and fix test signedness.
36119 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36120 * sysdeps/sparc/sparc32/Makefile: rather than here...
36121 * sysdeps/sparc/sparc64/Makefile: and here.
36123 2012-03-28 Ulrich Drepper <drepper@gmail.com>
36125 * malloc/mallocbug.c: Avoid warnings about unused variables.
36127 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36130 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36131 in the right place. Discard and retry query if response is
36132 larger than input buffer size.
36134 2012-03-28 Joseph Myers <joseph@codesourcery.com>
36139 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36140 x for large integer exponent.
36141 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36142 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
36143 sign of result as needed afterwards.
36144 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36145 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
36146 result for underflowing pow the same as for overflow.
36147 (__kernel_standard_l): Handle powl overflow and underflow here
36148 rather than calling __kernel_standard.
36149 * math/libm-test.inc (pow_test): Add more tests.
36164 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
36165 * sysdeps/ieee754/k_standard.c: Include <float.h>.
36166 (__kernel_standard_l): New function.
36167 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
36169 * math/w_acosl.c (__acosl): Likewise.
36170 * math/w_asinl.c (__asinl): Likewise.
36171 * math/w_atan2l.c (__atan2l): Likewise.
36172 * math/w_atanhl.c (__atanhl): Likewise.
36173 * math/w_coshl.c (__coshl): Likewise.
36174 * math/w_exp10l.c (__exp10l): Likewise.
36175 * math/w_exp2l.c (__exp2l): Likewise.
36176 * math/w_fmodl.c (__fmodl): Likewise.
36177 * math/w_hypotl.c (__hypotl): Likewise.
36178 * math/w_j0l.c (__j0l, __y0l): Likewise.
36179 * math/w_j1l.c (__j1l, __y1l): Likewise.
36180 * math/w_jnl.c (__jnl, __ynl): Likewise.
36181 * math/w_lgammal.c (__lgammal): Likewise.
36182 * math/w_log10l.c (__log10l): Likewise.
36183 * math/w_log2l.c (__log2l): Likewise.
36184 * math/w_logl.c (__logl): Likewise.
36185 * math/w_powl.c (__powl): Likewise.
36186 * math/w_remainderl.c (__remainderl): Likewise.
36187 * math/w_scalbl.c (sysv_scalbl): Likewise.
36188 * math/w_sinhl.c (__sinhl): Likewise.
36189 * math/w_sqrtl.c (__sqrtl): Likewise.
36190 * math/w_tgammal.c (__tgammal): Likewise.
36191 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
36192 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
36193 * math/libm-test.inc (acos_test): Add more tests.
36194 (acosh_test): Likewise.
36195 (asin_test): Likewise.
36196 (atanh_test): Likewise.
36197 (exp_test): Likewise.
36198 (exp10_test): Likewise.
36199 (exp2_test): Likewise.
36200 (expm1_test): Likewise.
36201 (lgamma_test): Likewise.
36202 (log_test): Likewise.
36203 (log10_test): Likewise.
36204 (log1p_test): Likewise.
36205 (log2_test): Likewise.
36206 (pow_test): Do not allow some spurious overflow exceptions.
36207 (sqrt_test): Add more tests.
36208 (tgamma_test): Likewise.
36209 (y0_test): Likewise.
36210 (y1_test): Likewise.
36211 (yn_test): Likewise.
36213 2012-03-27 Anton Blanchard <anton@samba.org>
36215 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
36217 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36218 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36219 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36221 2012-03-27 David S. Miller <davem@davemloft.net>
36223 * conform/Makefile: Run run-conformtest.sh using $(BASH).
36225 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
36226 have-as-vis3 check.
36228 2012-03-27 Andreas Jaeger <aj@suse.de>
36230 * sysdeps/x86_64/elf/configure.in: Moved to ...
36231 * sysdeps/x86_64/configure.in: ... here.
36232 * sysdeps/x86_64/elf/start.S: Moved to ...
36233 * sysdeps/x86_64/start.S: ... here.
36234 * sysdeps/x86_64/elf/configure: Delete.
36236 * sysdeps/x86_64/configure.in: Merge contents from
36237 sysdeps/i386/configure.in (without i686 check).
36239 * sysdeps/i386/elf/Versions: Merge into ...
36240 * sysdeps/i386/Versions: ... this.
36241 * sysdeps/i386/elf/Versions: Delete file.
36242 * sysdeps/i386/elf/start.S: Moved to ...
36243 * sysdeps/i386/start.S: ...here.
36244 * sysdeps/i386/elf/configure.in: Merge into...
36245 * sysdeps/i386/configure.in: ...here.
36246 * sysdeps/i386/elf/configure.in: Delete file.
36247 * sysdeps/i386/elf/configure: Delete file.
36249 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
36250 * debug/backtracesyms.c: ... here.
36251 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
36252 * debug/backtracesymsfd.c: ... here.
36253 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
36254 * sysdeps/generic/ifunc-sel.h: ... here.
36256 * sysdeps/unix/i386/start.c: Delete file.
36257 * sysdeps/unix/sparc/start.c: Delete file.
36258 * sysdeps/unix/start.c: Delete file.
36260 * sysdeps/sh/elf/configure.in: Moved to ...
36261 * sysdeps/sh/configure.in: ... here.
36262 * sysdeps/sh/elf/start.S: Moved to ...
36263 * sysdeps/sh/start.S: ... here.
36264 * sysdeps/sh/elf/configure: Delete file.
36266 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
36267 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
36268 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
36269 * sysdeps/powerpc/powerpc64/entry.h: ... here.
36270 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
36271 * sysdeps/powerpc/powerpc64/start.S: here.
36272 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
36273 * sysdeps/powerpc/powerpc64/Makefile: ... this.
36274 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
36275 * sysdeps/powerpc/powerpc64/configure.in: ... this.
36276 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
36278 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
36279 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
36280 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
36281 * sysdeps/powerpc/powerpc32/start.S: ... here.
36282 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
36283 * sysdeps/powerpc/powerpc32/configure.in: ... this.
36284 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
36286 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
36287 * sysdeps/powerpc/ifunc-sel.h: ... here.
36288 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
36289 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
36291 * sysdeps/sparc/elf/configure.in: Moved to ...
36292 * sysdeps/sparc/configure.in: ... here.
36293 * sysdeps/sparc/elf/configure: Delete file.
36294 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
36295 * sysdeps/sparc/sparc32/start.S: ... here.
36296 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
36297 * sysdeps/sparc/sparc64/start.S: ... here.
36298 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
36299 * sysdeps/sparc/sparc32/Makefile: ... this.
36300 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
36301 * sysdeps/sparc/sparc64/Makefile: ... this.
36303 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
36304 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
36305 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
36306 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
36307 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
36308 * sysdeps/s390/s390-32/setjmp.S: ... here.
36309 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
36310 * sysdeps/s390/s390-32/configure.in: ... here.
36311 * sysdeps/s390/s390-32/elf/configure: Delete file.
36312 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
36313 * sysdeps/s390/s390-32/start.S: ... here.
36315 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
36316 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
36317 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
36318 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
36319 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
36320 * sysdeps/s390/s390-64/setjmp.S: ... here.
36321 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
36322 * sysdeps/s390/s390-64/configure.in: ... here
36323 * sysdeps/s390/s390-64/elf/configure: Delete file.
36324 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
36325 * sysdeps/s390/s390-64/start.S: ... here.
36326 * sysdeps/s390/s390-64/elf/configure: Delete.
36328 * configure.in: Remove support for elf directories in sysdeps.
36330 * configure: Regenerated.
36331 * sysdeps/i386/configure: Regenerated.
36332 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36333 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36334 * sysdeps/s390/s390-32/configure: Regenerated.
36335 * sysdeps/s390/s390-64/configure: Regenerated.
36336 * sysdeps/sh/configure: Regenerated.
36337 * sysdeps/sparc/configure: Regenerated.
36338 * sysdeps/x86_64/configure: Regenerated.
36340 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
36342 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36344 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
36345 denormal result into account.
36347 2012-03-25 Roland McGrath <roland@hack.frob.com>
36349 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
36350 Reported by Allan McRae <allan@archlinux.org>.
36352 2012-03-23 Jeff Law <law@redhat.com>
36354 * nss/getnssent.c (__nss_getent): Fix typo.
36356 2012-03-23 David S. Miller <davem@davemloft.net>
36358 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36360 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
36362 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
36363 to pad to uint64_t for each field.
36364 (dl_tls_index): Replace unsigned long with uint64_t.
36366 2012-03-23 Daniel Jacobowitz <dmj@google.com>
36367 Paul Pluzhnikov <ppluzhnikov@google.com>
36370 * grp/Makefile (otherlibs): Don't set it.
36371 * inet/Makefile (otherlibs): Likewise.
36372 * login/Makefile (otherlibs): Likewise.
36373 * nscd/Makefile (otherlibs): Likewise.
36374 * posix/Makefile (otherlibs): Likewise.
36375 * pwd/Makefile (otherlibs): Likewise.
36376 * rt/Makefile (otherlibs): Likewise.
36377 * sunrpc/Makefile (otherlibs): Likewise.
36378 * nss/Makefile (otherlibs): Likewise.
36379 Add libnss_files to routines and static-only-routines.
36380 ($(objpfx)getent): Remove rule.
36381 * resolv/Makefile: Add libnss_dns and libresolv to routines and
36382 static-only-routines.
36384 2012-03-22 Joseph Myers <joseph@codesourcery.com>
36387 * math/s_cexp.c: Include <float.h>.
36388 (__cexp): Handle exp result overflowing not necessarily
36389 overflowing both real and imaginary parts of result.
36390 * math/s_cexpf.c: Likewise.
36391 * math/s_cexpl.c: Likewise.
36392 * math/libm-test.inc (cexp_test): Add more tests.
36393 * sysdeps/i386/fpu/libm-test-ulps: Update.
36394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36396 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36398 * include/link.h (ELFW): New macro.
36399 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
36400 Replace ELF64_R_TYPE with ELFW(R_TYPE).
36402 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36404 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
36407 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36409 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
36411 (struct La_x32_retval): Likewise.
36413 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36415 * sysdeps/x86_64/preconfigure.in: New file.
36416 * sysdeps/x86_64/preconfigure: New generated file.
36418 2012-03-22 Joseph Myers <joseph@codesourcery.com>
36421 * math/e_exp2l.c: Include <float.h>.
36422 (__ieee754_exp2l): Handle overflow and underflow cases
36423 separately. Only pass fractional part of argument to
36425 * math/libm-test.inc (exp2_test): Add more tests.
36427 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
36428 negating x to take absolute value.
36429 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36431 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36432 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
36434 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
36435 computing low part if x was negated.
36436 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36438 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36440 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
36441 la_x32_gnu_pltexit.
36442 (pltexit): Cast int_retval to ptrdiff_t.
36443 * elf/tst-auditmod3b.c: Likewise.
36444 * elf/tst-auditmod4b.c: Likewise.
36445 * elf/tst-auditmod5b.c: Likewise.
36446 * elf/tst-auditmod6b.c: Likewise.
36447 * elf/tst-auditmod6c.c: Likewise.
36448 * elf/tst-auditmod7b.c: Likewise.
36450 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
36451 and x32_gnu_pltexit.
36453 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
36454 __ELF_NATIVE_CLASS.
36455 (La_x32_regs): New macro.
36456 (La_x32_retval): Likewise.
36457 (la_x32_gnu_pltenter): New function prototype.
36458 (la_x32_gnu_pltexit): Likewise.
36460 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
36462 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
36465 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36467 * configure.in (libc_cv_cc_nofma): Check for option to disable
36468 generation of FMA instructions.
36469 * configure: Regenerate.
36470 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36471 * sysdeps/ieee754/dbl-64/Makefile: New file.
36472 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36473 Remove brandred-fma4.
36474 (CFLAGS-brandred-fma4.c): Remove.
36475 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36476 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36478 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36481 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36483 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36484 LLONG_MAX != LONG_MAX.
36485 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36486 (_fitoa_word): Likewise.
36487 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36488 LLONG_MAX != LONG_MAX.
36489 * stdio-common/_itowa.h: Include <_itoa.h>.
36490 (_itowa_word): Use _ITOA_WORD_TYPE on value.
36491 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
36492 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
36493 only if not defined.
36494 (_ITOA_WORD_TYPE): Likewise.
36495 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36496 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36498 2012-03-21 David S. Miller <davem@davemloft.net>
36500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36502 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36504 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36505 of x86_64 when setting libc_cv_slibdir, libdir and
36507 * sysdeps/unix/sysv/linux/configure: Regenerated.
36509 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36511 * manual/lang.texi (Old Varargs): Remove section.
36512 (How Variadic): Update menu.
36513 (va_start): Do not mention varargs.h.
36515 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36516 Joseph Myers <joseph@codesourcery.com>
36518 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36520 * configure: Regenerated.
36522 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36524 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36525 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36528 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36531 * Makefile (files-for-dist): Remove NOTES.
36532 (NOTES): Remove rule.
36533 * README: Don't refer to NOTES.
36534 * manual/creature.texi: Don't include macros.texi.
36535 * manual/intro.texi (creature.texi): Remove comment referring to
36538 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36539 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36540 * configure: Regenerated.
36541 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36542 LIBC_TRY_CC_OPTION.
36543 (libc_cv_as_i686): Likewise.
36544 (libc_cv_cc_avx): Likewise.
36545 (libc_cv_cc_sse2avx): Likewise.
36546 (libc_cv_cc_fma4): Likewise.
36547 (libc_cv_cc_novzeroupper): Likewise.
36548 * sysdeps/i386/configure: Regenerated.
36551 * sysdeps/i386/fpu/s_cexp.S: Remove.
36552 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36553 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36554 * math/libm-test.inc (cexp_test): Add more tests.
36555 * sysdeps/i386/fpu/libm-test-ulps: Update.
36556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36558 2012-03-21 Allan McRae <allan@archlinux.org>
36560 * timezone/Makefile: Do not install iso3166.tab and zone.tab
36562 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36565 * math/w_exp2.c: Do not include <float.h>.
36566 (o_threshold, u_threshold): Remove.
36567 (__exp2): Calculate result before checking finiteness and calling
36569 * math/w_exp2f.c: Likewise.
36570 * math/w_exp2l.c: Likewise.
36571 * math/libm-test.inc (exp2_test): Require overflow exception for
36575 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36576 range of signed 64-bit integers before using fistpll. Remove
36577 checks for whether integers fit in mantissa bits.
36578 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36579 the range of signed 32-bit integers before using fistpl. Remove
36580 checks for whether integers fit in mantissa bits.
36581 * sysdeps/i386/fpu/e_powl.S (p64): New object.
36582 (__ieee754_powl): Test for y outside the range of signed 64-bit
36583 integers before using fistpll. Reduce 64-bit values to 63-bit
36585 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36586 divide-by-zero is raised for zero to large negative powers.
36587 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36588 (__ieee754_powl): Test for y outside the range of signed 64-bit
36589 integers before using fistpll. Reduce 64-bit values to 63-bit
36591 * math/libm-test.inc (pow_test): Add more tests.
36593 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36595 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36596 <stdio-common/_itoa.h>.
36597 * debug/segfault.c: Likewise.
36598 * elf/dl-cache.c: Likewise.
36599 * elf/dl-minimal.c: Likewise.
36600 * elf/dl-misc.c: Likewise.
36601 * elf/dl-sysdep.c: Likewise.
36602 * elf/dl-version.c: Likewise.
36603 * elf/rtld.c: Likewise.
36604 * hurd/hurdsock.c: Likewise.
36605 * hurd/lookup-retry.c: Likewise.
36606 * malloc/malloc.c: Likewise.
36607 * malloc/mtrace.c: Likewise.
36608 * nscd/nscd_getgr_r.c: Likewise.
36609 * nscd/nscd_getpw_r.c: Likewise.
36610 * nscd/nscd_getserv_r.c: Likewise.
36611 * posix/getopt_init.c: Likewise.
36612 * posix/wordexp.c: Likewise.
36613 * stdio-common/_itoa.c: Likewise.
36614 * stdio-common/printf_fphex.c: Likewise.
36615 * stdio-common/vfprintf.c: Likewise.
36616 * string/_strerror.c: Likewise.
36617 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36618 * sysdeps/i386/i686/hp-timing.h: Likewise.
36619 * sysdeps/mach/_strerror.c: Likewise.
36620 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36621 * sysdeps/mach/hurd/sethostid.c: Likewise.
36622 * sysdeps/mach/hurd/xmknodat.c: Likewise.
36623 * sysdeps/mach/xpg-strerror.c: Likewise.
36624 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36625 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36626 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36627 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36628 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36629 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36630 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36631 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36632 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36633 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36634 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36635 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36636 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36637 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36638 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36639 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36640 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36641 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36642 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36643 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36644 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36646 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
36648 * stdio-common/_itoa.h: Moved to ...
36649 * sysdeps/generic/_itoa.h: Here.
36651 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
36653 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
36654 instead of "_itoa.h" and "_itowa.h".
36655 * stdio-common/vfprintf.: Likewise.
36657 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36659 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
36661 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
36662 (__signbit): Likwise.
36663 (llrintf): Likwise.
36666 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36668 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
36671 2012-03-20 Joseph Myers <joseph@codesourcery.com>
36673 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
36674 OVERFLOW_EXCEPTION_OK.
36675 * math/libm-test.inc ("Philosophy"): Update comment about
36677 (OVERFLOW_EXCEPTION): Define.
36678 (OVERFLOW_EXCEPTION_OK): Likewise.
36679 (INVALID_EXCEPTION_OK): Renumber.
36680 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36681 (IGNORE_ZERO_INF_SIGN): Likewise.
36682 (test_exceptions): Handle FE_OVERFLOW.
36683 (exp10_test): Expect overflow exceptions.
36684 (exp2_test): Likewise.
36685 (expm1_test): Likewise.
36686 (nextafter_test): Likewise.
36687 (pow_test): Likewise.
36688 (scalbn_test): Likewise.
36689 (scalbln_test): Likewise.
36691 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36693 * sysdeps/x86_64/bits/atomic.h
36694 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
36696 (atomic_exchange_acq): Likewise.
36697 (__arch_exchange_and_add_body): Likewise.
36698 (__arch_add_body): Likewise.
36699 (atomic_add_negative): Likewise.
36700 (atomic_add_zero): Likewise.
36702 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36704 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
36705 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
36707 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36709 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
36710 Check __x86_64__ instead of __WORDSIZE.
36712 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36714 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
36716 2012-03-19 David S. Miller <davem@davemloft.net>
36718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36720 * sysdeps/sparc/fpu/fenv_private.h: New file.
36721 * sysdeps/sparc/fpu/math_private.h: Use it.
36722 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
36724 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
36725 (libc_feholdexcept_setroundl): Remove.
36726 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
36728 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
36729 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
36731 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36733 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
36734 int64_t instead of long int.
36735 (INSERT_WORDS64): Likwise.
36737 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36739 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
36740 _Unwind_GetCFA return to _Unwind_Ptr first.
36742 2012-03-19 Joseph Myers <joseph@codesourcery.com>
36745 * math/s_clog.c: Include <float.h>.
36746 (__clog): Scale large or subnormal inputs.
36747 * math/s_clogf.c: Likewise.
36748 * math/s_clogl.c: Likewise.
36749 * math/s_clog10.c: Include <float.h>.
36750 (M_LOG10_2): Define.
36751 (__clog10): Scale large or subnormal inputs.
36752 * math/s_clog10f.c: Likewise.
36753 * math/s_clog10l.c: Likewise.
36754 * math/libm-test.inc (clog_test): Add more tests.
36755 (clog10_test): Likewise.
36756 * sysdeps/i386/fpu/libm-test-ulps: Update.
36757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36760 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
36762 * math/libm-test.inc (atan2_test): Add another test.
36764 * Makerules (common-objdir-compile): Remove.
36765 * sysdeps/unix/Makefile (config-generated): Do not add
36766 $(unix-generated) to variable.
36767 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
36768 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
36770 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
36772 [generic bits/local_lim.h] (before-compile): Do not append to
36774 [generic bits/local_lim.h] (common-generated): Likewise.
36775 [generic sys/param.h] (before-compile): Do not append to variable.
36776 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
36777 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
36778 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
36779 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
36781 [generic sys/param.h] (sys/param.h-includes): Remove variable.
36782 [generic sys/param.h] (sys/param.h-includes): Remove rule.
36783 [generic sys/param.h] ($(addprefix
36784 $(common-objpfx),$(sys/param.h-includes))): Likewise.
36785 [generic sys/param.h] (common-generated): Do not append to
36787 [generic sys/param.h] (sysdep_headers): Likewise.
36788 [generic bits/errno.h] (before-compile): Do not append to
36790 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
36792 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
36793 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
36794 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
36795 [generic bits/errno.h] (common-generated): Do not append to
36797 [generic bits/ioctls.h] (before-compile): Do not append to
36799 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
36801 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
36802 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
36803 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
36805 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
36806 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
36807 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
36808 [generic bits/ioctls.h] (common-generated): Do not append to
36810 [generic sys/syscall.h] (syscall.h): Remove variable.
36811 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
36813 [generic sys/syscall.h] (before-compile): Do not append to
36815 [generic sys/syscall.h] (common-generated): Likewise.
36816 * sysdeps/unix/errnos-tmpl.c: Remove file.
36817 * sysdeps/unix/errnos.awk: Likewise.
36818 * sysdeps/unix/ioctls-tmpl.c: Likewise.
36819 * sysdeps/unix/ioctls.awk: Likewise.
36820 * sysdeps/unix/mk-local_lim.c: Likewise.
36821 * sysdeps/unix/snarf-ioctls: Likewise.
36823 2012-03-19 Richard Henderson <rth@twiddle.net>
36825 * sysdeps/i386/fpu/fenv_private.h: New file.
36826 * sysdeps/i386/fpu/math_private.h: Use it.
36827 (math_opt_barrier, math_force_eval): Remove.
36828 (libc_feholdexcept_setround_53bit): Remove.
36829 (libc_feupdateenv_53bit): Remove.
36830 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36831 (math_opt_barrier, math_force_eval): Remove.
36832 (libc_feholdexcept): Remove.
36833 (libc_feholdexcept_setround): Remove.
36834 (libc_fetestexcept, libc_fesetenv): Remove.
36835 (libc_feupdateenv_test): Remove.
36836 (libc_feupdateenv, libc_feholdsetround): Remove.
36837 (libc_feresetround): Remove.
36839 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
36840 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36842 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
36843 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
36844 (libc_feupdateenv_testl): New.
36845 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
36846 (libc_feupdateenv_testf): New.
36847 (libc_feupdateenv): Use libc_feupdateenv_test.
36848 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
36849 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
36851 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
36852 (libc_feholdsetroundf, libc_feholdsetroundl): New.
36853 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
36854 (libc_feresetround_noex): New.
36855 (libc_feresetround_noexf): New.
36856 (libc_feresetround_noexl): New.
36857 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
36858 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
36859 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
36860 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
36862 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36863 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
36865 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
36866 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
36867 SET_RESTORE_ROUND_NOEX.
36868 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
36869 SET_RESTORE_ROUND_NOEXF.
36870 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
36871 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
36872 (libc_feholdsetroundf): New.
36873 (libc_feresetround, libc_feresetroundf): New.
36875 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
36876 (libc_feholdexcept_setround_53bit): Convert from macro to function.
36877 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
36879 * sysdeps/generic/math_private.h: Include <fenv.h>.
36880 (default_libc_feholdexcept): New.
36881 (default_libc_feholdexcept_setround): New.
36882 (default_libc_fesetenv, default_libc_feupdateenv): New.
36883 (libc_feholdexcept): Only define if undefined.
36884 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
36885 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
36886 (libc_feholdexcept_setroundl): Likewise.
36887 (libc_feholdexcept_setround_53bit): Likewise.
36888 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
36889 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
36890 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
36891 (libc_feupdateenv_53bit): Likewise.
36892 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
36893 (libc_feholdexcept): Convert from macro to inline function.
36894 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
36895 (libc_fesetenv, libc_feupdateenv): Likewise.
36897 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
36898 not previously defined.
36899 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
36900 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
36901 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
36902 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
36903 * sysdeps/ieee754/flt-32/math_private.h: New file.
36904 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
36905 math_private.h below SET_FLOAT_WORD.
36906 (__isnan, __isinf_ns, __finite): Remove.
36907 (__isnanf, __isinf_nsf, __finitef): Remove.
36909 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
36911 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36913 2012-03-17 David S. Miller <davem@davemloft.net>
36916 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
36919 2012-03-16 David S. Miller <davem@davemloft.net>
36921 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
36925 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
36927 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
36928 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
36929 sysdep_routines when subdir is sysvipc.
36930 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
36931 __getshmlba helper.
36933 * sysdeps/sparc/fpu/libm-test/ulps: Update.
36935 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36937 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
36940 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36942 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
36943 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
36944 (__lround): Renamed to ...
36945 (__llround): This. Replace long int with long long int.
36946 Define lround functions as aliases of llround functions.
36947 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
36949 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36951 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
36952 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
36953 adresses to uintptr_t. Replace "long int" and "unsigned long
36954 int" with "greg_t" on va_arg.
36956 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36958 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
36959 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
36961 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
36962 Move e_machine check before EI_CLASS check. Handle x32
36963 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
36964 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
36965 SKIP_EM_IA_64 and include
36966 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
36968 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
36969 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
36970 (add_system_dir): New macro.
36972 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
36973 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
36975 2012-03-16 Joseph Myers <joseph@codesourcery.com>
36986 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36988 * math/w_j0f.c (j0f): Likewise.
36990 * math/w_j0l.c (__j0l): Likewise.
36992 * math/w_j1.c (j1): Likewise.
36994 * math/w_j1f.c (j1f): Likewise.
36996 * math/w_j1l.c (__j1l): Likewise.
36998 * math/w_jn.c (jn): Likewise.
37000 * math/w_jnf.c (jnf): Likewise.
37002 * math/w_jnl.c (__jnl): Likewise.
37004 * math/libm-test.inc (j0_test): Add more tests.
37005 (j1_test): Likewise.
37006 (jn_test): Likewise. Add trailing semicolon to existing test.
37007 (y0_test): Likewise.
37008 (y1_test): Likewise.
37009 * sysdeps/i386/fpu/libm-test-ulps: Update.
37010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37014 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37015 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37016 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37017 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37018 (__tanl): Set errno for infinite argument.
37019 * sysdeps/i386/fpu/mptan.c: Remove.
37020 * sysdeps/i386/fpu/s_tan.S: Likewise.
37021 * sysdeps/i386/fpu/s_tanl.S: Likewise.
37022 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37023 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37024 * math/libm-test.inc (tan_test): Add more tests and enable more
37025 tests for double and long double.
37026 * sysdeps/i386/fpu/libm-test-ulps: Update.
37027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37029 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
37031 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37032 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37034 2012-03-16 Roland McGrath <roland@hack.frob.com>
37036 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37037 * configure.in: Use it for both main tree and add-ons.
37038 * configure: Regenerated.
37040 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37042 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37044 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37046 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37050 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37051 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37052 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37053 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37054 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37056 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37057 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37058 != 0 for prec == 2.
37059 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37060 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37061 * sysdeps/i386/fpu/s_cosl.S: Likewise.
37062 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37063 * sysdeps/i386/fpu/s_sinl.S: Likewise.
37064 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37065 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37066 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37067 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37068 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37069 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37070 * math/libm-test.inc (cos_test): Add more tests and enable more
37071 tests for long double.
37072 (sin_test): Likewise.
37073 (sincos_test): Likewise.
37074 * sysdeps/i386/fpu/libm-test-ulps: Update.
37075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37077 2012-03-16 David S. Miller <davem@davemloft.net>
37079 * sysdeps/sparc/fpu/math_private.h: New file.
37081 2012-03-15 David S. Miller <davem@davemloft.net>
37083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
37086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37089 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37090 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37091 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37092 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37093 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37097 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37098 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37100 * sysdeps/sparc/sparc-ifunc.h: New file.
37101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
37117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37125 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37126 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37127 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37128 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37129 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37130 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37131 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37132 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37133 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37134 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37135 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37136 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37137 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37138 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37139 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
37140 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
37141 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
37142 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
37143 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
37144 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
37146 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37148 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
37150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37152 2012-03-15 Andreas Jaeger <aj@suse.de>
37155 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
37156 ieee754/flt-32 implementation for sin, cos and sincos.
37157 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
37158 * sysdeps/i386/fpu/s_cosf.S: Likewise.
37159 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
37160 * sysdeps/i386/fpu/s_sinf.S: Likewise.
37161 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
37162 ieee754/flt-32 implementation for tan.
37164 * math/libm-test.inc (cos_test): Enable some large input tests for
37166 (sin_test): Likewise.
37167 (sincos_test): Likewise.
37168 (tan_test): Add tests for large input.
37170 * sysdeps/i386/fpu/libm-test-ulps: Update.
37172 2012-03-15 Andreas Jaeger <aj@suse.de>
37175 * math/libm-test.inc (cos_test): Add more test cases.
37176 (sin_test): Likewise.
37177 (sincos_test): Likewise.
37179 2012-03-15 Andreas Jaeger <aj@suse.de>
37182 * math/libm-test.inc (cos_test): Add a test case for large input
37184 (sin_test): Likewise.
37185 (sincos_test): Likewise.
37187 2012-03-15 Andreas Jaeger <aj@suse.de>
37188 Joseph Myers <joseph@codesourcery.com>
37191 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
37192 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
37193 * sysdeps/i386/fpu/branred.c: Likewise.
37194 * sysdeps/i386/fpu/dosincos.c: Likewise.
37195 * sysdeps/i386/fpu/mpa.c: Likewise.
37196 * sysdeps/i386/fpu/s_cos.S: Likewise.
37197 * sysdeps/i386/fpu/s_sin.S: Likewise.
37198 * sysdeps/i386/fpu/s_sincos.S: Likewise.
37199 * sysdeps/i386/fpu/sincos32.c: Likewise.
37201 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
37203 (libc_feupdateenv_53bit): Define.
37204 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
37206 (libc_feupdateenv_53bit): Define.
37208 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
37209 53 bit (without extend i386 double precision).
37211 * math/libm-test.inc (sincos_test): Add tests for large input.
37215 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37217 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37221 2012-03-15 David S. Miller <davem@davemloft.net>
37223 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
37224 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
37225 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
37226 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
37227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
37228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
37229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
37230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
37231 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
37232 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
37233 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
37234 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
37235 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
37236 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
37237 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
37238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
37240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
37241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
37243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
37244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
37246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
37247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
37249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
37250 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
37251 fmin/fmax sysdep routines.
37252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37254 2012-03-14 David S. Miller <davem@davemloft.net>
37256 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
37257 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
37258 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
37259 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
37260 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
37261 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
37262 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
37263 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
37264 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
37265 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
37266 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
37267 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
37268 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
37269 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
37270 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
37271 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
37272 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
37273 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
37274 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
37275 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
37276 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
37277 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
37278 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
37279 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
37280 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
37281 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
37282 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
37283 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
37284 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
37286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
37288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
37289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
37291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
37292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
37294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
37295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
37297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
37298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
37300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
37301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
37303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
37305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
37307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
37309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
37311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
37313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
37315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
37316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
37318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
37319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
37321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
37322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
37324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
37325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
37328 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37331 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37333 * sysdeps/sparc/configure.in: New file.
37334 * sysdeps/sparc/configure: Generate.
37335 * configure.in (libc_cv_sparc_as_vis3): Substitute.
37336 * configure: Regenerate.
37337 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
37338 * config.make.in (have-as-vis3): New.
37339 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
37340 available use -Av9d instead of -Av9a.
37341 * sysdeps/sparc/sparc64/Makefile: Likewise.
37342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
37343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
37345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
37347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
37349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
37351 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
37352 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
37353 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
37354 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
37355 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
37357 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
37358 fzeros/fnegs to load 0x80000000 into a float register instead of
37360 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
37362 2012-03-14 Joseph Myers <joseph@codesourcery.com>
37364 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37366 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
37367 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
37368 ($(inst_includedir)/bits/syscall.h): Remove rule.
37369 ($(objpfx)bits/syscall.d): Include instead of
37370 $(objpfx)syscall-list.d.
37371 (generated): Change syscall-list.h and syscall-list.d to
37372 bits/syscall.h and bits/syscall.d.
37374 2012-03-14 Roland McGrath <roland@hack.frob.com>
37377 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
37379 2012-03-14 Joseph Myers <joseph@codesourcery.com>
37382 * math/s_csqrt.c: Include <float.h>.
37383 (__csqrt): Scale large or subnormal inputs.
37384 * math/s_csqrtf.c: Likewise.
37385 * math/s_csqrtl.c: Likewise.
37386 * math/libm-test.inc (csqrt_test): Add more tests.
37387 * sysdeps/i386/fpu/libm-test-ulps: Update.
37388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37391 * math/libm-test.inc (hypot_test): Add more tests.
37393 2012-03-13 David S. Miller <davem@davemloft.net>
37396 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
37397 double-precision for the calculation instead of scaling.
37399 2012-03-13 Joseph Myers <joseph@codesourcery.com>
37401 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
37402 manipulate bits before adding and subtracting TWO52[sx].
37403 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
37404 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
37406 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
37408 2012-03-13 David S. Miller <davem@davemloft.net>
37410 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
37411 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
37412 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
37413 rtld-global-offsets.h
37414 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37416 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
37419 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
37421 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
37422 'err' in the ifdef scope in which it is actually used.
37424 * nss/nss_db/db-init.c: Include string.h
37426 2012-03-12 David S. Miller <davem@davemloft.net>
37428 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37429 masking out of the most significant byte of random value used.
37430 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37431 Fix coding style in previous change.
37433 * sysdeps/unix/sysv/linux/kernel-features.h
37434 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
37435 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
37437 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
37440 2012-03-11 David S. Miller <davem@davemloft.net>
37442 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37443 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
37444 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
37445 for 'resultvar' otherwise things get truncated on 64-bit.
37447 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37448 Fix masking out of the most significant byte of random value used.
37450 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37452 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
37454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37456 2012-03-09 David S. Miller <davem@davemloft.net>
37458 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
37459 variables with appropriate CPP guards.
37460 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
37461 from the frame pointer, not the stack pointer. Correct layout
37462 comments. Fix test on resulting framesize and the management of
37463 the outregs buffer for pltexit. Preserve floating point return
37464 values across _dl_call_pltexit call.
37465 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
37466 framesize and the management of the outregs buffer for pltexit.
37467 Preserve floating point return values across _dl_call_pltexit
37469 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37470 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37471 (la_sparc64_gnu_pltexit): New functions.
37472 (print_exit): Fix format string for return register value.
37474 2012-03-10 Joseph Myers <joseph@codesourcery.com>
37476 * sunrpc/Makefile (others): Add rpcgen.
37477 ($(objpfx)rpcgen): Remove special build rule and dependency on
37479 * sunrpc/rpcgen.c: New file.
37481 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
37484 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37485 * stdio-common/bug-vfprintf-nargs.c: Likewise.
37486 * sysdeps/i386/crti.S: Likewise.
37487 * sysdeps/i386/crtn.S: Likewise.
37488 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37489 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37490 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37491 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37492 * sysdeps/sh/crti.S: Likewise.
37493 * sysdeps/sh/crtn.S: Likewise.
37494 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37497 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37499 * locale/programs/locfile-kw.gperf: Likewise.
37500 * locale/programs/charmap-kw.h: Regenerated.
37501 * locale/programs/locfile-kw.h: Likewise.
37504 * intl/plural.y: Replace FSF snail mail address with URL.
37505 * intl/plural.c: Regenerated.
37507 2012-03-09 Richard Henderson <rth@twiddle.net>
37509 * include/math_private.h: Remove file.
37510 * math/math_private.h: Move file ...
37511 * sysdeps/generic/math_private.h: ... here.
37513 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37514 * sysdeps/powerpc/fpu/math_private.h: Likewise.
37515 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37517 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
37518 and <math_private.h>.
37519 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37520 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37521 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37522 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37523 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37524 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37525 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37526 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37527 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37528 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37529 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37530 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37531 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37532 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37533 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37534 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37535 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37536 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37537 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37538 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37539 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37540 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37541 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37542 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37543 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37544 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37545 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37546 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37547 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37548 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37549 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37550 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37551 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37552 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37553 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37554 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37555 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37556 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37557 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37558 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37559 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37560 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37561 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37562 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37563 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37564 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37565 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37566 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37567 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37568 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37569 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37570 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37571 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37572 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37573 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37574 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37575 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37576 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37577 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37578 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37579 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37580 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37581 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37582 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37583 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37584 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37585 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37586 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37587 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37588 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37589 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37590 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37591 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37592 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37593 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37594 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37595 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37596 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37597 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37598 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37599 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37600 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37601 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37602 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37603 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37604 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37605 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37606 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37607 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37608 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37609 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37610 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37611 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37612 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37613 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37614 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37615 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37616 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37617 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37618 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37619 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37620 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37621 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37622 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37623 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37624 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37625 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37626 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37627 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37628 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37629 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37630 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37631 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37632 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37633 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37634 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37635 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37636 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37637 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37638 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37639 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37640 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37641 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37642 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37643 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37644 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37645 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37646 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
37647 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37648 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
37649 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
37650 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37651 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37652 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
37653 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
37654 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37655 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37656 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37657 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
37658 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37659 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37660 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37661 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37662 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
37663 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
37664 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37665 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37666 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37667 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
37668 * sysdeps/ieee754/k_standard.c: Likewise.
37669 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37670 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37671 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37672 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37673 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37674 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37675 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37676 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37677 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37678 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37679 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37680 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37681 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37682 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37683 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37684 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37685 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37686 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37687 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37688 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
37689 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
37690 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
37691 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37692 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37693 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37694 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
37695 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37696 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37697 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37698 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37699 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37700 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37701 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37702 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37703 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37704 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37705 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37706 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
37707 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
37708 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37709 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37710 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37711 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37712 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37713 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37714 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37715 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37716 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37717 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37718 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37719 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37720 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37721 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37722 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
37723 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37724 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37725 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
37726 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
37727 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37728 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37729 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37730 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37731 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37732 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37733 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37734 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37735 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37736 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37737 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37738 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37739 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37740 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37741 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37742 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37743 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37744 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37745 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
37746 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37747 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37748 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37749 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37750 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37751 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37752 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37753 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
37754 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37755 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37756 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
37757 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37758 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37759 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
37760 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37761 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37762 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37763 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37764 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37765 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
37766 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37767 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37768 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
37769 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37770 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37771 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37772 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37773 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
37774 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37775 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37776 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37777 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
37778 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37779 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37780 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37781 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37782 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37783 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37784 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37785 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37786 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37787 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37788 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37789 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37790 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37791 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37792 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37793 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37794 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
37795 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37796 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37797 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37798 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37799 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37800 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37801 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37802 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37803 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37804 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37805 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
37806 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37807 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37808 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
37809 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
37810 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37811 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
37812 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
37813 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37814 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37815 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37816 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37817 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37818 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
37819 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37820 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37821 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37822 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37823 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
37824 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
37825 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37826 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37827 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37828 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37829 * sysdeps/ieee754/s_lib_version.c: Likewise.
37830 * sysdeps/ieee754/s_matherr.c: Likewise.
37831 * sysdeps/ieee754/s_signgam.c: Likewise.
37832 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37833 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37834 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
37835 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
37836 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
37837 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37838 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
37839 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
37840 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
37841 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
37842 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37843 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
37844 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37845 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37846 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
37847 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37848 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37849 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37850 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37851 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37852 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37854 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37856 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
37857 * sunrpc/rpc_main.c: Likewise.
37858 * sunrpc/rpc_svcout.c: Likewise.
37860 2012-03-09 David S. Miller <davem@davemloft.net>
37862 * include/math_private.h: New file.
37864 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37866 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
37867 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
37868 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
37869 from <bits/socket_type.h>.
37870 (enum __socket_type): Don't define here.
37871 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
37872 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37873 bits/socket_type.h.
37876 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
37877 checking __USE_GNU.
37879 * Makerules ($(inst_includedir)/%.h): New rule.
37880 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
37881 (install-others): Remove variable setting.
37882 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
37884 2012-03-08 Richard Henderson <rth@twiddle.net>
37886 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
37887 from macro to inline function; merge with the
37888 !__LIBC_INTERNAL_MATH_INLINES version.
37889 (__ieee754_sqrtf): Likewise.
37891 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
37892 to inline function.
37893 (__rintf, __floor, __floorf): Likewise.
37895 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
37896 macro to inline function.
37897 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
37899 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
37900 not <math/math_private.h>.
37902 2012-03-08 David S. Miller <davem@davemloft.net>
37904 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
37906 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
37908 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
37910 * resolv/gai_misc.c (handle_requests): Fix struct timespec
37912 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
37913 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37915 2012-03-08 Ulrich Drepper <drepper@gmail.com>
37917 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
37918 be defined individually, they must be defined as a block. Define
37919 S for printing a string instead of hidint the different by using a
37920 macro for adding the 'l'.
37921 * stdio-common/tst-fphex-wide.c: Adjust.
37923 2012-03-07 Marek Polacek <polacek@redhat.com>
37925 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
37927 2012-03-08 Marek Polacek <polacek@redhat.com>
37930 * stdio-common/Makefile (tests): Add tst-fphex-wide.
37931 * stdio-common/tst-fphex.c: Define a few macros to make the
37932 test reusable. Use them.
37933 * stdio-common/tst-fphex-wide.c: New file.
37935 2012-03-08 Joseph Myers <joseph@codesourcery.com>
37938 * manual/macros.texi (gnusystems): New macro.
37939 (nongnusystems): Likewise.
37940 (gnulinuxhurdsystems): Likewise.
37941 (gnuhurdsystems): Likewise..
37942 (gnulinuxsystems): Likewise.
37943 * manual/charset.texi: Use new macros or @theglibc{} to refer to
37944 variants of the GNU system, not "GNU system".
37945 * manual/conf.texi: Likewise.
37946 * manual/errno.texi: Likewise. Update example of errno macro
37948 * manual/filesys.texi: Likewise.
37949 (getumask): Document as specific to GNU/Hurd.
37950 * manual/install.texi: Likewise. Reword some references to
37952 * manual/intro.texi: Likewise.
37953 * manual/io.texi: Likewise.
37954 (File Name Portability): Detail which constraints are inapplicable
37955 to all GNU systems and which are only inapplicable to GNU/Hurd.
37956 * manual/job.texi: Likewise.
37957 * manual/llio.texi: Likewise.
37958 (O_NOCTTY): Document as present on GNU/Linux.
37959 * manual/maint.texi: Likewise.
37960 * manual/memory.texi: Likewise.
37961 * manual/pattern.texi: Likewise.
37962 * manual/pipe.texi: Likewise.
37963 * manual/process.texi: Likewise.
37964 * manual/resource.texi: Likewise.
37965 (RUSAGE_CHILDREN): Remove statement about specifying a particular
37967 * manual/setjmp.texi: Likewise.
37968 * manual/signal.texi: Likewise.
37969 * manual/startup.texi: Likewise.
37970 * manual/stdio.texi: Likewise.
37971 * manual/terminal.texi: Likewise.
37972 (ONLCR): Document as POSIX.
37973 (OXTABS): Document availability on GNU/Linux as XTABS.
37974 (ONOEOT): Document availability separately from other bits.
37975 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
37976 * manual/time.texi: Likewise.
37977 * manual/users.texi: Likewise.
37978 * INSTALL: Regenerated.
37979 * sysdeps/gnu/errlist.c: Regenerated.
37981 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
37982 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
37983 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
37985 * configure: Regenerated.
37987 2012-03-07 Joseph Myers <joseph@codesourcery.com>
37989 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37990 default includes instead of AC_HEADER_CHECK.
37991 * sysdeps/i386/configure: Regenerated.
37994 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37995 * math/s_cacoshf.c (__cacoshf): Likewise.
37996 * math/s_cacoshl.c (__cacoshl): Likewise.
37997 * math/s_casinh.c (__casinh): Set signs of result from argument.
37998 * math/s_casinhf.c (__casinhf): Likewise.
37999 * math/s_casinhl.c (__casinhl): Likewise.
38000 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
38001 (casinh_test): Add more tests.
38002 * sysdeps/i386/fpu/libm-test-ulps: Update.
38003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38005 2012-03-07 Ulrich Drepper <drepper@gmail.com>
38007 * po/zh_TW.po: Update from translation team.
38009 * login/Makefile (distribute): Remove variable.
38010 * catgets/Makefile: Likewise.
38011 * mach/Makefile: Likewise.
38012 * malloc/Makefile: Likewise.
38013 * misc/Makefile: Likewise.
38014 * iconv/Makefile: Likewise.
38015 * nscd/Makefile: Likewise.
38016 * hurd/Makefile: Likewise.
38017 * manual/Makefile: Likewise.
38018 * locale/Makefile: Likewise.
38019 * intl/Makefile: Likewise.
38020 * conform/Makefile: Likewise.
38021 * nss/Makefile: Likewise.
38022 * time/Makefile: Likewise.
38023 * soft-fp/Makefile: Likewise.
38024 * dirent/Makefile: Likewise.
38025 * gmon/Makefile: Likewise.
38026 * po/Makefile: Likewise.
38027 * rt/Makefile: Likewise.
38028 * socket/Makefile: Likewise.
38029 * math/Makefile: Likewise.
38030 * signal/Makefile: Likewise.
38031 * debug/Makefile: Likewise.
38032 * elf/Makefile: Likewise.
38033 * timezone/Makefile: Likewise.
38034 * stdlib/Makefile: Likewise.
38035 * iconvdata/Makefile: Likewise.
38036 * sunrpc/Makefile: Likewise.
38037 * io/Makefile: Likewise.
38038 * argp/Makefile: Likewise.
38039 * inet/Makefile: Likewise.
38040 * hesiod/Makefile: Likewise.
38041 * grp/Makefile: Likewise.
38042 * csu/Makefile: Likewise.
38043 * wctype/Makefile: Likewise.
38044 * crypt/Makefile: Likewise.
38045 * libio/Makefile: Likewise.
38046 * string/Makefile: Likewise.
38047 * nis/Makefile: Likewise.
38048 * resolv/Makefile: Likewise.
38049 * stdio-common/Makefile: Likewise.
38050 * wcsmbs/Makefile: Likewise.
38051 * dlfcn/Makefile: Likewise.
38052 * posix/Makefile: Likewise.
38055 * timezone/Makefile: Don't install timezone files, just the programs
38058 2012-03-06 Ulrich Drepper <drepper@gmail.com>
38060 * nss/databases.def: Add missing gshadow entry.
38062 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
38064 2012-03-06 Marek Polacek <polacek@redhat.com>
38067 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38068 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38069 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38070 * stdio-common/tst-long-dbl-fphex.c: New file.
38072 2012-03-06 David S. Miller <davem@davemloft.net>
38074 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38075 (set_obp_int): New function.
38076 (get_obp_int): New function.
38077 (__get_clockfreq_via_dev_openprom): Likewise.
38078 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38079 Avoid unused variable warnings on 'val' and use builtin_expect.
38080 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38082 (INLINE_CLONE_SYSCALL): Likewise.
38084 2012-03-05 David S. Miller <davem@davemloft.net>
38086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38088 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
38090 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38092 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38093 only for |x| >= 40.
38094 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38096 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
38098 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38099 Replace gettimeofday with __vdso_gettimeofday.
38101 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38102 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38103 __vdso_clock_gettime and __vdso_getcpu.
38105 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38106 time with __vdso_time.
38108 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38110 * manual/lang.texi (size_t): Note types to which size_t may be
38111 equivalent with the GNU C Library, but do not describe when
38112 differences between them are significant.
38114 2012-03-05 Andreas Jaeger <aj@suse.de>
38116 * sysdeps/i386/fpu/libm-test-ulps: Update.
38118 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38121 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38122 (__ieee754_pow): Save and restore rounding mode and use
38123 round-to-nearest for main computations.
38124 * math/libm-test.inc (pow_test_tonearest): New function.
38125 (pow_test_towardzero): Likewise.
38126 (pow_test_downward): Likewise.
38127 (pow_test_upward): Likewise.
38128 (main): Call the new functions.
38129 * sysdeps/i386/fpu/libm-test-ulps: Update.
38130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38133 * math/libm-test.inc (cosh_test_tonearest): New function.
38134 (cosh_test_towardzero): Likewise.
38135 (cosh_test_downward): Likewise.
38136 (cosh_test_upward): Likewise.
38137 (sinh_test_tonearest): Likewise.
38138 (sinh_test_towardzero): Likewise.
38139 (sinh_test_downward): Likewise.
38140 (sinh_test_upward): Likewise.
38141 (main): Call the new functions.
38142 * sysdeps/i386/fpu/libm-test-ulps: Update.
38143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38145 2012-03-05 Tom de Vries <tom@codesourcery.com>
38147 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
38148 default stack guard is set in last bytes.
38149 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
38151 2012-03-05 Kees Cook <keescook@chromium.org>
38153 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
38156 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
38157 possibly allocate from heap instead of stack.
38158 * stdio-common/bug-vfprintf-nargs.c: New file.
38159 * stdio-common/Makefile (tests): Add nargs overflow test.
38161 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
38163 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38165 2012-03-03 Marek Polacek <polacek@redhat.com>
38167 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
38168 * math/math_private.h: Likewise.
38169 * stdlib/tst-strtod.c: Likewise.
38170 * sysdeps/i386/i486/bits/atomic.h: Likewise.
38171 * sysdeps/x86_64/bits/atomic.h: Likewise.
38173 2012-03-02 David S. Miller <davem@davemloft.net>
38175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
38176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
38177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
38178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
38179 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
38180 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
38181 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
38182 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
38184 2012-03-02 Roland McGrath <roland@hack.frob.com>
38187 * manual/examples/README: New file, says the example source files
38188 can be used under GPL>=2.
38189 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
38190 line containing just "*/".
38191 * manual/examples/add.c: Add copyright header (GPL>=2).
38192 * manual/examples/argp-ex1.c: Likewise.
38193 * manual/examples/argp-ex2.c: Likewise.
38194 * manual/examples/argp-ex3.c: Likewise.
38195 * manual/examples/argp-ex4.c: Likewise.
38196 * manual/examples/atexit.c: Likewise.
38197 * manual/examples/db.c: Likewise.
38198 * manual/examples/dir.c: Likewise.
38199 * manual/examples/dir2.c: Likewise.
38200 * manual/examples/execinfo.c: Likewise.
38201 * manual/examples/filecli.c: Likewise.
38202 * manual/examples/filesrv.c: Likewise.
38203 * manual/examples/fmtmsgexpl.c: Likewise.
38204 * manual/examples/genpass.c: Likewise.
38205 * manual/examples/inetcli.c: Likewise.
38206 * manual/examples/inetsrv.c: Likewise.
38207 * manual/examples/isockad.c: Likewise.
38208 * manual/examples/longopt.c: Likewise.
38209 * manual/examples/memopen.c: Likewise.
38210 * manual/examples/memstrm.c: Likewise.
38211 * manual/examples/mkfsock.c: Likewise.
38212 * manual/examples/mkisock.c: Likewise.
38213 * manual/examples/mygetpass.c: Likewise.
38214 * manual/examples/pipe.c: Likewise.
38215 * manual/examples/popen.c: Likewise.
38216 * manual/examples/rprintf.c: Likewise.
38217 * manual/examples/search.c: Likewise.
38218 * manual/examples/select.c: Likewise.
38219 * manual/examples/setjmp.c: Likewise.
38220 * manual/examples/sigh1.c: Likewise.
38221 * manual/examples/sigusr.c: Likewise.
38222 * manual/examples/stpcpy.c: Likewise.
38223 * manual/examples/strdupa.c: Likewise.
38224 * manual/examples/strftim.c: Likewise.
38225 * manual/examples/strncat.c: Likewise.
38226 * manual/examples/subopt.c: Likewise.
38227 * manual/examples/swapcontext.c: Likewise.
38228 * manual/examples/termios.c: Likewise.
38229 * manual/examples/testopt.c: Likewise.
38230 * manual/examples/testpass.c: Likewise.
38231 * manual/examples/timeval_subtract.c: Likewise.
38234 * manual/time.texi (Elapsed Time): Move timeval_subtract example
38236 * manual/timeval_subtract.c.texi: ... here, new file.
38238 2012-03-02 David S. Miller <davem@davemloft.net>
38240 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
38242 2012-03-02 Joseph Myers <joseph@codesourcery.com>
38245 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
38246 (__sin): Save and restore rounding mode and use round-to-nearest
38247 for all computations.
38248 (__cos): Save and restore rounding mode and use round-to-nearest
38249 for all computations.
38250 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
38252 (tan): Save and restore rounding mode and use round-to-nearest for
38254 * math/libm-test.inc (cos_test_tonearest): New function.
38255 (cos_test_towardzero): Likewise.
38256 (cos_test_downward): Likewise.
38257 (cos_test_upward): Likewise.
38258 (sin_test_tonearest): Likewise.
38259 (sin_test_towardzero): Likewise.
38260 (sin_test_downward): Likewise.
38261 (sin_test_upward): Likewise.
38262 (tan_test_tonearest): Likewise.
38263 (tan_test_towardzero): Likewise.
38264 (tan_test_downward): Likewise.
38265 (tan_test_upward): Likewise.
38266 (main): Call the new functions.
38267 * sysdeps/i386/fpu/libm-test-ulps: Update.
38268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38271 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
38272 small n, then large n, before computing and testing k+n.
38273 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38274 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
38276 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
38278 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
38279 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
38280 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
38281 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
38282 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38283 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38284 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
38285 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
38286 * math/libm-test.inc (scalbn_test): Add more tests.
38287 (scalbln_test): Likewise.
38289 * manual/filesys.texi (mode_t): Describe constraints on size and
38290 signedness, not exact equivalence to a particular type.
38292 (ino64_t): Likewise.
38294 (nlink_t): Likewise.
38295 (blkcnt_t): Likewise.
38296 (blkcnt64_t): Likewise.
38297 * manual/llio.texi (off_t): Likewise.
38300 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
38301 (__ieee754_exp): Save and restore rounding mode and use
38302 round-to-nearest for all computations.
38303 * math/libm-test.inc (exp_test_tonearest): New function.
38304 (exp_test_towardzero): Likewise.
38305 (exp_test_downward): Likewise.
38306 (exp_test_upward): Likewise.
38307 (main): Call the new functions.
38308 * sysdeps/i386/fpu/libm-test-ulps: Update.
38309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38311 2012-03-01 Chris Demetriou <cgd@google.com>
38313 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
38314 have predictable order.
38316 2012-03-01 David S. Miller <davem@davemloft.net>
38318 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
38320 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
38321 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
38322 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
38323 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
38325 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
38326 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
38327 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
38328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
38329 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
38330 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
38331 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
38332 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
38333 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
38335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38337 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
38338 * sysdeps/sparc/fpu/libm-test-ulps: to here.
38339 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
38341 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
38342 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38343 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38344 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
38345 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
38346 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
38347 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
38348 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38349 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38350 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
38351 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
38352 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38353 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38354 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38355 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38356 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38357 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
38358 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
38359 * sysdeps/sparc/elf/configure: Regenerated.
38361 2012-03-01 Joseph Myers <joseph@codesourcery.com>
38363 * configure.in (AS, LD): Require binutils 2.20 or later.
38364 * configure: Regenerated.
38365 * manual/install.texi (Tools for Compilation): Give binutils 2.20
38366 as required minimum version.
38367 * INSTALL: Regenerated.
38371 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
38372 before squaring exponent.
38373 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
38374 bottom long double and 27 bits of top long double before squaring
38376 * math/libm-test.inc (erfc_test): Add more tests.
38377 * sysdeps/i386/fpu/libm-test-ulps: Update.
38378 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38381 2012-03-01 Kai Tietz <ktietz@redhat.com>
38383 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
38384 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
38385 containing bit-fields.
38386 * soft-fp/extended.h (_FP_UNION_E): Likewise.
38387 * soft-fp/single.h (_FP_UNION_S): Likewise.
38388 * soft-fp/double.h (_FP_UNION_D): Likewise.
38390 2012-02-29 Joseph Myers <joseph@codesourcery.com>
38393 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
38394 not include ../strcmp.S.
38395 [USE_AS_STRNCASECMP_L]: Likewise.
38396 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
38397 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
38398 * sysdeps/i386/i686/multiarch/strncase_l-c.c
38399 (__strncasecmp_l_ia32): Define as alias to
38400 __strncasecmp_l_nonascii.
38403 * math/libm-test.inc (expm1_test): Add test for bug 5794.
38404 * sysdeps/i386/fpu/libm-test-ulps: Update.
38405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38407 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
38408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38410 2012-02-29 Jeff Law <law@redhat.com>
38412 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
38413 out of bounds read.
38415 2012-02-29 Marek Polacek <polacek@redhat.com>
38418 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
38419 * elf/Makefile: Add rules to run tst-unused-dep.out.
38421 2012-02-28 David S. Miller <davem@davemloft.net>
38423 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
38424 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
38425 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
38426 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
38427 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
38428 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
38430 2012-02-29 Joseph Myers <joseph@codesourcery.com>
38432 * math/libm-test.inc (llround_test): Move one test from
38433 lround_test. Use TEST_f_L in moved test.
38434 (lround_test): Move misplaced test to llround_test. Add testcase
38437 2012-02-28 Ulrich Drepper <drepper@gmail.com>
38439 * sysdeps/x86_64/fpu/e_expf.S: New file.
38440 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
38442 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
38445 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
38446 of remain_len that may cause incomplete multi-byte character and
38448 * posix/bug-regex33.c: New file.
38449 * posix/Makefile (tests): Add bug-regex33.
38451 2012-02-28 Joseph Myers <joseph@codesourcery.com>
38453 * manual/macros.texi: New file.
38454 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
38455 * manual/libc.texinfo: Include macros.texi.
38456 * manual/creatute.texi: Likewise.
38457 * manual/install.texi: Likewise.
38458 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
38459 @glibcadj{} in references to the GNU C Library.
38460 * manual/charset.texi: Likewise.
38461 * manual/conf.texi: Likewise.
38462 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
38463 when not using those macros.
38464 * manual/creature.texi: Likewise.
38465 * manual/crypt.texi: Likewise.
38466 * manual/errno.texi: Likewise.
38467 * manual/filesys.texi: Likewise.
38468 * manual/header.texi: Likewise.
38469 * manual/install.texi: Likewise.
38470 * manual/intro.texi: Likewise.
38471 * manual/io.texi: Likewise.
38472 * manual/job.texi: Likewise.
38473 * manual/lang.texi: Likewise.
38474 * manual/libc.texiinfo: Likewise.
38475 * manual/llio.texi: Likewise.
38476 * manual/locale.texi: Likewise.
38477 * manual/maint.texi: Likewise.
38478 * manual/math.texi: Likewise.
38479 * manual/memory.texi: Likewise.
38480 * manual/message.texi: Likewise.
38481 * manual/nss.texi: Likewise.
38482 * manual/pattern.texi: Likewise.
38483 * manual/process.texi: Likewise.
38484 * manual/resource.texi: Likewise.
38485 * manual/search.texi: Likewise.
38486 * manual/setjmp.texi: Likewise.
38487 * manual/signal.texi: Likewise.
38488 * manual/socket.texi: Likewise.
38489 * manual/startup.texi: Likewise.
38490 * manual/stdio.texi: Likewise.
38491 * manual/string.texi: Likewise.
38492 * manual/sysinfo.texi: Likewise.
38493 * manual/syslog.texi: Likewise.
38494 * manual/terminal.texi: Likewise.
38495 * manual/time.texi: Likewise.
38496 * manual/users.texi: Likewise.
38497 * INSTALL: Regenerated.
38498 * NOTES: Regenerated.
38499 * sysdeps/gnu/errlist.c: Regenerated.
38501 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
38503 * include/dirent.h: Include <dirstream.h> before
38506 2012-02-28 David S. Miller <davem@davemloft.net>
38508 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38509 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38510 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38511 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38513 2012-02-27 David S. Miller <davem@davemloft.net>
38515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38517 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38518 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38521 frame pointer instead of stack pointer relative arg slot.
38522 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38523 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38524 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38526 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
38529 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38531 2012-02-27 David S. Miller <davem@davemloft.net>
38533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38537 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38538 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38539 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38540 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38542 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38544 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38545 later. Allow versions 5-9.
38546 * configure: Regenerated.
38547 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38548 required minimum version and 4.6 as recommended version. Do not
38549 mention bugs in GCC 2.7 and 2.8.
38550 * INSTALL: Regenerated.
38552 2012-02-27 David S. Miller <davem@davemloft.net>
38554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38558 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38559 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38560 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38561 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38563 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38564 manipulate bits before adding and subtracting TWO112[sx].
38565 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38567 2012-02-27 Roland McGrath <roland@hack.frob.com>
38570 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38571 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38572 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38573 being in POSIX, because they are in 1003.1-2008.
38575 * rt/tst-aio.c: Include <fcntl.h>.
38576 * rt/tst-aio7.c: Likewise.
38577 * rt/tst-aio64.c: Likewise.
38579 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38581 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38583 * manual/install.texi (--with-headers): Describe headers as
38584 interface headers, not private headers.
38585 (Specific advice for GNU/Linux systems): Describe use of headers
38586 from "make headers_install", not private headers from older
38588 * INSTALL: Regenerated.
38589 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38591 * sysdeps/unix/sysv/linux/configure: Regenerated.
38593 * manual/llio.texi (fclean): Remove documentation.
38595 * manual/Makefile (libc-texi-generated): New variable. Include
38597 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38598 $(libc-texi-generated), not duplicated list of files.
38599 (version.texi, stamp-version): New rules.
38600 (realclean): Remove $(libc-texi-generated), not individual files
38601 from that list. Do not remove dir-add.texinfo.
38602 * manual/libc.texinfo: Comment out uses of edition numbers and
38603 references to printed manual. Remove last-updated dates.
38604 (EDITION): Comment out.
38606 (VERSION, UPDATED): Remove.
38607 (version.texi): Include.
38609 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
38611 * sysdeps/posix/spawni.c: Include <signal.h>.
38612 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38613 * sysdeps/pthread/aio_fsync.c: Likewise.
38615 2012-02-26 Ulrich Drepper <drepper@gmail.com>
38617 * conform/Makefile (tests): Run only when not cross-compiling and
38618 when fast-check is not defined.
38620 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38621 * conform/data/limits.h-data: Fixes for POSIX2008.
38622 * conform/run-conformtest.sh: Run all tests.
38623 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38625 * include/bits/dlfcn.h: Likewise.
38626 * include/langinfo.h: Likewise.
38627 * include/monetary.h: Likewise.
38628 * include/sys/poll.h: Likewise.
38630 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38632 * posix/spawn.h: Define __need_sigset_t.
38633 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38634 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38635 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
38636 to get sigevent_t only.
38637 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38638 only for __USE_GNU.
38639 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38640 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38641 process_vm_writev only for __USE_GNU.
38642 * termios/termios.h: Declare tcgetsid also for POSIX2008.
38644 * conform/Makefile: For now ignore errors from run-conformtest.
38645 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
38646 POSIX to avoid namespace pollution. Don't prepend headers.
38647 * conform/data/aio.h-data: Fixes for POSIX testing.
38648 * conform/data/fcntl.h-data: Likewise.
38649 * conform/data/glob.h-data: Likewise.
38650 * conform/data/grp.h-data: Likewise.
38651 * conform/data/pthread.h-data: Likewise.
38652 * conform/data/pwd.h-data: Likewise.
38653 * conform/data/signal.h-data: Likewise.
38654 * conform/data/spawn.h-data: Likewise.
38655 * conform/data/stdio.h-data: Likewise.
38656 * conform/data/stdlib.h-data: Likewise.
38657 * conform/data/stropts.h-data: Likewise.
38658 * conform/data/sys/mman.h-data: Likewise.
38659 * conform/data/sys/stat.h-data: Likewise.
38660 * conform/data/sys/types.h-data: Likewise.
38661 * conform/data/sys/wait.h-data: Likewise.
38662 * conform/data/time.h-data: Likewise.
38663 * conform/data/unistd.h-data: Likewise.
38664 * conform/data/utime.h-data: Likewise.
38666 * io/sys/stat.h: fchmod was always in POSIX.
38667 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
38668 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
38669 * rt/aio.h: Define __need_timespec before including <time.h>.
38670 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
38671 struct. Add forward declaration of pthread_attr_t and use it in
38673 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38674 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38675 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
38676 always remove CLK_TCK definition.
38678 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
38680 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
38682 2012-02-25 Ulrich Drepper <drepper@gmail.com>
38684 * conform/run-conformtest.sh: New file.
38685 * conform/Makefile: Run run-conformtest for tests.
38686 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
38689 * conform/data/uchar.h-data: New file.
38690 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
38691 * conform/data/arpa/inet.h-data: Likewise.
38692 * conform/data/assert.h-data: Likewise.
38693 * conform/data/complex.h-data: Likewise.
38694 * conform/data/cpio.h-data: Likewise.
38695 * conform/data/ctype.h-data: Likewise.
38696 * conform/data/dirent.h-data: Likewise.
38697 * conform/data/dlfcn.h-data: Likewise.
38698 * conform/data/errno.h-data: Likewise.
38699 * conform/data/fcntl.h-data: Likewise.
38700 * conform/data/float.h-data: Likewise.
38701 * conform/data/fmtmsg.h-data: Likewise.
38702 * conform/data/fnmatch.h-data: Likewise.
38703 * conform/data/ftw.h-data: Likewise.
38704 * conform/data/glob.h-data: Likewise.
38705 * conform/data/grp.h-data: Likewise.
38706 * conform/data/iconv.h-data: Likewise.
38707 * conform/data/inttypes.h-data: Likewise.
38708 * conform/data/langinfo.h-data: Likewise.
38709 * conform/data/libgen.h-data: Likewise.
38710 * conform/data/limits.h-data: Likewise.
38711 * conform/data/locale.h-data: Likewise.
38712 * conform/data/math.h-data: Likewise.
38713 * conform/data/monetary.h-data: Likewise.
38714 * conform/data/mqueue.h-data: Likewise.
38715 * conform/data/ndbm.h-data: Likewise.
38716 * conform/data/net/if.h-data: Likewise.
38717 * conform/data/netdb.h-data: Likewise.
38718 * conform/data/netinet/in.h-data: Likewise.
38719 * conform/data/nl_types.h-data: Likewise.
38720 * conform/data/poll.h-data: Likewise.
38721 * conform/data/pthread.h-data: Likewise.
38722 * conform/data/pwd.h-data: Likewise.
38723 * conform/data/regex.h-data: Likewise.
38724 * conform/data/sched.h-data: Likewise.
38725 * conform/data/search.h-data: Likewise.
38726 * conform/data/semaphore.h-data: Likewise.
38727 * conform/data/setjmp.h-data: Likewise.
38728 * conform/data/signal.h-data: Likewise.
38729 * conform/data/spawn.h-data: Likewise.
38730 * conform/data/stdarg.h-data: Likewise.
38731 * conform/data/stdio.h-data: Likewise.
38732 * conform/data/stdlib.h-data: Likewise.
38733 * conform/data/string.h-data: Likewise.
38734 * conform/data/strings.h-data: Likewise.
38735 * conform/data/stropts.h-data: Likewise.
38736 * conform/data/sys/ipc.h-data: Likewise.
38737 * conform/data/sys/mman.h-data: Likewise.
38738 * conform/data/sys/msg.h-data: Likewise.
38739 * conform/data/sys/resource.h-data: Likewise.
38740 * conform/data/sys/select.h-data: Likewise.
38741 * conform/data/sys/sem.h-data: Likewise.
38742 * conform/data/sys/shm.h-data: Likewise.
38743 * conform/data/sys/socket.h-data: Likewise.
38744 * conform/data/sys/stat.h-data: Likewise.
38745 * conform/data/sys/statvfs.h-data: Likewise.
38746 * conform/data/sys/time.h-data: Likewise.
38747 * conform/data/sys/timeb.h-data: Likewise.
38748 * conform/data/sys/times.h-data: Likewise.
38749 * conform/data/sys/types.h-data: Likewise.
38750 * conform/data/sys/uio.h-data: Likewise.
38751 * conform/data/sys/un.h-data: Likewise.
38752 * conform/data/sys/utsname.h-data: Likewise.
38753 * conform/data/sys/wait.h-data: Likewise.
38754 * conform/data/syslog.h-data: Likewise.
38755 * conform/data/tar.h-data: Likewise.
38756 * conform/data/termios.h-data: Likewise.
38757 * conform/data/utime.h-data: Likewise.
38758 * conform/data/utmpx.h-data: Likewise.
38759 * conform/data/varargs.h-data: Likewise.
38760 * conform/data/wchar.h-data: Likewise.
38761 * conform/data/wctype.h-data: Likewise.
38762 * conform/data/wordexp.h-data: Likewise.
38764 * include/stropts.h: New file.
38765 * include/uchar.h: New file.
38766 * include/aio.h: Changes to allow conformtest.pl to use the headers.
38767 * include/assert.h: Likewise.
38768 * include/ctype.h: Likewise.
38769 * include/dirent.h: Likewise.
38770 * include/dlfcn.h: Likewise.
38771 * include/fcntl.h: Likewise.
38772 * include/fnmatch.h: Likewise.
38773 * include/glob.h: Likewise.
38774 * include/grp.h: Likewise.
38775 * include/libio.h: Likewise.
38776 * include/locale.h: Likewise.
38777 * include/math.h: Likewise.
38778 * include/net/if.h: Likewise.
38779 * include/netdb.h: Likewise.
38780 * include/netinet/in.h: Likewise.
38781 * include/pthread.h: Likewise.
38782 * include/pwd.h: Likewise.
38783 * include/regex.h: Likewise.
38784 * include/sched.h: Likewise.
38785 * include/search.h: Likewise.
38786 * include/setjmp.h: Likewise.
38787 * include/signal.h: Likewise.
38788 * include/stdio.h: Likewise.
38789 * include/stdlib.h: Likewise.
38790 * include/string.h: Likewise.
38791 * include/sys/cdefs.h: Likewise.
38792 * include/sys/mman.h: Likewise.
38793 * include/sys/msg.h: Likewise.
38794 * include/sys/resource.h: Likewise.
38795 * include/sys/select.h: Likewise.
38796 * include/sys/socket.h: Likewise.
38797 * include/sys/stat.h: Likewise.
38798 * include/sys/statvfs.h: Likewise.
38799 * include/sys/time.h: Likewise.
38800 * include/sys/times.h: Likewise.
38801 * include/sys/uio.h: Likewise.
38802 * include/sys/utsname.h: Likewise.
38803 * include/sys/wait.h: Likewise.
38804 * include/termios.h: Likewise.
38805 * include/time.h: Likewise.
38806 * include/ulimit.h: Likewise.
38807 * include/unistd.h: Likewise.
38808 * include/utime.h: Likewise.
38809 * include/wchar.h: Likewise.
38810 * include/wctype.h: Likewise.
38811 * include/wordexp.h: Likewise.
38813 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
38815 * time/time.h: TIME_UTC must be a macro.
38816 Make timespec_get available for ISO C11 only as well.
38818 2012-02-24 Ulrich Drepper <drepper@gmail.com>
38820 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
38821 Reported by Peng Haitao <penght@cn.fujitsu.com>.
38823 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38825 * configure.in: Use -o not -a in test for unsupported multi-arch.
38827 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38829 * manual/texinfo.tex: Update to version 2012-01-19.16.
38831 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38833 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
38835 2012-02-24 Roland McGrath <roland@hack.frob.com>
38838 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
38839 * manual/fdl-1.3.texi: New file.
38840 * manual/fdl-1.1.texi: File removed.
38843 * manual/libc.texinfo (FDL_VERSION): New @set.
38844 Use it for mention of FDL in cover text.
38845 (Documentation License): Use it in @include file name.
38847 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38848 Roland McGrath <roland@hack.frob.com>
38851 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
38852 (not LONG_LONG_MAX and LONG_LONG_MIN.
38853 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
38854 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
38856 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
38858 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38862 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
38863 manipulate bits before adding and subtracting TWO23[sx].
38864 * math/libm-test.inc (nearbyint_test): Add more tests.
38866 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38869 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
38870 bits before adding and subtracting TWO23[sx].
38871 * math/libm-test.inc (rint_test): Add more tests.
38872 (rint_test_tonearest): Likewise.
38873 (rint_test_towardzero): Likewise.
38874 (rint_test_downward): Likewise.
38875 (rint_test_upward: Likewise.
38877 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38880 * include/stdc-predef.h: New file. Extracted from features.h.
38881 * include/features.h: Include stdc-predef.h.
38882 * Makefile (headers): Add stdc-predef.h.
38883 * CONFORMANCE (Compiler limitations): Update.
38885 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38887 * manual/libc.texinfo (VERSION, UPDATED): Revert.
38889 2012-02-21 David S. Miller <davem@davemloft.net>
38891 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
38892 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38894 2012-02-20 David S. Miller <davem@davemloft.net>
38896 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
38897 using a normal save/restore sequence, rather than allocating a
38898 dummy stack frame just to store a frame pointer and restore.
38899 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38901 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38903 * manual/install.texi: Fix stray word in line-wrapped comment.
38905 2012-02-20 David S. Miller <davem@davemloft.net>
38907 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
38908 both binutils and gcc support GOTDATA.
38910 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
38911 "rd %pc" in the PIC register setup sequences.
38913 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
38914 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38915 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38916 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38917 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38918 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38919 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38920 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38921 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
38922 (SYSCALL_ERROR_HANDLER): Likewise.
38923 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38924 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38925 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
38926 (SYSCALL_ERROR_HANDLER): Likewise.
38928 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
38929 (HAVE_GCC_GOTDATA): New.
38930 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
38931 relocation support in both binutils and gcc.
38932 * sysdeps/sparc/elf/configure: Regenerate.
38934 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
38935 * sysdeps/sparc/sparc32/elf/configure: Delete.
38936 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
38937 * sysdeps/sparc/sparc64/elf/configure: Delete.
38938 * sysdeps/sparc/elf/configure.in: New file.
38939 * sysdeps/sparc/elf/configure: Generate.
38941 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
38942 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
38943 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38944 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
38945 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
38947 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38949 * manual/install.texi: Do not mention specific glibc version
38951 * manual/libc.texinfo (VERSION, UPDATED): Update.
38952 (@copying): Use @copyright{} and range of years.
38954 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38957 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
38958 [crti.S not in sysdirs] (generated): Do not append.
38959 [crti.S not in sysdirs] (omit-deps): Likewise.
38960 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
38961 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
38962 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
38963 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
38964 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
38966 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
38967 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
38968 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
38969 * csu/defs.awk: Remove file.
38970 * sysdeps/generic/initfini.c: Likewise.
38971 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
38973 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
38976 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38978 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
38979 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38980 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
38981 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
38982 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38983 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38985 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38986 (__EPOLL_PACKED): Define to empty if not defined by
38988 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38989 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38992 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38994 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38995 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38996 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38997 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38999 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39000 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39003 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39005 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
39007 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39008 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39009 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
39010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39012 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
39014 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39015 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39017 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
39019 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39020 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39022 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39024 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39027 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
39029 * math/w_acos.c: Use non-signaling floating-point comparisons.
39030 * math/w_acosf.c: Likewise.
39031 * math/w_acosh.c: Likewise.
39032 * math/w_acoshf.c: Likewise.
39033 * math/w_acoshl.c: Likewise.
39034 * math/w_acosl.c: Likewise.
39035 * math/w_asin.c: Likewise.
39036 * math/w_asinf.c: Likewise.
39037 * math/w_asinl.c: Likewise.
39038 * math/w_atanh.c: Likewise.
39039 * math/w_atanhf.c: Likewise.
39040 * math/w_atanhl.c: Likewise.
39041 * math/w_exp2.c: Likewise.
39042 * math/w_exp2f.c: Likewise.
39043 * math/w_exp2l.c: Likewise.
39044 * math/w_j0.c: Likewise.
39045 * math/w_j0f.c: Likewise.
39046 * math/w_j0l.c: Likewise.
39047 * math/w_j1.c: Likewise.
39048 * math/w_j1f.c: Likewise.
39049 * math/w_j1l.c: Likewise.
39050 * math/w_jn.c: Likewise.
39051 * math/w_jnf.c: Likewise.
39052 * math/w_log.c: Likewise.
39053 * math/w_log10.c: Likewise.
39054 * math/w_log10f.c: Likewise.
39055 * math/w_log10l.c: Likewise.
39056 * math/w_log2.c: Likewise.
39057 * math/w_log2f.c: Likewise.
39058 * math/w_log2l.c: Likewise.
39059 * math/w_logf.c: Likewise.
39060 * math/w_logl.c: Likewise.
39061 * math/w_sqrt.c: Likewise.
39062 * math/w_sqrtf.c: Likewise.
39063 * math/w_sqrtl.c: Likewise.
39064 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39065 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39066 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39067 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39068 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39070 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39073 * manual/string.texi (strnlen): Use correct parameter name in
39074 equivalent expression.
39076 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39079 * manual/users.texi (seteuid): Consistently use neweuid for
39082 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39085 * manual/nss.texi (Services in the NSS configuration): Correct
39086 list of services in example configuration file.
39088 2012-02-19 Nick Bowler <nbowler@draconx.ca>
39091 * manual/arith.texi: Remove statements about negative zero
39092 behaving identically to zero.
39094 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39097 * manual/install.texi: Do not document upgrading from libc5.
39099 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39102 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39104 2012-02-18 David S. Miller <davem@davemloft.net>
39106 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39107 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39108 %o7 across the call.
39109 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39111 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39112 SETUP_PIC_REG_LEAF.
39113 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39114 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39115 * sysdeps/sparc/crtn.S: Likewise.
39117 2012-02-17 Ulrich Drepper <drepper@gmail.com>
39119 * aout/Makefile: Remove.
39121 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
39124 * manual/examples/argp-ex1.c (main): Format definition in GNU
39126 * manual/examples/argp-ex2.c (main): Likewise.
39127 * manual/examples/argp-ex3.c (main): Likewise.
39128 * manual/examples/argp-ex4.c (main): Likewise.
39129 * manual/examples/longopt.c (main): Use new-style prototype
39131 * manual/examples/strncat.c (main): Specify return type and use
39132 (void) for arguments.
39133 * manual/examples/subopt.c (main): Use char **argv argument.
39135 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39138 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
39141 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
39144 * manual/string.texi (strchr): Change when strchrnul is
39147 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
39150 * manual/locale.texi (setlocale): Document LOCPATH.
39152 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39155 * manual/process.texi (execle): Move @dots{} before last argument.
39157 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
39160 * manual/charset.texi (Generic Charset Conversion): Fix typo
39161 (LC_TYPE -> LC_CTYPE).
39163 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
39166 * manual/arith.texi (scalbn): Use @var{} on parameter names.
39167 (scalbnf): Likewise.
39168 (scalbnl): Likewise.
39169 (scalbln): Likewise.
39170 (scalblnf): Likewise.
39171 (scalblnl): Likewise.
39172 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
39173 (vwarnx): Likewise.
39176 * manual/filesys.texi (telldir): Use braces around return type.
39177 * manual/llio.texi (mmap): Add space after comma.
39178 (mmap64): Likewise.
39179 * manual/math.texi (jn): Use @var{} on parameter names.
39185 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
39187 * manual/resource.texi (ulimit): Use @dots{} instead of literal
39189 (sched_get_priority_min): Remove semicolon on @deftypefun line.
39190 (sched_get_priority_max): Likewise.
39191 * manual/signal.texi (sigvec): Add space after comma.
39192 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
39194 (if_indextoname): Likewise.
39195 (if_freenameindex): Likewise.
39196 (sendto): Use ',' instead of '.' in prototype.
39197 * manual/startup.texi (syscall): Use @dots{} instead of literal
39199 * manual/stdio.texi (__fpending): Separate initial words of
39200 paragraph from @deftypefun line.
39201 * manual/syslog.texi (syslog): Use @dots{} instead of literal
39203 (vsyslog): Use @var{} on parameter names.
39204 * manual/terminal.texi (stty): Use @var{} on parameter names.
39205 * manual/users.texi (getutmp): Use @var{} on parameter names.
39206 (getutmpx): Likewise.
39208 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39211 * manual/stdio.texi (fopen): Fix typos in description of
39214 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
39217 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
39218 get clock_id definition.
39220 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
39223 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
39224 (madvise): Cast every argument to void on its own.
39226 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39229 * manual/startup.texi (Exit Status): Fix typo.
39231 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39234 * manual/examples/argp-ex1.c: Include <stdlib.h>.
39235 * manual/examples/argp-ex2.c: Likewise.
39236 * manual/examples/argp-ex3.c: Likewise.
39238 2012-02-16 Richard Henderson <rth@redhat.com>
39240 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
39241 * sysdeps/s390/s390-32/initfini.c: Remove.
39242 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
39243 * sysdeps/s390/s390-64/initfini.c: Remove.
39245 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39247 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
39248 compiler output for sysdeps/generic/initfini.c.
39249 * sysdeps/sh/elf/initfini.c: Remove file.
39251 2012-02-16 David S. Miller <davem@davemloft.net>
39254 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
39256 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
39257 * sysdeps/sparc/crti.S: New file.
39258 * sysdeps/sparc/crtn.S: New file.
39259 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
39260 * sysdeps/sparc/sparc64/Makefile: Likewise.
39262 2012-02-15 Mike Frysinger <vapier@gentoo.org>
39265 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
39267 2012-02-15 Roland McGrath <roland@hack.frob.com>
39270 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
39272 * mach/devstream.c (cookie_io_functions_t): Macro removed.
39273 (write, read, close): Likewise.
39274 Patch by Aurelien Jarno <aurelien@aurel32.net>.
39276 2012-02-15 Joseph Myers <joseph@codesourcery.com>
39278 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
39279 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
39280 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
39281 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
39283 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
39284 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39287 2012-02-14 Marek Polacek <polacek@redhat.com>
39289 * sysdeps/x86_64/crti.S: New file.
39290 * sysdeps/x86_64/crtn.S: New file.
39291 * sysdeps/x86_64/elf/initfini.c: Remove file.
39293 2012-02-13 Joseph Myers <joseph@codesourcery.com>
39295 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
39296 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
39297 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
39298 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
39300 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
39301 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39304 2012-02-13 Joseph Myers <joseph@codesourcery.com>
39306 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
39307 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
39308 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
39309 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
39311 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
39312 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39315 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
39317 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
39318 __feraiseexcept instead of feraiseexcept.
39320 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
39321 nanosleep invocations.
39322 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
39323 strings, and add error checking for a nanosleep invocations.
39325 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
39327 Replace FSF snail mail address with URLs, as per GNU coding standards.
39328 Most of the snail mail addresses were wrong anyway, and omitting
39329 them makes the source code easier to maintain. Almost all of the
39330 changes are to license notices and to locale LC_IDENTIFICATION
39331 addresses, except for this one:
39332 * manual/libc.texinfo: In "Published by", give the FSF's URL,
39333 not its snail mail address.
39335 2012-02-09 Richard Henderson <rth@twiddle.net>
39337 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
39338 of kernel-features.h.
39340 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
39342 2012-02-08 Marek Polacek <polacek@redhat.com>
39344 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
39345 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
39346 * sysdeps/gnu/_G_config.h: Likewise.
39347 * sysdeps/generic/_G_config.h: Likewise.
39349 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
39351 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
39353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39355 * sysdeps/powerpc/powerpc32/crti.S: New file.
39356 * sysdeps/powerpc/powerpc32/crtn.S: New file.
39357 * sysdeps/powerpc/powerpc64/crti.S: New file.
39358 * sysdeps/powerpc/powerpc64/crtn.S: New file.
39360 * Makeconfig (have-initfini): Don't set.
39361 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
39362 * configure.in (nopic_initfini): Don't substitute.
39363 * config.h.in (HAVE_INITFINI): Don't #undef.
39364 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
39365 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
39367 2012-02-08 Joseph Myers <joseph@codesourcery.com>
39369 Support crti.S and crtn.S provided directly by architectures.
39370 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
39371 [crti.S in sysdirs] (omit-deps): Likewise.
39372 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
39373 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
39374 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
39375 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
39376 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
39377 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
39378 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
39379 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
39380 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
39381 compiler output for sysdeps/generic/initfini.c.
39382 * sysdeps/i386/elf/Makefile: Remove file.
39383 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
39385 2012-02-07 Marek Polacek <polacek@redhat.com>
39387 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
39388 * sysdeps/gnu/_G_config.h: Likewise.
39389 * sysdeps/mach/hurd/_G_config.h: Likewise.
39391 2012-02-07 Marek Polacek <polacek@redhat.com>
39393 * math/Makefile (tests): Add tst-CMPLX2.
39394 * math/tst-CMPLX2.c: New file.
39396 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
39398 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39400 * math/libm-test.inc (jn_test): Add missing L suffix.
39402 2012-02-06 Marek Polacek <polacek@redhat.com>
39404 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
39405 * sysdeps/i386/fpu/e_powf.S: Likewise.
39406 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39407 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39408 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39409 * sysdeps/i386/fpu/e_pow.S: Likewise.
39410 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39411 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39412 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39413 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39414 * sysdeps/i386/fpu/e_log2.S: Likewise.
39415 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39416 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39417 * sysdeps/i386/fpu/e_powl.S: Likewise.
39418 * sysdeps/i386/fpu/s_log1p.S: Likewise.
39419 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39420 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39421 * sysdeps/i386/fpu/e_logl.S: Likewise.
39422 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39423 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
39424 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39425 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39426 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39427 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39428 * sysdeps/i386/fpu/e_log.S: Likewise.
39429 * sysdeps/i386/fpu/s_cexp.S: Likewise.
39430 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39431 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
39432 * sysdeps/i386/fpu/e_logf.S: Likewise.
39433 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39434 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39435 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
39436 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39437 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39438 * sysdeps/i386/fpu/e_log10.S: Likewise.
39439 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39440 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39441 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39442 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39443 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39444 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39445 * sysdeps/i386/asm-syntax.h: Likewise.
39446 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39447 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39448 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39449 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
39450 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
39451 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39452 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39453 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39454 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39455 * sysdeps/powerpc/sysdep.h: Likewise.
39456 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
39457 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39459 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39462 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
39464 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39466 * sysdeps/i386/sysdep.h: Include <features.h>.
39467 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
39470 2012-02-05 Joseph Myers <joseph@codesourcery.com>
39472 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39474 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39477 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39479 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39480 (SETUP_PIC_REG): Use GET_PC_THUNK.
39481 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39484 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39486 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39487 for non-PIC compilation.
39488 (SETUP_PIC_REG): Add .p2align directive.
39489 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39490 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39491 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39492 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39493 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39494 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39495 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39496 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39497 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39498 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39499 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39500 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39501 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39502 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39503 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39504 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39505 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39506 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39507 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39508 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39509 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39510 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39511 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39512 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39513 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39514 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39515 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39516 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39517 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39518 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39519 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39520 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39521 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39522 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39523 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39524 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39525 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39526 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39527 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39528 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39529 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39531 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39533 * math/tst-CMPLX.c: Include <stdio.h>.
39535 2012-01-31 Joseph Myers <joseph@codesourcery.com>
39537 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39539 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39540 * sysdeps/sparc/bits/mathdef.h: Likewise.
39542 2012-01-31 Marek Polacek <polacek@redhat.com>
39544 * libio/libio.h: Don't define _PARAMS.
39545 * locale/programs/config.h: Don't define PARAMS.
39546 * stdlib/strtol_l.c: Likewise.
39547 (__strtol_l): Remove PARAMS from the prototype.
39549 2012-01-31 Ulrich Drepper <drepper@gmail.com>
39551 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
39552 names. Just use the correct names. Remove unnecessary wrapper
39554 * malloc/arena.c: Likewise.
39555 * malloc/hooks.c: Likewise.
39557 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39558 ARENA_TEST says not to. Simplify test for creation of a new arena.
39559 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39561 2012-01-30 Ulrich Drepper <drepper@gmail.com>
39563 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39565 (update_get_addr): New function.
39566 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39567 GET_ADDR_MODULE parameter.
39569 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39571 * crypt/cert.c: Remove __STDC__ conditionals.
39572 * crypt/crypt-entry.c: Likewise.
39573 * crypt/crypt_util.c: Likewise.
39574 * libio/filedoalloc.c: Likewise.
39575 * libio/fileops.c: Likewise.
39576 * libio/genops.c: Likewise.
39577 * libio/iofclose.c: Likewise.
39578 * libio/iofdopen.c: Likewise.
39579 * libio/iofopen.c: Likewise.
39580 * libio/iofopen64.c: Likewise.
39581 * libio/iogetdelim.c: Likewise.
39582 * libio/iopopen.c: Likewise.
39583 * libio/obprintf.c: Likewise.
39584 * libio/oldfileops.c: Likewise.
39585 * libio/oldiofclose.c: Likewise.
39586 * libio/oldiofdopen.c: Likewise.
39587 * libio/oldiofopen.c: Likewise.
39588 * libio/oldiopopen.c: Likewise.
39589 * libio/wfiledoalloc.c: Likewise.
39590 * libio/wgenops.c: Likewise.
39591 * locale/programs/xmalloc.c: Likewise.
39592 * misc/syslog.c: Likewise.
39593 * stdio-common/xbug.c: Likewise.
39594 * string/memchr.c: Likewise.
39595 * string/memcmp.c: Likewise.
39596 * string/memrchr.c: Likewise.
39597 * string/rawmemchr.c: Likewise.
39598 * sysdeps/posix/getcwd.c: Likewise.
39599 * time/strftime_l.c: Likewise.
39601 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39603 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
39604 * config.make.in (config-cflags-sse2avx): Define.
39605 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39608 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
39610 * scripts/config.guess: Update from upstream config git repository.
39611 * scripts/config.sub: Likewise.
39613 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
39615 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39617 (R_TILEPRO_*, R_TILEGX_*): New macros.
39619 * scripts/firstversions.awk: Fix bug in version range handling.
39621 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39623 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39625 * include/sys/epoll.h: New file.
39626 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39629 2012-01-28 Ulrich Drepper <drepper@gmail.com>
39631 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39632 Avoid unnecessary __WORDSIZE == 64 test.
39633 (fmaxf): Use VEX format if possible.
39638 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39639 * math/math_private.h: Remove libc_fegetround* and
39641 * sysdeps/i386/configure.in: Check for -msse2avx.
39642 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39643 also if SSE2AVX is defined.
39644 Remove libc_fegetround* and libc_fesetround*.
39645 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39646 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
39647 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
39649 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39650 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39651 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39652 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39653 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39655 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
39657 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39659 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
39661 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39663 2012-01-27 Ulrich Drepper <drepper@gmail.com>
39666 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
39668 * Makeconfig (libm): Define.
39669 * elf/Makefile: Add rules to build and run tst-relsort1.
39670 * elf/tst-relsort1.c: New file.
39671 * elf/tst-relsort1mod1.c: New file.
39672 * elf/tst-relsort1mod2.c: New file.
39674 2012-01-27 Joseph Myers <joseph@codesourcery.com>
39676 * math/s_ldexp.c: Remove __STDC__ conditionals.
39677 * math/s_ldexpf.c: Likewise.
39678 * math/s_ldexpl.c: Likewise.
39679 * math/s_nextafter.c: Likewise.
39680 * math/s_nexttowardf.c: Likewise.
39681 * math/s_significand.c: Likewise.
39682 * math/s_significandf.c: Likewise.
39683 * math/s_significandl.c: Likewise.
39684 * math/w_jnl.c: Likewise.
39685 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39686 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39687 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39688 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39689 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39690 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39691 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
39692 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39693 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39694 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39695 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39696 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39697 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39698 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39699 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39700 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39701 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39702 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39703 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39704 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39705 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39706 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39707 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39708 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39709 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39710 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39711 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39712 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39713 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39714 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39715 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39716 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39717 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39718 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39719 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39720 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39721 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39722 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39723 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39724 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39725 * sysdeps/ieee754/k_standard.c: Likewise.
39726 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39727 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39728 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39729 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39730 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39731 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39732 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39733 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39734 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39735 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39736 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39737 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39738 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39739 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39740 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39741 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39742 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39743 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39744 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39745 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39746 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39747 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39748 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39749 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39750 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39751 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39752 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39753 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39754 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39755 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39756 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39757 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
39758 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39759 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39760 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39761 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39762 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
39763 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39764 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39765 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
39766 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
39767 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39768 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39769 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
39770 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39771 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39772 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39773 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39774 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39775 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39776 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
39777 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39778 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39779 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39780 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39781 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39782 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
39783 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39784 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39785 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39786 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39787 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39788 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39789 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39790 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39791 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39792 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39793 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39794 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39795 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39796 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39797 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39798 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39799 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39800 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39801 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39802 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39803 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39804 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39805 * sysdeps/ieee754/s_matherr.c: Likewise.
39806 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39807 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39808 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39809 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39811 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39813 * crypt/md5.h: Remove __STDC__ conditionals.
39814 * libio/libioP.h: Likewise.
39815 * locale/programs/config.h: Likewise.
39816 * sysdeps/generic/sysdep.h: Likewise.
39817 * sysdeps/i386/asm-syntax.h: Likewise.
39818 * sysdeps/s390/asm-syntax.h: Likewise.
39819 * sysdeps/unix/sysdep.h: Likewise.
39820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39823 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39825 * libio/libio.h: Remove __STDC__ conditionals.
39826 * malloc/obstack.h: Likewise.
39827 * math/complex.h: Likewise.
39828 * math/math.h: Likewise.
39829 * sysdeps/generic/_G_config.h: Likewise.
39830 * sysdeps/gnu/_G_config.h: Likewise.
39831 * sysdeps/mach/hurd/_G_config.h: Likewise.
39832 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39833 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39834 * sysdeps/sparc/bits/mathdef.h: Likewise.
39836 2012-01-26 Ulrich Drepper <drepper@gmail.com>
39839 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
39840 Clean up HAS_* macros.
39841 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
39842 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
39844 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
39846 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39847 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39848 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39849 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39850 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39852 2012-01-25 Joseph Myers <joseph@codesourcery.com>
39854 * elf/tst-unique3.cc (gets): Remove declaration.
39855 * elf/tst-unique3lib.cc (gets): Likewise.
39856 * elf/tst-unique3lib2.cc (gets): Likewise.
39857 * elf/tst-unique4.cc (gets): Likewise.
39859 2012-01-24 Ulrich Drepper <drepper@gmail.com>
39861 * include/stdio.h: Add C++ protection. Add gets declarations and
39863 * debug/tst-chk1.c: Don't declare gets here.
39864 * stdio-common/tst-gets.c: Likewise.
39866 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39868 * posix/glob: Remove directory.
39870 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39872 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
39874 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
39876 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
39877 of the non-standard EPFNOSUPPORT.
39879 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
39881 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
39882 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
39883 ANYWHERE set to 1 only on KERN_NO_SPACE error.
39885 2012-01-21 Ulrich Drepper <drepper@gmail.com>
39887 * wcsmbs/uchar.h: Test __STDC_VERSION__.
39889 2012-01-20 Ulrich Drepper <drepper@gmail.com>
39891 * nscd/aicache.c (addhstaiX): Do not cache negative results of
39893 * nscd/grpcache.c (cache_addgr): Likewise.
39894 * nscd/hstcache.c (cache_addhst): Likewise.
39895 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39896 * nscd/pwdcache.c (cache_addpw): Likewise.
39897 * nscd/servicescache.c (cache_addserv): Likewise.
39899 2012-01-16 Ulrich Drepper <drepper@gmail.com>
39901 * malloc/malloc.c: Various cleanups.
39902 * malloc/hooks.c: Likewise.
39904 * stdlib/Makefile (tests): Add bug-fmtmsg1.
39905 * stdlib/bug-fmtmsg1.c: New file.
39907 * stdlib/fmtmsg.c (init): Add missing unlock.
39908 Patch by Peng Haitao <penght@cn.fujitsu.com>.
39910 2012-01-12 Marek Polacek <polacek@redhat.com>
39912 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
39915 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39917 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
39918 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
39919 macro to ensure uniqueness of label name.
39920 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39921 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39923 2012-01-11 Ulrich Drepper <drepper@gmail.com>
39925 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
39927 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
39928 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39929 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39930 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
39932 2012-01-10 Ulrich Drepper <drepper@gmail.com>
39934 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
39936 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
39937 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39938 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39940 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
39942 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
39943 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39944 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39945 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
39947 * math/bits/math-finite.h: Add ldexp support.
39949 2012-01-10 Marek Polacek <polacek@redhat.com>
39951 * locale/programs/localedef.h (show_archive_content): Add noreturn
39954 2012-01-09 Ulrich Drepper <drepper@gmail.com>
39956 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
39958 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39960 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
39962 * io/Makefile (headers): Add bits/poll2.h.
39964 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
39966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
39967 typo #include statement.
39969 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39971 * include/sys/cdefs.h: Define __attribute_alloc_size.
39972 * catgets/gencat.c: Add alloc_size attribute and apply consistently
39973 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
39974 * elf/pldd.c: Likewise.
39975 * iconv/iconv_charmap.c: Likewise.
39976 * iconv/iconvconfig.c: Likewise.
39977 * iconv/strtab.c: Likewise.
39978 * locale/programs/locale.c: Likewise.
39979 * locale/programs/localedef.h: Likewise.
39980 * locale/programs/simple-hash.c: Likewise.
39981 * nscd/nscd.h: Likewise.
39982 * nss/makedb.c: Likewise.
39983 * sysdeps/generic/ldconfig.h: Likewise.
39984 * locale/programs/localedef.c: Remove xmalloc prototype.
39985 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39987 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39989 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39992 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39994 * math/Makefile (tests): Add tst-CMPLX.
39995 * math/tst-CMPLX.c: New file.
39997 * math/complex.h (CMPLXL): Fix typo.
39999 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40000 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
40002 * debug/tst-chk1.c: Add poll and ppoll tests.
40003 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
40004 * include/sys/poll.h: Add hidden proto for ppoll.
40005 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
40006 * sysdeps/mach/hurd/ppoll.c: Likewise.
40007 * io/ppoll.c: Likewise.
40008 * debug/poll_chk.c: New file.
40009 * debug/ppoll_chk.c: New file.
40010 * include/bits/poll2.h: New file.
40011 * io/bits/poll2.h: New file.
40014 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40016 * configure.in: static is always set to yes. Remove.
40017 * config.make.in: Don't set build-static.
40018 * Makeconfig: Remove use of build-static.
40019 * dlfcn/Makefile: Likewise.
40020 * elf/Makefile: Likewise.
40021 * math/Makefile: Likewise.
40022 * misc/Makefile: Likewise.
40023 * nptl/Makefile: Likewise.
40024 * sysdeps/mach/hurd/Makefile: Likewise.
40026 * configure.in: PWD_P is not used anymore.
40027 * config.make.in: Remove PWD_P entry.
40029 * configure.in: Remove last remnants of RANLIB.
40030 No need to check for signed size_t anymore.
40031 Don't set libc_commonpagesize and libc_relro_required here for Alpha
40033 Remove __builtin_expect test because we require at least gcc 3.4.
40034 * aclocal.m4: Likewise.
40036 * wcsmbs/mbrtoc16.c: Implement using towc function.
40037 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40038 * wcsmbs/wcsmbsload.c: Likewise.
40039 * iconv/gconv_simple.c: Likewise.
40040 * iconv/gconv_int.h: Likewise.
40041 * iconv/gconv_builtin.h: Likewise.
40042 * iconv/iconv_prog.c: Remove CHAR16 handling.
40044 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40046 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40048 * configure.in: Remove --with-elf and --enable-bounded options.
40049 Dont set base_machine for ia64. More non-ELF conditions removed.
40050 Remove testing and setting of leading underscore information.
40051 * config.make.in (build-bounded): Set to no.
40052 * config.h.in: Remove NO_UNDERSCORES entry.
40053 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
40055 * csu/start.c: Remove !NO_UNDERSCORE code.
40056 * locale/localeinfo.h: Likewise.
40057 * sysdeps/generic/machine-gmon.h: Likewise.
40058 * sysdeps/generic/sysdep.h: Likewise.
40059 * sysdeps/i386/sysdep.h: Likewise.
40060 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40061 * sysdeps/mach/sysdep.h: Likewise.
40062 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40063 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40064 * sysdeps/sh/sysdep.h: Likewise.
40065 * sysdeps/sparc/sparc32/alloca.S: Likewise.
40066 * sysdeps/unix/i386/sysdep.S: Likewise.
40067 * sysdeps/unix/sparc/start.c: Likewise.
40068 * sysdeps/unix/sparc/sysdep.S: Likewise.
40069 * sysdeps/unix/sparc/sysdep.h: Likewise.
40070 * sysdeps/unix/start.c: Likewise.
40071 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40072 * sysdeps/x86_64/sysdep.h: Likewise.
40074 2012-01-07 Ulrich Drepper <drepper@gmail.com>
40077 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40079 * argp/argp-fmtstream.h: Use const instead __const.
40080 * argp/argp.h: Likewise.
40081 * assert/assert.h: Likewise.
40082 * bits/fenv.h: Likewise.
40083 * bits/sched.h: Likewise.
40084 * bits/sigset.h: Likewise.
40085 * bits/sigthread.h: Likewise.
40086 * catgets/nl_types.h: Likewise.
40087 * conform/data/pthread.h-data: Likewise.
40088 * crypt/crypt-private.h: Likewise.
40089 * crypt/crypt.h: Likewise.
40090 * crypt/crypt_util.c: Likewise.
40091 * ctype/ctype.h: Likewise.
40092 * debug/execinfo.h: Likewise.
40093 * debug/mbsnrtowcs_chk.c: Likewise.
40094 * debug/mbsrtowcs_chk.c: Likewise.
40095 * debug/wcsnrtombs_chk.c: Likewise.
40096 * debug/wcsrtombs_chk.c: Likewise.
40097 * debug/wcstombs_chk.c: Likewise.
40098 * dirent/dirent.h: Likewise.
40099 * dlfcn/dlfcn.h: Likewise.
40100 * elf/neededtest4.c: Likewise.
40101 * grp/grp.h: Likewise.
40102 * gshadow/gshadow.h: Likewise.
40103 * iconv/gconv.h: Likewise.
40104 * iconv/gconv_int.h: Likewise.
40105 * iconv/gconv_simple.c: Likewise.
40106 * iconv/iconv.h: Likewise.
40107 * iconv/loop.c: Likewise.
40108 * iconv/skeleton.c: Likewise.
40109 * include/aio.h: Likewise.
40110 * include/aliases.h: Likewise.
40111 * include/argz.h: Likewise.
40112 * include/arpa/inet.h: Likewise.
40113 * include/assert.h: Likewise.
40114 * include/dirent.h: Likewise.
40115 * include/dlfcn.h: Likewise.
40116 * include/execinfo.h: Likewise.
40117 * include/fcntl.h: Likewise.
40118 * include/fenv.h: Likewise.
40119 * include/glob.h: Likewise.
40120 * include/grp.h: Likewise.
40121 * include/libintl.h: Likewise.
40122 * include/mntent.h: Likewise.
40123 * include/netdb.h: Likewise.
40124 * include/pwd.h: Likewise.
40125 * include/rpc/netdb.h: Likewise.
40126 * include/sched.h: Likewise.
40127 * include/search.h: Likewise.
40128 * include/shadow.h: Likewise.
40129 * include/signal.h: Likewise.
40130 * include/stdio.h: Likewise.
40131 * include/stdlib.h: Likewise.
40132 * include/string.h: Likewise.
40133 * include/sys/socket.h: Likewise.
40134 * include/sys/stat.h: Likewise.
40135 * include/sys/statfs.h: Likewise.
40136 * include/sys/statvfs.h: Likewise.
40137 * include/sys/syslog.h: Likewise.
40138 * include/sys/time.h: Likewise.
40139 * include/sys/uio.h: Likewise.
40140 * include/time.h: Likewise.
40141 * include/unistd.h: Likewise.
40142 * include/utmp.h: Likewise.
40143 * include/wchar.h: Likewise.
40144 * include/wctype.h: Likewise.
40145 * inet/aliases.h: Likewise.
40146 * inet/arpa/inet.h: Likewise.
40147 * inet/netinet/ether.h: Likewise.
40148 * inet/netinet/in.h: Likewise.
40149 * intl/libintl.h: Likewise.
40150 * io/bits/fcntl2.h: Likewise.
40151 * io/fcntl.h: Likewise.
40152 * io/ftw.h: Likewise.
40153 * io/sys/poll.h: Likewise.
40154 * io/sys/stat.h: Likewise.
40155 * io/sys/statfs.h: Likewise.
40156 * io/sys/statvfs.h: Likewise.
40157 * io/utime.h: Likewise.
40158 * libio/bits/stdio.h: Likewise.
40159 * libio/bits/stdio2.h: Likewise.
40160 * libio/libio.h: Likewise.
40161 * libio/libioP.h: Likewise.
40162 * libio/stdio.h: Likewise.
40163 * locale/lc-ctype.c: Likewise.
40164 * locale/locale.h: Likewise.
40165 * login/utmp.h: Likewise.
40166 * malloc/arena.c: Likewise.
40167 * malloc/malloc.c: Likewise.
40168 * malloc/malloc.h: Likewise.
40169 * malloc/mcheck.c: Likewise.
40170 * malloc/mtrace.c: Likewise.
40171 * math/bits/mathcalls.h: Likewise.
40172 * math/fenv.h: Likewise.
40173 * math/math_private.h: Likewise.
40174 * misc/bits/error.h: Likewise.
40175 * misc/bits/syslog.h: Likewise.
40176 * misc/err.h: Likewise.
40177 * misc/error.h: Likewise.
40178 * misc/fstab.h: Likewise.
40179 * misc/mntent.h: Likewise.
40180 * misc/regexp.h: Likewise.
40181 * misc/search.h: Likewise.
40182 * misc/sgtty.h: Likewise.
40183 * misc/sys/mman.h: Likewise.
40184 * misc/sys/syslog.h: Likewise.
40185 * misc/sys/uio.h: Likewise.
40186 * misc/sys/xattr.h: Likewise.
40187 * misc/ttyent.h: Likewise.
40188 * nis/rpcsvc/ypclnt.h: Likewise.
40189 * nss/nss.h: Likewise.
40190 * posix/bits/unistd.h: Likewise.
40191 * posix/fnmatch.h: Likewise.
40192 * posix/glob.h: Likewise.
40193 * posix/sched.h: Likewise.
40194 * posix/spawn.h: Likewise.
40195 * posix/sys/wait.h: Likewise.
40196 * posix/unistd.h: Likewise.
40197 * posix/wordexp.h: Likewise.
40198 * pwd/pwd.h: Likewise.
40199 * resolv/netdb.h: Likewise.
40200 * resource/sys/resource.h: Likewise.
40201 * rt/aio.h: Likewise.
40202 * rt/bits/mqueue2.h: Likewise.
40203 * rt/mqueue.h: Likewise.
40204 * shadow/shadow.h: Likewise.
40205 * signal/signal.h: Likewise.
40206 * socket/send.c: Likewise.
40207 * socket/sendto.c: Likewise.
40208 * socket/sys/socket.h: Likewise.
40209 * stdio-common/printf.h: Likewise.
40210 * stdlib/bits/stdlib.h: Likewise.
40211 * stdlib/fmtmsg.h: Likewise.
40212 * stdlib/monetary.h: Likewise.
40213 * stdlib/stdlib.h: Likewise.
40214 * stdlib/ucontext.h: Likewise.
40215 * streams/stropts.h: Likewise.
40216 * string/argz.h: Likewise.
40217 * string/bits/string2.h: Likewise.
40218 * string/string.h: Likewise.
40219 * string/strings.h: Likewise.
40220 * sunrpc/rpc/auth.h: Likewise.
40221 * sunrpc/rpc/auth_des.h: Likewise.
40222 * sunrpc/rpc/clnt.h: Likewise.
40223 * sunrpc/rpc/netdb.h: Likewise.
40224 * sunrpc/rpc/pmap_clnt.h: Likewise.
40225 * sunrpc/rpc/xdr.h: Likewise.
40226 * sysdeps/generic/inttypes.h: Likewise.
40227 * sysdeps/generic/net/if.h: Likewise.
40228 * sysdeps/generic/sys/swap.h: Likewise.
40229 * sysdeps/gnu/net/if.h: Likewise.
40230 * sysdeps/gnu/utmpx.h: Likewise.
40231 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
40232 * sysdeps/i386/i486/bits/string.h: Likewise.
40233 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
40234 * sysdeps/s390/bits/string.h: Likewise.
40235 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
40236 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
40237 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
40238 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
40239 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
40240 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
40241 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
40242 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
40243 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
40244 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
40245 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
40246 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
40247 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
40248 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
40249 * sysdeps/unix/sysv/linux/readv.c: Likewise.
40250 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
40251 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40252 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40253 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40254 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40255 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40256 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
40257 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
40258 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
40259 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
40260 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
40261 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
40262 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40263 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
40264 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
40265 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
40266 * sysvipc/sys/ipc.h: Likewise.
40267 * sysvipc/sys/msg.h: Likewise.
40268 * sysvipc/sys/sem.h: Likewise.
40269 * sysvipc/sys/shm.h: Likewise.
40270 * termios/termios.h: Likewise.
40271 * time/sys/time.h: Likewise.
40272 * time/time.h: Likewise.
40273 * wcsmbs/bits/wchar2.h: Likewise.
40274 * wcsmbs/uchar.h: Likewise.
40275 * wcsmbs/wchar.h: Likewise.
40276 * wctype/wctype.h: Likewise.
40279 * Makeconfig: Remove all but ELF support including AIX support.
40280 * Makerules: Likewise.
40281 * config.h.in: Likewise.
40282 * config.make.in: Likewise.
40283 * configure: Likewise.
40284 * configure.in: Likewise.
40285 * csu/Makefile: Likewise.
40286 * csu/version.c: Likewise.
40287 * debug/Makefile: Likewise.
40288 * dlfcn/Makefile: Likewise.
40289 * elf/Makefile: Likewise.
40290 * extra-lib.mk: Likewise.
40291 * iconv/Makefile: Likewise.
40292 * include/libc-symbols.h: Likewise.
40293 * include/shlib-compat.h: Likewise.
40294 * resolv/Makefile: Likewise.
40295 * resolv/res_libc.c: Likewise.
40296 * rt/Makefile: Likewise.
40297 * sysdeps/i386/asm-syntax.h: Likewise.
40298 * sysdeps/i386/sysdep.h: Likewise.
40299 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40300 * sysdeps/mach/sysdep.h: Likewise.
40301 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
40302 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
40303 * sysdeps/s390/asm-syntax.h: Likewise.
40304 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40305 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40306 * sysdeps/sh/sysdep.h: Likewise.
40307 * sysdeps/unix/sparc/sysdep.h: Likewise.
40308 * sysdeps/wordsize-32/divdi3.c: Likewise.
40309 * sysdeps/x86_64/sysdep.h: Likewise.
40311 * argp/Versions: Remove _argp_unlock_xxx.
40314 * abilist/ld.abilist: Update. Adjust for removal of tls option.
40315 * abilist/libBrokenLocale.abilist: Likewise.
40316 * abilist/libanl.abilist: Likewise.
40317 * abilist/libc.abilist: Likewise.
40318 * abilist/libcrypt.abilist: Likewise.
40319 * abilist/libdl.abilist: Likewise.
40320 * abilist/libm.abilist: Likewise.
40321 * abilist/libnsl.abilist: Likewise.
40322 * abilist/libpthread.abilist: Likewise.
40323 * abilist/libresolv.abilist: Likewise.
40324 * abilist/librt.abilist: Likewise.
40325 * abilist/libthread_db.abilist: Likewise.
40326 * abilist/libutil.abilist: Likewise.
40327 * abilist/libnss_db.abilist: New file.
40329 * scripts/abilist.awk: Add support for indirect functions.
40331 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
40333 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
40335 * shlib-versions: Remove entries for ports architectures.
40337 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
40339 * elf/stackguard-macros.h: Remove support for IA-64.
40340 * elf/tst-auditmod1.c: Likewise.
40341 * sysdeps/generic/ldsodefs.h: Likewise.
40343 * sysdeps/unix/sysv/linux/configure.in: Ports should define
40344 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
40348 * configure.in: Remove --enable-omitfp support.
40350 * config.make.in: Likewise.
40351 * Makeconfig: Likewise.
40352 * manual/install.texi: Likewise.
40354 In case anyone cares, the IA-64 architecture could move to ports.
40355 * sysdeps/ia64/*: Removed.
40356 * sysdeps/unix/sysv/linux/ia64/*: Removed.
40357 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
40360 * configure.in: Remove entries for unsupported architectures.
40363 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
40364 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
40366 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
40367 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
40368 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
40369 fall back to using wcrtomb.
40370 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
40371 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
40373 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
40374 * wcsmbs/tst-c16c32-1.c: New file.
40376 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
40379 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
40381 * elf/tst-unique3.cc: Add explicit declaration of gets.
40382 * elf/tst-unique3lib.cc: Likewise.
40383 * elf/tst-unique3lib2.cc: Likewise.
40384 * elf/tst-unique4.cc: Likewise.
40386 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
40388 2012-01-06 Joseph Myers <joseph@codesourcery.com>
40391 * assert/assert.h (static_assert): Don't define for C++.
40392 * libio/stdio.h (gets): Do declare for C++ <= C++11.
40393 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
40395 2012-01-03 Ulrich Drepper <drepper@gmail.com>
40397 * iconv/loop.c (single loop): Fix assertion in storing of
40400 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
40402 2012-01-01 Ulrich Drepper <drepper@gmail.com>
40404 * posix/getconf.c: Update copyright year.
40405 * nss/getent.c: Likewise.
40406 * nss/makedb.c: Likewise.
40407 * iconv/iconvconfig.c: Likewise.
40408 * iconv/iconv_prog.c: Likewise.
40409 * elf/ldconfig.c: Likewise.
40410 * elf/pldd.c: Likewise.
40411 * elf/sotruss.ksh: Likewise.
40412 * catgets/gencat.c: Likewise.
40413 * csu/version.c: Likewise.
40414 * elf/ldd.bash.in: Likewise.
40415 * elf/sprof.c (print_version): Likewise.
40416 * locale/programs/locale.c: Likewise.
40417 * locale/programs/localedef.c: Likewise.
40418 * login/programs/pt_chown.c: Likewise.
40419 * nscd/nscd.c (print_version): Likewise.
40420 * debug/xtrace.sh: Likewise.
40421 * malloc/memusage.sh: Likewise.
40422 * malloc/mtrace.pl: Likewise.
40423 * debug/catchsegv.sh: Likewise.
40425 2011-12-30 Jakub Jelinek <jakub@redhat.com>
40427 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
40430 2011-12-24 Ulrich Drepper <drepper@gmail.com>
40433 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
40434 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
40436 * iconv/gconv_int.h: Likewise.
40437 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
40438 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
40439 from libc for GLIBC_2.16.
40440 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
40441 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
40442 * wcsmbs/uchar.h: Really define mbstate_t.
40443 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
40444 * wcsmbs/c16rtomb.c: New file.
40445 * wcsmbs/mbrtoc16.c: New file.
40446 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
40447 for C/POSIX locale.
40448 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
40449 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
40451 * wcsmbs/wchar.h: Add missing __restrict.
40453 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40456 * time/Makefile (routines): Add timespec_get.
40457 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
40458 * time/time.h: Define TIME_UTC and declare timespec_get. Define
40459 timespec for ISO C11.
40460 * time/timespec_get.c: New file.
40461 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
40462 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
40465 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
40466 * stdlib/stdlib.h: Declare aligned_alloc.
40467 * Versions.def: Add GLIBC_2.16 for libc.
40468 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
40471 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40474 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
40478 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40481 * assert/assert.h (static_assert): Define.
40483 * version.h: Update for 2.16 development version.
40486 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40489 * version.h (RELEASE): Bump for 2.15 release.
40490 * include/features.h (__GLIBC_MINOR__): Bump to 15.
40492 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40493 Patch by Marek Polacek <mpolacek@redhat.com>.
40495 * bits/byteswap.h: Protect long long constants with __extension__.
40496 * sysdeps/i386/bits/byteswap.h: Likewise.
40497 * sysdeps/ia64/bits/byteswap.h: Likewise.
40498 * sysdeps/s390/bits/byteswap.h: Likewise.
40499 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40501 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40504 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40505 destination buffer.
40506 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40508 2011-12-23 Marek Polacek <polacek@redhat.com>
40510 * elf/dl-addr.c (determine_info): Add inline keyword.
40511 * elf/tst-auditmod4b.c (check_avx): Likewise.
40512 * elf/tst-auditmod6b.c (check_avx): Likewise.
40513 * elf/tst-auditmod6c.c (check_avx): Likewise.
40514 * elf/tst-auditmod7b.c (check_avx): Likewise.
40516 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40518 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40521 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40524 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40525 processing for last bytes.
40527 2011-08-06 Bruno Haible <bruno@clisp.org>
40530 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40531 U+0385, not to U+1FEE.
40534 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40535 entry for U+00A5 U+0301.
40537 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40540 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40541 buffer for the output is too small.
40543 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40547 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40548 SSE flags if possible.
40550 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40553 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40554 processing for last bytes.
40556 2011-12-22 Joseph Myers <joseph@codesourcery.com>
40558 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40559 (syscall-list-default-options, syscall-list-default-condition)
40560 (syscall-list-includes): Define.
40561 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40562 list of ABIs and options and #if conditions for each ABI. Do not
40563 handle common syscalls between ABIs specially.
40564 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40566 (syscall-list-variants, syscall-list-32bit-options)
40567 (syscall-list-32bit-condition, syscall-list-64bit-options)
40568 (syscall-list-64bit-condition): Define.
40569 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
40570 (syscall-list-variants, syscall-list-32bit-options)
40571 (syscall-list-32bit-condition, syscall-list-64bit-options)
40572 (syscall-list-64bit-condition): Define.
40573 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
40575 (syscall-list-variants, syscall-list-32bit-options)
40576 (syscall-list-32bit-condition, syscall-list-64bit-options)
40577 (syscall-list-64bit-condition): Define.
40578 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
40580 (syscall-list-variants, syscall-list-32bit-options)
40581 (syscall-list-32bit-condition, syscall-list-64bit-options)
40582 (syscall-list-64bit-condition): Define.
40584 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40586 * locale/iso-639.def: Add brx entry.
40589 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40590 Proposed by Mariusz_Cukr <marcukr@op.pl>.
40592 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40593 __feraiseexcept_renamed.
40595 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40598 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40599 EPOLLET with unsigned values.
40600 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40601 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40603 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40604 to large cancellation.
40605 * math/s_cacoshf.c: Likewise.
40606 * math/s_cacoshl.c: Likewise.
40608 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
40612 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40613 * math/s_cacoshf.c: Likewise.
40614 * math/s_cacoshl.c: Likewise.
40616 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40619 * iconv/gconv.h: Define __GCONV_SWAP.
40620 * iconvdata/unicode.c: The swap bit must be stored in __flags.
40621 * iconvdata/utf-16.c: Likewise.
40622 * iconvdata/utf-32.c: Likewise.
40624 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
40627 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40628 numerator after shifting it by one limb.
40630 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
40632 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40633 under [__USE_EXTERN_INLINES].
40635 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40638 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40640 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40642 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40643 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40645 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40646 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
40647 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
40648 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
40649 for strncasecmp/strncasecmp_l compilation.
40650 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
40651 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
40653 2011-12-08 Marek Polacek <mpolacek@redhat.com>
40656 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
40659 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40662 * time/tzfile.c (__tzfile_read): Check values from file header.
40664 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
40666 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
40667 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
40668 * powerpc/powerpc32/dl-start.S: Likewise.
40669 * powerpc/powerpc32/elf/start.S: Likewise.
40670 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40671 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
40672 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
40673 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
40674 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40675 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
40676 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
40677 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40678 * powerpc/powerpc32/fpu/s_round.S: Likewise.
40679 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40680 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40681 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40682 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40683 * powerpc/powerpc32/memset.S: Likewise.
40684 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40685 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40686 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40687 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40688 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40689 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40690 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40691 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40692 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
40693 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
40694 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
40695 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40696 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40698 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40700 * math/libm-test.inc: Added more nearbyint tests.
40701 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
40702 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
40703 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
40704 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
40706 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
40708 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
40711 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40713 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
40714 Add wcscpy-ssse3 wcscpy-c.
40715 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
40716 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
40717 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
40718 * sysdeps/x86_64/wcschr.S: New file.
40719 * sysdeps/x86_64/wcsrchr.S: New file.
40720 * string/test-strcmp.c: Remove checking of wcscmp function for
40722 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
40723 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
40724 wcsrchr-sse2 wcsrchr-c.
40725 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
40726 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
40727 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
40728 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
40729 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
40730 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
40731 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
40732 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
40733 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
40734 * wcsmbc/wcschr.c (WCSCHR): New macro.
40736 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40738 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
40739 * wcsmbs/test-wcsrchr.c: New file.
40740 * string/test-strrchr.c: Add wcsrchr support.
40742 * wcsmbs/test-wcscpy.c: New file.
40743 * string/test-strcpy.c: Add wcscpy support.
40746 2011-12-10 Ulrich Drepper <drepper@gmail.com>
40748 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
40751 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
40754 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
40756 2011-12-04 Ulrich Drepper <drepper@gmail.com>
40758 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
40759 Minor optimizations.
40761 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
40762 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
40763 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
40765 2011-12-03 Ulrich Drepper <drepper@gmail.com>
40767 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
40768 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
40769 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
40770 for gcc to avoid warnings.
40771 * inet/Makefile (tests): Add tst-checks.
40772 * inet/tst-checks.c: New file.
40774 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
40777 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
40780 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
40781 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
40783 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
40785 2011-12-02 Ulrich Drepper <drepper@gmail.com>
40787 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
40790 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
40792 2011-11-29 Joseph Myers <joseph@codesourcery.com>
40794 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
40795 conditional on GCC version.
40796 (__arch_compare_and_exchange_val_8_acq)
40797 (__arch_compare_and_exchange_val_16_acq)
40798 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
40799 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
40800 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
40802 2011-12-02 Joseph Myers <joseph@codesourcery.com>
40804 * sysdeps/sh/backtrace.c: New file.
40806 2011-12-02 Andreas Schwab <schwab@redhat.com>
40808 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
40811 2011-12-01 Andreas Schwab <schwab@redhat.com>
40813 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
40814 falling back to utime.
40816 2011-11-30 Andreas Schwab <schwab@redhat.com>
40818 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
40819 expectations for float.
40821 2011-11-29 Andreas Schwab <schwab@redhat.com>
40823 * locale/weight.h (findidx): Add parameter len.
40824 * locale/weightwc.h (findidx): Likewise.
40825 * posix/fnmatch_loop.c (FCT): Adjust caller.
40826 * posix/regcomp.c (build_equiv_class): Likewise.
40827 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
40828 * posix/regexec.c (check_node_accept_bytes): Likewise.
40829 * string/strcoll_l.c (STRCOLL): Likewise.
40830 * string/strxfrm_l.c (STRXFRM): Likewise.
40832 2011-11-17 Ulrich Drepper <drepper@gmail.com>
40834 * Makefile.in: Remove CVSOPT handling.
40835 * configure.in: Remove use of AC_REVISION.
40836 * iconvdata/Makefile (distribute): No need to filter out CVS.
40837 * scripts/list-sources.sh: Remove CVS, subversion and monotone
40840 2011-11-16 Andreas Schwab <schwab@redhat.com>
40842 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
40843 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
40844 [USE_AS_STRNCASECMP_L]: Likewise.
40845 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
40846 NO_TLS_DIRECT_SEG_REFS.
40847 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
40848 Fix argument offsets for non-PIC.
40849 [USE_AS_STRNCASECMP_L]: Likewise.
40850 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
40851 NO_TLS_DIRECT_SEG_REFS.
40853 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40855 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
40857 * locale/loadlocale.c (_nl_load_locale): Likewise.
40859 2011-11-15 Andreas Schwab <schwab@redhat.com>
40861 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
40862 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
40863 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
40864 (SYSCALL_GETTIME): Set errno on error.
40866 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
40867 count references to noai6ai_cached.
40869 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40871 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
40873 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
40874 FD_CLOEXEC for /proc/self/maps.
40876 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
40877 FD_CLOEXEC for /proc/meminfo.
40879 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
40882 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
40883 FD_CLOEXEC for given file.
40885 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
40887 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
40888 FD_CLOEXEC for /etc/hosts.
40889 (_gethtent): Likewise.
40891 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
40893 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
40894 cancellation and set FD_CLOEXEC for /etc/netgroup.
40896 * nss/nss_files/files-key.c (search): Don't allow cancellation when
40897 reading /etc/publickey.
40899 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
40900 allow cancellation when reading /etc/group.
40902 * nss/nss_files/files-alias.c (internal_setent): Don't allow
40904 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
40906 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
40907 when using data file.
40909 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
40911 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
40912 (write_nis_obj): Use "c" and "e" in fopen.
40914 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
40916 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
40918 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
40920 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
40922 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
40925 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
40927 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
40929 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
40931 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
40932 file parsing and set FD_CLOEXEC.
40934 2011-11-14 Ulrich Drepper <drepper@gmail.com>
40936 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
40938 2011-11-14 Andreas Schwab <schwab@redhat.com>
40940 * malloc/arena.c (arena_get2): Don't call reused_arena when
40941 _int_new_arena failed.
40943 2011-11-14 Ulrich Drepper <drepper@gmail.com>
40945 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
40946 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
40947 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
40948 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40949 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40950 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
40951 to compile strcasecmp and strncasecmp.
40952 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
40953 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
40955 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
40957 2011-11-13 Ulrich Drepper <drepper@gmail.com>
40959 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
40960 locale-defines.sym to gen-as-const-headers.
40961 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
40962 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
40963 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
40964 to compile strcasecmp and strncasecmp.
40965 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
40966 strcasecmp_l and strncasecmp_l.
40967 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
40968 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
40969 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
40970 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
40971 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
40972 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
40973 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
40974 * sysdeps/i386/i686/multiarch/strncase.S: New file.
40975 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
40976 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
40977 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
40979 2011-11-12 Ulrich Drepper <drepper@gmail.com>
40981 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
40982 result of SYSDEP_GETTIME_CPU to retval.
40983 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40984 parameter list to macro. Remove trailing semicolon. Adjust users.
40986 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40989 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40991 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40993 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40994 from unused variable.
40996 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40998 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41001 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
41004 * sunrpc/rpc_prot.c (rejected): Fix case value.
41006 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
41007 unsigned long long int to avoid warnings in shift.
41009 * posix/regex_internal.c (re_string_reconstruct): Actually use result
41011 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41014 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41015 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41016 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41018 * nis/nis_table.c (nis_list): Use variable of correct type for
41019 result of __follow_path call.
41021 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41023 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41024 of math functions ceil, trunc, floor, round, and sqrt, when
41025 avaliable on the platform.
41026 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41028 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41029 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41030 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41032 2011-10-30 Marek Polacek <mpolacek@redhat.com>
41034 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41035 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41037 2011-11-11 Roland McGrath <roland@hack.frob.com>
41039 * include/unistd.h: Fix __readlink return type.
41040 Reported by Chris Metcalf <cmetcalf@tilera.com>.
41042 2011-11-11 Ulrich Drepper <drepper@gmail.com>
41044 * stdlib/ucontext.h: Undo last change for makecontext.
41046 2011-11-11 Andreas Schwab <schwab@redhat.com>
41048 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41050 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41051 * setjmp/setjmp.h: Mark functions as non-leaf.
41052 * setjmp/bits/setjmp2.h: Likewise.
41053 * stdlib/ucontext.h: Likewise.
41055 2011-11-10 Andreas Schwab <schwab@redhat.com>
41057 * malloc/arena.c (_int_new_arena): Don't increment narenas.
41058 (reused_arena): Don't check arena limit.
41059 (arena_get2): Atomically check arena limit.
41061 2011-11-08 Ulrich Drepper <drepper@gmail.com>
41063 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41064 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41066 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41069 2011-11-07 Andreas Schwab <schwab@redhat.com>
41071 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41072 handler when locking.
41074 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41075 Fix size of allocated buffer.
41077 2011-11-04 Andreas Schwab <schwab@redhat.com>
41080 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41081 declarations for long double functions.
41082 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41084 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41086 2011-11-03 Andreas Schwab <schwab@redhat.com>
41088 * nscd/nscd.c (main): Don't start AVC thread until credentials are
41091 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41094 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
41096 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41098 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
41100 * include/alloca.h (stackinfo_alloca_round): Define.
41101 (extend_alloca): Use it.
41102 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41103 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41106 * scripts/check-local-headers.sh: Ignore libaudit.h.
41108 * nscd/Makefile (extra-objs): Make recursively expanded.
41110 2011-11-01 Ulrich Drepper <drepper@gmail.com>
41112 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41113 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41115 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41116 * posix/tst-rfc3484-2.c: Likewise.
41117 * posix/tst-rfc3484-3.c: Likewise.
41119 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41121 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41123 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41124 process_vm_writev from libc using GLIBC_2.15 version.
41126 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41128 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
41130 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41133 2011-10-31 Ulrich Drepper <drepper@gmail.com>
41136 * nss/getent.c (initgroups_keys): Show error message in case no group
41139 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
41140 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
41141 __bump_nl_timestamp.
41142 * nscd/connections (nscd_init): When host database is served open
41143 netlink socket and request notification about configuration changes.
41144 (main_loop_poll): Track netlink file descriptor and bump timestamp
41145 in case data becomes available.
41146 (main_loop_epoll): Likewise.
41147 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
41148 (database_pers_head): Add extra_data fileds.
41149 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
41150 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
41151 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
41153 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
41154 in6ai data, call __free_in6ai.
41155 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
41156 Add -DHAVE_NETLINK.
41157 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
41158 interface information. Reuse previous data if netlink timestamp
41160 (__bump_nl_timestamp): New function.
41161 (__free_in6ai): New function.
41163 2011-10-30 Ulrich Drepper <drepper@gmail.com>
41165 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
41166 close_not_cancel_no_status here.
41167 (__check_pf): Reorganize code a bit to not call close twice if OOM.
41169 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41172 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
41175 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
41176 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
41177 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
41179 2011-07-03 Andreas Jaeger <aj@suse.de>
41182 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
41183 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
41184 * math/libm-test.inc (sin_test): Add test case.
41186 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41189 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
41190 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41192 * elf/chroot_canon.c (chroot_canon): Cleanups.
41194 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
41197 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
41198 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41200 * string/test-strchr.c: Make usable for strchrnul testing.
41201 * string/test-strchrnul.c: New file.
41202 * string/Makefile (strop-tests): Add strchrnul.
41204 * po/it.po: Update from translation team.
41205 * po/es.po: Likewise.
41207 2011-10-28 Ulrich Drepper <drepper@gmail.com>
41209 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
41210 the three constants needed as parameters. Drop the others.
41211 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
41212 __m128i_strloadu_tolower.
41213 Create and initialize variable zero and use it in all the places
41214 where _mm_setzero_si128 was used.
41216 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
41217 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
41218 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
41219 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
41221 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
41222 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
41223 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
41224 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
41225 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
41226 __mpranred, __mptan.
41227 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
41228 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
41229 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
41230 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
41231 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
41232 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
41233 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
41234 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
41235 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
41237 2011-10-28 Andreas Schwab <schwab@redhat.com>
41239 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
41240 redefine if SHARED.
41241 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
41243 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
41244 wide char related routines to wcsmbs subdir.
41246 2011-10-27 Andreas Schwab <schwab@redhat.com>
41249 * misc/sys/cdefs.h (__THROWNL): Define.
41250 * posix/unistd.h: Use __THREADNL instead of __THREAD
41251 for memory synchronization functions.
41253 2011-10-26 Roland McGrath <roland@hack.frob.com>
41256 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
41258 * manual/stdio.texi (Obstack Streams): Node removed.
41260 2011-10-26 Andreas Schwab <schwab@redhat.com>
41262 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
41263 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41264 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41266 * math/math_private.h (math_force_eval): Allow non-addressable
41268 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
41270 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41272 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
41273 file is not needed.
41275 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
41276 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
41277 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41278 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41279 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41280 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41281 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41282 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
41284 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
41285 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
41286 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
41287 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
41288 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
41289 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
41290 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
41291 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
41292 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
41293 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
41294 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
41295 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
41296 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
41297 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
41298 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
41299 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
41300 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
41301 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
41302 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
41304 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
41305 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
41307 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
41308 place. Use VEX encoding when compiling for AVX.
41310 2011-10-25 Andreas Schwab <schwab@redhat.com>
41312 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
41313 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41315 * string/test-strchr.c (do_test): Don't generate NUL bytes.
41317 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41319 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
41320 useless if() expression.
41321 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41322 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41323 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41324 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41325 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41326 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41327 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41328 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41329 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41330 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41331 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41332 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41333 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41334 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41335 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41336 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41337 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41338 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41339 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41341 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
41343 2011-10-25 Andreas Schwab <schwab@redhat.com>
41345 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
41347 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41349 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41351 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
41352 .text section. Avoid duplicate constants.
41353 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41354 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41355 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41356 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41357 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41358 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41359 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41360 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41361 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41362 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
41363 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41364 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41365 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41366 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41367 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41368 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41369 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41370 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41371 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41372 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41373 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41374 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41375 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41376 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
41377 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
41378 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
41379 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
41380 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
41381 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
41382 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
41383 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
41384 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
41385 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41386 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
41387 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
41388 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
41389 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
41390 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
41391 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
41392 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
41393 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
41394 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
41395 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
41396 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
41397 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
41399 2011-10-24 Ulrich Drepper <drepper@gmail.com>
41401 * sysdeps/x86_64/dla.h: Move to ...
41402 * sysdeps/x86_64/fpu/dla.h: ...here.
41403 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
41404 situations. Use __builtin_fma only for gcc 4.6 and up.
41406 * config.make.in: Add have-mfma4 entry.
41407 * configure.in: Substitute libc_cv_cc_fma4.
41408 * math/Makefile (dbl-only-routines): Add sincostab.
41409 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
41410 Use __sincostab not sincos.
41411 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
41413 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41414 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41415 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41416 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
41418 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
41419 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
41420 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
41421 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
41423 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
41424 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
41426 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
41427 define aliases when function name is a macro.
41428 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
41429 sysdeps/ieee754/dbl-64/sincos.tbl.
41430 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
41431 fma4-enabled routines.
41432 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
41433 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
41434 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
41435 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
41436 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
41437 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
41438 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
41439 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
41440 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
41441 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
41442 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
41443 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
41444 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
41445 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
41446 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
41447 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
41448 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
41449 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
41450 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
41451 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
41452 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
41453 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
41454 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
41455 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
41456 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
41457 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
41458 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
41459 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
41460 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
41461 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
41463 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
41465 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41466 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41467 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41468 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41469 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41470 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41471 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41472 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41474 2011-10-24 Andreas Schwab <schwab@redhat.com>
41476 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41478 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41480 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41482 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41484 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41486 * string/strnlen.c: Don't define STRNLEN, reverse logic.
41487 Remove unused variable magic_bits.
41488 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41490 * string/strnlen.c: Define and use STRNLEN macro.
41491 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41492 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41493 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41494 * wcsmbs/wcslen.c: Define and use WCSLEN.
41495 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41496 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41497 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41498 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41499 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41500 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41501 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41503 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41505 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41506 strnlen-sse2-no-bsf.
41507 Rename strlen-no-bsf to strlen-sse2-no-bsf.
41508 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41509 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41510 Add strnlen support.
41511 (USE_AS_STRNLEN): New macro.
41512 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41513 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41514 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41515 * sysdeps/x86_64/wcslen.S: New file.
41517 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
41519 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41520 XMM-moves are used for copying on small sizes.
41522 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41524 * wcsmbs/Makefile (strop-tests): Add wcschr.
41525 * wcsmbs/test-wcschr.c: New file.
41526 * string/test-strchr.c: Update.
41527 Add wcschr support.
41530 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41532 * wcsmbs/Makefile (strop-tests): Add wcslen.
41533 * wcsmbs/test-wcslen.c: New file.
41534 * string/test-strlen.c: Update.
41535 Add wcslen support.
41538 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41540 * po/it.po: Update from translation team.
41542 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41544 * sysdeps/x86_64/wcscmp.S: Update.
41545 Fix wrong comparison semantics.
41546 wcscmp shall use signed comparison not unsigned.
41547 Don't use substraction to avoid overflow bug.
41548 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41549 * wcsmbc/wcscmp.c: Likewise.
41550 * string/test-strcmp.c: Likewise.
41551 Add new tests to check cases with negative values.
41553 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41555 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41556 * sysdeps/x86_64/dla.h: ...here. New file.
41557 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41558 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41559 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41560 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41561 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41562 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41563 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41564 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41565 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41567 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
41569 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41570 __ynl_finite aliases.
41572 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41574 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41576 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41578 [DLA_FMA] (EMULV): Use DLA_FMA.
41579 [DLA_FMA] (MUL12): Use EMULV.
41580 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41581 that are not needed.
41582 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41583 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41584 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41585 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41586 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41587 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41588 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41590 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
41592 * math/s_nan.c: Undef __nan.
41593 * math/s_nanf.c: Undef __nanf.
41594 * math/s_nanl.c: Undef __nanl.
41595 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41598 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41600 * math/s_catan.c: Add branch predictions.
41601 * math/s_catanf.c: Likewise.
41602 * math/s_catanh.c: Likewise.
41603 * math/s_catanhf.c: Likewise.
41604 * math/s_catanhl.c: Likewise.
41605 * math/s_catanl.c: Likewise.
41606 * math/s_cexp.c: Likewise.
41607 * math/s_cexpf.c: Likewise.
41608 * math/s_cexpl.c: Likewise.
41609 * math/s_clog.c: Likewise.
41610 * math/s_clog10.c: Likewise.
41611 * math/s_clog10f.c: Likewise.
41612 * math/s_clog10l.c: Likewise.
41613 * math/s_clogf.c: Likewise.
41614 * math/s_clogl.c: Likewise.
41615 * math/s_csqrt.c: Likewise.
41616 * math/s_csqrtf.c: Likewise.
41617 * math/s_csqrtl.c: Likewise.
41618 * math/s_ctanf.c: Likewise.
41619 * math/s_ctanh.c: Likewise.
41620 * math/s_ctanhf.c: Likewise.
41621 * math/s_ctanhl.c: Likewise.
41622 * math/s_ctanl.c: Likewise.
41624 * math/math_private.h: Define __nan, __nanf, __nanl.
41625 * math/s_cacosh.c: Include <math_private.h>.
41626 * math/s_cacoshl.c: Likewise.
41627 * math/s_casinh.c: Likewise.
41628 * math/s_casinhf.c: Likewise.
41629 * math/s_casinhl.c: Likewise.
41630 * math/s_ccos.c: Rely entire on ccosh.
41631 * math/s_ccosf.c: Rely entire on ccoshf.
41632 * math/s_ccosl.c: Rely entirely on ccoshl.
41633 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
41634 Remove tests for FE_INVALID.
41635 * math/s_ccoshf.c: Likewise.
41636 * math/s_ccoshl.c: Likewise.
41637 * math/s_csin.c: Likewise.
41638 * math/s_csinf.c: Likewise.
41639 * math/s_csinh.c Likewise.
41640 * math/s_csinhf.c: Likewise.
41641 * math/s_csinhl.c: Likewise.
41642 * math/s_csinl.c: Likewise.
41643 * math/s_ctan.c: Likewise.
41644 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41645 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41646 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
41648 2011-10-21 Ulrich Drepper <drepper@gmail.com>
41650 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
41651 compilation problems.
41653 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
41656 2011-10-20 Ulrich Drepper <drepper@gmail.com>
41658 * sysdeps/i386/configure.in: Test for -mfma4 option.
41659 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
41660 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
41661 COMMON_CPUID_INDEX_80000001.
41662 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
41663 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
41664 use it if FMA3 is not supported.
41665 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
41667 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
41668 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41670 2011-10-20 Andreas Schwab <schwab@redhat.com>
41673 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
41674 it would create a cycle with a link time dependency.
41676 2011-10-19 Ulrich Drepper <drepper@gmail.com>
41678 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
41680 * string/Makefile (strop-tests): Add rawmemchr.
41681 * string/test-rawmemchr.c: New file.
41683 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
41684 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
41685 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
41686 when compiling str{,n}casecmp and when AVX is available. Hook up
41687 new optimized code in initializers.
41689 2011-10-19 Andreas Schwab <schwab@redhat.com>
41691 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
41692 __feraiseexcept instead of feraiseexcept.
41694 2011-10-18 Ulrich Drepper <drepper@gmail.com>
41696 * math/math_private.h: Define defaults for libc_fetestexcept and
41698 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
41699 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
41700 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41701 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41702 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41703 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41704 libc_fetestexcept and libc_feupdateenv.
41706 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
41707 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
41708 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
41709 * sysdeps/x86_64/fpu/math_private.h: Define special version of
41710 libc_feholdexcept_setround.
41712 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
41713 Add s_nearbyint-c and s_nearbyintf-c.
41714 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
41715 nearbyintf inlines.
41716 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
41717 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
41718 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
41719 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
41721 * math/math_private.h: Define defaults for libc_fegetround,
41722 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
41723 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
41724 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
41725 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
41726 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
41727 standard functions.
41728 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41729 Remove comments and hacks for old compiler versions.
41730 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41731 libc_fegetround, libc_fesetround, libc_feholdexcept, and
41732 libc_feholdexceptl.
41734 2011-10-18 Andreas Schwab <schwab@redhat.com>
41736 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
41737 (__feraiseexcept_renamed): Add __NTH.
41738 (feraiseexcept): Add __NTH. Rename local variables to fix
41739 namespace violations.
41741 2011-10-17 Ulrich Drepper <drepper@gmail.com>
41743 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
41745 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
41747 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
41748 recently added interfaces.
41749 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
41751 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
41752 about macro parameter expansion.
41754 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
41755 __NO_MATH_INLINES is defined. Cleanups.
41757 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
41758 and __floorf is target has SSE4.1.
41759 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
41760 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
41761 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
41762 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
41764 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
41766 (floorf): Likewise.
41768 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
41770 2011-10-17 Andreas Schwab <schwab@redhat.com>
41772 * misc/sys/cdefs.h: Fix last change.
41774 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
41777 2011-10-16 Ulrich Drepper <drepper@gmail.com>
41779 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
41781 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
41782 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41783 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41784 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41785 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41786 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41787 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41788 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41789 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41790 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
41791 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
41792 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
41793 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
41794 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
41795 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
41796 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
41797 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
41798 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
41799 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
41800 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
41801 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
41802 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
41804 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
41805 ceil, ceilf, floor, floorf.
41807 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
41808 Perform IRELATIVE relocations last.
41810 * elf/do-rel.h: Add another parameter nrelative, replacing the
41811 local variable with the same name. Change name of the function
41812 to end in Rel or Rela (uppercase).
41813 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
41814 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
41815 elf_dynamic_do_##reloc function.
41817 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41819 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
41820 is sufficient, at least on modern CPUs.
41822 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
41824 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
41825 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
41827 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
41829 * math/bits/math-finite.h: Add entries for exp.
41830 * math/e_expl.c: Add __*_finite alias.
41831 * sysdeps/i386/fpu/e_exp.S: Likewise.
41832 * sysdeps/i386/fpu/e_expf.S: Likewise.
41833 * sysdeps/i386/fpu/e_expl.c: Likewise.
41834 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41835 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41836 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41837 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41838 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
41839 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41840 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41842 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
41843 is sufficient, at least on modern CPUs.
41845 * ctype/ctype-info.c (__ctype_init): Define.
41846 * include/ctype.h (__ctype_init): Declare.
41847 (__ctype_b_loc): The variable is always initialized.
41848 (__ctype_toupper_loc): Likewise.
41849 (__ctype_tolower_loc): Likewise.
41850 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
41851 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
41853 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
41855 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
41857 * configure.in: Also look in $cxxmachine/include for C++ system
41860 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41862 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
41863 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
41864 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
41865 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
41866 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
41867 (USE_AS_WMEMCMP): New macro.
41869 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
41870 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
41871 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
41872 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
41873 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41874 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
41875 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
41876 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
41877 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
41878 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
41879 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
41880 (USE_AS_WMEMCMP): New macro.
41881 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
41882 * sysdeps/string/test-memcmp.c: Update.
41883 Fix simple_wmemcmp.
41885 * wcsmbs/wmemcmp.c: Update.
41886 (WMEMCMP): New macro.
41889 2011-10-12 Andreas Jaeger <aj@suse.de>
41892 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
41894 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41896 * libio/iofwide.c (do_length): Avoid warning.
41898 * ctype/ctype.h (__isctype_f): Add missing __THROW.
41900 2011-10-14 Ulrich Drepper <drepper@gmail.com>
41902 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
41904 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
41905 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
41906 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
41907 * sysdeps/i386/i686/fpu/e_log.S: New file.
41908 * sysdeps/i386/i686/fpu/e_logf.S: New file.
41909 * sysdeps/i386/i686/fpu/e_logl.S: New file.
41911 * ctype/ctype.h: Add support for inlined isXXX functions when
41912 compiling C++ code.
41914 2011-10-14 Andreas Schwab <schwab@redhat.com>
41916 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41918 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
41920 2011-10-13 Roland McGrath <roland@hack.frob.com>
41923 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
41925 2011-10-13 Andreas Schwab <schwab@redhat.com>
41927 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
41928 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
41931 * sysdeps/x86_64/memrchr.S: Check for zero size.
41933 * string/stratcliff.c: Add memrchr tests.
41935 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41937 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41938 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
41939 rawmemchr-sse2 rawmemchr-sse2-bsf.
41940 * sysdeps/i386/i686/multiarch/memchr.S: New file.
41941 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
41942 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
41943 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
41944 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
41945 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
41946 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
41947 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
41948 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
41949 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
41950 * string/memrchr.c (MEMRCHR): New macro.
41952 2011-10-12 Ulrich Drepper <drepper@gmail.com>
41954 Add integration with gcc's -ffinite-math-only and optimize wrapper
41956 * Versions.def: Define GLIBC_2.15 version for libm.
41957 * math/Makefile (headers): Add bits/math-finite.h.
41958 * math/bits/math-finite.h: New file.
41959 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
41960 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
41961 * math/e_acoshl.c: Add __*_finite alias.
41962 * math/e_acosl.c: Likewise.
41963 * math/e_asinl.c: Likewise.
41964 * math/e_atan2l.c: Likewise.
41965 * math/e_atanhl.c: Likewise.
41966 * math/e_coshl.c: Likewise.
41967 * math/e_exp10.c: Likewise.
41968 * math/e_exp10f.c: Likewise.
41969 * math/e_exp10l.c: Likewise.
41970 * math/e_exp2l.c: Likewise.
41971 * math/e_fmodl.c: Likewise.
41972 * math/e_gammal_r.c: Likewise.
41973 * math/e_hypotl.c: Likewise.
41974 * math/e_j0l.c: Likewise.
41975 * math/e_j1l.c: Likewise.
41976 * math/e_jnl.c: Likewise.
41977 * math/e_lgammal_r.c: Likewise.
41978 * math/e_log10l.c: Likewise.
41979 * math/e_log2l.c: Likewise.
41980 * math/e_logl.c: Likewise.
41981 * math/e_powl.c: Likewise.
41982 * math/e_sinhl.c: Likewise.
41983 * math/e_sqrtl.c: Likewise.
41984 * math/e_scalb.c: Completely rewritten and optimized.
41985 * math/e_scalbf.c: Likewise.
41986 * math/e_scalbl.c: Likewise.
41987 * math/w_acos.c: Likewise.
41988 * math/w_acosf.c: Likewise.
41989 * math/w_acosl.c: Likewise.
41990 * math/w_acosh.c: Likewise.
41991 * math/w_acoshf.c: Likewise.
41992 * math/w_acoshl.c: Likewise.
41993 * math/w_asin.c: Likewise.
41994 * math/w_asinf.c: Likewise.
41995 * math/w_asinl.c: Likewise.
41996 * math/w_atan2.c: Likewise.
41997 * math/w_atan2f.c: Likewise.
41998 * math/w_atan2l.c: Likewise.
41999 * math/w_atanh.c: Likewise.
42000 * math/w_atanhf.c: Likewise.
42001 * math/w_atanhl.c: Likewise.
42002 * math/w_exp10.c: Likewise.
42003 * math/w_exp10f.c: Likewise.
42004 * math/w_exp10l.c: Likewise.
42005 * math/w_fmod.c: Likewise.
42006 * math/w_fmodf.c: Likewise.
42007 * math/w_fmodl.c: Likewise.
42008 * math/w_j0.c: Likewise.
42009 * math/w_j0f.c: Likewise.
42010 * math/w_j0l.c: Likewise.
42011 * math/w_j1.c: Likewise.
42012 * math/w_j1f.c: Likewise.
42013 * math/w_j1l.c: Likewise.
42014 * math/w_jn.c: Likewise.
42015 * math/w_jnf.c: Likewise.
42016 * math/w_log.c: Likewise.
42017 * math/w_logf.c: Likewise.
42018 * math/w_logl.c: Likewise.
42019 * math/w_log10.c: Likewise.
42020 * math/w_log10f.c: Likewise.
42021 * math/w_log10l.c: Likewise.
42022 * math/w_log2.c: Likewise.
42023 * math/w_log2f.c: Likewise.
42024 * math/w_log2l.c: Likewise.
42025 * math/w_pow.c: Likewise.
42026 * math/w_powf.c: Likewise.
42027 * math/w_powl.c: Likewise.
42028 * math/w_remainder.c: Likewise.
42029 * math/w_remainderf.c: Likewise.
42030 * math/w_remainderl.c: Likewise.
42031 * math/w_scalb.c: Likewise.
42032 * math/w_scalbf.c: Likewise.
42033 * math/w_scalbl.c: Likewise.
42034 * math/w_sqrt.c: Likewise.
42035 * math/w_sqrtf.c: Likewise.
42036 * math/w_sqrtl.c: Likewise.
42037 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42038 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
42040 * math/math_private.h: Declare __kernel_standard_f.
42041 * math/w_cosh.c: Remove cruft and optimize a bit.
42042 * math/w_coshf.c: Likewise.
42043 * math/w_coshl.c: Likewise.
42044 * math/w_exp2.c: Likewise.
42045 * math/w_exp2f.c: Likewise.
42046 * math/w_exp2l.c: Likewise.
42047 * math/w_hypot.c: Likewise.
42048 * math/w_hypotf.c: Likewise.
42049 * math/w_hypotl.c: Likewise.
42050 * math/w_lgamma.c: Likewise.
42051 * math/w_lgamma_r.c: Likewise.
42052 * math/w_lgammaf.c: Likewise.
42053 * math/w_lgammaf_r.c: Likewise.
42054 * math/w_lgammal.c: Likewise.
42055 * math/w_lgammal_r.c: Likewise.
42056 * math/w_sinh.c: Likewise.
42057 * math/w_sinhf.c: Likewise.
42058 * math/w_sinhl.c: Likewise.
42059 * math/w_tgamma.c: Likewise.
42060 * math/w_tgammaf.c: Likewise.
42061 * math/w_tgammal.c: Likewise.
42062 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42063 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42064 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42065 Minor optimizations. Pretty printing. Remove cruft.
42066 * sysdeps/i386/fpu/e_acosf.S: Likewise.
42067 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42068 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42069 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42070 * sysdeps/i386/fpu/e_acosl.c: Likewise.
42071 * sysdeps/i386/fpu/e_asin.S: Likewise.
42072 * sysdeps/i386/fpu/e_asinf.S: Likewise.
42073 * sysdeps/i386/fpu/e_atan2.S: Likewise.
42074 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42075 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42076 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42077 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42078 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42079 * sysdeps/i386/fpu/e_exp10.S: Likewise.
42080 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42081 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42082 * sysdeps/i386/fpu/e_exp2.S: Likewise.
42083 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42084 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42085 * sysdeps/i386/fpu/e_fmod.S: Likewise.
42086 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42087 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42088 * sysdeps/i386/fpu/e_hypot.S: Likewise.
42089 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42090 * sysdeps/i386/fpu/e_log.S: Likewise.
42091 * sysdeps/i386/fpu/e_log10.S: Likewise.
42092 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42093 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42094 * sysdeps/i386/fpu/e_log2.S: Likewise.
42095 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42096 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42097 * sysdeps/i386/fpu/e_logf.S: Likewise.
42098 * sysdeps/i386/fpu/e_logl.S: Likewise.
42099 * sysdeps/i386/fpu/e_pow.S: Likewise.
42100 * sysdeps/i386/fpu/e_powf.S: Likewise.
42101 * sysdeps/i386/fpu/e_powl.S: Likewise.
42102 * sysdeps/i386/fpu/e_remainder.S: Likewise.
42103 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42104 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42105 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42106 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42107 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42108 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42109 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42110 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42111 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42112 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42113 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42114 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42115 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42116 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42117 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42118 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42119 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42120 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42121 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42122 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42123 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42124 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42125 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42126 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42127 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42128 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42129 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42130 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42131 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42132 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42133 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42134 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42135 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42136 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42137 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42138 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42139 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
42140 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42141 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42142 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42143 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42144 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42145 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42146 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42147 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42148 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42149 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42150 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42151 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42152 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42153 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42154 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42155 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42156 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42157 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42158 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42159 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42160 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
42161 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42162 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42163 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42164 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42165 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42166 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42167 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42168 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42169 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42170 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42171 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42172 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42173 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42174 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42175 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42176 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42177 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42178 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42179 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
42180 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42181 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42182 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42183 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42184 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42185 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42186 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42187 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42188 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42189 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42190 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42191 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42192 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42193 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
42194 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42195 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42196 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42197 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42198 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42199 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42200 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42201 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42202 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42203 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42204 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42205 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42206 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42207 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42208 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
42209 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
42210 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
42211 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
42212 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
42213 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
42214 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
42215 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42216 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42217 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42218 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42219 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
42220 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42221 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
42222 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
42223 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
42224 (__isnanf): Likewise.
42225 (__isinf_ns): Likewise.
42226 (__isinf_nsf): Likewise.
42227 (__finite): Likewise.
42228 (__finitef): Likewise.
42229 (__ieee754_sqrt): Define as macro.
42230 (__ieee754_sqrtf): Define as macro.
42231 (__ieee754_sqrtl): Define as macro.
42232 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
42234 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
42235 __FINITE_MATH_ONLY__ consistent.
42236 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
42238 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
42240 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
42243 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
42245 2011-10-09 Ulrich Drepper <drepper@gmail.com>
42247 * po/ja.po: Update from translation team.
42249 2011-10-08 Roland McGrath <roland@hack.frob.com>
42251 * locale/programs/locarchive.c (prepare_address_space): New function.
42252 (create_archive, enlarge_archive, open_archive): Use it.
42254 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
42255 inside [SHARED], where it is used.
42257 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
42259 * nss/getent.c (netgroup_keys): Remove unused variable.
42260 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42262 2011-10-08 Ulrich Drepper <drepper@gmail.com>
42264 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
42265 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
42266 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
42267 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
42268 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
42269 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
42270 * math/Makefile (libm-calls): Add s_isinf_ns.
42271 * math/divtc3.c: Use __isinf_nsl instead of isinf.
42272 * math/multc3.c: Likewise.
42273 * math/s_casin.c: Likewise.
42274 * math/s_casinf.c: Likewise.
42275 * math/s_casinl.c: Likewise.
42276 * math/s_ccos.c: Likewise.
42277 * math/s_ccosf.c: Likewise.
42278 * math/s_ccosl.c: Likewise.
42279 * math/s_ctan.c: Likewise.
42280 * math/s_ctanf.c: Likewise.
42281 * math/s_ctanh.c: Likewise.
42282 * math/s_ctanhf.c: Likewise.
42283 * math/s_ctanhl.c: Likewise.
42284 * math/s_ctanl.c: Likewise.
42285 * math/w_fmod.c: Likewise.
42286 * math/w_fmodf.c: Likewise.
42287 * math/w_fmodl.c: Likewise.
42288 * math/w_remainder.c: Likewise.
42289 * math/w_remainderf.c: Likewise.
42290 * math/w_remainderl.c: Likewise.
42291 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
42292 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
42293 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
42294 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
42295 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
42296 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
42297 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
42298 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
42300 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
42302 * stdio-common/printf_fphex.c: Likewise.
42303 * stdio-common/printf_size.c: Likewise.
42305 * math/e_exp10.c: Include math_private.h using <...> not "...".
42306 * math/e_exp10f.c: Likewise.
42307 * math/e_exp10l.c: Likewise.
42308 * math/e_exp2l.c: Likewise.
42309 * math/e_j0l.c: Likewise.
42310 * math/e_j1l.c: Likewise.
42311 * math/e_jnl.c: Likewise.
42312 * math/e_lgammal_r.c: Likewise.
42313 * math/e_rem_pio2l.c: Likewise.
42314 * math/e_scalb.c: Likewise.
42315 * math/e_scalbf.c: Likewise.
42316 * math/e_scalbl.c: Likewise.
42317 * math/k_cosl.c: Likewise.
42318 * math/k_sinl.c: Likewise.
42319 * math/k_tanl.c: Likewise.
42320 * math/s_cacoshf.c: Likewise.
42321 * math/s_catan.c: Likewise.
42322 * math/s_catanf.c: Likewise.
42323 * math/s_catanh.c: Likewise.
42324 * math/s_catanhf.c: Likewise.
42325 * math/s_catanhl.c: Likewise.
42326 * math/s_catanl.c: Likewise.
42327 * math/s_ccosh.c: Likewise.
42328 * math/s_ccoshf.c: Likewise.
42329 * math/s_ccoshl.c: Likewise.
42330 * math/s_cexp.c: Likewise.
42331 * math/s_cexpf.c: Likewise.
42332 * math/s_cexpl.c: Likewise.
42333 * math/s_clog.c: Likewise.
42334 * math/s_clog10.c: Likewise.
42335 * math/s_clog10f.c: Likewise.
42336 * math/s_clog10l.c: Likewise.
42337 * math/s_clogf.c: Likewise.
42338 * math/s_clogl.c: Likewise.
42339 * math/s_csin.c: Likewise.
42340 * math/s_csinf.c: Likewise.
42341 * math/s_csinh.c: Likewise.
42342 * math/s_csinhf.c: Likewise.
42343 * math/s_csinhl.c: Likewise.
42344 * math/s_csinl.c: Likewise.
42345 * math/s_csqrt.c: Likewise.
42346 * math/s_csqrtf.c: Likewise.
42347 * math/s_csqrtl.c: Likewise.
42348 * math/s_ctan.c: Likewise.
42349 * math/s_ctanf.c: Likewise.
42350 * math/s_ctanh.c: Likewise.
42351 * math/s_ctanhf.c: Likewise.
42352 * math/s_ctanhl.c: Likewise.
42353 * math/s_ctanl.c: Likewise.
42354 * math/s_ldexp.c: Likewise.
42355 * math/s_ldexpf.c: Likewise.
42356 * math/s_ldexpl.c: Likewise.
42357 * math/s_significand.c: Likewise.
42358 * math/s_significandf.c: Likewise.
42359 * math/s_significandl.c: Likewise.
42360 * math/w_acos.c: Likewise.
42361 * math/w_acosf.c: Likewise.
42362 * math/w_acosh.c: Likewise.
42363 * math/w_acoshf.c: Likewise.
42364 * math/w_acoshl.c: Likewise.
42365 * math/w_acosl.c: Likewise.
42366 * math/w_asin.c: Likewise.
42367 * math/w_asinf.c: Likewise.
42368 * math/w_asinl.c: Likewise.
42369 * math/w_atan2.c: Likewise.
42370 * math/w_atan2f.c: Likewise.
42371 * math/w_atan2l.c: Likewise.
42372 * math/w_atanh.c: Likewise.
42373 * math/w_atanhf.c: Likewise.
42374 * math/w_atanhl.c: Likewise.
42375 * math/w_cosh.c: Likewise.
42376 * math/w_coshf.c: Likewise.
42377 * math/w_coshl.c: Likewise.
42378 * math/w_dremf.c: Likewise.
42379 * math/w_exp10.c: Likewise.
42380 * math/w_exp10f.c: Likewise.
42381 * math/w_exp10l.c: Likewise.
42382 * math/w_exp2.c: Likewise.
42383 * math/w_exp2f.c: Likewise.
42384 * math/w_fmod.c: Likewise.
42385 * math/w_fmodf.c: Likewise.
42386 * math/w_fmodl.c: Likewise.
42387 * math/w_hypot.c: Likewise.
42388 * math/w_hypotf.c: Likewise.
42389 * math/w_hypotl.c: Likewise.
42390 * math/w_j0.c: Likewise.
42391 * math/w_j0f.c: Likewise.
42392 * math/w_j0l.c: Likewise.
42393 * math/w_j1.c: Likewise.
42394 * math/w_j1f.c: Likewise.
42395 * math/w_j1l.c: Likewise.
42396 * math/w_jn.c: Likewise.
42397 * math/w_jnf.c: Likewise.
42398 * math/w_jnl.c: Likewise.
42399 * math/w_lgamma.c: Likewise.
42400 * math/w_lgamma_r.c: Likewise.
42401 * math/w_lgammaf.c: Likewise.
42402 * math/w_lgammaf_r.c: Likewise.
42403 * math/w_lgammal.c: Likewise.
42404 * math/w_lgammal_r.c: Likewise.
42405 * math/w_log.c: Likewise.
42406 * math/w_log10.c: Likewise.
42407 * math/w_log10f.c: Likewise.
42408 * math/w_log10l.c: Likewise.
42409 * math/w_log2.c: Likewise.
42410 * math/w_log2f.c: Likewise.
42411 * math/w_log2l.c: Likewise.
42412 * math/w_logf.c: Likewise.
42413 * math/w_logl.c: Likewise.
42414 * math/w_pow.c: Likewise.
42415 * math/w_powf.c: Likewise.
42416 * math/w_powl.c: Likewise.
42417 * math/w_remainder.c: Likewise.
42418 * math/w_remainderf.c: Likewise.
42419 * math/w_remainderl.c: Likewise.
42420 * math/w_scalb.c: Likewise.
42421 * math/w_scalbf.c: Likewise.
42422 * math/w_scalbl.c: Likewise.
42423 * math/w_sinh.c: Likewise.
42424 * math/w_sinhf.c: Likewise.
42425 * math/w_sinhl.c: Likewise.
42426 * math/w_sqrt.c: Likewise.
42427 * math/w_sqrtf.c: Likewise.
42428 * math/w_sqrtl.c: Likewise.
42429 * math/w_tgamma.c: Likewise.
42430 * math/w_tgammaf.c: Likewise.
42431 * math/w_tgammal.c: Likewise.
42433 * po/ja.po: Update from translation team.
42435 2011-09-29 Andreas Jaeger <aj@suse.de>
42438 * sunrpc/netname.c (netname2host): Fix logic.
42442 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
42444 * math/w_remainder.c (__remainder): Likewise.
42445 * math/w_remainderf.c (__remainderf): Likewise.
42446 * math/libm-test.inc (remainder_test): Add test cases.
42448 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42450 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
42453 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42455 * string/test-memcmp.c: Avoid unncessary #defines.
42456 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42458 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42460 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
42461 Use new sse2 version for core i3 - i7 as it's faster
42462 than sse42 version.
42463 (bit_Prefer_PMINUB_for_stringop): New.
42464 * sysdeps/x86_64/rawmemchr.S: Update.
42465 Replace with faster SSE2 version.
42466 * sysdeps/x86_64/memrchr.S: New file.
42467 * sysdeps/x86_64/memchr.S: Update.
42468 Replace with faster SSE2 version.
42470 2011-09-12 Marek Polacek <mpolacek@redhat.com>
42472 * elf/dl-load.c (lose): Add cast to avoid warning.
42474 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42476 * po/ca.po: Update from translation team.
42478 * inet/getnetgrent_r.c: Hook up nscd.
42479 * nscd/Makefile (routines): Add nscd_netgroup.
42480 (nscd-modules): Add netgroupcache.
42481 (CFLAGS-netgroupcache.c): Define.
42482 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42483 (cache_search): Add const to second parameter.
42484 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42486 (dbs): Add netgrdb entry.
42487 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42488 (verify_persistent_db): Handle netgrdb.
42489 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42490 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42492 (netgroup_response_header): Define.
42493 (innetgroup_response_header): Define.
42494 (datahead): Add netgroup_response_header and innetgroup_response_header
42496 * nscd/nscd.conf: Add entries for netgroup cache.
42497 * nscd/nscd.h (dbtype): Add netgrdb.
42498 (_PATH_NSCD_NETGROUP_DB): Define.
42499 (netgroup_iov_disabled): Declare.
42500 (xmalloc, xcalloc, xrealloc): Move declarations here.
42501 (cache_search): Adjust prototype.
42502 Add netgroup-related prototypes.
42503 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42504 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42505 (__nscd_innetgr): Declare.
42506 * nscd/selinux.c (perms): Use access_vector_t as element type and
42507 add netgroup-related initializers.
42508 * nscd/netgroupcache.c: New file.
42509 * nscd/nscd_netgroup.c: New file.
42510 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42511 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42512 For four parameters use innetgr.
42513 * nss/nss_files/files-init.c: Add definition and callback for netgr.
42514 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42515 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42516 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42518 * nscd/connections.c (register_traced_file): Don't register file
42519 for disabled databases.
42521 2011-10-06 Ulrich Drepper <drepper@gmail.com>
42523 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42525 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42526 from tree and freeing node.
42528 2011-09-25 Jiri Olsa <jolsa@redhat.com>
42530 * nss/nsswitch.c (__nss_database_lookup): Handle
42531 nss_parse_service_list out of memory case.
42533 2011-09-15 Jiri Olsa <jolsa@redhat.com>
42535 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42536 out of memory case.
42538 2011-10-04 Andreas Schwab <schwab@redhat.com>
42540 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42541 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42543 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42544 elf_machine_rela, elf_machine_lazy_rel.
42545 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42546 (ELF_DYNAMIC_DO_REL): Likewise.
42547 (ELF_DYNAMIC_DO_RELA): Likewise.
42548 (ELF_DYNAMIC_RELOCATE): Likewise.
42549 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42550 to ELF_DYNAMIC_DO_REL.
42551 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42552 (dl_main): In trace mode always set __RTLD_NOIFUNC.
42553 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42555 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42556 skip_ifunc, don't call ifunc function if non-zero.
42557 (elf_machine_rela): Likewise.
42558 (elf_machine_lazy_rel): Likewise.
42559 (elf_machine_lazy_rela): Likewise.
42560 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42561 (elf_machine_lazy_rel): Likewise.
42562 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42564 (elf_machine_lazy_rel): Likewise.
42565 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42567 (elf_machine_lazy_rel): Likewise.
42568 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42569 (elf_machine_lazy_rel): Likewise.
42570 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42571 (elf_machine_lazy_rel): Likewise.
42572 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42573 (elf_machine_lazy_rel): Likewise.
42574 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42575 (elf_machine_lazy_rel): Likewise.
42576 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42577 (elf_machine_lazy_rel): Likewise.
42578 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42579 (elf_machine_lazy_rel): Likewise.
42581 2011-09-28 Ulrich Drepper <drepper@gmail.com>
42583 * nss/nss_files/files-init.c (_nss_files_init): Use static
42584 initialization for all the *_traced_file variables.
42586 2011-09-28 Andreas Schwab <schwab@redhat.com>
42588 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42590 2011-09-27 Roland McGrath <roland@hack.frob.com>
42593 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42595 2011-09-27 Andreas Schwab <schwab@redhat.com>
42597 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42598 Reread the line before reparsing it.
42600 2011-09-26 Andreas Schwab <schwab@redhat.com>
42602 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42604 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
42605 Maxim Kuvyrkov <maxim@codesourcery.com>
42606 Joseph Myers <joseph@codesourcery.com>
42608 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42609 if needed for __stack_chk_guard.
42611 2011-09-19 Roland McGrath <roland@hack.frob.com>
42613 * sysdeps/posix/spawni.c (script_execute): Always define it.
42614 It will be optimized away if unused.
42615 (maybe_script_execute): New function.
42616 (__spawni): Call it.
42618 * Makerules: Don't include tls.make.
42619 (config-tls): Always set to thread.
42620 * tls.make.c: File removed.
42622 2011-09-19 Mike Frysinger <vapier@gentoo.org>
42624 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42625 * config.make.in (CPPFLAGS-config): New substituted variable.
42627 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42629 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42632 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42633 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42635 2011-09-15 Roland McGrath <roland@hack.frob.com>
42637 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42638 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42639 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42640 (CALL_FAIL): Likewise.
42641 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42642 (CALL_FAIL): Macro removed.
42643 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42645 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42647 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
42648 for __FINITE_MATH_ONLY__ == 1.
42650 2011-09-15 Andreas Schwab <schwab@redhat.com>
42652 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
42653 __ieee754_sqrt instead of sqrt.
42654 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
42655 __ieee754_sqrtf instead of sqrtf.
42656 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
42657 __floorf instead of floorf.
42658 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
42659 __floorf, __truncf instead of floorf, truncf.
42661 2011-09-14 Ulrich Drepper <drepper@gmail.com>
42663 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
42665 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
42666 __extern_always_inline.
42667 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
42670 2011-09-14 Andreas Schwab <schwab@redhat.com>
42672 * elf/rtld.c (dl_main): Also relocate in dependency order when
42673 doing symbol dependency testing.
42675 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
42677 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42678 Always define `refsym'.
42680 2011-09-13 Andreas Schwab <schwab@redhat.com>
42682 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
42683 (__FD_ELT): Renamed from __FDELT.
42684 * misc/bits/select2.h (__FD_ELT): Likewise.
42685 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
42686 __FD_MASK instead of __FDELT, __FDMASK.
42687 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42689 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42692 * elf/Makefile (gen-ldd): Fix pattern.
42694 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
42695 (init_tls): Likewise.
42697 2011-09-12 Ulrich Drepper <drepper@gmail.com>
42699 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
42701 2011-09-12 Andreas Schwab <schwab@redhat.com>
42703 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
42704 `struct cmsghdr *' instead of `void *'.
42705 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
42708 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
42710 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
42712 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
42713 ldd_rewrite_script.
42715 2011-09-11 Ulrich Drepper <drepper@gmail.com>
42717 * configure.in: Remove --with-tls option.
42718 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
42719 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
42720 out in case it is missing.
42721 * sysdeps/ia64/elf/configure.in: Likewise.
42722 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
42723 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
42724 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
42725 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
42726 * sysdeps/sh/elf/configure.in: Likewise.
42727 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
42728 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42729 * sysdeps/x86_64/elf/configure.in: Likewise.
42730 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
42731 * sysdeps/mach/hurd/tls.h: Likewise.
42734 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
42737 * configure.in: Fix use of AC_INIT.
42739 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
42741 2011-09-10 Ulrich Drepper <drepper@gmail.com>
42743 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
42745 * malloc/hooks.c: Likewise.
42748 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
42749 variables statically.
42750 (narenas): Initialize.
42751 (list_lock): Initialize.
42752 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
42753 initializtion of main_arena and list_lock. Small cleanups.
42754 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
42755 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
42756 Add initializers to main_arena and mp_.
42757 (malloc_state): Remove pagesize member. Change all users to use
42760 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
42761 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
42762 is always initialized.
42764 * malloc/malloc.c: Removed unused configurations and dead code.
42765 * malloc/arena.c: Likewise.
42766 * malloc/hooks.c: Likewise.
42767 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
42769 * include/tls.h: Removed. USE___THREAD must always be defined.
42770 * bits/libc-tsd.h: Don't handle !USE___THREAD.
42771 * elf/dl-libc.c: Likewise.
42772 * elf/dl-tsd.c: Likewise.
42773 * include/errno.h: Likewise.
42774 * include/netdb.h: Likewise.
42775 * include/resolv.h: Likewise.
42776 * inet/herrno-loc.c: Likewise.
42777 * inet/herrno.c: Likewise.
42778 * malloc/arena.c: Likewise.
42779 * malloc/hooks.c: Likewise.
42780 * malloc/malloc.c: Likewise.
42781 * resolv/res-state.c: Likewise.
42782 * resolv/res_libc.c: Likewise.
42783 * sysdeps/i386/dl-machine.h: Likewise.
42784 * sysdeps/ia64/dl-machine.h: Likewise.
42785 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42786 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42787 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42788 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42789 * sysdeps/sh/dl-machine.h: Likewise.
42790 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42791 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42792 * sysdeps/unix/i386/sysdep.S: Likewise.
42793 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42794 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42795 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42796 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42797 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42798 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42799 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42800 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42801 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42802 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42803 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42804 * sysdeps/x86_64/dl-machine.h: Likewise.
42805 * tls.make.c: Likewise.
42807 * configure.in: Remove --with-__thread option. Make tests for
42808 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
42809 tls_model attribute fail if no support is available. Remove
42811 * Makeconfig: Adjust for dropped configure option. All features are
42813 * Makerules: Likewise.
42814 * Versions.def: Likewise.
42815 * argp/argp-fmtstream.c: Likewise.
42816 * argp/argp-fmtstream.h: Likewise.
42817 * argp/argp-help.c: Likewise.
42818 * assert/assert.c: Likewise.
42819 * config.h.in: Likewise.
42820 * config.make.in: Likewise.
42821 * configure: Likewise.
42822 * configure.in: Likewise.
42823 * csu/Versions: Likewise.
42824 * csu/init.c: Likewise.
42825 * elf/tst-audit2.c: Likewise.
42826 * elf/tst-tls10.c: Likewise.
42827 * elf/tst-tls10.h: Likewise.
42828 * elf/tst-tls11.c: Likewise.
42829 * elf/tst-tls12.c: Likewise.
42830 * elf/tst-tls14.c: Likewise.
42831 * elf/tst-tlsmod11.c: Likewise.
42832 * elf/tst-tlsmod12.c: Likewise.
42833 * elf/tst-tlsmod13.c: Likewise.
42834 * elf/tst-tlsmod13a.c: Likewise.
42835 * elf/tst-tlsmod14a.c: Likewise.
42836 * elf/tst-tlsmod15b.c: Likewise.
42837 * elf/tst-tlsmod16a.c: Likewise.
42838 * elf/tst-tlsmod16b.c: Likewise.
42839 * elf/tst-tlsmod7.c: Likewise.
42840 * elf/tst-tlsmod8.c: Likewise.
42841 * elf/tst-tlsmod9.c: Likewise.
42842 * gmon/gmon.c: Likewise.
42843 * grp/fgetgrent_r.c: Likewise.
42844 * grp/putgrent.c: Likewise.
42845 * hurd/fopenport.c: Likewise.
42846 * include/libc-symbols.h: Likewise.
42847 * include/tls.h: Likewise.
42848 * intl/gettextP.h: Likewise.
42849 * intl/loadinfo.h: Likewise.
42850 * locale/global-locale.c: Likewise.
42851 * locale/localeinfo.h: Likewise.
42852 * mach/devstream.c: Likewise.
42853 * malloc/arena.c: Likewise.
42854 * malloc/set-freeres.c: Likewise.
42855 * misc/err.c: Likewise.
42856 * misc/getttyent.c: Likewise.
42857 * misc/mntent_r.c: Likewise.
42858 * posix/getopt.c: Likewise.
42859 * posix/wordexp.c: Likewise.
42860 * pwd/fgetpwent_r.c: Likewise.
42861 * resolv/Versions: Likewise.
42862 * resolv/res_hconf.c: Likewise.
42863 * shadow/fgetspent_r.c: Likewise.
42864 * shadow/putspent.c: Likewise.
42865 * stdio-common/printf_fphex.c: Likewise.
42866 * stdio-common/tmpfile.c: Likewise.
42867 * stdlib/abort.c: Likewise.
42868 * stdlib/fmtmsg.c: Likewise.
42869 * sunrpc/auth_unix.c: Likewise.
42870 * sunrpc/clnt_perr.c: Likewise.
42871 * sunrpc/clnt_tcp.c: Likewise.
42872 * sunrpc/clnt_udp.c: Likewise.
42873 * sunrpc/clnt_unix.c: Likewise.
42874 * sunrpc/openchild.c: Likewise.
42875 * sunrpc/svc_simple.c: Likewise.
42876 * sunrpc/svc_tcp.c: Likewise.
42877 * sunrpc/svc_udp.c: Likewise.
42878 * sunrpc/svc_unix.c: Likewise.
42879 * sunrpc/xdr.c: Likewise.
42880 * sunrpc/xdr_array.c: Likewise.
42881 * sunrpc/xdr_rec.c: Likewise.
42882 * sunrpc/xdr_ref.c: Likewise.
42883 * sunrpc/xdr_stdio.c: Likewise.
42885 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42887 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42889 2011-07-03 Andreas Jaeger <aj@suse.de>
42891 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
42892 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
42893 regenerate with gen-libm-tests.pl.
42895 2010-05-12 Petr Baudis <pasky@suse.cz>
42898 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
42899 around j0() zero points by switching to j1().
42900 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42901 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42902 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42903 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42905 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42907 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
42909 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
42911 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42912 Patch in part by Pavel Roskin <proski@gnu.org>.
42915 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
42917 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
42918 Free memory block if necessary.
42921 * libio/genops.c (INTDEF): For string streams the _lock pointer can
42922 be NULL. Don't lock in this case.
42924 2011-09-09 Roland McGrath <roland@hack.frob.com>
42926 * elf/elf.h (ELFOSABI_GNU): New macro.
42927 (ELFOSABI_LINUX): Define to that.
42929 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
42931 * string/strncat.c (strncat): Undef the symbol in case it has been
42932 defined in bits/string.h.
42934 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42936 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
42938 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
42941 2011-08-17 Andreas Jaeger <aj@suse.de>
42943 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
42945 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
42946 Ian Lance Taylor <iant@google.com>
42948 * math/libm-test.inc (lround_test): New testcase.
42949 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
42951 2011-09-08 Ulrich Drepper <drepper@gmail.com>
42953 * Makefile: Remove support for automatic cvs check-ins.
42954 * Makerules: Likewise.
42955 * config.make.in: Likewise.
42956 * configure.in: Likewise.
42957 * intl/Makefile: Likewise.
42958 * locale/Makefile: Likewise.
42959 * po/Makefile: Likewise.
42960 * posix/Makefile: Likewise.
42961 * sysdeps/gnu/Makefile: Likewise.
42962 * sysdeps/mach/hurd/Makefile: Likewise.
42963 * sysdeps/sparc/sparc32/Makefile: Likewise.
42966 * posix/Makefile (bug-regex32-ENV): Define.
42967 Patch by John Stanley <jpsinthemix@verizon.net>.
42969 * misc/Makefile (headers): Add bits/select2.h.
42970 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
42971 * misc/bits/select2.h: New file.
42972 * include/bits/select2.h: New file.
42973 * debug/Makefile (routines): Add fdelt_chk.
42974 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
42975 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
42977 * debug/fdelt_chk.c: New file.
42979 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
42980 * wcsmbs/test-wmemcmp.c: Likewise.
42981 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
42982 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
42984 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42986 * string/Makefile (strop-tests): Add memcmp.
42987 * string/test-wmemcmp.c: New file.
42988 * string/test-memcmp.c: Add wmemcmp support.
42990 2011-09-08 Roland McGrath <roland@hack.frob.com>
42993 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42996 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42997 garbage value in a __mach_port_mod_refs call in the cases of the
42998 task-self and thread-self ports.
43000 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43002 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
43004 2011-09-08 Andreas Schwab <schwab@redhat.com>
43006 * elf/dl-load.c (lose): Check for non-null L.
43008 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43010 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
43012 * elf/dl-libc.c (dlerror_run): Pass back error code from
43016 * elf/dl-load.c (lose): Free l_origin if it is valid.
43018 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43020 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43021 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43022 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43023 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43024 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43025 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43027 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43029 * sysdeps/powerpc/fpu/e_hypot.c: New file.
43030 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43031 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43032 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43033 * sysdeps/powerpc/fpu/k_cosf.c: New file.
43034 * sysdeps/powerpc/fpu/k_sinf.c: New file.
43035 * sysdeps/powerpc/fpu/s_cosf.c: New file.
43036 * sysdeps/powerpc/fpu/s_sinf.c: New file.
43037 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43038 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43040 2011-08-15 Alan Modra <amodra@gmail.com>
43043 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43044 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43045 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
43046 ppc_mcount to static-only-routines.
43047 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43049 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43050 __mcount_internal with usual JUMPTARGET. Remove useless nop.
43052 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
43054 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43055 for finite and infinity parameters.
43057 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43059 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43060 and add nop instructions for throughput optimization.
43061 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43063 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
43065 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43066 aligned copy for power7 with vector-scalar instructions.
43067 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43069 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
43071 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43074 2011-09-07 Andreas Schwab <schwab@redhat.com>
43077 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43080 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43082 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43083 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43084 syscall wrapper around clock_gettime in __vdso_clock_gettime.
43085 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43088 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43090 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43091 Forgot to demangle the pointer.
43093 * sysdeps/i386/sysdep.h: Define atom_text_section.
43094 * sysdeps/x86_64/sysdep.h: Likewise.
43095 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43096 section with atom_text_section.
43097 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43098 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43099 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43100 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43101 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43103 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43104 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43105 already be defined. Change to take two parameters and don't assign
43106 result to variable. Adjust all users.
43107 Define INTERNAL_GETTIME if not already defined.
43108 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43110 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43111 HAVE_CLOCK_GETTIME_VSYSCALL.
43112 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43114 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43115 gettimeofday vsyscall, just use time.
43117 2011-09-06 Andreas Schwab <schwab@redhat.com>
43119 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43122 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43124 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43126 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43128 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43129 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43130 syscall if possible.
43132 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43134 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43135 e_ident. Don't pass to find_mapsXX.
43136 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43138 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43140 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43141 strchr-sse2-no-bsf strrchr-sse2-no-bsf
43142 * sysdeps/x86_64/multiarch/strchr.S: Update.
43143 Check bit_slow_BSF bit.
43144 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43145 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
43146 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
43148 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43151 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
43153 (tryshell): Define.
43154 (__spawni): Change last parameter to be flag. Test
43155 SPAWN_XFLAGS_USE_PATH flag to use path or not.
43156 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
43157 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
43158 * posix/spawni.c: Likewise.
43159 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
43160 * posix/spawnp.c: Likewise. Change normal version to use
43161 SPAWN_XFLAGS_USE_PATH.
43162 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
43163 SPAWN_XFLAGS_TRY_SHELL.
43166 * posix/glob.h: Remove gcc 1.x support.
43169 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
43171 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43173 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43174 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
43176 * sysdeps/i386/i686/multiarch/strchr.S: New file.
43177 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
43178 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
43179 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
43180 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
43181 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
43183 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43185 * sysdeps/x86_64/wcscmp.S: New file.
43187 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
43188 wcscmp-c wcscmp-sse2
43189 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
43190 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
43191 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
43192 * wcsmbs/wcscmp.c: Allow renaming.
43194 2011-09-05 David S. Miller <davem@davemloft.net>
43196 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
43197 stack slot, rather than the struct return pointer slot.
43198 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
43199 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
43200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
43201 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
43203 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43205 * po/ja.po: Update from translation team.
43208 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
43209 kernel in 64-bit binaries.
43211 2011-09-01 David S. Miller <davem@davemloft.net>
43213 * elf/elf.h (HWCAP_SPARC_*): Move to..
43214 * sysdeps/sparc/sysdep.h: this new file and add new values.
43215 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
43216 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
43217 _DL_HWCAP_COUNT to 24.
43218 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43220 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
43221 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
43222 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
43223 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
43224 instead of magic constants.
43225 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43227 2011-08-31 David S. Miller <davem@davemloft.net>
43229 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
43230 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
43231 Reimplement to do errno handling inline.
43232 (SYSCALL_ERROR_HANDLER): New macro.
43233 (__SYSCALL_STRING): Do not do errno handling in asm.
43234 (__CLONE_SYSCALL_STRING): Delete.
43235 (__INTERNAL_SYSCALL_STRING): Delete.
43236 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
43237 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
43238 (PSEUDO): Reimplement to do errno handling inline.
43239 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
43240 (SYSCALL_ERROR_HANDLER): New macro.
43241 (__SYSCALL_STRING): Do not do errno handling in asm.
43242 (__CLONE_SYSCALL_STRING): Delete.
43243 (__INTERNAL_SYSCALL_STRING): Delete.
43244 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
43245 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
43247 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
43248 (inline_syscall*): Add 'err' argument.
43249 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
43250 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
43251 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
43252 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
43254 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
43255 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43257 2011-08-30 Andreas Schwab <schwab@redhat.com>
43259 * elf/rtld.c (dl_main): Relocate objects in dependency order.
43261 2011-08-29 Jiri Olsa <jolsa@redhat.com>
43263 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
43266 2011-08-24 David S. Miller <davem@davemloft.net>
43268 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
43270 2011-08-24 Andreas Schwab <schwab@redhat.com>
43272 * elf/Makefile: Add rules to build and run unload8 test.
43273 * elf/unload8.c: New file.
43274 * elf/unload8mod1.c: New file.
43275 * elf/unload8mod1x.c: New file.
43276 * elf/unload8mod2.c: New file.
43277 * elf/unload8mod3.c: New file.
43279 * elf/dl-close.c (_dl_close_worker): Reset private search list if
43282 2011-08-23 David S. Miller <davem@davemloft.net>
43284 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
43285 subtract stack bias.
43286 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
43287 %sp not %fp in calculations.
43288 (_JMPBUF_UNWINDS_ADJ): Likewise.
43290 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
43291 (aio_suspend): Call it to force an exception region around the
43292 AIO_MISC_WAIT() invocation.
43294 2011-08-23 Andreas Schwab <schwab@redhat.com>
43296 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
43299 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
43301 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
43303 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
43304 and <dl-machine.h>.
43305 (Elf64_FuncDesc): Remove.
43307 2011-08-22 David S. Miller <davem@davemloft.net>
43309 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
43310 sigaltstack check, add missing cfi directives.
43311 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
43312 missing cfi directives, and sigaltstack handling.
43314 2011-08-16 Andreas Schwab <schwab@redhat.com>
43317 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
43318 object is seen twice.
43319 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43321 * elf/Makefile (distribute): Add tst-initorder2.c.
43322 (tests): Add tst-initorder2.
43323 (modules-names): Add tst-initorder2a tst-initorder2b
43324 tst-initorder2c tst-initorder2d. Add rules to build them.
43325 ($(objpfx)tst-initorder2.out): New rule.
43326 * elf/tst-initorder2.c: New file.
43327 * elf/tst-initorder2.exp: New file.
43329 2011-08-22 Andreas Schwab <schwab@redhat.com>
43331 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
43333 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
43334 dependencies back to end of function.
43336 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43337 $(elfobjdir)/ld.so.
43339 2011-08-21 Ulrich Drepper <drepper@gmail.com>
43341 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
43342 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
43343 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
43344 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
43345 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
43346 of __vdso_gettimeofday.
43347 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
43348 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
43350 (_libc_vdso_platform_setup): Remove initialization of
43351 __vdso_gettimeofday and __vdso_time.
43353 2011-08-20 Ulrich Drepper <drepper@gmail.com>
43355 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
43356 and fgetc_unlocked.
43357 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
43360 * elf/dl-open.c (add_to_global): Report additions to the global scope
43361 for LD_DEBUG=scopes.
43362 (dl_open_worker): Also print scope of newly loaded dependencies.
43363 (_dl_show_scope): Indicate if there is no scope.
43366 * stdio-common/Makefile (tests): Add bug24.
43367 * stdio-common/bug24.c: New file.
43369 2011-08-19 Andreas Jaeger <aj@suse.de>
43372 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
43373 non-existant file when using close-on-exec mode.
43375 2011-08-20 Ulrich Drepper <drepper@gmail.com>
43377 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
43378 the very first instruction.
43380 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
43381 the CFI state in the end.
43382 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
43383 inclusion of dl-trampoline.h.
43384 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
43386 2011-08-19 Andreas Schwab <schwab@redhat.com>
43388 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
43389 expectations for long double.
43391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
43392 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
43394 2011-08-14 David S. Miller <davem@davemloft.net>
43396 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
43397 artificual limit depends upon the system page size.
43399 2011-08-17 Ulrich Drepper <drepper@gmail.com>
43401 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
43402 * resolv/Makefile: Define CFLAGS-libresolv.
43404 2011-08-17 Andreas Schwab <schwab@redhat.com>
43406 * nss/makedb.c (compute_tables): Make variables used in nested
43409 2011-08-17 Ulrich Drepper <drepper@gmail.com>
43411 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
43412 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
43413 if buffer was too small.
43415 * elf/pldd.c (main): Attach to all threads in the process.
43416 Rewrite /proc handling to use *at functions.
43418 2011-08-16 Ulrich Drepper <drepper@gmail.com>
43420 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
43421 specifies first scope to show.
43422 (dl_open_worker): Update callers. Move printing scope of new
43423 object to before the relocation.
43424 * elf/rtld.c (dl_main): Update _dl_show_scope call.
43425 * sysdeps/generic/ldsodefs.h: Update declaration.
43427 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
43428 string for the scope number.
43430 2011-08-14 Ulrich Drepper <drepper@gmail.com>
43432 * nscd/servicescache.c (cache_addserv): Make sure written is always
43435 2011-08-14 Roland McGrath <roland@hack.frob.com>
43437 * sysdeps/i386/i486/bits/atomic.h
43438 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
43439 statement expression, so as to suppress "set but not used" warning.
43440 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
43442 * string/strncat.c (STRNCAT): Use prototype definition.
43444 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
43445 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
43447 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
43448 (localedef-modules): Add localedef.
43449 (locale-modules): Add locale.
43451 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
43452 * elf/rtld.c (dl_main): Invert order of assignment in last change,
43453 to avoid a warning.
43455 2011-08-14 David S. Miller <davem@davemloft.net>
43457 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
43458 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
43460 2011-08-13 Ulrich Drepper <drepper@gmail.com>
43462 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
43463 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
43464 * elf/rtld.c (dl_main): Set l_name of vDSO.
43465 Call _dl_show_scope when DL_DEBUG_SCOPES.
43466 (process_dl_debug): Recognize scopes flag and also set it for all.
43467 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
43468 Declare _dl_show_scope.
43470 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43471 (do_dlopen): Pass caller_dlopen to dl_open.
43472 (__libc_dlopen_mode): Initialize caller_dlopen.
43474 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43475 of libc. Make tolower call locale-independent. Optimize a bit by
43476 using isdigit instead of isalnum.
43477 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43479 2011-08-12 Ulrich Drepper <drepper@gmail.com>
43481 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43482 was a dependency or dynamically loaded.
43484 2011-08-11 Ulrich Drepper <drepper@gmail.com>
43486 * intl/l10nflist.c: Allow architecture-specific pop function.
43487 * sysdeps/x86_64/l10nflist.c: New file.
43489 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43492 2011-08-10 Andreas Schwab <schwab@redhat.com>
43494 * include/dirent.h: Add libc_hidden_proto for scandirat and
43495 scandirat64. Don't declare __scandirat64.
43496 * dirent/scandirat.c: Add libc_hidden_def.
43497 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43498 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43500 2011-08-10 David S. Miller <davem@davemloft.net>
43502 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43504 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43505 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43506 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43508 2011-08-09 Ulrich Drepper <drepper@gmail.com>
43510 * Versions.def [libc]: Add GLIBC_2.15.
43511 * dirent/Makefile (routines): Add scandirat and scandirat64.
43512 * dirent/Versions [libc]: Export scandirat and scandirat64 for
43514 * dirent/dirent.h: Declare scandirat and scandirat64.
43515 * dirent/scandirat.c: New file.
43516 * dirent/scandirat64.c: New file.
43517 * sysdeps/wordsize-64/scandirat.c: New file.
43518 * sysdeps/wordsize-64/scandirat64.c: New file.
43519 * dirent/opendir.c: Define opendirat.
43520 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
43522 * dirent/scandir64.c: Adjust for scandir.c change.
43523 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
43524 __scandirat64, and __scandir_cancel_handler.
43525 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
43526 additional parameter and use openat instead of open (outside of ld.so).
43527 Add new __opendir as wrapper around __opendirat.
43528 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43529 here without requiring old scandirat implementation.
43531 2011-08-08 Ulrich Drepper <drepper@gmail.com>
43533 * dirent/scandir.c (cancel_handler): Renamed to
43534 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
43535 defined. Adjust users.
43536 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43537 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43539 2011-08-04 Ulrich Drepper <drepper@gmail.com>
43541 * string/test-string.h (IMPL): Use __STRING to expand name and then
43544 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
43547 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43549 * string/Makefile: Update.
43550 (strop-tests): Append strncat.
43551 * string/test-wcscmp.c: New file.
43552 New comprehensive test for wcscmp.
43553 * string/test-strcmp.c: Update.
43554 (WIDE): New define.
43556 2011-07-22 Andreas Schwab <schwab@redhat.com>
43558 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43561 2011-07-26 Andreas Schwab <schwab@redhat.com>
43563 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43564 encoding to ACE if AI_IDN.
43566 2011-08-01 Jakub Jelinek <jakub@redhat.com>
43568 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43569 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43571 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43573 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43574 Fix overflow bug in strncat.
43575 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43577 * string/test-strncat.c: Update.
43578 Add new tests for checking overflow bugs.
43580 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43582 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43583 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43584 * sysdeps/i386/i686/multiarch/strcat.S: New file.
43585 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43586 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43587 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43588 * sysdeps/i386/i686/multiarch/strncat.S: New file.
43589 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43590 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43592 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43593 (USE_AS_STRCAT): Define.
43594 Add strcat and strncat support.
43595 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43597 2011-07-25 Andreas Schwab <schwab@redhat.com>
43599 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43600 __n bigger than INT_MAX+1.
43601 (__strncmp_g): Likewise.
43603 2011-07-23 Ulrich Drepper <drepper@gmail.com>
43605 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43606 * libio/stido.h: Likewise.
43608 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43610 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43613 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43614 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43615 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43616 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43617 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43620 * scripts/test-installation.pl: Don't expect libnss_test1 to be
43623 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43625 (_dl_x86_64_save_sse): Likewise.
43627 2011-07-22 Ulrich Drepper <drepper@gmail.com>
43629 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43631 (_dl_x86_64_save_sse): Likewise.
43633 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43635 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43637 2011-07-21 Andreas Schwab <schwab@redhat.com>
43639 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43641 (_dl_x86_64_save_sse): Use correct AVX check.
43643 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43645 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43646 bug in strncpy/strncat.
43647 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43649 2011-07-21 Ulrich Drepper <drepper@gmail.com>
43651 * string/tester.c (test_strcat): Add tests for different alignments
43652 of source and destination.
43653 (test_strncat): Likewise.
43655 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43658 * posix/glob.c (glob): Check passed in values before using them in
43659 expressions to avoid some overflows.
43660 (glob_in_dir): Likewise.
43663 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
43664 check for AVX enablement so that we don't crash with old kernels and
43666 * elf/tst-audit4.c: Add same checks here.
43667 * elf/tst-audit6.c: Likewise.
43669 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
43671 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
43673 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
43675 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43677 * po/cs.po: Update from translation team.
43678 * po/bg.po: Likewise.
43680 2011-07-12 Marek Polacek <mpolacek@redhat.com>
43682 * misc/sys/cdefs.h: Add support for const attribute.
43683 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
43684 to gnu_dev_{major,minor,makedev} functions.
43686 2011-07-20 Marek Polacek <mpolacek@redhat.com>
43688 * intl/dcigettext.c (get_output_charset): Add missing bracket.
43690 2011-07-20 Andreas Schwab <schwab@redhat.com>
43692 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
43695 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43697 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
43698 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
43699 register in order to avoid conflicts with the soft frame pointer
43700 being held in r11 when necessary.
43701 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
43702 (INTERNAL_VSYSCALL_NCS): Likewise.
43704 2011-07-14 Marek Polacek <mpolacek@redhat.com>
43706 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
43707 * elf/dl-fini.c (_dl_fini): Adjust caller.
43708 * elf/dl-close.c (_dl_close_worker): Likewise.
43709 * sysdeps/generic/ldsodefs.h: Adjust declaration.
43711 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43713 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
43714 "aux_cache->nlibs < 0".
43716 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
43717 in the reload-count case.
43719 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43721 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43722 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
43723 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
43724 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
43725 * sysdeps/x86_64/multiarch/strcat.S: New file.
43726 * sysdeps/x86_64/multiarch/strncat.S: New file.
43727 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
43728 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
43729 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
43730 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
43731 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
43732 (USE_AS_STRCAT): Define.
43733 Add strcat and strncat support.
43734 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43735 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43736 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
43737 * string/strncat.c: Update.
43738 (USE_AS_STRNCAT): Define.
43739 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43740 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
43742 * sysdeps/x86_64/multiarch/init-arch.h
43743 (bit_Prefer_PMINUB_for_stringop): New.
43744 (index_Prefer_PMINUB_for_stringop): Likewise.
43745 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
43746 bit_Prefer_PMINUB_for_stringop.
43748 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43750 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
43752 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
43753 of casting of buffer.
43754 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
43755 buffer32 and buffer64.
43756 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
43757 writes instead of casting of buffer.
43758 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
43760 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
43763 2011-07-19 Andreas Schwab <schwab@redhat.com>
43765 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
43767 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43769 * nscd/nscd.c (termination_handler): Don't do anything for a database
43770 if it has not yet been initialized.
43772 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43774 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43776 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43778 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43780 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43782 * po/nl.po: Update from translation team.
43783 * po/sv.po: Likewise.
43785 2011-07-16 Roland McGrath <roland@hack.frob.com>
43787 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
43788 now disallowed by GCC.
43790 * configure.in (use-default-link): Default to yes if a test -shared
43791 link meets our qualifications.
43792 * configure: Regenerated.
43794 * config.make.in (output-format): New variable.
43795 * configure.in: Check for ld --print-output-format support.
43796 * configure: Regenerated.
43797 * Makerules ($(common-objpfx)format.lds)
43798 [$(output-format) != unknown]: Just use $(output-format),
43799 instead of the linker-script munging.
43801 2011-07-14 Roland McGrath <roland@hack.frob.com>
43803 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
43804 of $(common-objpfx)shlib.lds.
43805 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
43807 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
43808 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
43810 * configure.in (-z relro check): Adjust test code to add a large
43811 writable data section after it.
43812 * configure: Regenerated.
43814 2011-07-11 Roland McGrath <roland@hack.frob.com>
43816 * configure.in (-z relro check): Fix test code to make the variable
43818 * configure: Regenerated.
43820 2011-07-11 Ulrich Drepper <drepper@gmail.com>
43822 * nscd/nscd.h (struct traced_file): Define.
43823 (struct database_dyn): Remove inotify_descr, reset_res, and filename
43824 elements. Add traced_files.
43825 (inotify_fd): Declare.
43826 (register_traced_file): Declare.
43827 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
43828 (inotify_fd): Export.
43829 (resolv_conf_descr): Remove.
43830 (nscd_init): Move inotify descriptor creation to main.
43831 Don't register files for notification here.
43832 (register_traced_file): New function.
43833 (invalidate_cache): Don't use reset_res to determine whether to call
43834 res_init, go through the list of registered files.
43835 (main_loop_poll): The inotify descriptors are now stored in the
43836 structures for the traced files.
43837 (main_loop_epoll): Likewise
43838 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
43839 to __nss_disable_nscd.
43840 * nscd/cache.c (prune_cache): There is no single inotify descriptor
43841 for a database anymore. Check the records for all the registered
43843 * nss/Makefile (libnss_files-routines): Add files-init.
43844 (libnss_db-routines): Add db-init.
43845 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
43846 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
43847 * nss/nss_db/db-init.c: New file.
43848 * nss/nss_files/files-init.c: New file.
43849 * nss/nsswitch.c (nss_load_library): New function. Broken out of
43850 __nss_lookup_function.
43851 (__nss_lookup_function): Call nss_load_library.
43852 (nss_load_all_libraries): New function.
43853 (__nss_disable_nscd): Take parameter with callback function for files
43854 to register. Set is_nscd. Load all the DSOs for the NSS modules
43855 used for the cached services.
43856 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
43857 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
43858 options for features to all the files in nscd.
43860 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
43862 2011-07-10 Roland McGrath <roland@hack.frob.com>
43864 * csu/elf-init.c (__libc_csu_init): Comment typo.
43866 2011-07-09 Ulrich Drepper <drepper@gmail.com>
43868 * po/pl.po: Update from translation team.
43869 * po/ja.po: Likewise.
43870 * po/ru.po: Likewise.
43871 * po/ko.po: Likewise.
43872 * po/fr.po: Likewise.
43874 2011-07-09 Roland McGrath <roland@hack.frob.com>
43876 * configure.in (.ctors/.dtors header and trailer check):
43877 Use an empirical test on a built program.
43878 * configure: Regenerated.
43880 * configure.in (-z relro check): Use an empirical test on a built DSO.
43881 Detect, but do not require, on ia64.
43882 * configure: Regenerated.
43884 * configure.in (READELF): Find it with AC_CHECK_TOOL.
43885 Update tests that use readelf to use $READELF instead.
43886 * configure: Regenerated.
43888 2011-07-08 Ulrich Drepper <drepper@gmail.com>
43890 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
43891 if the result is not used.
43893 2011-07-05 Andreas Jaeger <aj@suse.de>
43896 * stdlib/tst-strtod.c: Add testcase.
43898 2011-07-07 Ulrich Drepper <drepper@gmail.com>
43900 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
43901 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
43902 The latter has a higher limit. Take additional parameter to pass to
43904 (__pathconf): Pass file to __statfs_link_max.
43905 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
43907 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
43911 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
43912 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43914 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
43915 (__statfs_filesize_max): Likewise.
43916 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
43918 2011-07-05 Andreas Jaeger <aj@suse.de>
43920 * resolv/res_comp.c (dn_skipname): Remove unused variable.
43922 2011-07-06 Marek Polacek <mpolacek@redhat.com>
43924 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
43926 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
43929 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
43931 * Makefile (strop-tests): Add strncat.
43932 * string/test-strncat.c: New file.
43934 2011-06-30 Marek Polacek <mpolacek@redhat.com>
43936 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
43938 2011-06-21 Andreas Jaeger <aj@suse.de>
43940 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
43941 Copy rule from iconvdata/Makefile.
43943 2011-07-06 Ulrich Drepper <drepper@gmail.com>
43946 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
43947 but no long options are defined, just return 'W'.
43949 2011-06-22 Marek Polacek <mpolacek@redhat.com>
43952 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
43954 2011-07-06 Ulrich Drepper <drepper@gmail.com>
43956 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
43958 (innetgr): Likewise.
43960 2011-07-05 Roland McGrath <roland@hack.frob.com>
43962 * config.make.in (install_root): Default to $(DESTDIR).
43964 2011-07-05 Ulrich Drepper <drepper@gmail.com>
43966 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
43968 2011-07-02 Roland McGrath <roland@hack.frob.com>
43970 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
43972 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
43973 containing directory rather than embedding absolute directory names.
43975 * scripts/check-local-headers.sh: Rewritten using awk.
43976 Match by word, not by line. Print error messages for matches.
43977 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
43979 * Makerules [shlib-lds-flags empty]:
43980 ($(common-objpfx)libc_pic.opts): New target.
43981 ($(common-objpfx)libc_pic.os.clean): New target.
43982 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
43984 * config.make.in (OBJCOPY): New variable.
43985 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43986 * configure: Regenerated.
43988 * config.make.in (use-default-link): New variable.
43989 * configure.in (use_default_link): Grok --with-default-link to set it.
43990 * configure: Regenerated.
43991 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43992 (shlib-lds, shlib-lds-flags): Define to empty.
43994 * Makerules (shlib-lds): New variable.
43995 (shlib-lds-flags): New variable.
43996 (build-shlib, build-moduile, build-module-asneeded): Use it.
43997 ($(common-objpfx)libc.so): Use $(shlib-lds).
43998 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43999 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44001 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
44002 DT_FLAGS/DT_FLAGS_1 with zero flags.
44004 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
44005 linker script munging.
44007 2011-07-02 Ulrich Drepper <drepper@gmail.com>
44009 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
44011 * crypt/sha512.c (sha512_process_block): Perform total addition using
44012 128-bit if possible.
44013 (__sha512_finish_ctx): Likewise.
44014 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44016 * crypt/sha256.c (SWAP64): Define.
44017 (sha256_process_block): Perform total addition using 64-bit if
44019 (__sha256_finish_ctx): Likewise.
44021 2011-07-01 Ulrich Drepper <drepper@gmail.com>
44023 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
44024 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44025 * nscd/hstcache.c (cache_addhst): Likewise.
44026 * nscd/grpcache.c (cache_addgr): Likewise.
44027 * nscd/aicache.c (addhstaiX): Likewise
44028 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44030 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
44032 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44033 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44034 * nscd/hstcache.c (cache_addhst): Likewise.
44035 * nscd/grpcache.c (cache_addgr): Likewise.
44036 * nscd/aicache.c (addhstaiX): Likewise
44038 2011-07-01 Andreas Schwab <schwab@redhat.com>
44040 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44041 domain only when needed.
44043 2011-06-30 Andreas Schwab <schwab@redhat.com>
44045 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44046 is always restored.
44048 2011-06-29 Ulrich Drepper <drepper@gmail.com>
44050 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44051 are re-adding the entry.
44052 * nscd/servicescache.c (cache_addserv): Likewise.
44054 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
44056 * sysdeps/generic/dl-irel.h: fix protection against multiple
44058 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44060 2011-06-28 Ulrich Drepper <drepper@gmail.com>
44063 * malloc/memusage.sh: Fix quoting in message.
44064 * debug/xtrace.sh: Likewise.
44066 * configure.in: Remove support for --experimental-malloc option, make
44068 * config.make.in: Likewise.
44069 * malloc/Makefile: Likewise.
44071 2011-06-27 Andreas Schwab <schwab@redhat.com>
44073 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44074 two-byte characters.
44076 2011-06-27 Roland McGrath <roland@hack.frob.com>
44078 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44079 AC_CACHE_CHECK invocation.
44080 * configure: Regenerated.
44082 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44084 2011-06-27 Ulrich Drepper <drepper@gmail.com>
44087 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
44088 bit from old_res_options.
44090 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44092 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44093 value type for setfct.
44095 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
44097 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44098 __gettimeofday instead of gettimeofday.
44100 2011-06-26 Ulrich Drepper <drepper@gmail.com>
44102 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44104 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
44106 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44108 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44111 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44113 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44114 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44115 strcpy-sse2-unaligned strncpy-sse2-unaligned
44116 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44117 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44118 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44119 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44120 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44121 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44122 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44123 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44124 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44125 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44126 (STRCPY): Support SSE2 and SSSE3 versions.
44128 2011-06-24 Ulrich Drepper <drepper@gmail.com>
44131 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44132 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44133 kernels which artificially limit size of requests.
44135 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44137 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44138 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44139 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
44140 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
44141 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
44142 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
44143 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
44144 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
44145 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
44146 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
44147 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
44148 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
44149 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
44150 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
44151 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
44152 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44153 Enable unaligned load optimization for Intel Core i3, i5 and i7
44155 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
44157 (index_Fast_Unaligned_Load): Define.
44158 (HAS_FAST_UNALIGNED_LOAD): Define.
44160 2011-06-23 Marek Polacek <mpolacek@redhat.com>
44162 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
44164 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44167 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
44168 until it is clear that the information is realy needed.
44169 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
44171 2011-06-22 Andreas Schwab <schwab@redhat.com>
44173 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
44175 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44177 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44178 /sys/devices/system/cpu/online if it is usable.
44180 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
44181 reading the information from the /proc filesystem to once a second.
44183 2011-06-21 Andreas Jaeger <aj@suse.de>
44185 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
44186 NULL after inclusion of kernel headers.
44188 2011-06-21 Ulrich Drepper <drepper@gmail.com>
44190 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
44191 calls to internal_setent.
44194 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
44195 addresses using gethostbyname4_r ignore IPv4 addresses.
44197 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
44198 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
44200 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
44202 2011-06-20 David S. Miller <davem@davemloft.net>
44204 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
44206 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
44208 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
44209 (elf_irel): Use it.
44210 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
44211 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
44212 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
44213 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
44214 * sysdeps/x86_64/dl-irel.h: Likewise.
44216 * elf/dl-runtime.c: Use elf_ifunc_invoke.
44217 * elf/dl-sym.c: Likewise.
44219 2011-06-15 Ulrich Drepper <drepper@gmail.com>
44221 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
44222 need to dereference resplen2.
44224 2011-06-14 Andreas Schwab <schwab@redhat.com>
44226 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
44228 2011-06-15 Ulrich Drepper <drepper@gmail.com>
44230 * Makeconfig: Define vardbdir and inst_vardbdir.
44231 * nss/Makefile: Add rules to install db-Makefile.
44233 * nss/nss_db/db-XXX.c: Cleanup.
44235 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
44236 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
44238 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
44239 * nss/makedb.c: Implement -g option to specify that value strings
44240 are generated and should not be added to table iterated over for
44242 * nss/nss_db/db-initgroups.c: New file.
44244 * nss/getent.c: Add support for initgroups lookups through getgrouplist
44247 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
44248 (internal_getgrouplist): Adjust to name change.
44249 Update use_initgroups_entry if this is not the first call.
44250 * nss/databases.def: Add initgroups entry.
44252 * nss/makedb.c (compute_tables): Check result of multiple hash table
44253 sizes to minimize maximum chain length.
44255 2011-06-14 Ulrich Drepper <drepper@gmail.com>
44257 * Versions.def: Add entry for libnss_db.
44258 * shlib-versions: Likewise.
44259 * nss/Makefile: Add rules to build libnss_db.
44260 * nss/Versions: Add libnss_db information. Organize libnss_files
44262 * nss/db-Makefile: Add gshadow support. Change rules for the new
44263 makedb progra. Some minor improvements to generate smaller files.
44264 * nss/nss_db/nss_db.h: Move NSS database header data structures to
44266 * nss/makedb.c: ...here.
44267 Improve database format to be smaller and require less memory at
44269 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
44271 * nss/nss_db/db-netgrp.c: Likewise.
44272 * nss/nss_db/db-open.c: Likewise.
44273 * nss/nss_files/flies-XXX.x: Adjust comments.
44274 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
44275 * nss/nss_files/files-grp.c: Likewise.
44276 * nss/nss_files/files-hosts.c: Likewise.
44277 * nss/nss_files/files-network.c: Likewise.
44278 * nss/nss_files/files-proto.c: Likewise.
44279 * nss/nss_files/files-pwd.c: Likewise.
44280 * nss/nss_files/files-rpc.c: Likewise.
44281 * nss/nss_files/files-service.c: Likewise.
44282 * nss/nss_files/files-sgrp.c: Likewise.
44283 * nss/nss_files/files-spwd.c: Likewise.
44284 * nss/nss_db/db-alias.c: Removed.
44285 * nss/nss_db/dummy-db.h: Removed.
44287 2011-06-02 Ulrich Drepper <drepper@gmail.com>
44289 * nss/makedb.c: Rewritten to not use database library.
44290 * nss/Makefile: Update to build new makedb program.
44292 2011-06-14 Andreas Jaeger <aj@suse.de>
44294 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
44295 memset declaration.
44297 2011-06-10 Andreas Schwab <schwab@redhat.com>
44299 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
44302 2011-06-10 Roland McGrath <roland@hack.frob.com>
44304 * Makerules (shlib.lds): Fail if the linker script comes out empty.
44305 * elf/Makefile ($(objpfx)ld.so): Likewise.
44307 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
44308 Don't list ld.so twice in dependencies.
44310 * posix/bug-regex31.c: Include <stdlib.h>.
44312 * nscd/hstcache.c (cache_addhst): Remove unused variable.
44314 * nis/nss_compat/compat-spwd.c
44315 (getspent_next_nss_netgr): Remove unused variable.
44316 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
44318 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
44319 nonmembers" output to use the right array.
44321 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
44323 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
44325 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
44326 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
44327 * catgets/gencat.c (read_input_file): Likewise.
44328 * locale/programs/locarchive.c (enlarge_archive): Likewise.
44330 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
44331 variable definition inside #if's controlling its use.
44333 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
44335 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
44337 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
44339 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
44342 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
44344 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
44345 * configure: Regenerated.
44347 * Makerules: Revert last change.
44348 * elf/Makefile: Likewise.
44350 2011-06-09 Roland McGrath <roland@hack.frob.com>
44352 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
44353 * elf/Makefile ($(objpfx)librtld.os): Likewise.
44354 (reloc-link): Likewise.
44356 2011-06-09 Ulrich Drepper <drepper@gmail.com>
44358 * elf/Makefile: Add rules to build pldd.
44359 * elf/pldd.c: New file.
44360 * elf/pldd-xx.c: New file.
44362 2011-06-07 Ulrich Drepper <drepper@gmail.com>
44364 * version.h: Update for 2.15 development version.
44366 2011-06-07 David S. Miller <davem@davemloft.net>
44368 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
44370 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
44371 elf_machine_lazy_rel): Likewise.
44372 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44373 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
44374 elf_machine_lazy_rel): Likewise.
44375 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
44376 dl_hwcap via passed in argument.
44377 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
44380 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44382 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
44384 2011-06-06 Roland McGrath <roland@hack.frob.com>
44387 * manual/fdl-1.1.texi: New file, verbatim from:
44388 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
44389 * manual/lgpl-2.1.texi: New file, verbatim from:
44390 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
44391 * manual/Makefile (licenses): New variable, list those new file names.
44393 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
44395 * manual/fdl.texi: File removed.
44396 * manual/lesser.texi: File removed.
44397 * manual/libc.texinfo (Copying, Documentation License):
44398 Use new @include file names, put @appendix directive before @include.
44400 2011-06-04 Jakub Jelinek <jakub@redhat.com>
44403 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
44404 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
44405 (mq_open): Add __NTH.
44407 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
44409 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44410 Assume Intel Core i3/i5/i7 processor if AVX is available.
44412 2011-05-31 Ulrich Drepper <drepper@gmail.com>
44414 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44417 2011-05-31 Andreas Schwab <schwab@redhat.com>
44419 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
44420 memory. Use alloca_account. Fix memory leak when retrying.
44422 2011-05-31 Ulrich Drepper <drepper@gmail.com>
44424 * version.h (RELEASE): Bump for 2.14 release.
44425 * include/features.h (__GLIBC_MINOR__): Bump to 14.
44427 * config.make.in (RANLIB): Remove entry.
44429 2011-05-30 Ulrich Drepper <drepper@gmail.com>
44431 * po/Makefile (po-sed-cmd): Add ksh to extensions.
44432 (libc.pot): Work around missing support for .ksh extension in xgettext.
44435 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
44436 if both request failed.
44437 (send_dg): In case of server errors clear resplen or *resplen2.
44440 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
44441 when there are multiple maps.
44442 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
44443 (_dl_fini): Remove test here.
44445 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
44447 2011-05-29 Ulrich Drepper <drepper@gmail.com>
44450 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
44451 bit from old_res_options.
44452 (gaih_inet): Likewise.
44455 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
44458 * resolv/res_init.c (res_setoptions): Make the code more compact.
44461 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
44465 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
44467 * malloc/malloc.h: Mark malloc hook variables as deprecated.
44470 * malloc/malloc.h: Declare malloc hook variables as volatile.
44472 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44476 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
44477 raise in the comment.
44478 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44479 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44480 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
44482 2011-05-28 Ulrich Drepper <drepper@gmail.com>
44485 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44486 grow the buffers more if it already has to be sufficient.
44487 (build_wcs_upper_buffer): Likewise.
44488 * posix/regexec.c (check_matching): Likewise.
44489 (clean_state_log_if_needed): Likewise.
44490 (extend_buffers): Don't enlarge buffers beyond size of the input
44492 Patches mostly by Emil Wojak <emil@wojak.eu>.
44493 * posix/bug-regex32.c: New file.
44494 * posix/Makefile (tests): Add bug-regex32.
44496 * locale/findlocale.c (_nl_find_locale): Return right away if
44497 _nl_explode_name failed.
44498 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44500 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44502 * debug/xtrace.sh: Unify messages.
44503 * malloc/memusage.sh: Likewise.
44506 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44507 time symbol from vDSO. Substitute with vsyscall if not available.
44508 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44511 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44512 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44513 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44514 Add sendmmsg and internal_sendmmsg.
44515 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44516 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44517 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44519 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44520 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44521 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44523 2011-05-27 Ulrich Drepper <drepper@gmail.com>
44526 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44527 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
44529 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44533 * iconvdata/Makefile (tests): Add bug-iconv9.
44534 * iconvdata/bug-iconv9.c: New file.
44536 2011-05-27 Andreas Schwab <schwab@redhat.com>
44539 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44541 2011-05-25 Jakub Jelinek <jakub@redhat.com>
44543 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44544 (struct user_regs_struct): Change intcs field back to cs.
44546 2011-05-25 Ulrich Drepper <drepper@gmail.com>
44548 * po/ja.po: Update from translation team.
44550 2011-05-23 Ulrich Drepper <drepper@gmail.com>
44553 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44554 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44556 2011-05-20 Andreas Schwab <schwab@redhat.com>
44558 * stdlib/longlong.h: Update from GCC.
44560 2011-05-23 Andreas Schwab <schwab@redhat.com>
44562 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44564 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44565 Add parameter name.
44566 (__sysconf): Pass it down.
44568 2011-05-22 Ulrich Drepper <drepper@gmail.com>
44571 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44573 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44574 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44575 add in in __libc_use_alloca calls. Adjust callers.
44576 (glob): Use malloc in some situations.
44578 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44579 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44582 2011-05-21 Ulrich Drepper <drepper@gmail.com>
44584 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44585 and CLOCK_BOOTTIME_ALARM.
44588 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44591 * string/_strerror.c (__strerror_r): Print negative errors as signed
44595 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44596 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44597 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44599 * configure.in: Fix typo in redirection and correct removal of test
44600 files in two cases.
44603 * locale/setlocale.c (new_composite_name): Fix test to check for
44604 identical name of all categories.
44607 * libio/filedoalloc.c (local_isatty): New function.
44608 (_IO_file_doallocate): Use local_isatty.
44609 * stdio-common/perror.c (perror): In case a new stream is used
44610 forward the stream error.
44611 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44614 2011-05-20 Ulrich Drepper <drepper@gmail.com>
44617 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44619 * include/alloca.h (extend_alloca_account): Define.
44622 * posix/regex.h: Fix comments with documentation of user-accessible
44623 fields after compilation and describe correct free'ing of pattern
44624 after re_compile_pattern.
44625 Patch by Reuben Thomas <rrt@sc3d.org>.
44627 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
44629 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44630 and -mno-altivec to prevent the compiler from using Altivec and/or
44631 VSX instructions when the corresponding registers are not available.
44633 2011-05-19 Andreas Schwab <schwab@redhat.com>
44635 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44637 2011-05-19 Ulrich Drepper <drepper@gmail.com>
44639 * libio/freopen.c (freopen): Use __dup2, not dup2.
44640 * libio/freopen64.c (freopen64): Likewise.
44642 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
44645 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44646 * math/Makefile (tests): Add test-powl.
44647 (CFLAGS-test-powl.c): Define.
44648 * math/test-powl.c: New file.
44650 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
44652 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
44654 2011-05-17 Ulrich Drepper <drepper@gmail.com>
44657 * iconvdata/gb18030.c: Update to GB18020-2005.
44659 2011-05-16 Ulrich Drepper <drepper@gmail.com>
44661 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
44662 RE_SYNTAX_POSIX_AWK): Update to match recent development.
44663 Patch by Aharon Robbins <arnold@skeeve.com>.
44666 * stdlib/putenv.c (putenv): Don't always create copy of the variable
44670 * misc/pselect.c (__pselect): Handle timeout value errors hidden
44671 through underflows.
44674 * misc/error.c (error_at_line): Ensure file_name and old_file_name
44675 point to strings before performing equality test for error_one_per_line
44679 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
44682 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44683 (struct user_fpregs_struct): Avoid __uint*_t types.
44686 * malloc/mtrace.c (tr_where): Add additional parameter to point to
44687 symbol info. Use it instead of calling _dl_addr locally.
44688 (lock_and_info): New function.
44689 (tr_freehook): Call lock_and_info and pass symbol info as additional
44690 parameter to tr_where.
44691 (tr_mallochook): Likewise.
44692 (tr_reallochook): Likewise.
44693 (tr_memalignhook): Likewise.
44695 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
44696 used and couldn't be at all thread-safe.
44698 2011-05-15 Ulrich Drepper <drepper@gmail.com>
44700 * libio/freopen.c (freopen): Don't close old file descriptor
44701 before the new one is opened. Instead dup the new file descriptor
44702 to the old one after the new stream is created.
44703 * libio/freopen64.c (freopen64): Likewise.
44704 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
44705 * libio/fileops.c (_IO_new_file_close_it): Handle new
44706 _IO_FLAGS2_NOCLOSE flag.
44707 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
44708 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
44709 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
44710 _IO_FLAGS2_NOCLOSE flag.
44711 * include/unistd.h: Add hidden_proto for dup3.
44712 Define __have_dup3.
44713 * io/dup3.c: Define hidden symbol.
44714 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
44717 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
44718 when an incomplete long option is used.
44719 * posix/tst-getopt_long1.c: New file.
44720 * posix/Makefile (tests): Add tst-getopt_long1.
44723 * scripts/config.guess: Update from autoconf-2.68.
44724 * scripts/config.sub: Likewise.
44727 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
44729 (has_cpuclock): ...this. New function.
44730 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
44731 macro here based on has_cpuclock code.
44734 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44735 First byte (not low byte) is now always NUL.
44736 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
44738 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44739 Use non-cancelable interfaces.
44742 * locale/iso-639.def: Add entry for Sorani.
44745 * include/stdlib.h: Move include protection to the right place.
44746 Define abort_msg_s. Declare __abort_msg with it.
44747 * stdlib/abort.c (__abort_msg): Adjust type.
44748 * assert/assert.c (__assert_fail_base): New function. Majority
44749 of code from __assert_fail. Allocate memory for __abort_msg with
44751 (__assert_fail): Now call __assert_fail_base.
44752 * assert/assert-perr.c: Remove bulk of implementation. Use
44753 __assert_fail_base.
44754 * include/assert.hL Declare __assert_fail_base.
44755 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
44757 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
44759 2011-05-14 Ulrich Drepper <drepper@gmail.com>
44763 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
44764 until all modules are registered in the DTV.
44765 * elf/Makefile: Add rules to build and run tst-tls19.
44766 * elf/tst-tls19.c: New file.
44767 * elf/tst-tls19mod1.c: New file.
44768 * elf/tst-tls19mod2.c: New file.
44769 * elf/tst-tls19mod3.c: New file.
44770 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
44773 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
44777 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
44778 two-byte sequence errors.
44779 * iconvdata/Makefile (tests): Add bug-iconv8.
44780 * iconvdata/bug-iconv8.c: New file.
44783 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
44786 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
44789 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
44790 (dummy_getcfa): New function.
44791 (init): Get _Unwind_GetCFA address, use dummy if not found.
44792 (backtrace_helper): In recursion check, also check whether CFA changes.
44793 (__backtrace): Completely initialize arg.
44795 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
44796 storing incomplete byte sequence in state object. Avoid testing for
44797 guaranteed too small input if we know there is enough data available.
44799 2011-05-11 Andreas Schwab <schwab@redhat.com>
44801 * Makeconfig (+link-pie): Indent.
44802 * Rules (binaries-pie): Define if $(have-fpie) and
44804 (binaries-shared): Also filter out $(binaries-pie).
44805 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
44806 * nscd/Makefile (others-pie): Add nscd.
44807 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
44808 ($(objpfx)nscd): Remove command override.
44809 * login/Makefile (others-pie): Add pt_chown.
44810 ($(objpfx)pt_chown): Remove command override.
44811 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
44812 remove command overrides.
44814 2011-05-13 Ulrich Drepper <drepper@gmail.com>
44816 * libio/tst_putwc.c: Fix error messages.
44819 * libio/fileops.c (_IO_new_file_close_it): Always flush when
44820 currently writing and seek to current position when not.
44821 * libio/Makefile (tests): Add bug-fclose1.
44822 * libio/bug-fclose1.c: New file.
44824 2011-05-12 Ulrich Drepper <drepper@gmail.com>
44827 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
44828 don't set DF_1_NODELETE here.
44829 (do_lookup_x): When entering new entry test for copy relocation
44830 and if necessary set DF_1_NODELETE flag.
44831 * elf/tst-unique4.cc: New file.
44832 * elf/tst-unique4.h: New file.
44833 * elf/tst-unique4lib.cc: New file.
44834 * elf/Makefile: Add rules to build and run tst-unique4.
44835 Patch by Piotr Bury <pbury@goahead.com>.
44837 2011-05-11 Ulrich Drepper <drepper@gmail.com>
44840 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
44843 * misc/mntent_r.c (addmntent): Flush the stream after the output
44846 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
44847 (is_trusted_path_normalize): Skip initial colon. Append slash
44848 to empty buffer. Duplicate is_trusted_path code but allow
44849 constructed patch to be prefix.
44850 (is_dst): Allow $ORIGIN followed by /.
44851 (_dl_dst_substitute): Correct clearing of check_for_trusted.
44852 Correct testing of result of is_trusted_path_normalize
44853 (decompose_rpath): Fix warning.
44855 2011-05-10 Ulrich Drepper <drepper@gmail.com>
44858 * grp/initgroups.c (internal_getgrouplist): When we found the service
44859 list through the initgroups entry in nsswitch.conf do not always
44860 continue on a successful lookup. Don't always use the
44861 __nss_group_database value if it is set.
44862 * nss/nsswitch.conf (initgroups): Change action for successful db
44863 lookup to continue for compatibility.
44865 2011-05-09 Ulrich Drepper <drepper@gmail.com>
44868 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
44870 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
44872 * iconvdata/tst-tables.sh: Likewise.
44873 * iconvdata/cp770.c: New file.
44874 * iconvdata/cp771.c: New file.
44875 * iconvdata/cp772.c: New file.
44876 * iconvdata/cp773.c: New file.
44877 * iconvdata/cp774.c: New file.
44878 * iconvdata/testdata/CP770: New file.
44879 * iconvdata/testdata/CP770..UTF8: New file.
44880 * iconvdata/testdata/CP771: New file.
44881 * iconvdata/testdata/CP771..UTF8: New file.
44882 * iconvdata/testdata/CP772: New file.
44883 * iconvdata/testdata/CP772..UTF8: New file.
44884 * iconvdata/testdata/CP773: New file.
44885 * iconvdata/testdata/CP773..UTF8: New file.
44886 * iconvdata/testdata/CP774: New file.
44887 * iconvdata/testdata/CP774..UTF8: New file.
44889 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
44891 * iconvdata/gen-8bit-gap.sh: Likewise.
44892 * iconvdata/gen-8bit.sh: Likewise.
44894 * locale/iso-639.def: Add ary entry.
44897 * locale/C-translit.h.in: Add U20A1 transliteration.
44900 * locale/iso-639.def: Add wae entry.
44901 Patch by Kevin Bortis <bortis@translate-wae.ch>.
44904 * locale/programs/localedef.c (construct_output_path): Use ssize_t
44908 * locale/C-translit.h.in: Add entry for U20B9.
44909 Patch by pravin.d.s@gmail.com.
44911 2011-05-08 Ulrich Drepper <drepper@gmail.com>
44914 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
44915 ENAMETOOLONG use generic getcwd.
44916 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
44917 in rtld. Use *stat64.
44918 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
44919 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
44920 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
44921 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
44922 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
44923 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
44924 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
44925 __fstatat64 macros.
44926 * include/dirent.h: Add libc_hidden_proto for rewinddir.
44927 * dirent/rewinddir.c: Add libc_hidden_def.
44928 * sysdeps/mach/hurd/rewinddir.c: Likewise.
44929 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
44931 * include/dirent.h (__alloc_dir): Add flags parameter.
44932 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
44933 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
44935 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
44936 from fdopendir if O_CLOEXEC is already set.
44938 2011-03-15 Alan Modra <amodra@gmail.com>
44940 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
44941 l_tls_firstbyte_offset non-zero. Save padding offset in
44942 l_tls_firstbyte_offset for later use.
44943 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
44944 freeing static tls block.
44946 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
44948 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
44949 where #ifdef was intended. The intent is to prevent ARG_MAX from
44950 being defined by the kernel headers.
44952 2011-05-07 Ulrich Drepper <drepper@gmail.com>
44955 * resolv/resolv.h: Define RES_NOTLDQUERY.
44956 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
44957 no-tld-query and set RES_NOTLDQUERY.
44958 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
44959 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
44960 modern BIND to search name as TLD unless forbidden.
44962 2011-05-07 Petr Baudis <pasky@suse.cz>
44963 Ulrich Drepper <drepper@gmail.com>
44966 * elf/dl-load.c (fillin_rpath): Move trusted path check...
44967 (is_trusted_path): ...to here.
44968 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
44969 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
44970 using is_trusted_path_normalize() in setuid scripts.
44972 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44974 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
44975 __BEGIN/__END_DECLS.
44977 2011-05-06 Ulrich Drepper <drepper@gmail.com>
44979 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44980 NSS_STATUS_NOTFOUND if no record was found.
44982 2011-05-05 Andreas Schwab <schwab@redhat.com>
44984 * sunrpc/Makefile (headers): Add rpc/netdb.h.
44985 (headers-not-in-tirpc): Remove rpc/netdb.h
44986 * resolv/netdb.h: Revert last change.
44988 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44990 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44991 circular dependency between libgcc.a and libc.a.
44993 2011-05-05 Andreas Schwab <schwab@redhat.com>
44995 * resolv/netdb.h: Don't include <rpc/netdb.h>.
44996 * nis/Makefile: Don't install rpcsvc/*.
44997 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44998 instead of <rpc/types.h>.
44999 (MAXHOSTNAMELEN): Define.
45001 2011-05-03 Andreas Schwab <schwab@redhat.com>
45003 * elf/ldconfig.c (add_dir): Don't crash on empty path.
45005 2011-04-28 Maciej Babinski <mbabinski@google.com>
45008 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
45009 gethostbyname4_r when IPv6 results are possible.
45011 2011-05-02 Ulrich Drepper <drepper@gmail.com>
45014 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45015 _PC_PIPE_BUF handling.
45017 2011-04-30 Bruno Haible <bruno@clisp.org>
45020 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45021 * resolv/netdb.h (getnameinfo): Change type of flags parameter
45023 * inet/getnameinfo.c (getnameinfo): Likewise.
45025 2011-04-29 Ulrich Drepper <drepper@gmail.com>
45027 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45028 to groups setting in database lookup.
45029 * nss/nsswitch.conf: Add initgroups entry.
45031 2011-04-22 Ulrich Drepper <drepper@gmail.com>
45034 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45036 Patch by Eric Blake <eblake@redhat.com>.
45038 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
45040 * sunrpc/Makefile (need-export-routines): Add svc_run.
45041 (routines): Remove svc_run.
45042 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45043 * sunrpc/clnt_perr.c (clnt_perrno): Export.
45044 * sunrpc/svc_run.c (svc_run): Likewise.
45045 * sunrpc/svc_udp.c (svcudp_create): Likewise.
45047 2011-04-21 Ulrich Drepper <drepper@gmail.com>
45049 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45050 problem in reallocation in last patch.
45052 2011-04-20 Ulrich Drepper <drepper@gmail.com>
45054 * sunrpc/Makefile: Move inclusion of Rules.
45056 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45058 * nss/nss_files/files-initgroups.c: New file.
45059 * nss/Makefile (libnss_files-routines): Add files-initgroups.
45060 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45061 _nss_files_initgroups_dyn.
45063 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
45065 * elf/elf.h (R_ARM_IRELATIVE): Define.
45067 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45069 * po/ru.po: Update from translation team.
45071 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45073 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45076 2011-02-06 Mike Frysinger <vapier@gentoo.org>
45079 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45080 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45081 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45082 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45083 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45085 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
45087 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45089 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45090 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45091 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45093 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45096 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45098 * stdlib/bug-getcontext.c: New file.
45099 * stdlib/Makefile: Add rules to build and run bug-getcontext.
45101 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45103 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45104 instructions into .machine "z9-109".
45105 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45106 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45108 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45110 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45111 between environment variables and auxiliary vector.
45113 2011-04-16 Ulrich Drepper <drepper@gmail.com>
45115 * Makefile: Add rules to build linkobj/libc.so.
45116 * include/libc-symbols.h: Define libc_hidden_nolink.
45117 * include/rpc/auth.h: Mark functions which are to be hidden.
45118 * include/rpc/auth_des.h: Likewise.
45119 * include/rpc/auth_unix.h: Likewise.
45120 * include/rpc/clnt.h: Likewise.
45121 * include/rpc/des_crypt.h: Likewise.
45122 * include/rpc/key_prot.h: Likewise.
45123 * include/rpc/pmap_clnt.h: Likewise.
45124 * include/rpc/pmap_prot.h: Likewise.
45125 * include/rpc/pmap_rmt.h: Likewise.
45126 * include/rpc/rpc_msg.h: Likewise.
45127 * include/rpc/svc.h: Likewise.
45128 * include/rpc/svc_auth.h: Likewise.
45129 * include/rpc/xdr.h: Likewise.
45130 * nis/Makefile: Link all DSOs against linkobj/libc.so.
45131 * nss/Makefile: Likewise.
45132 * sunrpc/Makefile: Don't install headers. Build library with normal
45133 entry points. Don't build rpcinfo. Link RPC tests appropriately.
45134 * sunrpc/auth_des.c: Hide exported symbols by default, export some
45135 for the compat linking library. Remove use of INTDEF/INTUSE.
45136 * sunrpc/auth_none.c: Likewise.
45137 * sunrpc/auth_unix.c: Likewise.
45138 * sunrpc/authdes_prot.c: Likewise.
45139 * sunrpc/authuxprot.c: Likewise.
45140 * sunrpc/clnt_gen.c: Likewise.
45141 * sunrpc/clnt_perr.c: Likewise.
45142 * sunrpc/clnt_raw.c: Likewise.
45143 * sunrpc/clnt_simp.c: Likewise.
45144 * sunrpc/clnt_tcp.c: Likewise.
45145 * sunrpc/clnt_udp.c: Likewise.
45146 * sunrpc/clnt_unix.c: Likewise.
45147 * sunrpc/des_crypt.c: Likewise.
45148 * sunrpc/des_soft.c: Likewise.
45149 * sunrpc/get_myaddr.c: Likewise.
45150 * sunrpc/key_call.c: Likewise.
45151 * sunrpc/key_prot.c: Likewise.
45152 * sunrpc/netname.c: Likewise.
45153 * sunrpc/pm_getmaps.c: Likewise.
45154 * sunrpc/pm_getport.c: Likewise.
45155 * sunrpc/pmap_clnt.c: Likewise.
45156 * sunrpc/pmap_prot.c: Likewise.
45157 * sunrpc/pmap_prot2.c: Likewise.
45158 * sunrpc/pmap_rmt.c: Likewise.
45159 * sunrpc/publickey.c: Likewise.
45160 * sunrpc/rpc_cmsg.c: Likewise.
45161 * sunrpc/rpc_common.c: Likewise.
45162 * sunrpc/rpc_dtable.c: Likewise.
45163 * sunrpc/rpc_prot.c: Likewise.
45164 * sunrpc/rpc_thread.c: Likewise.
45165 * sunrpc/rtime.c: Likewise.
45166 * sunrpc/svc.c: Likewise.
45167 * sunrpc/svc_auth.c: Likewise.
45168 * sunrpc/svc_authux.c: Likewise.
45169 * sunrpc/svc_raw.c: Likewise.
45170 * sunrpc/svc_run.c: Likewise.
45171 * sunrpc/svc_simple.c: Likewise.
45172 * sunrpc/svc_tcp.c: Likewise.
45173 * sunrpc/svc_udp.c: Likewise.
45174 * sunrpc/svc_unix.c: Likewise.
45175 * sunrpc/svcauth_des.c: Likewise.
45176 * sunrpc/xcrypt.c: Likewise.
45177 * sunrpc/xdr.c: Likewise.
45178 * sunrpc/xdr_array.c: Likewise.
45179 * sunrpc/xdr_float.c: Likewise.
45180 * sunrpc/xdr_intXX_t.c: Likewise.
45181 * sunrpc/xdr_mem.c: Likewise.
45182 * sunrpc/xdr_rec.c: Likewise.
45183 * sunrpc/xdr_ref.c: Likewise.
45184 * sunrpc/xdr_sizeof.c: Likewise.
45185 * sunrpc/xdr_stdio.c: Likewise.
45187 2011-04-10 Ulrich Drepper <drepper@gmail.com>
45190 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
45191 * sysdeps/ia64/dl-tls.h: Likewise.
45192 * sysdeps/powerpc/dl-tls.h: Likewise.
45193 * sysdeps/s390/dl-tls.h: Likewise.
45194 * sysdeps/sh/dl-tls.h: Likewise.
45195 * sysdeps/sparc/dl-tls.h: Likewise.
45196 * sysdeps/x86_64/dl-tls.h: Likewise.
45197 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
45199 2011-03-14 Andreas Schwab <schwab@redhat.com>
45201 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
45202 rpath element also skip the following colon.
45203 (expand_dynamic_string_token): Add is_path parameter and pass
45204 down to DL_DST_REQUIRED and _dl_dst_substitute.
45205 (decompose_rpath): Call expand_dynamic_string_token with
45206 non-zero is_path. Ignore empty rpaths.
45207 (_dl_map_object_from_fd): Call expand_dynamic_string_token
45210 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
45212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45215 2011-04-09 Ulrich Drepper <drepper@gmail.com>
45218 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
45219 Patch by Filipe David Manana <fdmanana@apache.org>.
45221 2011-04-07 Andreas Schwab <schwab@redhat.com>
45223 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
45224 Maintain aligned stack.
45225 (CHECK_RSP): Remove unused macro.
45227 2011-04-03 Ulrich Drepper <drepper@gmail.com>
45229 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
45230 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
45232 2011-04-02 Ulrich Drepper <drepper@gmail.com>
45234 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
45236 * include/features.h: Mention __USE_XOPEN2K8 in comment.
45238 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
45241 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
45242 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
45243 * sysdeps/x86_64/memmove.c: New file.
45244 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
45245 (memcpy): Renamed to ...
45246 (__new_memcpy): This.
45247 (memcpy): Provide GLIBC_2_14 memcpy.
45248 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
45249 (memcpy): Provide GLIBC_2_2_5 memcpy.
45251 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45254 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
45256 2011-03-30 Andreas Schwab <schwab@redhat.com>
45258 * misc/syncfs.c: New file.
45259 * misc/Makefile (routines): Add syncfs.
45260 * posix/unistd.h: Declare syncfs.
45261 * sysdeps/unix/syscalls.list: Add syncfs.
45263 2011-04-01 Andreas Schwab <schwab@redhat.com>
45265 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
45267 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45268 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45269 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45270 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45271 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45272 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
45273 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45275 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45277 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
45278 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45279 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
45280 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45281 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45282 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45283 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45285 * io/Makefile: Compile fallocate.c, fallocate64.c, and
45286 sync_file_range.c with -fexceptions.
45287 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
45288 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
45289 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
45290 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
45291 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
45292 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45293 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
45294 sync_file_range as cancellation point
45295 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
45296 now a wrapper around __call_sync_file_range with cancellation handling.
45297 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
45298 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
45299 function name to __call_sync_file_range.
45300 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
45301 Add call_sync_file_range.
45303 2011-04-01 Andreas Schwab <schwab@redhat.com>
45305 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45308 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45310 * iconv/iconv.h: Fix typo in comment.
45311 * io/fcntl.h: Likewise.
45312 * libio/stdio.h: Likewise.
45313 * posix/spawn.h: Likewise.
45314 * posix/unistd.h: Likewise.
45315 * stdlib/stdlib.h: Likewise.
45316 * time/time.h: Likewise.
45317 * wcsmbs/wchar.h: Likewise.
45319 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
45320 open_by_handle): Add.
45321 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
45322 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
45323 Augment a few comments.
45324 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45325 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45326 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45327 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45328 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45329 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
45332 * io/fcntl.h (AT_EMPTY_PATH): Define.
45334 2011-03-30 Ulrich Drepper <drepper@gmail.com>
45336 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
45337 * sysdeps/unix/sysv/linux/bits/time.h: New file.
45338 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
45340 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
45341 * Versions.def: Add GLIBC_2.14.
45342 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
45345 2011-03-22 Ulrich Drepper <drepper@gmail.com>
45347 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
45349 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45351 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
45354 * string/test-strncmp.c (do_page_test): New function.
45355 (check2): Likewise.
45356 (test_main): Call check2.
45357 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
45359 2011-03-20 Ulrich Drepper <drepper@gmail.com>
45362 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
45363 Handle cache information in CPU leaf 4.
45364 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45366 2011-03-18 Ulrich Drepper <drepper@gmail.com>
45369 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
45370 character representation.
45371 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
45373 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
45375 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
45376 END(__isnan) to END(__isnanf) to match function entry point/label
45377 EALIGN(__isnanf,...).
45379 2011-03-10 Jakub Jelinek <jakub@redhat.com>
45381 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
45383 2011-03-10 Ulrich Drepper <drepper@gmail.com>
45386 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
45387 copy from the symbol referenced in the relocation to initialize the
45389 Patch by Piotr Bury <pbury@goahead.com>.
45390 * elf/Makefile: Add rules to build and tst-unique3.
45391 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
45392 * elf/tst-unique3.cc: New file.
45393 * elf/tst-unique3.h: New file.
45394 * elf/tst-unique3lib.cc: New file.
45395 * elf/tst-unique3lib2.cc: New file.
45397 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
45399 2011-03-10 Mike Frysinger <vapier@gentoo.org>
45401 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
45402 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
45405 2011-03-06 Ulrich Drepper <drepper@gmail.com>
45407 * elf/dl-load.c (_dl_map_object): If we are looking for the first
45408 to-be-loaded object along a path to loader is ld.so.
45410 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45411 Ulrich Drepper <drepper@gmail.com>
45413 * sysdeps/x86_64/memset.S: After aligning destination, code
45414 branches to different locations depending on the value of
45415 misalignment, when multiarch is enabled. Fix this.
45417 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45419 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
45420 Set _x86_64_preferred_memory_instruction for AMD processsors.
45421 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45422 Set bit_Prefer_SSE_for_memop for AMD processors.
45424 2011-03-04 Ulrich Drepper <drepper@gmail.com>
45426 * libio/fmemopen.c (fmemopen): Optimize a bit.
45428 2011-03-03 Andreas Schwab <schwab@redhat.com>
45430 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
45432 2011-03-03 Roland McGrath <roland@redhat.com>
45434 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
45436 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
45438 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
45439 __bzero_ultra1 instead of __memset_ultra1.
45441 2011-02-23 Andreas Schwab <schwab@redhat.com>
45442 Ulrich Drepper <drepper@gmail.com>
45445 * include/link.h (struct link_map): Add l_orig_initfini.
45446 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
45447 returning unsuccessfully.
45448 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
45449 close of a file loaded at startup, restore the original l_initfini
45451 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
45452 list, store the pointer.
45453 * elf/Makefile ($(objpfx)noload-mem): New rule.
45454 (noload-ENV): Define.
45455 (tests): Add $(objpfx)noload-mem.
45456 * elf/noload.c: Include <memcheck.h>.
45457 (main): Call mtrace. Close all opened handles.
45459 2011-02-17 Andreas Schwab <schwab@redhat.com>
45462 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
45463 dependencies are missing.
45465 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
45467 Fix __if_freereq crash: Unlike the generic version which uses free,
45469 * sysdeps/mach/hurd/ifreq.h: New file.
45471 2011-01-27 Petr Baudis <pasky@suse.cz>
45472 Ulrich Drepper <drepper@gmail.com>
45475 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45476 to extend_alloca().
45477 * stdio-common/bug23.c: New file.
45478 * stdio-common/Makefile (tests): Add bug23.
45480 2010-09-28 Andreas Schwab <schwab@redhat.com>
45481 Ulrich Drepper <drepper@gmail.com>
45484 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45485 before performing relro protection. At old place add assertion
45486 to make sure nothing changed.
45488 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
45489 Glauber de Oliveira Costa <glommer@gmail.com>
45491 * elf/elf.h: Add new ARM TLS relocs.
45493 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
45495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45496 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45498 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
45500 * sysdeps/wordsize-64/tst-writev.c: New file.
45502 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
45504 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45505 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45506 insns in _dl_start to prevent a TOC reference before relocs are
45509 2011-02-15 Ulrich Drepper <drepper@gmail.com>
45512 * Makeconfig: Remove RANLIB definition.
45513 * Makerules: Don't use RANLIB.
45514 * aclocal.m4: Remove ranlib test.
45515 * configure.in: No need to check for ranlib.
45516 * elf/rtld-Rules: Don't use RANLIB.
45518 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
45520 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45522 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45523 inclusion protection macro.
45525 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45526 SIGRTMIN and SIGRTMAX and print information in that case only when
45527 SIGRTMIN is defined.
45529 2011-02-11 Jakub Jelinek <jakub@redhat.com>
45531 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45532 arginfo fn returning -1.
45534 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45535 and thousands string is zero terminated.
45537 2011-02-03 Andreas Schwab <schwab@redhat.com>
45539 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45540 sysdeps/unix/sysv/linux/bits/socket.h.
45542 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
45544 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45545 (__CPU_COUNT): Remove old macros.
45546 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45547 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45548 (__CPU_ALLOC, __CPU_FREE): Add macros.
45549 (__sched_cpualloc, __sched_cpufree): Add declarations.
45551 2011-02-05 Ulrich Drepper <drepper@gmail.com>
45553 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45554 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45555 * nscd/aicache.c (addhstaiX): Return timeout of added value.
45556 (readdhstai): Return value of addhstaiX call.
45557 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45558 (addgrbyX): Return value returned by cache_addgr.
45559 (readdgrbyname): Return value returned by addgrbyX.
45560 (readdgrbygid): Likewise.
45561 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45562 (addpwbyX): Return value returned by cache_addpw.
45563 (readdpwbyname): Return value returned by addhstbyX.
45564 (readdpwbyuid): Likewise.
45565 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45566 (addservbyX): Return value returned by cache_addserv.
45567 (readdservbyname): Return value returned by addservbyX:
45568 (readdservbyport): Likewise.
45569 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45570 (addhstbyX): Return value returned by cache_addhst.
45571 (readdhstbyname): Return value returned by addhstbyX.
45572 (readdhstbyaddr): Likewise.
45573 (readdhstbynamev6): Likewise.
45574 (readdhstbyaddrv6): Likewise.
45575 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45576 (readdinitgroups): Return value returned by addinitgroupsX.
45577 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45578 (prune_cache): Keep track of timeout value of re-added entries.
45579 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45580 * nscd/nscd.h: Adjust prototypes of readd* functions.
45582 2011-02-04 Roland McGrath <roland@redhat.com>
45584 * nis/nis_server.c (nis_servstate): Use the right name for 0.
45585 (nis_stats): Likewise.
45586 * nis/nis_modify.c (nis_modify): Likewise.
45587 * nis/nis_remove.c (nis_remove): Likewise.
45588 * nis/nis_add.c (nis_add): Likewise.
45590 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45592 * posix/fnmatch_loop.c: Add some consts.
45594 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45596 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
45599 * config.make.in (config-cflags-novzeroupper): Define.
45600 * configure.in: Substitute libc_cv_cc_novzeroupper.
45601 * elf/Makefile (AVX-CFLAGS): Define.
45602 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45603 (CFLAGS-tst-auditmod4a.c): Likewise.
45604 (CFLAGS-tst-auditmod4b.c): Likewise.
45605 (CFLAGS-tst-auditmod6b.c): Likewise.
45606 (CFLAGS-tst-auditmod6c.c): Likewise.
45607 (CFLAGS-tst-auditmod7b.c): Likewise.
45608 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45610 2011-02-02 Ulrich Drepper <drepper@gmail.com>
45612 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45613 function to the callback.
45614 Patch partly by Jiri Olsa <jolsa@redhat.com>.
45616 2011-02-02 Andreas Schwab <schwab@redhat.com>
45618 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45621 2011-01-19 Ulrich Drepper <drepper@gmail.com>
45624 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45626 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45628 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45631 * elf/Makefile: Add rules to build and run new test.
45632 * elf/tst-initorder.c: New file.
45633 * elf/tst-initorder.exp: New file.
45634 * elf/tst-initordera1.c: New file.
45635 * elf/tst-initordera2.c: New file.
45636 * elf/tst-initordera3.c: New file.
45637 * elf/tst-initordera4.c: New file.
45638 * elf/tst-initorderb1.c: New file.
45639 * elf/tst-initorderb2.c: New file.
45640 * elf/tst-order-a1.c: New file.
45641 * elf/tst-order-a2.c: New file.
45642 * elf/tst-order-a3.c: New file.
45643 * elf/tst-order-a4.c: New file.
45644 * elf/tst-order-b1.c: New file.
45645 * elf/tst-order-b2.c: New file.
45646 * elf/tst-order-main.c: New file.
45647 New test case by George Gensure <werkt0@gmail.com>.
45649 2010-10-01 Andreas Schwab <schwab@redhat.com>
45651 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45652 decoding ACE if AI_CANONIDN.
45654 2011-01-18 Ulrich Drepper <drepper@gmail.com>
45656 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
45658 2011-01-17 Ulrich Drepper <drepper@gmail.com>
45660 * version.h (RELEASE): Bump for 2.13 release.
45661 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
45663 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
45665 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
45667 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
45668 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45669 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45670 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45671 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45672 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45674 * posix/getconf.c: Update copyright year.
45675 * catgets/gencat.c: Likewise.
45676 * csu/version.c: Likewise.
45677 * debug/catchsegv.sh: Likewise.
45678 * debug/xtrace.sh: Likewise.
45679 * elf/ldconfig.c: Likewise.
45680 * elf/ldd.bash.in: Likewise.
45681 * elf/sprof.c (print_version): Likewise.
45682 * iconv/iconv_prog.c: Likewise.
45683 * iconv/iconvconfig.c: Likewise.
45684 * locale/programs/locale.c: Likewise.
45685 * locale/programs/localedef.c: Likewise.
45686 * malloc/memusage.sh: Likewise.
45687 * malloc/mtrace.pl: Likewise.
45688 * nscd/nscd.c (print_version): Likewise.
45689 * nss/getent.c: Likewise.
45691 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
45692 PF_CAIF, and PF_ALG.
45693 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45695 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
45697 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
45698 (modules-names): Use them.
45699 (ifunc-test-modules, ifunc-pie-tests): Define.
45700 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
45701 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
45702 (test-extras): Likewise.
45703 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
45704 $(compile-command.c).
45705 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
45706 (all-built-dso): Define.
45707 (check-textrel.out, check-execstack.out): Depend on it.
45709 * configure.in: Don't override --enable-multi-arch.
45711 2011-01-15 Ulrich Drepper <drepper@gmail.com>
45714 * nscd/hstcache.c (tryagain): Define.
45715 (cache_addhst): Return tryagain not notfound for temporary errors.
45716 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
45719 2011-01-14 Ulrich Drepper <drepper@gmail.com>
45722 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
45723 to make the syscall.
45724 * sysdeps/unix/sysv/linux/setgroups.c: New file.
45727 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
45728 and fall back to matching as normal character if the string ends before
45729 the matching ']' is found. This is what POSIX requires.
45730 * posix/testfnm.c: Adjust test result.
45731 * posix/globtest.sh: Adjust test result. Add new test.
45732 * posix/tst-fnmatch.input: Likewise.
45733 * posix/tst-fnmatch2.c: Add new test.
45735 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
45737 * elf/Makefile (check-execstack): Revert last change. Depend on
45739 (check-execstack.h): New target.
45740 (generated): Add check-execstack.h.
45741 * elf/check-execstack.c: Include "check-execstack.h".
45742 (main): Revert last change.
45743 (handle_file): Return zero if GNU_STACK is absent and
45744 DEFAULT_STACK_PERMS doesn't include PF_X.
45746 2011-01-13 Ulrich Drepper <drepper@gmail.com>
45748 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
45749 in child fails because the descriptor is already closed.
45750 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
45751 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
45752 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
45755 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
45759 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
45760 temporary buffer used to handle multi lookups locally.
45761 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
45763 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45765 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
45768 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
45770 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
45771 alignment for SSE2.
45773 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45776 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
45777 characters. When rounding increased number of integer digits recompute
45779 * stdio-common/tst-grouping.c: New file.
45780 * stdio-common/Makefile: Add rules to build and run tst-grouping.
45782 2011-01-09 Ulrich Drepper <drepper@gmail.com>
45784 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
45785 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
45787 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
45789 * bits/select.h: Likewise.
45791 2011-01-08 Ulrich Drepper <drepper@gmail.com>
45793 * po/ja.po: Update from translation team.
45795 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
45798 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
45799 implementation just like for lxstat, fxstatat, et al.
45801 2010-12-27 Jim Meyering <meyering@redhat.com>
45804 * posix/regexec.c (build_trtable): Return failure indication upon
45805 calloc failure. Otherwise, re_search_internal could infloop on OOM.
45807 2010-12-25 Ulrich Drepper <drepper@gmail.com>
45810 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
45811 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
45812 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
45813 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
45816 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
45819 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
45820 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
45822 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
45824 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
45825 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
45826 script has SORT_BY_INIT_PRIORITY.
45827 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
45828 NO_CTORS_DTORS_SECTIONS is defined.
45829 * elf/soinit.c: Likewise.
45830 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
45831 NO_CTORS_DTORS_SECTIONS is defined.
45832 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
45833 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
45834 * sysdeps/sh/init-first.c: Likewise.
45835 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
45837 2010-12-24 Ulrich Drepper <drepper@gmail.com>
45839 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
45840 always use the slow path.
45842 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
45844 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
45845 similar rule which adds the sysdep directories to the header search in
45846 order to pick up the correct platform stackinfo.h.
45847 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
45848 perform test if it is, otherwise return successfully without testing.
45849 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
45850 DEFAULT_STACK_PERMS define in stackinfo.h.
45851 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
45852 defined in stackinfo.h.
45853 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
45854 DEFAULT_STACK_PERMS defined in stackinfo.h.
45855 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
45856 * sysdeps/ia64/stackinfo.h: Likewise.
45857 * sysdeps/s390/stackinfo.h: Likewise.
45858 * sysdeps/sh/stackinfo.h: Likewise.
45859 * sysdeps/sparc/stackinfo.h: Likewise.
45860 * sysdeps/x86_64/stackinfo.h: Likewise.
45861 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
45862 PF_X for powerpc64. Retain PF_X for powerpc32.
45864 2010-12-19 Ulrich Drepper <drepper@gmail.com>
45866 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
45868 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
45869 GETDENTS_64BIT_ALIGNED.
45871 2010-12-14 Ulrich Drepper <dreper@gmail.com>
45873 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
45875 2010-12-10 Andreas Schwab <schwab@redhat.com>
45877 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
45880 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
45881 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
45883 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
45884 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
45886 2010-12-09 Ulrich Drepper <drepper@gmail.com>
45889 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
45892 2010-12-09 Jakub Jelinek <jakub@redhat.com>
45894 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
45896 2010-12-03 Ulrich Drepper <drepper@gmail.com>
45898 * po/it.po: Update from translation team.
45900 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
45902 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
45905 2010-11-30 Ulrich Drepper <drepper@gmail.com>
45907 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
45909 2010-11-24 Andreas Schwab <schwab@redhat.com>
45911 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
45913 (gaih_getanswer_slice): Likewise.
45915 2010-10-20 Jakub Jelinek <jakub@redhat.com>
45917 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
45919 2010-05-31 Petr Baudis <pasky@suse.cz>
45922 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
45923 silently even in the chroot mode.
45925 2010-11-22 Ulrich Drepper <drepper@gmail.com>
45927 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
45928 last patch a bit. Pretty printing
45930 2010-05-31 Petr Baudis <pasky@suse.cz>
45933 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
45934 initialization of skip_initgroups_dyn.
45936 2010-11-19 Ulrich Drepper <drepper@gmail.com>
45938 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
45939 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45941 2010-11-16 Ulrich Drepper <drepper@gmail.com>
45943 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
45945 2010-11-11 Andreas Schwab <schwab@redhat.com>
45947 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
45948 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
45949 (tst-fnmatch-ENV): Set MALLOC_TRACE.
45950 ($(objpfx)tst-fnmatch-mem): New rule.
45951 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
45952 * posix/tst-fnmatch.c (main): Call mtrace.
45954 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
45956 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45957 Support Intel processor model 6 and model 0x2c.
45959 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
45961 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
45964 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
45967 * string/test-strncasecmp.c (check_result): New function.
45968 (do_one_test): Use it.
45969 (check1): New function.
45970 (test_main): Use it.
45971 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
45972 Support strcasecmp and strncasecmp.
45974 2010-11-08 Ulrich Drepper <drepper@gmail.com>
45977 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
45978 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45980 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
45982 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
45984 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45986 * sysdeps/x86_64/multiarch/bzero.S: New file.
45987 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45988 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45989 * sysdeps/x86_64/multiarch/memset.S: New file.
45990 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45991 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45992 Set bit_Prefer_SSE_for_memop for Intel processors.
45993 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45995 (index_Prefer_SSE_for_memop): Define.
45996 (HAS_PREFER_SSE_FOR_MEMOP): Define.
45998 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
46000 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
46001 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
46003 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
46006 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46007 (__x86_64_raw_data_cache_size_half): Likewise.
46008 (__x86_64_raw_shared_cache_size): Likewise.
46009 (__x86_64_raw_shared_cache_size_half): Likewise.
46011 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46012 (__x86_64_raw_data_cache_size_half): Likewise.
46013 (__x86_64_raw_shared_cache_size): Likewise.
46014 (__x86_64_raw_shared_cache_size_half): Likewise.
46015 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46016 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46017 and __x86_64_raw_shared_cache_size_half. Round
46018 __x86_64_data_cache_size_half, __x86_64_data_cache_size
46019 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46020 to multiple of 256 bytes.
46022 2010-11-03 Ulrich Drepper <drepper@gmail.com>
46025 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46026 of inacessible symlinks. Verify result of symlink before returning it.
46027 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46028 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46030 2010-10-28 Erich Ritz <erichritz@gmail.com>
46032 * math/math.h (isinf): Fix typo in comment.
46034 2010-11-01 Ulrich Drepper <drepper@gmail.com>
46036 * po/da.po: Update from translation team.
46038 2010-10-26 Ulrich Drepper <drepper@gmail.com>
46040 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46041 is added to the list.
46043 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46044 Ulrich Drepper <drepper@gmail.com>
46046 * elf/dl-object.c (_dl_new_object): Don't append the new object to
46047 the global list here. Move code to...
46048 (_dl_add_to_namespace_list): ...here. New function.
46049 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46050 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46051 * elf/dl-load.c (lose): Don't remove the element from the list.
46052 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46053 (_dl_map_object): Likewise.
46055 2010-10-25 Ulrich Drepper <drepper@gmail.com>
46058 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46059 into all bytes of SSE register.
46060 Patch by Richard Li <richardpku@gmail.com>.
46062 2010-10-24 Ulrich Drepper <drepper@gmail.com>
46065 * malloc/malloc.c (_int_free): Fill correct number of bytes when
46068 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
46070 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46071 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46072 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46073 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46078 2010-10-22 Andreas Schwab <schwab@redhat.com>
46080 * include/dlfcn.h (__RTLD_SECURE): Define.
46081 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
46082 mode & __RTLD_SECURE instead.
46083 (open_path): Rename preloaded parameter to secure.
46084 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46085 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46086 * elf/dl-deps.c (openaux): Likewise.
46087 * elf/rtld.c (struct map_args): Remove is_preloaded.
46088 (map_doit): Don't use it.
46089 (dl_main): Likewise.
46090 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46091 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46093 2010-09-09 Andreas Schwab <schwab@redhat.com>
46095 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46096 (sysd-rules-targets): Remove duplicates.
46097 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46098 rtld-%.$o dependency.
46100 2010-10-18 Andreas Schwab <schwab@redhat.com>
46102 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46103 _dl_map_object do it.
46105 2010-10-19 Ulrich Drepper <drepper@gmail.com>
46107 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46108 fast fma builtins, define the macros in the C99 standard.
46109 (FP_FAST_FMAF): Likewise.
46110 (FP_FAST_FMAL): Likewise.
46111 * sysdeps/x86_64/bits/mathdef.h: Likewise.
46113 * bits/mathdef.h: Update copyright year.
46114 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46116 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
46118 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46119 builtins, define the macros in the C99 standard.
46120 (FP_FAST_FMAF): Likewise.
46121 (FP_FAST_FMAL): Likewise.
46122 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46124 (FP_FAST_FMAF): Likewise.
46126 2010-10-15 Jakub Jelinek <jakub@redhat.com>
46129 * math/libm-test.inc (fma_test): Some new testcases.
46130 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46131 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46132 y and infinite z. Do multiplication by C already in long double.
46133 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46134 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46135 y and infinite z. Do bitwise or of inexact bit into u.d.
46136 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46137 * sysdeps/i386/fpu/s_fmaf.S: Removed.
46138 * sysdeps/i386/fpu/s_fma.S: Removed.
46139 * sysdeps/i386/fpu/s_fmal.S: Removed.
46141 2010-10-16 Jakub Jelinek <jakub@redhat.com>
46144 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
46145 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
46146 computation is not scheduled after fetestexcept. Fix value
46147 of minimum denormal long double.
46149 2010-10-14 Jakub Jelinek <jakub@redhat.com>
46152 * math/libm-test.inc (fma_test): Add some more tests.
46153 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
46156 2010-10-15 Andreas Schwab <schwab@redhat.com>
46158 * scripts/data/localplt-s390-linux-gnu.data: New file.
46159 * scripts/data/localplt-s390x-linux-gnu.data: New file.
46161 2010-10-13 Jakub Jelinek <jakub@redhat.com>
46164 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
46165 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
46167 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
46169 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
46170 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
46171 if one of x and y is very large and the other is subnormal.
46172 * sysdeps/s390/fpu/s_fmaf.c: New file.
46173 * sysdeps/s390/fpu/s_fma.c: New file.
46174 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
46175 * sysdeps/powerpc/fpu/s_fma.S: New file.
46176 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
46177 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
46178 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
46180 2010-10-12 Jakub Jelinek <jakub@redhat.com>
46183 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
46185 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
46186 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
46187 * sysdeps/i386/i686/multiarch/s_fma.c: Include
46188 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
46189 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
46190 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
46191 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
46193 2010-10-12 Ulrich Drepper <drepper@redhat.com>
46196 * posix/regcomp.c (parse_branch): One more memory leak plugged.
46197 * posix/bug-regex31.input: Add test case.
46199 2010-10-11 Ulrich Drepper <drepper@gmail.com>
46201 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
46202 * posix/bug-regex31.input: New file.
46205 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
46206 (parse_sub_exp): Fix last change, use postorder.
46208 * posix/bug-regex31.c: New file.
46209 * posix/Makefile: Add rules to build and run bug-regex31.
46211 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
46214 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
46217 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
46218 to have entries in sys_siglist.
46221 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
46224 2010-10-07 Jakub Jelinek <jakub@redhat.com>
46227 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
46228 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
46229 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
46230 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
46231 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46232 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
46233 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
46234 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
46235 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
46236 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
46237 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
46238 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
46239 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
46240 * math/ftestexcept.c (fetestexcept): Likewise.
46241 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
46242 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
46243 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
46244 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
46245 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
46246 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
46247 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46249 2010-10-11 Ulrich Drepper <drepper@gmail.com>
46252 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
46255 2010-10-06 Ulrich Drepper <drepper@gmail.com>
46257 * string/bug-strstr1.c: New file.
46258 * string/Makefile: Add rules to build and run bug-strstr1.
46260 2010-10-05 Eric Blake <eblake@redhat.com>
46263 * string/str-two-way.h (two_way_long_needle): Always clear memory
46264 when skipping input due to the shift table.
46266 2010-10-03 Ulrich Drepper <drepper@gmail.com>
46269 * malloc/mcheck.c: Handle large requests.
46272 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
46273 for strncmp and strncasecmp.
46274 * string/stratcliff.c: Add tests for strcmp and strncmp.
46275 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
46277 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46279 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
46282 2010-09-30 Andreas Jaeger <aj@suse.de>
46284 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
46285 (CGROUP_SUPER_MAGIC): Define.
46286 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46287 Handle btrfs and cgroup file systems.
46288 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46291 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
46293 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
46294 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
46296 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46299 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
46300 trying to locate the ELF header.
46302 2010-09-27 Andreas Schwab <schwab@redhat.com>
46305 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
46306 Mask out sign-bit copies when constructing f_fsid.
46308 2010-09-24 Petr Baudis <pasky@suse.cz>
46310 * debug/stack_chk_fail_local.c: Add missing licence exception.
46311 * debug/warning-nop.c: Likewise.
46313 2010-09-15 Joseph Myers <joseph@codesourcery.com>
46315 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
46316 implementing getdents64 using getdents syscall, set d_type if
46317 __ASSUME_GETDENTS32_D_TYPE.
46319 2010-09-16 Andreas Schwab <schwab@redhat.com>
46321 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
46322 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
46324 2010-09-21 Ulrich Drepper <drepper@redhat.com>
46327 * posix/unistd.h: Undo change of feature selection for ftruncate from
46330 2010-09-20 Ulrich Drepper <drepper@redhat.com>
46332 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
46335 2010-09-20 Andreas Schwab <schwab@redhat.com>
46337 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
46339 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46341 2010-09-14 Andreas Schwab <schwab@redhat.com>
46343 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
46344 variables after CHECK_SP call.
46345 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
46347 2010-09-13 Andreas Schwab <schwab@redhat.com>
46348 Ulrich Drepper <drepper@redhat.com>
46350 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
46351 re-relocationg ld.so.
46352 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
46353 _dl_init_paths call.
46354 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
46357 2010-09-14 Ulrich Drepper <drepper@redhat.com>
46359 * resolv/res_init.c (__res_vinit): Count the default server we added.
46361 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
46362 Ulrich Drepper <drepper@redhat.com>
46365 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46366 (____longjmp_chk): Use %ebx for saving value across system call.
46369 2010-09-06 Andreas Schwab <schwab@redhat.com>
46371 * manual/Makefile: Don't mix pattern rules with normal rules.
46373 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
46375 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
46377 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
46378 * libio/iofopncook.c (_IO_cookie_init): Likewise.
46379 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
46380 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
46381 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46384 2010-09-04 Ulrich Drepper <drepper@redhat.com>
46387 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
46388 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
46390 2010-09-02 Ulrich Drepper <drepper@redhat.com>
46392 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
46393 * sysdeps/x86_64/addmul_1.S: Likewise.
46394 * sysdeps/x86_64/lshift.S: Likewise.
46395 * sysdeps/x86_64/mul_1.S: Likewise.
46396 * sysdeps/x86_64/rshift.S: Likewise.
46397 * sysdeps/x86_64/sub_n.S: Likewise.
46398 * sysdeps/x86_64/submul_1.S: Likewise.
46400 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
46402 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
46403 Define __sched_param instead of SCHED_* and sched_param when
46404 <bits/sched.h> is included with __need_schedparam defined.
46405 * bits/sched.h [__need_schedparam]
46406 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
46407 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
46408 (__defined_schedparam): Define to 1.
46409 (__sched_param): New structure, identical to sched_param.
46410 (__need_schedparam): Undefine.
46412 2010-08-31 Mike Frysinger <vapier@gentoo.org>
46414 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
46415 (epoll_create1): Declare.
46417 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
46419 2010-08-31 Andreas Schwab <schwab@redhat.com>
46422 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
46423 shifting retval into place.
46425 2010-09-01 Ulrich Drepper <drepper@redhat.com>
46427 * nis/rpcsvc/nis.h: Update copyright notice.
46428 * nis/rpcsvc/nis.x: Likewise.
46429 * nis/rpcsvc/nis_callback.h: Likewise.
46430 * nis/rpcsvc/nis_callback.x: Likewise.
46431 * nis/rpcsvc/nis_object.x: Likewise.
46432 * nis/rpcsvc/nis_tags.h: Likewise.
46433 * nis/rpcsvc/yp.h: Likewise.
46434 * nis/rpcsvc/yp.x: Likewise.
46435 * nis/rpcsvc/ypupd.h: Likewise.
46436 * nis/yp_xdr.c: Likewise.
46437 * nis/ypupdate_xdr.c: Likewise.
46439 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
46440 mainly the body of pmap_getport. Add parameters to specify timeouts.
46441 (pmap_getport): Use __libc_rpc_getport.
46442 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
46443 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
46444 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
46446 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
46448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
46451 2010-08-27 Roland McGrath <roland@redhat.com>
46453 * sysdeps/i386/i686/multiarch/Makefile
46454 (CFLAGS-varshift.c): New variable.
46456 2010-08-27 Ulrich Drepper <drepper@redhat.com>
46458 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
46459 * sysdeps/i386/i686/multiarch/varshift.c: New file.
46461 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
46463 * sysdeps/x86_64/strlen.S: Minimal code improvement.
46465 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
46467 * sysdeps/x86_64/strlen.S: Unroll the loop.
46468 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46469 strlen-sse2 strlen-sse2-bsf.
46470 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46471 __strlen_no_bsf if bit_Slow_BSF is set.
46472 (__strlen_sse42): Removed.
46473 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46474 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46476 2010-08-25 Roland McGrath <roland@redhat.com>
46478 * sysdeps/x86_64/multiarch/varshift.S: File removed.
46479 * sysdeps/x86_64/multiarch/varshift.c: New file.
46480 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46481 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46482 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46483 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46485 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
46487 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46488 strlen-sse2 strlen-sse2-bsf.
46489 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46490 __strlen_sse2_bsf if bit_Slow_BSF is unset.
46491 (__strlen_sse2): Removed.
46492 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46493 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46494 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46495 bit_Slow_BSF for Atom.
46496 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46497 (index_Slow_BSF): Define.
46498 (HAS_SLOW_BSF): Define.
46500 2010-08-25 Ulrich Drepper <drepper@redhat.com>
46503 * resolv/res_init.c (__res_vinit): When no server address at all
46504 is given default to loopback.
46506 2010-08-24 Roland McGrath <roland@redhat.com>
46508 * configure.in: Remove config-name.h generation.
46509 * configure: Regenerated.
46510 * config-name.in: File removed.
46511 * scripts/config-uname.sh: New file.
46512 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46513 ($(objdir)config-name.h): New target.
46515 * sunrpc/rpc_parse.h: Avoid nested comment.
46517 2010-08-24 Richard Henderson <rth@redhat.com>
46518 Ulrich Drepper <drepper@redhat.com>
46519 H.J. Lu <hongjiu.lu@intel.com>
46521 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46522 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46523 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46524 Replace _mm_srli_si128 with __m128i_shift_right. Replace
46525 _mm_alignr_epi8 with _mm_loadu_si128.
46526 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46527 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46528 (__m128i_shift_right): Removed.
46529 * sysdeps/i386/i686/multiarch/varshift.h: New file.
46530 * sysdeps/i386/i686/multiarch/varshift.S: New file.
46531 * sysdeps/x86_64/multiarch/varshift.h: New file.
46532 * sysdeps/x86_64/multiarch/varshift.S: New file.
46534 2010-08-21 Mike Frysinger <vapier@gentoo.org>
46536 * configure.in: Move assembler checks to before sysdep dir checking.
46538 2010-08-20 Petr Baudis <pasky@suse.cz>
46540 * LICENSES: Sync the sunrpc license.
46542 2010-08-19 Ulrich Drepper <drepper@redhat.com>
46544 * sunrpc/auth_des.c: Update copyright notice once again.
46545 * sunrpc/auth_none.c: Likewise.
46546 * sunrpc/auth_unix.c: Likewise.
46547 * sunrpc/authdes_prot.c: Likewise.
46548 * sunrpc/authuxprot.c: Likewise.
46549 * sunrpc/bindrsvprt.c: Likewise.
46550 * sunrpc/clnt_gen.c: Likewise.
46551 * sunrpc/clnt_perr.c: Likewise.
46552 * sunrpc/clnt_raw.c: Likewise.
46553 * sunrpc/clnt_simp.c: Likewise.
46554 * sunrpc/clnt_tcp.c: Likewise.
46555 * sunrpc/clnt_udp.c: Likewise.
46556 * sunrpc/clnt_unix.c: Likewise.
46557 * sunrpc/des_crypt.c: Likewise.
46558 * sunrpc/des_soft.c: Likewise.
46559 * sunrpc/get_myaddr.c: Likewise.
46560 * sunrpc/getrpcport.c: Likewise.
46561 * sunrpc/key_call.c: Likewise.
46562 * sunrpc/key_prot.c: Likewise.
46563 * sunrpc/openchild.c: Likewise.
46564 * sunrpc/pm_getmaps.c: Likewise.
46565 * sunrpc/pm_getport.c: Likewise.
46566 * sunrpc/pmap_clnt.c: Likewise.
46567 * sunrpc/pmap_prot.c: Likewise.
46568 * sunrpc/pmap_prot2.c: Likewise.
46569 * sunrpc/pmap_rmt.c: Likewise.
46570 * sunrpc/rpc/auth.h: Likewise.
46571 * sunrpc/rpc/auth_unix.h: Likewise.
46572 * sunrpc/rpc/clnt.h: Likewise.
46573 * sunrpc/rpc/des_crypt.h: Likewise.
46574 * sunrpc/rpc/key_prot.h: Likewise.
46575 * sunrpc/rpc/netdb.h: Likewise.
46576 * sunrpc/rpc/pmap_clnt.h: Likewise.
46577 * sunrpc/rpc/pmap_prot.h: Likewise.
46578 * sunrpc/rpc/pmap_rmt.h: Likewise.
46579 * sunrpc/rpc/rpc.h: Likewise.
46580 * sunrpc/rpc/rpc_des.h: Likewise.
46581 * sunrpc/rpc/rpc_msg.h: Likewise.
46582 * sunrpc/rpc/svc.h: Likewise.
46583 * sunrpc/rpc/svc_auth.h: Likewise.
46584 * sunrpc/rpc/types.h: Likewise.
46585 * sunrpc/rpc/xdr.h: Likewise.
46586 * sunrpc/rpc_clntout.c: Likewise.
46587 * sunrpc/rpc_cmsg.c: Likewise.
46588 * sunrpc/rpc_common.c: Likewise.
46589 * sunrpc/rpc_cout.c: Likewise.
46590 * sunrpc/rpc_dtable.c: Likewise.
46591 * sunrpc/rpc_hout.c: Likewise.
46592 * sunrpc/rpc_main.c: Likewise.
46593 * sunrpc/rpc_parse.c: Likewise.
46594 * sunrpc/rpc_parse.h: Likewise.
46595 * sunrpc/rpc_prot.c: Likewise.
46596 * sunrpc/rpc_sample.c: Likewise.
46597 * sunrpc/rpc_scan.c: Likewise.
46598 * sunrpc/rpc_scan.h: Likewise.
46599 * sunrpc/rpc_svcout.c: Likewise.
46600 * sunrpc/rpc_tblout.c: Likewise.
46601 * sunrpc/rpc_util.c: Likewise.
46602 * sunrpc/rpc_util.h: Likewise.
46603 * sunrpc/rpcinfo.c: Likewise.
46604 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46605 * sunrpc/rpcsvc/key_prot.x: Likewise.
46606 * sunrpc/rpcsvc/klm_prot.x: Likewise.
46607 * sunrpc/rpcsvc/mount.x: Likewise.
46608 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46609 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46610 * sunrpc/rpcsvc/rex.x: Likewise.
46611 * sunrpc/rpcsvc/rstat.x: Likewise.
46612 * sunrpc/rpcsvc/rusers.x: Likewise.
46613 * sunrpc/rpcsvc/sm_inter.x: Likewise.
46614 * sunrpc/rpcsvc/spray.x: Likewise.
46615 * sunrpc/rpcsvc/yppasswd.x: Likewise.
46616 * sunrpc/rtime.c: Likewise.
46617 * sunrpc/svc.c: Likewise.
46618 * sunrpc/svc_auth.c: Likewise.
46619 * sunrpc/svc_authux.c: Likewise.
46620 * sunrpc/svc_raw.c: Likewise.
46621 * sunrpc/svc_run.c: Likewise.
46622 * sunrpc/svc_simple.c: Likewise.
46623 * sunrpc/svc_tcp.c: Likewise.
46624 * sunrpc/svc_udp.c: Likewise.
46625 * sunrpc/svc_unix.c: Likewise.
46626 * sunrpc/svcauth_des.c: Likewise.
46627 * sunrpc/xcrypt.c: Likewise.
46628 * sunrpc/xdr.c: Likewise.
46629 * sunrpc/xdr_array.c: Likewise.
46630 * sunrpc/xdr_float.c: Likewise.
46631 * sunrpc/xdr_mem.c: Likewise.
46632 * sunrpc/xdr_rec.c: Likewise.
46633 * sunrpc/xdr_ref.c: Likewise.
46634 * sunrpc/xdr_sizeof.c: Likewise.
46635 * sunrpc/xdr_stdio.c: Likewise.
46637 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46640 2010-08-19 Andreas Schwab <schwab@redhat.com>
46642 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46644 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
46646 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
46647 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
46648 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
46649 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
46650 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
46651 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
46652 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
46653 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
46654 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
46655 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
46656 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
46657 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
46658 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
46659 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
46661 2010-07-26 Anton Blanchard <anton@samba.org>
46663 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
46664 * malloc/arena.c (heap_trim): Likewise.
46666 2010-08-16 Ulrich Drepper <drepper@redhat.com>
46668 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
46670 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
46671 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
46673 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
46675 * sysdeps/i386/elf/Makefile: New file.
46677 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46679 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
46680 from fanotify_init.
46681 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
46682 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46684 2010-08-15 Ulrich Drepper <drepper@redhat.com>
46686 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
46688 * sysdeps/multiarch/strcmp.S: Likewise.
46690 2010-08-14 Ulrich Drepper <drepper@redhat.com>
46692 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46693 strncase_l-nonascii.
46694 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46695 Add strncase_l-ssse3.
46696 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
46697 * sysdeps/x86_64/strcmp.S: Likewise.
46698 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
46699 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
46700 * sysdeps/x86_64/strncase.S: New file.
46701 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
46702 * sysdeps/x86_64/strncase_l.S: New file.
46703 * string/Makefile (strop-tests): Add strncasecmp.
46704 * string/test-strncasecmp.c: New file.
46706 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
46709 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
46710 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
46712 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46714 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
46716 2010-08-12 Ulrich Drepper <drepper@redhat.com>
46718 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
46719 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
46720 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
46722 2010-05-01 Alan Modra <amodra@gmail.com>
46724 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
46725 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
46726 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
46727 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
46728 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
46729 tidying. Don't tail-call __sigjmp_save for static lib.
46730 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
46732 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
46733 (CALL_MCOUNT): Add eh info, and nop after bl.
46734 (TAIL_CALL_SYSCALL_ERROR): New macro.
46735 (PSEUDO_RET): Use it.
46736 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46737 Correct save location of integer regs and cr.
46738 (_dl_profile_resolve): Correct cr save location. Delete nops
46739 after bl when SHARED. Reduce cfi size a little by better
46740 placement of cfi directives.
46741 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
46742 make a stack frame. Instead use parm save area as a temp.
46743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
46744 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
46745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46746 Don't make a stack frame for parent, use parm save area.
46747 Increase child stack frame to 112 bytes. Don't save unused reg,
46748 and adjust reg usage. Set up cfi on error recovery and
46749 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
46750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46751 (__makecontext): Add dummy nop after jump to exit.
46752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
46753 Use correct parm save area and cr save, reduce stack frame.
46754 Correct cfi for possible PSEUDO_RET frame setup.
46755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
46756 Branch to local label emitted by PSEUDO_RET rather than
46759 2010-08-12 Andreas Schwab <schwab@redhat.com>
46762 * locale/programs/locale.c (print_assignment): New function.
46763 (show_locale_vars): Use it.
46765 2010-08-11 Ulrich Drepper <drepper@redhat.com>
46767 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
46769 (struct statfs64): Likewise.
46770 (_STATFS_F_FLAGS): Define.
46771 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
46772 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46773 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
46774 (ST_VALID): Define locally.
46775 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
46776 __statvfs_getflags, use the provided value.
46777 * sysdeps/unix/sysv/linux/kernel-features.h: Define
46778 __ASSUME_STATFS_F_FLAGS.
46780 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
46782 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
46783 Add sys/fanotify.h.
46784 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
46785 fanotify_mask for GLIBC_2.13.
46786 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
46787 fanotify_init and fanotify_mark.
46788 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46789 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
46791 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
46793 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
46794 prlimit64 for GLIBC_2.13.
46795 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
46797 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
46799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
46800 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46801 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
46802 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
46803 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
46805 * sysdeps/unix/sysv/linux/prlimit.c: New file.
46808 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
46809 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
46811 * nss/Makefile: Add rules to build and run tst-nss-test1.
46812 * shlib-versions: Add entry for libnss_test1.
46813 * nss/nss_test1.c: New file.
46814 * nss/tst-nss-test1.c: New file.
46816 * nss/nsswitch.c (__nss_database_custom): Define new variable.
46817 (__nss_configure_lookup): Set appropriate entry in
46818 __nss_configure_lookup to true.
46819 * nss/nsswitch.h: Define enum with indeces of databases in
46820 databases and __nss_database_custom arrays. Declare
46821 __nss_database_custom.
46822 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
46823 to avoid using nscd when custom rules are installed.
46824 * nss/getXXbyYY_r.c: Likewise.
46825 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46827 * nss/nss_files/files-parse.c: Whitespace fixes.
46829 2010-08-09 Ulrich Drepper <drepper@redhat.com>
46832 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
46833 * posix/fnmatch_loop.c: Likewise.
46835 2010-07-17 Andi Kleen <ak@linux.intel.com>
46837 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
46838 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
46839 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
46840 * Versions.def [GLIBC_2.13]: Add.
46842 2010-08-06 Ulrich Drepper <drepper@redhat.com>
46844 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46845 Also fail if tpwd after pwuid call is NULL.
46847 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
46849 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
46850 when converting to ms.
46852 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46854 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
46855 EOPNOTSUPP errors with ENOTTY.
46856 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
46857 EOPNOTSUPP errors with ENOTTY.
46859 2010-07-31 Ulrich Drepper <drepper@redhat.com>
46861 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46862 Add strcasecmp_l-ssse3.
46863 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
46865 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
46866 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
46867 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
46869 2010-07-30 Ulrich Drepper <drepper@redhat.com>
46871 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
46873 * string/Makefile (strop-tests): Add strcasecmp.
46874 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46875 strcasecmp_l-nonascii.
46876 (gen-as-const-headers): Add locale-defines.sym.
46877 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
46878 * sysdeps/x86_64/strcasecmp.S: New file.
46879 * sysdeps/x86_64/strcasecmp_l.S: New file.
46880 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
46881 * sysdeps/x86_64/locale-defines.sym: New file.
46882 * string/test-strcasecmp.c: New file.
46884 * string/test-strcasestr.c: Test both ends of the range of characters.
46885 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
46887 2010-07-29 Roland McGrath <roland@redhat.com>
46890 * manual/locale.texi (Yes-or-No Questions): Fix example code.
46892 2010-07-27 Ulrich Drepper <drepper@redhat.com>
46894 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
46897 2010-07-27 Andreas Schwab <schwab@redhat.com>
46899 * manual/memory.texi (Malloc Tunable Parameters): Document
46902 2010-07-26 Roland McGrath <roland@redhat.com>
46905 * configure.in (-fgnu89-inline check): Set and substitute
46906 gnu89_inline, not libc_cv_gnu89_inline.
46907 * configure: Regenerated.
46908 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
46910 2010-07-26 Ulrich Drepper <drepper@redhat.com>
46912 * string/test-strnlen.c: New file.
46913 * string/Makefile (strop-tests): Add strnlen.
46914 * string/tester.c (test_strnlen): Add a few more test cases.
46915 * string/tst-strlen.c: Better error reporting.
46917 * sysdeps/x86_64/strnlen.S: New file.
46919 2010-07-24 Ulrich Drepper <drepper@redhat.com>
46921 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
46922 lower-latency instructions.
46924 2010-07-23 Ulrich Drepper <drepper@redhat.com>
46926 * string/test-strcasestr.c: New file.
46927 * string/test-strstr.c: New file.
46928 * string/Makefile (strop-tests): Add strstr and strcasestr.
46929 * string/str-two-way.h: Don't undefine MAX.
46930 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
46932 2010-07-21 Andreas Schwab <schwab@redhat.com>
46934 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46935 strcasestr-nonascii.
46936 (CFLAGS-strcasestr-nonascii.c): Define.
46937 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
46938 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
46939 Remove unused attribute.
46941 2010-07-20 Roland McGrath <roland@redhat.com>
46943 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
46944 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
46945 ld.so.cache was broken. With it, there is no way to disable dsocaps
46946 like LD_HWCAP_MASK can disable hwcaps.
46948 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46950 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
46952 2010-07-16 Ulrich Drepper <drepper@redhat.com>
46954 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
46955 call in strcasestr.
46956 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
46957 __strcasestr_sse42_nonascii.
46958 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
46959 strcasestr-nonascii.c.
46960 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
46962 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
46964 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
46965 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
46966 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
46967 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
46969 2010-07-09 Ulrich Drepper <drepper@redhat.com>
46971 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
46974 2010-07-06 Andreas Schwab <schwab@redhat.com>
46977 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
46980 2010-07-06 Ulrich Drepper <drepper@redhat.com>
46982 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
46983 _PC_PIPE_BUF using F_GETPIPE_SZ.
46985 2010-07-05 Roland McGrath <roland@redhat.com>
46987 * manual/arith.texi (Rounding Functions): Fix rint description
46988 implicit in round description.
46990 2010-07-02 Ulrich Drepper <drepper@redhat.com>
46992 * elf/Makefile: Fix linking for a few tests to make recent linker
46995 2010-06-30 Andreas Schwab <schwab@redhat.com>
46997 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46998 $(common-objpfx)libc_nonshared.a.
47000 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
47002 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
47003 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
47004 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47005 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47006 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
47007 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
47008 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47009 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
47011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
47012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
47013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47024 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47025 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47026 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47027 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47028 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47029 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47030 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47031 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47032 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47033 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47034 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47035 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47051 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
47053 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47054 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
47055 * string/memmove.c (memmove): Renamed to ...
47056 (MEMMOVE): ...this. Default to memmove.
47057 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47058 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47060 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47061 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47062 mempcpy-ssse3-back memmove-ssse3-back.
47063 * sysdeps/x86_64/multiarch/bcopy.S: New file .
47064 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47065 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47066 * sysdeps/x86_64/multiarch/memcpy.S: New file.
47067 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47068 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47069 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47070 * sysdeps/x86_64/multiarch/memmove.c: New file.
47071 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47072 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47073 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47074 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47075 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47076 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47078 (index_Fast_Copy_Backward): Define.
47079 (HAS_ARCH_FEATURE): Define.
47080 (HAS_FAST_REP_STRING): Define.
47081 (HAS_FAST_COPY_BACKWARD): Define.
47083 2010-06-21 Andreas Schwab <schwab@redhat.com>
47085 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47086 Restore proper fallback handling.
47088 2010-06-19 Ulrich Drepper <drepper@redhat.com>
47091 * posix/group_member.c (__group_member): Correct checking loop.
47093 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47094 OOM in getpwuid_r correctly. Return error number when the caller
47095 should return, otherwise -1.
47096 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47097 call returning > 0 value.
47098 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47100 2010-06-07 Andreas Schwab <schwab@redhat.com>
47102 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47103 libc_nonshared.a from targets in modules-names.
47105 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
47107 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47110 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
47112 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47113 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47114 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47115 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47117 2010-06-02 Andreas Schwab <schwab@redhat.com>
47119 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47121 2010-06-14 Ulrich Drepper <drepper@redhat.com>
47123 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47125 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47126 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47127 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47128 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47129 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47130 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47132 2010-06-14 Roland McGrath <roland@redhat.com>
47134 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47136 2010-06-07 Jakub Jelinek <jakub@redhat.com>
47138 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47139 __REDIRECT followed by __THROW.
47140 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
47141 * posix/getopt.h (getopt): Likewise.
47143 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47145 * hurd/lookup-at.c (__file_name_lookup_at): Accept
47146 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
47147 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
47149 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
47150 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
47152 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
47154 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
47156 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
47159 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47160 Properly check family and model.
47162 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
47164 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
47166 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
47168 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
47170 2010-05-21 Ulrich Drepper <drepper@redhat.com>
47172 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
47175 2010-05-19 Andreas Schwab <schwab@redhat.com>
47177 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
47180 2010-05-21 Andreas Schwab <schwab@redhat.com>
47182 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
47183 and internal_recvmmsg.
47184 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
47185 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
47186 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
47187 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
47189 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
47190 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47191 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47193 2010-05-20 Andreas Schwab <schwab@redhat.com>
47195 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
47197 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
47199 POWER7 optimizations.
47200 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
47201 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
47203 2010-05-19 Ulrich Drepper <drepper@redhat.com>
47205 * version.h: Update for 2.13 development version.
47207 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
47209 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
47210 exceptions. Return 0.
47212 2010-05-07 Roland McGrath <roland@redhat.com>
47214 * elf/ldconfig.c (main): Add a const.
47216 2010-05-06 Ulrich Drepper <drepper@redhat.com>
47218 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
47219 (args_options): Add no-idn option.
47220 (ahosts_keys_int): Add idn_flags to ai_flags.
47221 (parse_option): Handle 'i' option to clear idn_flags.
47223 * malloc/malloc.c (_int_free): Possible race in the most recently
47224 added check. Only act on the data if no current modification
47227 See ChangeLog.17 for earlier changes.