1 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3 * Makerules (check-abi): Dump diff of symlist if the test
6 2014-06-23 Roland McGrath <roland@hack.frob.com>
8 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
11 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12 Remove unused variable ST.
14 2014-06-23 Joseph Myers <joseph@codesourcery.com>
18 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
19 small arguments before calling __expm1.
20 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
21 small arguments before calling __expm1f.
22 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
23 small arguments before calling __expm1l.
24 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
26 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
27 * math/auto-libm-test-in: Add more cosh tests. Do not allow
28 spurious underflow for some cosh tests.
29 * math/auto-libm-test-out: Regenerated.
30 * sysdeps/i386/fpu/libm-test-ulps: Update.
33 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
34 (__ieee754_y1): Set errno if return value overflows.
35 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
36 (__ieee754_y1f): Set errno if return value overflows.
37 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
38 (__ieee754_y1l): Set errno if return value overflows.
39 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
40 (__ieee754_y1l): Set errno if return value overflows.
41 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
42 * math/auto-libm-test-out: Regenerated.
44 * math/gen-auto-libm-tests.c: Document use of
46 (input_flag_type): Add value flag_ignore_zero_inf_sign.
47 (input_flags): Add ignore-zero-inf-sign.
48 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
49 * math/gen-libm-test.pl (generate_testfile): Handle
51 * math/auto-libm-test-in: Mark some cpow tests with
52 ignore-zero-inf-sign and some with xfail-rounding.
53 * math/auto-libm-test-out: Regenerated.
54 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
55 * sysdeps/i386/fpu/libm-test-ulps: Update.
56 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
60 overflowing or underflowing operations take place with sign of
62 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
63 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
64 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
65 (__ieee754_pow): Recompute overflowing and underflowing results in
66 original rounding mode.
67 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
68 (__powl_helper): Allow negative argument X and scale negated value
69 as needed. Avoid passing value outside [-1, 1] to f2xm1.
70 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
71 overflowing or underflowing operations take place with sign of
73 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
75 * math/auto-libm-test-in: Add more tests of pow.
76 * math/auto-libm-test-out: Regenerated.
77 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
78 (pow_tonearest_test_data): Remove.
79 (pow_test_tonearest): Likewise.
80 (pow_towardzero_test_data): Likewise.
81 (pow_test_towardzero): Likewise.
82 (pow_downward_test_data): Likewise.
83 (pow_test_downward): Likewise.
84 (pow_upward_test_data): Likewise.
85 (pow_test_upward): Likewise.
86 (main): Don't call removed functions.
87 * sysdeps/i386/fpu/libm-test-ulps: Update.
88 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
90 2014-06-23 Roland McGrath <roland@hack.frob.com>
92 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
94 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
95 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
97 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
98 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
266 2014-06-23 Will Newton <will.newton@linaro.org>
267 Wilco <wdijkstr@arm.com>
269 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
270 implementation. Include get-rounding-mode.h.
271 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
272 [!libc_feholdsetround_noex_ctx]: Define
273 libc_feholdsetround_noex_ctx.
274 [!libc_feholdsetround_noexf_ctx]: Define
275 libc_feholdsetround_noexf_ctx.
276 [!libc_feholdsetround_noexl_ctx]: Define
277 libc_feholdsetround_noexl_ctx.
278 (libc_feholdsetround_ctx): New function.
279 (libc_feresetround_ctx): New function.
280 (libc_feholdsetround_noex_ctx): New function.
281 (libc_feresetround_noex_ctx): New function.
283 2014-06-23 Roland McGrath <roland@hack.frob.com>
285 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
286 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
287 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
288 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
289 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
290 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
292 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
293 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
294 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
295 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
296 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
297 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
298 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
299 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
300 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
301 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
302 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
304 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
306 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
307 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
308 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
309 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
310 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
312 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
313 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
314 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
315 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
316 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
317 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
318 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
319 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
321 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
322 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
324 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
325 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
326 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
327 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
329 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
330 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
331 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
332 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
333 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
334 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
335 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
336 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
337 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
338 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
340 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
342 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
343 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
344 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
345 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
346 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
347 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
348 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
349 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
350 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
351 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
352 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
353 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
354 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
356 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
357 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
358 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
359 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
360 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
361 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
363 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
364 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
365 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
366 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
367 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
369 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
370 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
371 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
372 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
373 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
374 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
375 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
376 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
377 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
378 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
379 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
380 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
381 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
382 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
383 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
384 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
385 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
386 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
387 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
388 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
389 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
390 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
391 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
392 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
393 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
394 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
395 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
396 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
398 2014-06-23 Joseph Myers <joseph@codesourcery.com>
400 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
401 (FALLOC_FL_COLLAPSE_RANGE): New macro.
402 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
403 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
404 (IPV6_PMTUDISC_INTERFACE): Likewise.
405 (IPV6_PMTUDISC_OMIT): Likewise.
407 2014-06-23 Andreas Schwab <schwab@suse.de>
409 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
410 Remove unused errout label.
412 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
414 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
415 macro: hardware supports Vector Crypto instructions.
417 2014-06-23 Will Newton <will.newton@linaro.org>
419 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
420 rather than __builtin_expect.
422 * elf/dl-lookup.c (undefined_msg): Remove variable.
423 (_dl_lookup_symbol_x): Replace undefined_msg with string
426 * elf/dl-lookup.c (do_lookup_unique): New function.
427 (do_lookup_x): Move STB_GNU_UNIQUE handling code
428 to a separate function.
430 2014-06-23 Andreas Schwab <schwab@suse.de>
433 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
434 before reading the next line.
436 2014-06-23 Will Newton <will.newton@linaro.org>
438 * test-skeleton.c (signal_handler): Use printf and %m
439 rather than perror. Use printf rather than fprintf to
440 stderr. Use puts rather than fputs to stderr.
443 2014-06-22 Ludovic Courtès <ludo@gnu.org>
445 * nscd/nscd.c (thread_info_t): Remove typedef.
446 (thread_info): Remove variable.
448 2014-06-21 Allan McRae <allan@archlinux.org>
450 * NEWS: Mention CVE-2014-4043.
452 2014-06-20 Roland McGrath <roland@hack.frob.com>
454 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
455 * nptl/smp.h: ... here.
457 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
459 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
460 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
461 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
462 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
464 * nptl/allocatestack.c: Include <stack-aliasing.h>.
465 * nptl/stack-aliasing.h: New file.
466 * sysdeps/i386/i686/stack-aliasing.h: New file.
467 * sysdeps/i386/i686/nptl/Makefile: File removed.
468 * sysdeps/x86_64/stack-aliasing.h: New file.
469 * sysdeps/x86_64/nptl/Makefile
470 (CFLAGS-pthread_create.c): Variable removed.
472 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
473 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
475 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
476 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
479 2014-06-21 Joseph Myers <joseph@codesourcery.com>
481 * sysdeps/unix/sysv/linux/arm/kernel-features.h
482 (__ASSUME_SIGFRAME_V2): Remove macro.
483 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
484 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
485 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
486 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
487 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
488 Declare as function. Remove conditional macro definitions.
489 (__default_rt_sa_restorer): Likewise.
490 (__default_sa_restorer_v1): Remove declaration.
491 (__default_sa_restorer_v2): Likewise.
492 (__default_rt_sa_restorer_v1): Likewise.
493 (__default_rt_sa_restorer_v2): Likewise.
494 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
495 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
496 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
498 2014-06-20 Roland McGrath <roland@hack.frob.com>
500 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
501 (libpthread-routines): Add sysdep.
502 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
503 * sysdeps/unix/sysv/linux/sparc/Versions
504 (libpthread: GLIBC_2.3.3): New version set.
505 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
506 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
507 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
508 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
509 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
510 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
512 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
513 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
514 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
515 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
516 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
517 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
518 * sysdeps/sparc/nptl/sem_init.c: ... here.
519 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
520 * sysdeps/sparc/nptl/sem_post.c: ... here.
521 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
522 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
523 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
524 * sysdeps/sparc/nptl/sem_wait.c: ... here.
525 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
526 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
527 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
528 (libpthread-routines): Add cpu_relax.
529 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
531 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
532 (librt: GLIBC_2.3.3): New version set.
533 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
534 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
535 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
536 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
537 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
538 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
539 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
540 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
542 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
543 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
544 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
545 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
546 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
547 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
548 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
549 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
550 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
551 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
553 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
555 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
557 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
559 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
561 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
563 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
565 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
567 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
569 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
571 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
573 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
575 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
576 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
577 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
578 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
579 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
580 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
581 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
582 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
583 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
584 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
585 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
587 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
588 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
589 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
590 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
591 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
593 2014-06-20 Joseph Myers <joseph@codesourcery.com>
595 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
596 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
597 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
598 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
599 * nscd/nscd.c: Likewise.
600 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
601 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
602 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
603 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
605 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
607 (init_mq_netlink): Remove conditional have_sock_cloexec
608 definitions. Remove code conditional on have_sock_cloexec < 0.
609 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
610 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
611 * sysdeps/unix/sysv/linux/opensock.c: Do not include
613 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
614 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
616 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
618 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
619 Add tests for memset_chk and memset.
621 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
624 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
627 * elf/tst-dl-iter-static.c: New file.
628 * elf/Makefile (tests-static): Add tst-dl-iter-static.
630 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
633 2014-06-20 Joseph Myers <joseph@codesourcery.com>
635 * sysdeps/unix/sysv/linux/kernel-features.h
636 (__ASSUME_F_GETOWN_EX): Remove macro.
637 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
639 (miss_F_GETOWN_EX): Remove variable or macro.
640 (do_fcntl): Do not check miss_F_GETOWN_EX.
641 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
643 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
645 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
646 [!__ASSUME_AT_RANDOM]: Remove conditional code.
647 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
649 * sysdeps/unix/sysv/linux/kernel-features.h
650 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
651 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
652 [ADJ_OFFSET_SS_READ]: Make code unconditional.
653 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
655 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
658 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
659 Fix calculation of the symbol's value.
660 * sysdeps/arm/tst-armtlsdescloc.c: New file.
661 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
662 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
663 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
664 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
665 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
666 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
667 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
668 (modules-names): Add `tst-armtlsdescmod',
669 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
670 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
671 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
672 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
673 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
674 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
675 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
676 ($(objpfx)tst-armtlsdescloc): New dependency.
677 ($(objpfx)tst-armtlsdescextnow): Likewise.
678 ($(objpfx)tst-armtlsdescextlazy): Likewise.
679 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
681 * sysdeps/arm/configure: Regenerate.
683 2014-06-20 Joseph Myers <joseph@codesourcery.com>
685 * include/fcntl.h (__atfct_seterrno): Remove prototype.
686 (__atfct_seterrno_2): Likewise.
687 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
689 (__ASSUME_ATFCTS): Do not undefine and redefine.
690 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
691 (__have_atfcts): Remove conditional definition.
692 (__fxstatat([__NR_fstatat64]: Make code unconditional.
693 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
694 unreachable if [__ASSUME_ATFCTS].
695 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
696 not undefine and redefine.
697 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
699 (faccessat) [__NR_faccessat]: Make code unconditional.
700 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
701 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
703 (fchmodat) [__NR_fchmodat]: Make code unconditional.
704 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
705 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
707 (fchownat) [__NR_fchownat]: Make code unconditional.
708 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
709 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
711 (futimesat) [__NR_futimesat]: Make code unconditional.
712 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
713 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
715 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
716 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
717 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
719 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
720 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
721 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
722 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
724 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
725 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
726 * sysdeps/unix/sysv/linux/linkat.c: Do not include
728 (linkat) [__NR_linkat]: Make code unconditional.
729 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
730 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
731 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
733 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
734 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
735 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
737 (mkdirat) [__NR_mkdirat]: Make code unconditional.
738 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
739 * sysdeps/unix/sysv/linux/openat.c: Do not include
741 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
742 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
743 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
744 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
745 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
746 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
748 (readlinkat) [__NR_readlinkat]: Make code unconditional.
749 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
750 result of INLINE_SYSCALL directly, not via int variable.
751 * sysdeps/unix/sysv/linux/renameat.c: Do not include
753 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
754 (renameat) [__NR_renameat]: Make code unconditional.
755 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
756 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
757 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
758 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
759 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
760 (__ASSUME_ATFCTS): Do not undefine and redefine.
761 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
763 (symlinkat) [__NR_symlinkat]: Make code unconditional.
764 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
765 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
767 (unlinkat) [__NR_unlinkat]: Make code unconditional.
768 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
769 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
770 (__ASSUME_ATFCTS): Do not undefine and redefine.
771 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
773 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
774 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
775 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
777 (__xmknodat) [__NR_mknodat]: Make code unconditional.
778 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
780 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
782 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
784 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
787 * posix/regcomp.c (parse_reg_exp): Deallocate partially
788 constructed tree before returning error.
789 * posix/bug-regexp36.c: Expand test case.
791 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
794 * math/libm-test.inc (scalbln_test_date):
795 Add errno expectations.
796 * math/w_scalblnf.c: New File.
797 Add wrapper which checks for setting errno to ERANGE.
798 Add weak_alias for corresponding scalbln function.
799 * math/w_scalbln.c: Likewise.
800 * math/w_scalblnl.c: Likewise.
801 * math/Makefile (libm-calls): Add w_scalbln.
802 * sysdeps/ieee754/flt-32/s_scalblnf.c:
803 Remove weak_alias for corresponding scalbln function.
804 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
805 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
806 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
807 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
808 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
809 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
810 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
811 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
812 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
813 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
814 Remove long_double_symbol for scalblnl function in libm, libc.
815 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
816 Add wrapper which checks for setting errno to ERANGE.
817 Add long_double_symbol for scalblnl function in libm, libc.
818 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
819 Remove long_double_symbol for scalblnl in libm.
820 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
821 Add wrapper which checks for setting errno to ERANGE.
822 Add long_double_symbol for scalblnl function in libm.
823 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
824 Do not use wrapper because of own implementation.
826 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
828 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
829 3 bytes for __pad1 for x32.
830 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
832 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
833 H.J. Lu <hongjiu.lu@intel.com>
835 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
836 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
837 * sysdeps/x86_64/multiarch/memset.S: Likewise.
838 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
839 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
841 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
844 * posix/regcomp.c (parse_expression): Deallocate partially
845 constructed tree before returning error.
846 * posix/Makefile.c (tests): Add bug-regex36.
847 (generated): Add bug-regex36.mtrace.
848 (tests-special): Add $(objpfx)bug-regex36-mem.out
849 (bug-regex36-ENV): New variable.
850 ($(objpfx)bug-regex36-mem.out): New rule.
851 * posix/bug-regex36.c: New file.
853 2014-06-19 Will Newton <will.newton@linaro.org>
855 * malloc/malloc.c (systrim): If extra is zero then return
858 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
860 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
862 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
864 * sysdeps/aarch64/strchr.S: New file.
866 2014-06-18 Joseph Myers <joseph@codesourcery.com>
869 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
870 from arguments -2 or below.
871 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
872 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
874 2014-06-18 Andreas Schwab <schwab@suse.de>
877 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
878 of a bracket expr not to run off the end of the string.
879 * posix/Makefile (tests): Add tst-fnmatch3.
880 * posix/tst-fnmatch3.c: New file.
882 2014-06-18 Joseph Myers <joseph@codesourcery.com>
884 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
885 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
886 [$(cross-compiling) = no]: Likewise.
887 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
888 [$(cross-compiling) = no]: Likewise.
890 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
893 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
894 double, adjusted for any remainder from the high double.
895 * math/libm-test.inc (nearbyint): Add tests.
898 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
900 * nptl/sysdeps/powerpc/Makefile: Moved ...
901 * sysdeps/powerpc/nptl/Makefile: ... here.
902 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
903 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
904 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
905 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
906 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
907 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
908 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
909 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
910 * nptl/sysdeps/powerpc/tls.h: Moved ...
911 * sysdeps/powerpc/nptl/tls.h: ... here.
913 2014-06-16 Joseph Myers <joseph@codesourcery.com>
916 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
917 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
918 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
919 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
920 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
921 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
922 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
923 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
924 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
926 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
928 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
930 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
932 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
935 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
938 2014-06-16 Florian Weimer <fweimer@redhat.com>
941 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
942 non-executed part of the test.
944 2014-06-16 Andreas Schwab <schwab@suse.de>
946 * string/bits/string2.h (strdup, strndup): Update feature guard.
948 2014-06-14 David S. Miller <davem@davemloft.net>
950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
952 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
954 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
955 that was previously under [RESET_PID].
956 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
958 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
959 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
960 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
961 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
962 (__libc_vfork): New strong alias.
963 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
965 2014-06-14 Andi Kleen <ak@linux.intel.com>
967 * sysdeps/generic/elide.h: New file.
969 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
971 * Makefile (installed-headers): Adjust path of pthread.h header.
973 2014-06-13 Roland McGrath <roland@hack.frob.com>
975 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
976 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
977 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
978 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
980 * nptl/sysdeps/s390/Makefile: Moved ...
981 * sysdeps/s390/nptl/Makefile: ... here.
982 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
983 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
984 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
985 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
986 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
987 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
988 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
989 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
990 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
991 * sysdeps/s390/nptl/pthreaddef.h: ... here.
992 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
993 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
994 * nptl/sysdeps/s390/tls.h: Moved ...
995 * sysdeps/s390/nptl/tls.h: ... here.
997 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
998 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1000 2014-06-13 David S. Miller <davem@davemloft.net>
1002 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1003 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1004 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1005 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1006 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1007 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1008 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1009 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1010 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1011 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1012 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1013 Remove RESET_PID cpp guards.
1014 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1015 Remove RESET_PID cpp guards.
1016 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1018 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
1020 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1023 2014-06-13 Andi Kleen <ak@linux.intel.com>
1025 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1026 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1027 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1028 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1029 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1030 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1031 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1032 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1033 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1034 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1035 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1036 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1037 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1038 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1039 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1040 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1041 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1042 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1043 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1044 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
1046 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
1047 (pthread_rwlock_rdlock): Add elision.
1048 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1049 (pthread_rwlock_wrlock): Add elision.
1050 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1051 (pthread_rwlock_trywrlock): Add elision.
1052 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1053 (pthread_rwlock_tryrdlock): Add elision.
1054 * nptl/pthread_rwlock_unlock.c: Include elide.h.
1055 (pthread_rwlock_tryrdlock): Add elision unlock.
1056 * nptl/sysdeps/pthread/pthread.h:
1057 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1058 (PTHREAD_RWLOCK_INITIALIZER,
1059 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1060 Handle new elision field.
1061 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1062 * sysdeps/arm/nptl/bits/pthreadtypes.h
1063 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1064 * sysdeps/sh/nptl/bits/pthreadtypes.h
1065 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1066 * sysdeps/tile/nptl/bits/pthreadtypes.h
1067 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1068 * sysdeps/a/nptl/bits/pthreadtypes.h
1069 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1070 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1071 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1072 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1073 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1074 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1075 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1076 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1077 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1078 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1079 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1080 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1081 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1082 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1083 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1084 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1085 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1086 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1087 (elision_init): Set try_xbegin to zero when no RTM.
1088 * sysdeps/x86/nptl/bits/pthreadtypes.h
1089 (pthread_rwlock_t): Change __pad1 to __rwelision.
1090 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1092 2014-06-13 Andi Kleen <ak@linux.intel.com>
1094 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1095 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1096 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1097 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1099 2014-06-13 Meador Inge <meadori@codesourcery.com>
1102 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
1103 that the cached result has been set before returning it.
1105 2014-06-12 Roland McGrath <roland@hack.frob.com>
1107 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1108 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1109 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1110 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1111 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1112 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1114 * nptl/sysdeps/sparc/Makefile: Moved ...
1115 * sysdeps/sparc/nptl/Makefile: ... here.
1116 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1117 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1118 * nptl/sysdeps/sparc/tls.h: Moved ...
1119 * sysdeps/sparc/nptl/tls.h: ... here.
1120 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1121 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1122 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1123 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1124 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1125 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
1126 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
1127 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
1128 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
1129 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
1130 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
1131 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
1132 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
1133 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
1134 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
1135 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
1136 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
1137 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
1139 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
1140 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
1142 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
1143 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
1145 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
1146 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
1149 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1151 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
1152 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
1154 * sysdeps/pthread/posix-timer.h: Include <list.h>.
1155 (struct list_links): Type removed.
1156 (struct thread_node, struct timer_node): Replace struct list_links
1157 with struct list_head.
1158 (list_unlink_ip): Likewise.
1159 * sysdeps/pthread/timer_routines.c
1160 (timer_free_list, thread_free_list, thread_active_list): Likewise.
1161 (list_append, list_insbefore): Likewise.
1162 (list_init): Function removed.
1163 (thread_init, init_module): Use INIT_LIST_HEAD instead.
1164 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
1165 * sysdeps/pthread/Makefile: ... here, new file.
1167 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
1168 * sysdeps/nptl/Implies: ... here.
1169 * sysdeps/unix/sysv/linux/Implies: Add nptl.
1170 * nptl/sysdeps/pthread/list.h: Moved ...
1171 * include/list.h: ... here.
1172 * nptl/sysdeps/pthread/createthread.c: Moved ...
1173 * nptl/createthread.c: ... here.
1174 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
1175 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
1176 * nptl/pt-longjmp.c: ... here.
1177 * nptl/sysdeps/pthread/Makefile: Moved ...
1178 * sysdeps/nptl/Makefile: ... here.
1179 * nptl/sysdeps/pthread/Subdirs: Moved ...
1180 * sysdeps/nptl/Subdirs: ... here.
1181 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
1182 * sysdeps/nptl/aio_misc.h: ... here.
1183 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
1184 * sysdeps/nptl/bits/libc-lock.h: ... here.
1185 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
1186 * sysdeps/nptl/bits/libc-lockP.h: ... here.
1187 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
1188 * sysdeps/nptl/bits/stdio-lock.h: ... here.
1189 * nptl/sysdeps/pthread/configure: Moved ...
1190 * sysdeps/nptl/configure: ... here.
1191 * nptl/sysdeps/pthread/configure.ac: Moved ...
1192 * sysdeps/nptl/configure.ac: ... here.
1193 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
1194 * sysdeps/nptl/gai_misc.h: ... here.
1195 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
1196 * sysdeps/nptl/librt-cancellation.c: ... here.
1197 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
1198 * sysdeps/nptl/malloc-machine.h: ... here.
1199 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
1200 * sysdeps/nptl/pthread-functions.h: ... here.
1201 * nptl/sysdeps/pthread/pthread.h: Moved ...
1202 * sysdeps/nptl/pthread.h: ... here.
1203 * nptl/sysdeps/pthread/setxid.h: Moved ...
1204 * sysdeps/nptl/setxid.h: ... here.
1205 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
1206 * sysdeps/nptl/sigfillset.c: ... here.
1207 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
1208 * sysdeps/nptl/tcb-offsets.h: ... here.
1209 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
1210 * sysdeps/nptl/tst-mqueue8x.c: ... here.
1211 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
1212 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
1213 * nptl/sysdeps/pthread/allocalim.h: Moved ...
1214 * sysdeps/pthread/allocalim.h: ... here.
1215 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
1216 * sysdeps/pthread/bits/sigthread.h: ... here.
1217 * nptl/sysdeps/pthread/flockfile.c: Moved ...
1218 * sysdeps/pthread/flockfile.c: ... here.
1219 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
1220 * sysdeps/pthread/ftrylockfile.c: ... here.
1221 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
1222 * sysdeps/pthread/funlockfile.c: ... here.
1223 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
1224 * sysdeps/pthread/posix-timer.h: ... here.
1225 * nptl/sysdeps/pthread/timer_create.c: Moved ...
1226 * sysdeps/pthread/timer_create.c: ... here.
1227 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
1228 * sysdeps/pthread/timer_delete.c: ... here.
1229 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
1230 * sysdeps/pthread/timer_getoverr.c: ... here.
1231 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
1232 * sysdeps/pthread/timer_gettime.c: ... here.
1233 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
1234 * sysdeps/pthread/timer_routines.c: ... here.
1235 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
1236 * sysdeps/pthread/timer_settime.c: ... here.
1237 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
1238 * sysdeps/pthread/tst-timer.c: ... here.
1239 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
1240 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
1242 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
1243 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
1245 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
1246 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
1247 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
1248 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
1249 Update #include target.
1250 * nptl/sysdeps/i386/i686/Makefile: Moved ...
1251 * sysdeps/i386/i686/nptl/Makefile: ... here.
1252 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
1253 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
1254 Update #include target.
1255 * nptl/sysdeps/i386/i686/tls.h: Moved ...
1256 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
1257 * nptl/sysdeps/i386/Makefile: Moved ...
1258 * sysdeps/i386/nptl/Makefile: ... here.
1259 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
1260 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
1261 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
1262 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
1263 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
1264 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
1265 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
1266 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
1267 * sysdeps/i386/nptl/pthreaddef.h: ... here.
1268 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
1269 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
1270 * nptl/sysdeps/i386/tls.h: Moved ...
1271 * sysdeps/i386/nptl/tls.h: ... here.
1273 * sysdeps/sh/Makefile [$(subdir) = csu]
1274 (gen-as-const-headers): Add tcb-offsets.sym.
1275 * nptl/sysdeps/sh/Makefile: File removed.
1276 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
1277 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
1278 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
1279 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
1280 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
1281 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
1282 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
1283 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
1284 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
1285 * sysdeps/sh/nptl/pthreaddef.h: ... here.
1286 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
1287 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
1288 * nptl/sysdeps/sh/tls.h: Moved ...
1289 * sysdeps/sh/nptl/tls.h: ... here.
1290 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
1291 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
1292 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
1293 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
1294 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
1295 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
1296 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
1297 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
1298 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
1299 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
1300 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
1301 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
1302 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
1303 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
1304 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
1305 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
1306 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
1307 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
1308 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
1309 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
1310 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
1311 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
1312 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
1313 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
1314 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
1316 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
1317 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
1319 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
1320 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
1321 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
1322 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
1323 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
1324 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
1325 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
1326 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
1327 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
1328 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
1329 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
1330 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
1331 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
1332 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
1333 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
1334 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
1335 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
1336 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
1337 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
1339 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1341 * posix/spawn_faction_addopen.c: Include string.h.
1343 2014-06-11 Roland McGrath <roland@hack.frob.com>
1345 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
1346 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
1347 * nptl/sysdeps/x86_64/Makefile: Moved ...
1348 * sysdeps/x86_64/nptl/Makefile: ... here.
1349 * nptl/sysdeps/x86_64/configure: Moved ...
1350 * sysdeps/x86_64/nptl/configure: ... here.
1351 * nptl/sysdeps/x86_64/configure.ac: Moved ...
1352 * sysdeps/x86_64/nptl/configure.ac: ... here.
1353 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
1354 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
1355 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
1356 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
1357 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
1358 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
1359 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
1360 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
1361 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
1362 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
1363 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
1364 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
1365 * nptl/sysdeps/x86_64/tls.h: Moved ...
1366 * sysdeps/x86_64/nptl/tls.h: ... here.
1367 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
1368 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
1369 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
1370 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
1372 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
1374 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1378 2014-06-11 Joseph Myers <joseph@codesourcery.com>
1380 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
1382 [POSIX] (off_t): Likewise.
1383 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
1384 [POSIX] (S_ISBLK): Require macro.
1385 [POSIX] (S_ISCHR): Likewise.
1386 [POSIX] (S_ISDIR): Likewise.
1387 [POSIX] (S_ISFIFO): Likewise.
1388 [POSIX] (S_ISREG): Likewise.
1389 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
1391 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
1393 [POSIX] (time_t): Likewise.
1394 [POSIX] (timer_t): Likewise.
1396 2014-06-11 Florian Weimer <fweimer@redhat.com>
1399 * posix/spawn_int.h (struct __spawn_action): Make the path string
1400 non-const to support deallocation.
1401 * posix/spawn_faction_addopen.c
1402 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
1403 * posix/spawn_faction_destroy.c
1404 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
1405 path in all spawn_do_open actions.
1406 * posix/tst-spawn.c (do_test): Exercise the copy operation in
1407 posix_spawn_file_actions_addopen.
1409 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
1411 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
1412 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
1413 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
1414 conditional code always true.
1415 (__libc_vfork): New alias.
1417 2014-06-11 Roland McGrath <roland@hack.frob.com>
1419 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1420 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
1422 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
1424 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1425 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
1427 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1428 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
1430 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1431 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
1433 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1435 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
1436 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
1437 multiarch strcmp for PPC64.
1438 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
1439 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
1440 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
1441 multiarch optimizations.
1442 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1443 (__libc_ifunc_impl_list): Likewise.
1445 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1447 * benchtests/scripts/validate_benchout.py: New script.
1448 * benchtests/Makefile (bench-func): Call it.
1449 * benchtests/scripts/benchout.schema.json: New file.
1451 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
1453 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
1454 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
1455 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1456 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1457 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1458 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1459 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1460 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1461 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1462 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1463 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1464 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1465 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1466 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1467 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1468 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1469 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
1471 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
1473 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
1475 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1476 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
1478 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
1480 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
1482 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
1484 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
1486 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1487 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
1489 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
1491 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
1493 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
1495 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
1497 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1498 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
1500 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
1502 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
1504 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
1506 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
1508 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
1510 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
1512 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1513 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
1515 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
1517 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
1519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
1521 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
1523 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
1525 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
1527 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
1530 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
1532 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
1534 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
1536 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
1538 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1539 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
1541 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
1543 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
1545 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1546 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
1548 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1549 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
1551 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
1553 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
1555 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
1557 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
1559 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
1561 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
1563 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1564 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
1566 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
1568 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
1570 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
1572 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1573 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1574 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1575 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1576 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
1578 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
1580 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1581 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1582 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1583 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1584 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1585 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1586 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1587 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1588 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1589 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1590 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1591 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1592 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
1594 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1595 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
1597 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1598 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1599 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1600 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
1602 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1603 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1604 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1605 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1606 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1607 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1608 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
1610 2014-06-10 Wilco <wdijkstr@arm.com>
1612 * math/test-fenv-return.c: New file.
1613 * math/Makefile: Add new test test-fenv-return.
1615 2014-06-10 Joseph Myers <joseph@codesourcery.com>
1618 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1620 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1621 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1622 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1623 0.0L for an argument of 1.0L.
1624 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1626 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1627 value when x - 1 is zero.
1628 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1629 * sysdeps/i386/fpu/libm-test-ulps: Update.
1630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1632 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
1635 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
1637 2014-06-09 Roland McGrath <roland@hack.frob.com>
1639 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
1640 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
1642 2014-06-09 Roland McGrath <roland@hack.frob.com>
1644 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1645 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
1647 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1648 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
1650 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1651 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
1653 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1654 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
1656 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
1657 if not already defined.
1658 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
1659 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
1660 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
1661 (TLS_INIT_TP): Use it.
1662 (TLS_DEFINE_INIT_TP): New macro.
1663 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
1665 2014-06-09 Joseph Myers <joseph@codesourcery.com>
1667 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
1669 [POSIX] (IXANY): Likewise.
1670 [POSIX] (OLCUC): Likewise.
1671 [POSIX || POSIX2008] (CBAUD): Do not allow.
1672 [POSIX || POSIX2008] (DEFECHO): Likewise.
1673 [POSIX || POSIX2008] (ECHOCTL): Likewise.
1674 [POSIX || POSIX2008] (ECHOKE): Likewise.
1675 [POSIX || POSIX2008] (ECHOPRT): Likewise.
1676 [POSIX || POSIX2008] (EXTA): Likewise.
1677 [POSIX || POSIX2008] (EXTB): Likewise.
1678 [POSIX || POSIX2008] (FLUSHO): Likewise.
1679 [POSIX || POSIX2008] (LOBLK): Likewise.
1680 [POSIX || POSIX2008] (PENDIN): Likewise.
1681 [POSIX || POSIX2008] (SWTCH): Likewise.
1682 [POSIX || POSIX2008] (VDISCARD): Likewise.
1683 [POSIX || POSIX2008] (VDSUSP): Likewise.
1684 [POSIX || POSIX2008] (VLNEXT): Likewise.
1685 [POSIX || POSIX2008] (VREPRINT): Likewise.
1686 [POSIX || POSIX2008] (VSTATUS): Likewise.
1687 [POSIX || POSIX2008] (VWERASE): Likewise.
1688 (B*): Change to B[0123456789]*.
1689 * conform/data/time.h-data [POSIX || UNIX98]
1690 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
1691 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1692 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
1693 [POSIX] (tm_*): Do not allow.
1695 2014-06-07 Joseph Myers <joseph@codesourcery.com>
1697 * Makefile (install): Don't set LANGUAGE.
1698 * Makefile.in (install): Likewise.
1699 * assert/Makefile (test-assert-ENV): Remove variable.
1700 (test-assert-perr-ENV): Likewise.
1701 * elf/Makefile (neededtest4-ENV): Likewise.
1702 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1703 [$(cross-compiling) = no]: Don't set LANGUAGE.
1704 * io/ftwtest-sh (LANG): Remove variable.
1705 * libio/Makefile (tst-widetext-ENV): Likewise.
1706 * manual/install.texi (Running make install): Don't refer to
1707 environment settings for make install.
1708 * INSTALL: Regenerated.
1709 * nptl/tst-tls6.sh: Don't set LANG.
1710 * posix/globtest.sh (LANG): Remove variable.
1711 * string/Makefile (tester-ENV): Likewise.
1712 (inl-tester-ENV): Likewise.
1713 (noinl-tester-ENV): Likewise.
1714 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1715 [$(cross-compiling) = no]: Don't set LANGUAGE.
1716 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
1717 without explicit environment settings.
1719 2014-06-06 Roland McGrath <roland@hack.frob.com>
1721 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
1722 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
1723 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
1724 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
1726 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
1728 * crypt/crypt-private.h [DOS]: Add some includes taken from the
1729 other files in the crypt directory.
1730 * crypt/crypt.c: Remove duplicate includes.
1731 * crypt/crypt-entry.c: Likewise.
1732 * crypt/crypt_util.c: Likewise.
1734 2014-06-06 Joseph Myers <joseph@codesourcery.com>
1736 * Makeconfig (run-program-env): New variable.
1737 (run-program-prefix-before-env): Likewise.
1738 (run-program-prefix-after-env): Likewise.
1739 (run-program-prefix): Define in terms of new variables.
1740 (built-program-cmd-before-env): New variable.
1741 (built-program-cmd-after-env): Likewise.
1742 (built-program-cmd): Define in terms of new variables.
1743 (test-program-prefix-before-env): New variable.
1744 (test-program-prefix-after-env): Likewise.
1745 (test-program-prefix): Define in terms of new variables.
1746 (test-program-cmd-before-env): New variable.
1747 (test-program-cmd-after-env): Likewise.
1748 (test-program-cmd): Define in terms of new variables.
1749 * Rules (make-test-out): Use $(run-program-env).
1750 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
1751 (help): Do not mention environment variables. Mention
1752 --timeoutfactor option.
1753 (timeoutfactor): New variable.
1754 (blacklist_exports): Remove function.
1755 (exports): Remove variable.
1756 (command): Do not include ${exports}.
1757 * manual/install.texi (Configuring and compiling): Do not mention
1758 test wrappers preserving environment variables. Mention that last
1759 assignment to a variable must take precedence.
1760 * INSTALL: Regenerated.
1761 * benchtests/Makefile (run-bench): Use $(run-program-env).
1762 * catgets/Makefile ($(objpfx)test1.cat): Use
1763 $(built-program-cmd-before-env), $(run-program-env) and
1764 $(built-program-cmd-after-env).
1765 ($(objpfx)test2.cat): Do not specify environment variables
1767 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
1768 $(run-program-env) and $(built-program-cmd-after-env).
1769 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
1770 $(run-program-env) and $(test-program-cmd-after-env).
1771 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
1773 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
1774 run_program_env and test_program_cmd_after_env arguments.
1775 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
1776 * elf/tst-pathopt.sh: Use run_program_env argument.
1777 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
1778 $(test-wrapper-env) and $(run-program-env).
1779 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
1780 run_program_env arguments.
1781 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
1782 * intl/Makefile ($(objpfx)tst-gettext.out): Use
1783 $(test-program-prefix-before-env), $(run-program-env) and
1784 $(test-program-prefix-after-env).
1785 ($(objpfx)tst-gettext2.out): Likewise.
1786 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
1787 run_program_env and test_program_prefix_after_env arguments.
1788 * intl/tst-gettext2.sh: Likewise.
1789 * intl/tst-gettext4.sh: Do not set environment variables
1791 * intl/tst-gettext6.sh: Likewise.
1792 * intl/tst-translit.sh: Likewise.
1793 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
1794 $(test-program-prefix-before-env), $(run-program-env) and
1795 $(test-program-prefix-after-env).
1796 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
1797 run_program_env and test_program_prefix_after_env arguments.
1798 * math/Makefile (run-regen-ulps): Use $(run-program-env).
1799 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
1800 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
1801 explicitly with each use of ${test_wrapper_env}.
1802 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
1803 $(test-program-prefix-before-env), $(run-program-env) and
1804 $(test-program-prefix-after-env).
1805 * posix/tst-getconf.sh: Do not set environment variables
1807 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
1808 run_program_env and test_program_prefix_after_env arguments.
1809 * stdio-common/tst-printf.sh: Do not set environment variables
1811 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
1812 $(test-program-prefix-before-env), $(run-program-env) and
1813 $(test-program-prefix-after-env).
1814 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
1815 run_program_env and test_program_prefix_after_env arguments.
1816 Split $test calls into $test_pre and $test.
1817 * timezone/Makefile (build-testdata): Use
1818 $(built-program-cmd-before-env), $(run-program-env) and
1819 $(built-program-cmd-after-env).
1821 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1823 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
1824 strlen for non SHARED builds.
1826 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1828 * nptl/allocatestack.c (check_list): Inlined function...
1829 (__reclaim_stacks): ... here.
1831 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
1834 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1837 2014-06-05 Joseph Myers <joseph@codesourcery.com>
1839 * Rules (make-test-out): Include
1840 LOCPATH=$(common-objpfx)localedata in default environment.
1841 * debug/Makefile (tst-chk1-ENV): Remove variable.
1842 (tst-chk2-ENV): Likewise.
1843 (tst-chk3-ENV): Likewise.
1844 (tst-chk4-ENV): Likewise.
1845 (tst-chk5-ENV): Likewise.
1846 (tst-chk6-ENV): Likewise.
1847 (tst-lfschk1-ENV): Likewise.
1848 (tst-lfschk2-ENV): Likewise.
1849 (tst-lfschk3-ENV): Likewise.
1850 (tst-lfschk4-ENV): Likewise.
1851 (tst-lfschk5-ENV): Likewise.
1852 (tst-lfschk6-ENV): Likewise.
1853 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
1854 (tst-iconv7-ENV): Likewise.
1855 * intl/Makefile (LOCPATH-ENV): Likewise.
1856 (tst-codeset-ENV): Likewise.
1857 (tst-gettext3-ENV): Likewise.
1858 (tst-gettext5-ENV): Likewise.
1859 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
1860 (tst-fopenloc-ENV): Likewise.
1861 (tst-fgetws-ENV): Remove variable.
1862 (tst-ungetwc1-ENV): Likewise.
1863 (tst-ungetwc2-ENV): Likewise.
1864 (bug-ungetwc2-ENV): Likewise.
1865 (tst-swscanf-ENV): Likewise.
1866 (bug-ftell-ENV): Likewise.
1867 (tst-fgetwc-ENV): Likewise.
1868 (tst-fseek-ENV): Likewise.
1869 (tst-ftell-partial-wide-ENV): Likewise.
1870 (tst-ftell-active-handler-ENV): Likewise.
1871 (tst-ftell-append-ENV): Likewise.
1872 * posix/Makefile (tst-fnmatch-ENV): Likewise.
1873 (tst-regexloc-ENV): Likewise.
1874 (bug-regex1-ENV): Likewise.
1875 (tst-regex-ENV): Likewise.
1876 (tst-regex2-ENV): Likewise.
1877 (bug-regex5-ENV): Likewise.
1878 (bug-regex6-ENV): Likewise.
1879 (bug-regex17-ENV): Likewise.
1880 (bug-regex18-ENV): Likewise.
1881 (bug-regex19-ENV): Likewise.
1882 (bug-regex20-ENV): Likewise.
1883 (bug-regex22-ENV): Likewise.
1884 (bug-regex23-ENV): Likewise.
1885 (bug-regex25-ENV): Likewise.
1886 (bug-regex26-ENV): Likewise.
1887 (bug-regex30-ENV): Likewise.
1888 (bug-regex32-ENV): Likewise.
1889 (bug-regex33-ENV): Likewise.
1890 (bug-regex34-ENV): Likewise.
1891 (bug-regex35-ENV): Likewise.
1892 (tst-rxspencer-ENV): Likewise.
1893 (tst-rxspencer-no-utf8-ENV): Likewise.
1894 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
1895 (tst-sscanf-ENV): Likewise.
1896 (tst-swprintf-ENV): Likewise.
1897 (tst-swscanf-ENV): Likewise.
1898 (test-vfprintf-ENV): Likewise.
1899 (scanf13-ENV): Likewise.
1900 (bug14-ENV): Likewise.
1901 (tst-grouping-ENV): Likewise.
1902 * stdlib/Makefile (tst-strtod-ENV): Likewise.
1903 (tst-strtod3-ENV): Likewise.
1904 (tst-strtod4-ENV): Likewise.
1905 (tst-strtod5-ENV): Likewise.
1906 (testmb2-ENV): Likewise./
1907 * string/Makefile (tst-strxfrm-ENV): Likewise.
1908 (tst-strxfrm2-ENV): Likewise.
1909 (bug-strcoll1-ENV): Likewise.
1910 (test-strcasecmp-ENV): Likewise.
1911 (test-strncasecmp-ENV): Likewise.
1912 * time/Makefile (tst-strptime-ENV): Likewise.
1913 (tst-ftime_l-ENV): Likewise.
1914 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
1915 (tst-mbrtowc-ENV): Likewise.
1916 (tst-wcrtomb-ENV): Likewise.
1917 (tst-mbrtowc2-ENV): Likewise.
1918 (tst-c16c32-1-ENV): Likewise.
1919 (tst-mbsnrtowcs-ENV): Likewise.
1921 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
1923 * manual/resource.texi (How to get information about the memory
1924 subsystem?): Fix typo.
1925 Reported by Peon de la Parra Ivan <peon@keba.com>
1927 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
1930 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
1931 (pthread_spin_lock): Branch out of spin loop to proper location.
1932 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
1933 (pthread_spin_lock): Likewise.
1935 * nptl/tst-spin4.c: New test.
1936 * nptl/Makefile (tests): Add tst-spin4.
1938 2014-06-03 Andreas Schwab <schwab@suse.de>
1941 * resolv/res_send.c (send_dg): Reload file descriptor after
1944 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
1946 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1948 2014-06-03 Richard Henderson <rth@redhat.com>
1950 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
1951 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
1952 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
1953 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
1954 in the SAVE_PID block.
1955 (__libc_vfork): New alias.
1956 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
1958 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
1959 child in registers, not on the stack. Remove RESET_PID conditionals.
1960 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
1962 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
1964 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1966 2014-06-03 Wilco <wdijkstr@arm.com>
1968 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
1969 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1970 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1971 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1972 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1975 2014-06-03 Wilco <wdijkstr@arm.com>
1977 * sysdeps/aarch64/fpu/math_private.h
1978 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1979 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1980 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1981 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1984 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1986 * crypt/crypt-private.h: Include ufc-crypt.h.
1987 (__b64_from_24bit): Declare extern.
1988 * crypt/crypt_util.c(__b64_from_24bit): New function.
1989 (b64t): New static const variable.
1990 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
1991 (b64t): Remove variable.
1992 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1993 * crypt/sha256-crypt.c: Include crypt-private.h.
1994 (b64t): Remove variable.
1995 (__sha256_crypt_r): Remove b64_from_24bit and replace
1996 with __b64_from_24bit.
1997 * crypt/sha512-crypt.c: Likewise.
1999 2014-06-02 Roland McGrath <roland@hack.frob.com>
2001 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2002 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2003 Label the code __libc_vfork rather than __vfork.
2004 [!NOT_IN_libc] (vfork): Define as weak alias.
2005 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2006 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2007 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2009 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2011 * malloc/malloc.c (malloc_info): Fix format specifier for
2014 2014-06-02 Wilco <wdijkstr@arm.com>
2016 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2019 2014-06-02 Wilco <wdijkstr@arm.com>
2022 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2023 Rewrite to reduce FPCR/FPSR accesses.
2025 2014-06-01 David S. Miller <davem@davemloft.net>
2027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2029 2014-05-31 David S. Miller <davem@davemloft.net>
2031 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2032 to occur in round to nearest mode when |x| >= 2.0
2034 2014-05-30 Richard Henderson <rth@twiddle.net>
2036 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2037 (PSEUDO_RET_NOERRNO): Remove.
2038 (ret): Don't redefine.
2039 (ret_NOERRNO): Define in terms of ret.
2040 (ret_ERRVAL): Likewise.
2042 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2043 use of PSEUDO_RET; perform the error check directly.
2045 2014-05-30 Marko Myllynen <myllynen@redhat.com>
2047 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2050 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2052 * malloc/malloc (malloc_info): Fix formatting.
2054 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2055 Roland McGrath <roland@hack.frob.com>
2057 * malloc/malloc (malloc_info): Also print mmapped statistics.
2059 2014-05-30 Roland McGrath <roland@hack.frob.com>
2061 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2062 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2064 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
2066 * malloc/malloc.c (malloc_info): Inline mi_arena.
2068 2014-05-29 Richard Henderson <rth@twiddle.net>
2070 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2071 Remove comma before expanding ASM_ARGS_##nr.
2072 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2073 Make _x0 a strict output; make _x8 a strict input; adjust expansion
2075 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2076 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2077 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2078 (ASM_ARGS_1): Add leading comma.
2080 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2081 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2082 to __errno_location.
2083 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2084 Remove the expected plt for __errno_location.
2086 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2087 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
2090 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2091 Always allocate 64 bytes of stack frame. Use ldp/stp to create
2092 it and break it down.
2093 (DOCARGS_0, DOCARGS_1): Do nothing.
2094 (DOCARGS_2): Update to store into the new stack frame.
2095 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2096 (UNDOCARGS_1): Update to restore from the new stack frame.
2097 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2098 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2100 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2101 (SINGLE_THREAD_P): New parameter for result regno.
2102 (PSEUDO): Update to match; use cbz instead of beq.
2104 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2105 Use ENTRY to define the _nocancel entry point. Share the syscall
2106 and syscall error check paths with the cancel path.
2109 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2110 whitespace; tabs before and after asm mnemonics.
2112 2014-05-29 Eric Wong <normalperson@yhbt.net>
2115 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2116 Call fstat64 or stat64 internally, depending on arguments passed.
2117 Replace stat buffer argument with file descriptor argument.
2118 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2119 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2120 Pass fd to __internal_statvfs instead of calling fstat64.
2121 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2122 Pass fd to __internal_statvfs64 instead of calling fstat64.
2123 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2124 Pass -1 to __internal_statvfs instead of calling stat64.
2125 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
2126 Pass -1 to __internal_statvfs64 instead of calling stat64.
2128 2014-05-28 Roland McGrath <roland@hack.frob.com>
2130 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
2131 that was previously under [RESET_PID].
2132 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
2134 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
2135 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
2137 2014-05-27 Roland McGrath <roland@hack.frob.com>
2139 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
2141 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
2142 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
2144 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
2146 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
2148 2014-05-27 Andreas Schwab <schwab@suse.de>
2150 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
2152 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2153 * elf/rtld.c (init_tls, dl_main): Likewise.
2154 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
2155 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
2156 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
2157 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
2158 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
2159 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
2160 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
2161 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
2162 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
2163 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
2164 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
2165 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
2166 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
2167 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
2168 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
2169 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
2170 * sysdeps/generic/tls.h: Update description.
2172 2014-05-27 Will Newton <will.newton@linaro.org>
2175 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
2176 and restore r2 rather than just restoring.
2178 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2181 * libio/tst-ftell-append.c: New test case.
2182 * libio/Makefile (tests): Add test case.
2183 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
2185 * libio/wfileops.c (do_ftell_wide): Likewise.
2187 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2191 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
2193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
2194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2195 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
2196 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
2197 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
2198 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
2199 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
2200 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
2201 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
2204 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
2207 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
2208 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
2209 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
2210 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
2211 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
2213 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
2214 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
2216 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
2218 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
2220 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
2221 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
2222 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
2224 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
2225 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
2226 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
2227 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
2229 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
2231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
2232 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
2234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
2235 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
2237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
2238 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
2242 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
2245 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
2249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
2250 conditional [RESET_PID].
2251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2252 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
2254 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
2257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
2259 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2260 (__libc_vfork): New strong alias.
2261 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
2263 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
2266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
2268 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
2269 (__libc_vfork): New strong alias.
2270 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
2272 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
2275 2014-05-26 Carlos O'Donell <carlos@redhat.com>
2277 * malloc/malloc.c (mi_arena): New function.
2278 (malloc_info): Remove nested function mi_arena. Call non-nosted
2281 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2283 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
2285 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
2286 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
2287 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
2288 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
2289 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
2290 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
2291 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
2293 2014-05-26 Andreas Schwab <schwab@suse.de>
2296 * locale/programs/repertoire.c (repertoire_read): Add slash
2297 between I18NPATH element and file name.
2298 * locale/programs/locfile.c (locfile_read): Likewise.
2300 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2302 * nptl/pthread_mutexattr_settype.c
2303 (__pthread_mutexattr_settype):
2304 Disable lock elision for PTHREAD_MUTEX_NORMAL.
2306 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2308 * nptl/tst-mutex5 (do_test):
2309 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
2311 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2313 * benchtests/README: Document 'init' directive.
2314 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
2316 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
2317 (parse_file): Recognize 'init' directive.
2319 2014-05-26 Kyle McMartin <kyle@redhat.com>
2322 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
2323 alignment of struct pthread.
2325 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2328 * nscd/netgroupcache.c (addgetnetgrentX): Look for
2329 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2330 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
2331 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2333 2014-05-25 Richard Henderson <rth@twiddle.net>
2335 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2336 (SINGLE_THREAD_P_PIC): Remove.
2337 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
2338 (SINGLE_THREAD_P_PIC): Remove.
2340 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
2341 branch to syscall error ...
2343 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
2344 from __local_syscall_error to .Lsyscall_error.
2345 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
2346 (SYSCALL_ERROR): Update label name.
2348 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2349 Do not use DOARGS/UNDOARGS.
2350 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
2351 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
2352 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
2353 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
2354 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
2356 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
2359 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
2360 define if !NOT_IN_libc.
2361 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
2362 define with non-default symbol versions.
2364 2014-05-23 Richard Henderson <rth@twiddle.net>
2366 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
2367 (vfork, __vfork): Define via compat_symbol.
2369 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
2370 [!HAVE_IFUNC] (vfork_compat): Remove.
2371 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
2373 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2376 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
2377 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
2380 2014-05-23 Richard Henderson <rth@twiddle.net>
2382 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
2383 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
2384 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
2385 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
2387 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
2388 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
2389 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
2390 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
2391 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
2392 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
2393 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
2394 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
2395 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
2396 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
2397 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
2398 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
2399 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
2400 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
2401 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
2402 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
2403 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
2404 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
2405 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
2406 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
2407 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
2408 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
2409 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
2410 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
2411 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
2412 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
2413 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
2414 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
2415 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
2416 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
2417 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
2418 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
2419 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
2420 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
2421 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
2422 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
2423 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
2424 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
2425 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
2426 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
2427 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
2428 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
2429 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
2430 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
2431 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
2432 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
2433 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
2434 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
2435 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
2436 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
2437 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
2438 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
2439 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
2440 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
2441 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
2442 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
2444 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
2445 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
2446 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
2447 before exiting on error.
2448 (__libc_vfork): New strong alias.
2449 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
2450 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
2452 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
2453 that was previously under [RESET_PID].
2454 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
2456 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2458 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2461 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2462 value when x - 1 is zero.
2463 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2464 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2465 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2466 0.0L for an argument of 1.0L.
2467 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2469 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2470 value when x - 1 is zero.
2471 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2472 * sysdeps/i386/fpu/libm-test-ulps: Update.
2473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2475 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2477 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2478 alphasort and versionsort.
2480 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2482 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2484 [copysignf]: Likewise.
2486 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2488 * crypt/md5-crypt.c: Fix formatting.
2490 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2492 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2493 (b64_from_24bit): New function.
2495 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2497 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2498 libc_hidden_builtin_def to ifunc.
2499 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2500 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2502 2014-05-21 Roland McGrath <roland@hack.frob.com>
2504 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2505 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2507 2014-05-21 Joseph Myers <joseph@codesourcery.com>
2509 * nscd/Depend (linuxthreads): Remove.
2511 * resolv/Depend (linuxthreads): Remove.
2512 * rt/Depend (linuxthreads): Remove.
2514 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2515 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2516 $(common-objpfx)elf/.
2517 (link-libc-before-gnulib): Likewise.
2518 (elfobjdir): Remove variable.
2519 * Makefile (install): Use $(elf-objpfx) instead of
2520 $(common-objpfx)elf/.
2521 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2523 (link-libc-deps): Likewise.
2524 ($(common-objpfx)libc.so): Likewise.
2525 ($(common-objpfx)linkobj/libc.so): Likewise.
2526 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2527 instead of $(common-objpfx)elf/.
2528 (symbolic-link-list): Likewise.
2529 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2530 [$(cross-compiling) = no]: Likewise.
2531 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2533 (static-gnulib-arch): Likewise.
2534 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2535 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2536 $(common-objpfx)elf/.
2538 2014-05-21 Richard Henderson <rth@redhat.com>
2540 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2541 (SINGLE_THREAD_P): Use the correct width load. Fold
2542 into the ldr offset.
2544 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2545 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2547 2014-05-20 Joseph Myers <joseph@codesourcery.com>
2549 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2550 (libgcc_s_resume): Use __attribute_used__.
2551 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2554 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2556 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2557 optimization when used with float constants.
2559 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2561 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
2564 * locale/nl_langinfo_l.c: Make direct reference to every
2565 _nl_current_CATEGORY symbol.
2566 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2567 (tests-static): Add tst-langinfo-static.
2568 (tests-special): Add tst-langinfo-static.out.
2569 ($(objpfx)tst-langinfo.out): Redirect output.
2570 ($(objpfx)tst-langinfo-static.out): New.
2571 * localedata/tst-langinfo.sh: Send output to stdout.
2572 * localedata/tst-langinfo-static.c: New file.
2575 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2576 when the shift amount is modulo the limb size.
2578 2014-05-20 Richard Henderson <rth@redhat.com>
2581 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2582 Change type of sa_flags from unsigned int to int.
2585 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
2587 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2589 2014-05-20 Will Newton <will.newton@linaro.org>
2591 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2592 Test the return value of the system call in the nocancel case.
2594 2014-05-20 Will Newton <will.newton@linaro.org>
2595 Yvan Roux <yvan.roux@linaro.org>
2597 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2598 #include of asm/ptrace.h.
2599 (PTRACE_GET_THREAD_AREA): Remove #undef.
2600 (PTRACE_GETHBPREGS): Likewise.
2601 (PTRACE_SETHBPREGS): Likewise.
2602 (struct user_regs_struct): New structure.
2603 (struct user_fpsimd_struct): New structure.
2604 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2605 #include of asm/ptrace.h and second #include of sys/user.h.
2606 (PTRACE_GET_THREAD_AREA): Remove #undef.
2607 (PTRACE_GETHBPREGS): Likewise.
2608 (PTRACE_SETHBPREGS): Likewise.
2609 (ELF_NGREG): Use new struct user_regs_struct.
2610 (elf_fpregset_t): Use new struct user_fpsimd_struct.
2612 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2614 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2615 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2617 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2620 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2621 membar to avoid block loads/stores to overlap previous stores.
2623 2014-05-17 Richard Henderson <rth@redhat.com>
2625 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2626 Create the __##syscall_name##_nocancel entry point.
2627 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2628 Remove; let the sysdep-cancel.h code create it.
2630 2014-05-17 David S. Miller <davem@davemloft.net>
2632 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
2633 Protect with __USE_GNU.
2634 (TIOCSET_TEMPT): Likewise.
2635 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2636 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
2637 these are already provided in bits/ioctl-types.h
2639 2014-05-16 Roland McGrath <roland@hack.frob.com>
2641 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
2642 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
2644 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
2645 Use wait4 regardless of [__NR_waitpid].
2647 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2650 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2651 (_FP_NANSIGN_Q): Set the quiet bit.
2653 2014-05-16 Joseph Myers <joseph@codesourcery.com>
2655 * benchtests/Makefile
2656 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
2657 not $(common-objpfx)math/libm.so.
2658 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
2659 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
2660 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
2661 $(common-objpfx)dlfcn/libdl.so.
2662 ($(objpfx)tst-audit8): Depend on $(libm), not
2663 $(common-objpfx)math/libm.so.
2664 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
2665 not $(common-objpfx)dlfcn/libdl.so.
2667 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2668 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
2669 [$(build-shared) = yes].
2670 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
2671 $(common-objpfx)nptl/libpthread.so.
2672 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
2673 $(common-objpfx)math/libm.so$(libm.so-version) or
2674 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
2675 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
2676 $(common-objpfx)dlfcn/libdl.so.
2677 * setjmp/Makefile (link-libm): Remove variable.
2678 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
2679 * stdio-common/Makefile (link-libm): Remove variable.
2680 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
2681 * stdlib/Makefile (link-libm): Remove variable.
2682 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
2683 ($(objpfx)tst-strtod-round): Likewise.
2684 ($(objpfx)tst-tininess): Likewise.
2685 ($(objpfx)tst-strtod-underflow): Likewise.
2686 ($(objpfx)tst-strtod6): Likewise.
2687 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
2688 $(libdl), not $(common-objpfx)nptl/libpthread.so and
2689 $(common-objpfx)dlfcn/libdl.so.
2691 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2693 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
2694 BSD terminal modes definitions.
2696 2014-05-16 Roland McGrath <roland@hack.frob.com>
2698 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
2699 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
2701 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
2702 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
2703 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
2704 Don't do #include_next.
2705 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
2706 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
2707 Don't do #include_next.
2708 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
2709 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
2710 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
2711 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
2713 2014-05-16 Allan McRae <allan@archlinux.org>
2715 * po/sv.po: Update Swedish translation from translation project.
2717 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
2720 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
2723 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
2724 errno if the TIOCGPTN ioctl fails with an error different than
2726 * login/tst-ptsname.c: New file.
2727 * login/Makefile (tests): Add tst-ptsname.
2730 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
2733 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2736 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
2737 herrno to return EAI_AGAIN.
2739 2014-05-14 Roland McGrath <roland@hack.frob.com>
2741 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
2742 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
2743 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
2744 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
2745 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
2746 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
2747 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
2748 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
2749 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
2750 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
2751 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
2752 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
2753 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
2754 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
2755 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
2756 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
2757 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
2758 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
2759 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
2760 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
2761 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
2762 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
2763 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
2764 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
2765 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
2766 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
2767 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
2768 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
2769 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
2770 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
2771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
2772 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
2773 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
2774 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
2775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2777 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
2778 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
2779 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
2780 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
2781 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
2782 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
2783 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
2784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
2785 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
2786 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
2787 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
2788 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
2789 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
2790 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
2791 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
2792 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
2793 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
2794 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
2795 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
2796 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
2797 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
2798 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
2799 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
2800 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
2801 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
2802 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
2803 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
2804 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2806 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
2807 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
2808 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
2809 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
2810 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
2811 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
2812 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
2813 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
2814 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
2815 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
2816 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
2817 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
2818 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
2819 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
2820 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
2821 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
2822 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
2823 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
2824 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
2825 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2827 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
2828 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
2829 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
2831 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
2832 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
2833 (libpthread-sysdep_routines): Add elision-related stuff here instead.
2834 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
2835 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
2836 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
2837 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
2838 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
2839 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
2840 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
2841 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
2842 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
2843 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
2844 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
2845 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
2846 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
2847 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
2848 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
2849 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
2850 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
2851 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
2852 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
2853 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
2854 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
2855 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
2856 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
2857 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
2858 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
2859 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
2860 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
2861 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
2863 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
2864 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
2866 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
2867 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
2868 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
2869 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
2870 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
2871 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
2873 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
2874 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2876 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
2877 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2879 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
2880 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
2882 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
2883 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
2884 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
2885 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2887 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
2888 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
2889 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
2890 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
2891 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
2892 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
2893 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
2894 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2896 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
2897 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2899 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2901 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
2902 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
2903 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
2904 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
2905 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2907 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2909 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
2911 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
2912 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
2913 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
2914 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
2915 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
2916 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
2918 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
2919 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2921 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
2922 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2924 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
2925 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
2927 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
2928 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
2929 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
2930 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
2932 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
2933 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
2934 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
2935 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
2936 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
2937 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
2938 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
2939 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2941 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
2942 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2944 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2946 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
2947 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
2948 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
2949 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
2950 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2952 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2954 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
2956 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
2957 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
2958 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
2959 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
2960 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
2961 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
2962 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
2963 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
2964 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
2965 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2967 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
2968 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2970 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2971 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2973 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2974 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2976 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2977 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2978 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2979 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2980 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2981 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2983 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2984 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2985 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
2986 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
2987 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
2988 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
2989 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
2990 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2992 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2993 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2995 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2997 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2998 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2999 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3000 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3001 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3003 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3005 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3007 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3008 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3009 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3010 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3011 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3012 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3013 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3014 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3015 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3016 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3017 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3019 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3020 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3022 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3023 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3025 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3026 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3027 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3028 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3029 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3030 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3031 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3032 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3033 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3034 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3035 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3036 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3037 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3038 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3039 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3040 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3041 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3042 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3044 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3045 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3046 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3047 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3049 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3050 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3051 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3052 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3053 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3054 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3055 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3056 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3058 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3059 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3061 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3062 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3063 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3064 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3065 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3066 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3067 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3068 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3069 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3070 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3071 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3072 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3073 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3074 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3075 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3076 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3077 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3079 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3080 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3081 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3082 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3083 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3085 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3086 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3087 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3088 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3089 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3090 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3091 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3092 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3093 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3094 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3096 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3097 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3099 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3100 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3101 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3102 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3103 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3104 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3105 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3106 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3107 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3108 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3109 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3110 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3111 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3112 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3113 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3115 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3117 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3119 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3121 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3123 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3125 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
3127 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3129 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
3131 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
3133 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
3134 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
3135 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
3136 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
3137 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
3138 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
3139 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
3140 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
3141 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
3142 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
3143 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
3144 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
3145 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
3146 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
3147 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3149 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
3150 that was previously under [RESET_PID].
3151 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3152 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
3153 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
3155 * sysdeps/i386/nptl/Implies: New file.
3156 * sysdeps/x86_64/nptl/Implies: New file.
3157 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
3158 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3159 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
3160 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
3162 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
3163 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3164 (__libc_vfork): New strong alias.
3165 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
3166 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
3168 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
3169 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3170 (__libc_vfork): New strong alias.
3171 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
3172 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
3174 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
3175 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3176 (__libc_vfork): New strong alias.
3177 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
3178 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
3179 * nptl/pt-vfork.c: New file.
3180 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
3181 (libpthread: GLIBC_2.20): New version set (empty).
3183 2014-05-14 Will Newton <will.newton@linaro.org>
3185 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
3188 2014-05-14 Joseph Myers <joseph@codesourcery.com>
3191 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
3192 arguments with exponent 65 or above.
3193 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
3194 arguments 0x1p113L or above.
3195 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
3196 to arguments 0x1p107L or above.
3197 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
3198 positive arguments with exponent 65 or above.
3199 * math/auto-libm-test-in: Add more tests of log1p.
3200 * math/auto-libm-test-out: Regenerated.
3203 * math/s_cacos.c (__cacos): Ensure zero real part of result from
3204 non-finite arguments is +0.
3205 * math/s_cacosf.c (__cacosf): Likewise.
3206 * math/s_cacosl.c (__cacosl): Likewise.
3207 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
3208 * sysdeps/i386/fpu/libm-test-ulps: Update.
3209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3212 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
3214 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
3215 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
3216 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
3217 for explicit high bit of mantissa when testing for argument equal
3219 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
3220 * sysdeps/i386/fpu/libm-test-ulps: Update.
3221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3224 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
3225 (__erf): Scale by 16 instead of 8 in potentially underflowing
3226 case. Ensure exception if result actually underflows.
3227 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
3228 (__erff): Scale by 16 instead of 8 in potentially underflowing
3229 case. Ensure exception if result actually underflows.
3230 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
3231 (efx8): Remove variable.
3232 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3233 case. Ensure exception if result actually underflows.
3234 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
3235 (efx8): Remove variable.
3236 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3237 case. Ensure exception if result actually underflows.
3238 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
3239 (efx8): Remove variable.
3240 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3241 case. Ensure exception if result actually underflows.
3242 * math/auto-libm-test-in: Add more tests of erf.
3243 * math/auto-libm-test-out: Regenerated.
3245 2014-05-14 Andreas Schwab <schwab@suse.de>
3247 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
3248 Remove code conditionalized on USE___THREAD.
3250 * config.h.in (HAVE_PT_CHOWN): Define as 0.
3251 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
3254 2014-05-14 Joseph Myers <joseph@codesourcery.com>
3256 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
3257 Define unconditionally.
3258 (__ASSUME_O_CLOEXEC): Likewise.
3259 (__ASSUME_SOCK_CLOEXEC): Likewise.
3260 (__ASSUME_IN_NONBLOCK): Likewise.
3261 (__ASSUME_PIPE2): Likewise.
3262 (__ASSUME_EVENTFD2): Likewise.
3263 (__ASSUME_SIGNALFD4): Likewise.
3264 (__ASSUME_DUP3): Likewise.
3265 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3266 (__ASSUME_DUP3): Do not define.
3267 (__ASSUME_EVENTFD2): Likewise.
3268 (__ASSUME_IN_NONBLOCK): Likewise.
3269 (__ASSUME_O_CLOEXEC): Likewise.
3270 (__ASSUME_PIPE2): Likewise.
3271 (__ASSUME_SIGNALFD4): Likewise.
3272 (__ASSUME_SOCK_CLOEXEC): Likewise.
3273 (__ASSUME_UTIMES): Undefine.
3274 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3275 (__ASSUME_UTIMES): Do not define.
3276 (__ASSUME_O_CLOEXEC): Likewise.
3277 (__ASSUME_SOCK_CLOEXEC): Likewise.
3278 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
3279 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
3281 (__ASSUME_PIPE2): Likewise.
3282 (__ASSUME_EVENTFD2): Likewise.
3283 (__ASSUME_SIGNALFD4): Likewise.
3284 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
3285 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
3287 (__ASSUME_EVENTFD2): Likewise.
3288 (__ASSUME_SIGNALFD4): Likewise.
3289 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3290 (__ASSUME_32BITUIDS): Likewise.
3291 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3292 (__ASSUME_IPC64): Likewise.
3293 (__ASSUME_ST_INO_64_BIT): Likewise.
3294 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
3295 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
3296 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3297 (__ASSUME_UTIMES): Do not define.
3298 (__ASSUME_PSELECT): Likewise.
3299 (__ASSUME_PPOLL): Likewise.
3300 (__ASSUME_O_CLOEXEC): Likewise.
3301 (__ASSUME_SOCK_CLOEXEC): Likewise.
3302 (__ASSUME_IN_NONBLOCK): Likewise.
3303 (__ASSUME_PIPE2): Likewise.
3304 (__ASSUME_EVENTFD2): Likewise.
3305 (__ASSUME_SIGNALFD4): Likewise.
3306 (__ASSUME_DUP3): Likewise.
3307 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3308 (__ASSUME_UTIMES): Likewise.
3309 (__ASSUME_O_CLOEXEC): Likewise.
3310 (__ASSUME_SOCK_CLOEXEC): Likewise.
3311 (__ASSUME_IN_NONBLOCK): Likewise.
3312 (__ASSUME_PIPE2): Likewise.
3313 (__ASSUME_EVENTFD2): Likewise.
3314 (__ASSUME_SIGNALFD4): Likewise.
3315 (__ASSUME_DUP3): Likewise.
3316 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3317 (__ASSUME_UTIMES): Likewise.
3318 (__ASSUME_O_CLOEXEC): Likewise.
3319 (__ASSUME_SOCK_CLOEXEC): Likewise.
3320 (__ASSUME_IN_NONBLOCK): Likewise.
3321 (__ASSUME_PIPE2): Likewise.
3322 (__ASSUME_EVENTFD2): Likewise.
3323 (__ASSUME_SIGNALFD4): Likewise.
3324 (__ASSUME_DUP3): Likewise.
3325 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
3327 (__ASSUME_UTIMES): Likewise.
3328 (__ASSUME_EVENTFD2): Likewise.
3329 (__ASSUME_SIGNALFD4): Likewise.
3330 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3331 (__ASSUME_O_CLOEXEC): Likewise.
3332 (__ASSUME_SOCK_CLOEXEC): Likewise.
3333 (__ASSUME_IN_NONBLOCK): Likewise.
3334 (__ASSUME_PIPE2): Likewise.
3335 (__ASSUME_EVENTFD2): Likewise.
3336 (__ASSUME_SIGNALFD4): Likewise.
3337 (__ASSUME_DUP3): Likewise.
3338 (__ASSUME_UTIMES): Undefine.
3340 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
3341 feclearexcept. Remove symbol versioning code.
3342 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
3343 symbol versioning code.
3344 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
3345 symbol versioning code.
3346 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
3347 feupdateenv. Remove symbol versioning code.
3348 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
3349 fegetexceptflag. Remove symbol versioning code.
3350 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
3351 fesetexceptflag. Remove symbol versioning code.
3352 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
3353 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
3354 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
3355 (__posix_fadvise64_l32): Remove prototype.
3356 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
3359 2014-05-13 Roland McGrath <roland@hack.frob.com>
3361 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
3362 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
3363 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
3364 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
3366 2014-05-13 Sami Kerola <kerolasa@iki.fi>
3368 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
3369 current working directory
3371 2014-05-13 Roland McGrath <roland@hack.frob.com>
3373 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
3374 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
3375 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
3376 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
3377 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
3378 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
3379 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
3380 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
3381 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
3382 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
3383 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
3384 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
3385 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
3386 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
3387 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
3388 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
3389 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
3390 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
3391 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
3392 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
3393 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
3394 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
3395 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
3396 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
3397 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
3398 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
3399 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
3400 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
3401 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
3402 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
3403 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
3404 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
3405 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
3406 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
3407 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
3408 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
3409 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
3410 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
3411 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
3412 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
3413 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
3414 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
3416 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
3417 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
3419 * sysdeps/unix/sysv/linux/arm/Makefile
3420 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3421 Add rt-aeabi_unwind_cpp_pr1.
3422 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
3423 Add nptl-aeabi_unwind_cpp_pr1.
3424 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
3425 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
3426 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
3427 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3428 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
3429 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3431 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
3432 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
3433 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
3434 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
3436 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
3437 Deconditionalize the code that was previously under [RESET_PID].
3438 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
3440 * sysdeps/generic/exit-thread.h: New file.
3441 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
3442 * include/unistd.h (__exit_thread): Remove declaration.
3443 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
3444 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
3445 * csu/libc-start.c: Include <exit-thread.h>.
3446 (LIBC_START_MAIN): Pass no argument to __exit_thread.
3447 * nptl/pthread_create.c: Include <exit-thread.h>.
3448 (start_thread): Call __exit_thread in place of __exit_thread_inline.
3449 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
3450 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
3451 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
3452 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
3453 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
3454 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
3455 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3456 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3457 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3458 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3459 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3460 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3461 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3462 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3463 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3464 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3466 2014-05-13 Andreas Schwab <schwab@suse.de>
3468 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3470 2014-05-12 Joseph Myers <joseph@codesourcery.com>
3472 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3473 (__ASSUME_UTIMES): Do not condition on kernel version.
3474 (__ASSUME_PSELECT): Define unconditionally.
3475 (__ASSUME_PPOLL): Likewise.
3476 (__ASSUME_ATFCTS): Likewise.
3477 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3478 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3479 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3480 (__ASSUME_UTIMENSAT): Define unconditionally.
3481 (__ASSUME_PRIVATE_FUTEX): Likewise.
3482 (__ASSUME_FALLOCATE): Likewise.
3483 (__ASSUME_O_CLOEXEC): Likewise.
3484 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3485 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3486 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3487 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3488 (__ASSUME_IN_NONBLOCK): Likewise.
3489 (__ASSUME_PIPE2): Likewise.
3490 (__ASSUME_EVENTFD2): Likewise.
3491 (__ASSUME_SIGNALFD4): Likewise.
3492 (__ASSUME_DUP3): Likewise.
3493 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3494 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3495 (__ASSUME_AT_RANDOM): Likewise.
3496 (__ASSUME_PREADV): Likewise.
3497 (__ASSUME_PWRITEV): Likewise.
3498 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3499 (__ASSUME_F_GETOWN_EX): Define unconditionally.
3500 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3501 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3502 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3503 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3504 (__ASSUME_O_CLOEXEC): Define unconditionally.
3505 (__ASSUME_PSELECT): Do not undefine conditionally.
3506 (__ASSUME_PPOLL): Likewise.
3507 (__ASSUME_ATFCTS): Likewise.
3508 (__ASSUME_SET_ROBUST_LIST): Likewise.
3509 (__ASSUME_UTIMENSAT): Likewise.
3510 (__ASSUME_FDATASYNC): Define unconditionally.
3511 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3512 (__ASSUME_SIGFRAME_V2): Likewise.
3513 )__ASSUME_EVENTFD2): Likewise.
3514 (__ASSUME_SIGNALFD4): Likewise.
3515 (__ASSUME_PSELECT): Do not undefine conditionally.
3516 (__ASSUME_PPOLL): Likewise.
3517 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3518 (__ASSUME_PSELECT): Define unconditionally.
3519 (__ASSUME_PPOLL): Likewise.
3520 (__ASSUME_O_CLOEXEC): Likewise.
3521 (__ASSUME_SOCK_CLOEXEC): Likewise.
3522 (__ASSUME_IN_NONBLOCK): Likewise.
3523 (__ASSUME_PIPE2): Likewise.
3524 (__ASSUME_EVENTFD2): Likewise.
3525 (__ASSUME_SIGNALFD4): Likewise.
3526 (__ASSUME_DUP3): Likewise.
3527 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3528 (__ASSUME_O_CLOEXEC): Likewise.
3529 (__ASSUME_SOCK_CLOEXEC): Likewise.
3530 (__ASSUME_IN_NONBLOCK): Likewise.
3531 (__ASSUME_PIPE2): Likewise.
3532 (__ASSUME_EVENTFD2): Likewise.
3533 (__ASSUME_SIGNALFD4): Likewise.
3534 (__ASSUME_DUP3): Likewise.
3535 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3536 (__ASSUME_EVENTFD2): Likewise.
3537 (__ASSUME_SIGNALFD4): Likewise.
3538 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3540 2014-05-12 Andreas Schwab <schwab@suse.de>
3543 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3544 (_nss_nis_gethostbyname4_r): Return error if item length is larger
3545 than maximum RPC packet size.
3546 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3547 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3548 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3549 (_nss_nis_getservbyport_r): Likewise.
3551 2014-05-12 Will Newton <will.newton@linaro.org>
3553 * malloc/Makefile (tests): Add tst-mallopt.
3554 * malloc/tst-mallopt.c: New file.
3556 2014-05-09 Roland McGrath <roland@hack.frob.com>
3558 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3559 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3561 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3563 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3564 (tst-tlsmod6.so): Likewise.
3566 2014-05-09 Roland McGrath <roland@hack.frob.com>
3568 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3570 2014-05-09 Joseph Myers <joseph@codesourcery.com>
3573 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3574 and <dl-procinfo.h>.
3575 (__fegetenv): Save SSE state in envp->__eip if supported.
3576 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3577 envp->__eip if supported.
3578 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3579 and <dl-procinfo.h>.
3580 (__fesetenv): Always set __eip, __cs_selector, __opcode,
3581 __data_offset and __data_selector in environment to 0. Set SSE
3583 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3585 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3587 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3589 2014-05-09 Will Newton <will.newton@linaro.org>
3591 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3592 and libc_relro_required for ARM.
3593 * sysdeps/arm/preconfigure: Regenerate.
3595 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
3596 Stefan Liebler <stli@linux.vnet.ibm.com>
3598 * config.make.in (enable-lock-elision): New Makefile variable.
3599 * configure.ac: Likewise.
3600 * configure: Regenerate.
3601 * sysdeps/s390/configure.ac:
3602 Add check for gcc transactions support.
3603 * sysdeps/s390/configure: Regenerate.
3604 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3605 Build elision files if enabled.
3606 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3607 Add lock elision support for s390.
3608 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3609 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3610 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3611 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3612 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3613 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3614 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3616 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3618 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3620 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3622 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3623 (__lll_timedlock_elision, __lll_lock_elision)
3624 (__lll_unlock_elision, __lll_trylock_elision)
3625 (lll_timedlock_elision, lll_lock_elision)
3626 (lll_unlock_elision, lll_trylock_elision): Add.
3627 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3628 (pthread_mutex_t): Add lock elision support for s390.
3630 2014-05-14 Wilco <wdijkstr@arm.com>
3632 * sysdeps/arm/fclrexcpt.c: Cleanup.
3633 * sysdeps/arm/fedisblxcpt.c: Cleanup.
3634 * sysdeps/arm/feenablxcpt.c: Cleanup.
3635 * sysdeps/arm/fegetenv.c: Cleanup.
3636 * sysdeps/arm/fegetexcept.c: Cleanup.
3637 * sysdeps/arm/fegetround.c: Cleanup.
3638 * sysdeps/arm/feholdexcpt.c: Cleanup.
3639 * sysdeps/arm/fesetenv.c: Cleanup.
3640 * sysdeps/arm/fesetround.c: Cleanup.
3641 * sysdeps/arm/feupdateenv.c: Cleanup.
3642 * sysdeps/arm/fgetexcptflg.c: Cleanup.
3643 * sysdeps/arm/fraiseexcpt.c: Cleanup.
3644 * sysdeps/arm/fsetexcptflg.c: Cleanup.
3645 * sysdeps/arm/ftestexcept.c: Cleanup.
3646 * sysdeps/arm/get-rounding-mode.h: Cleanup.
3647 * sysdeps/arm/setfpucw.c: Cleanup.
3649 2014-05-09 Will Newton <will.newton@linaro.org>
3651 * sysdeps/arm/armv7/strcmp.S: New file.
3652 * NEWS: Mention addition of ARMv7 optimized strcmp.
3654 2014-05-08 Roland McGrath <roland@hack.frob.com>
3656 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
3657 look for %.ac rather than %.in.
3659 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
3660 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
3661 * sysdeps/mach/hurd/configure: Regenerated.
3662 * sysdeps/unix/sysv/linux/configure: Regenerated.
3664 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
3666 2014-05-07 Steve Ellcey <sellcey@mips.com>
3669 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
3673 2014-05-07 Andreas Schwab <schwab@suse.de>
3675 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
3676 when skipping over non-matching result from nscd.
3678 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
3681 * nptl/sockperf.c (client): Check socket return value.
3684 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
3685 nscd security class.
3687 2014-05-06 Roland McGrath <roland@hack.frob.com>
3689 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
3690 * sysdeps/arm/unwind.h: ... here.
3692 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
3695 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
3698 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3700 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
3701 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
3702 multiarch strncpy for PPC64.
3703 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
3704 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
3705 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
3706 multiarch optimizations.
3707 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3708 (__libc_ifunc_impl_list): Likewise.
3709 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
3710 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
3711 multiarch stpncpy for PPC64.
3712 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
3713 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
3715 2014-05-06 Andreas Schwab <schwab@suse.de>
3718 * gmon/mcount.c (_MCOUNT_DECL): Use
3719 atomic_compare_and_exchange_bool_acq instead of
3720 catomic_compare_and_exchange_bool_acq.
3722 2014-05-05 Roland McGrath <roland@hack.frob.com>
3724 * elf/Makefile (others, install-bin): Remove pldd.
3725 (pldd-modules): Variable removed.
3726 ($(objpfx)pldd): Target removed.
3727 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
3728 (others, install-bin): Append pldd here.
3729 ($(objpfx)pldd): New target.
3731 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
3732 to 0, so the first #if test emitted later doesn't see it undefined.
3733 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
3734 * sysdeps/gnu/errlist.c: Regenerated.
3736 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3738 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3739 [libc_hidden_builtin_def]: Define to empty value.
3740 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
3741 [libc_hidden_builtin_def]: Likewise.
3742 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
3743 [libc_hidden_builtin_def]: Likewise.
3744 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
3745 [libc_hidden_builtin_def]: Likewise.
3746 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
3747 __redirect_memcpy and define ifunc as default hidden symbol.
3748 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
3749 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
3751 2014-05-04 Adam Conrad <adconrad@0c3.net>
3753 * locale/iso-4217.def: Reintroduce XDR currency.
3755 2014-05-04 Allan McRae <allan@archlinux.org>
3757 * po/eo.po: Update Esperanto translation from translation project.
3759 2014-05-02 Carlos O'Donell <carlos@redhat.com>
3761 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
3762 and FEATURE_INDEX_MAX to 1.
3763 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
3765 2014-05-01 Steve Ellcey <sellcey@mips.com>
3767 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
3768 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
3769 * iconvdata/big5.c (ONE_DIRECTION): Define.
3770 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
3771 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
3772 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
3773 * iconvdata/cp932.c (ONE_DIRECTION): Define.
3774 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
3775 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
3776 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
3777 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
3778 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
3779 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
3780 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
3781 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
3782 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
3783 * iconvdata/gbk.c (ONE_DIRECTION): Define.
3784 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
3785 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
3786 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
3787 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
3788 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
3789 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
3790 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
3791 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
3792 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
3793 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
3794 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
3795 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
3796 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
3797 * iconvdata/iso646.c (ONE_DIRECTION): Define.
3798 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
3799 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
3800 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
3801 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
3802 * iconvdata/johab.c (ONE_DIRECTION): Define.
3803 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
3804 * iconvdata/sjis.c (ONE_DIRECTION): Define.
3805 * iconvdata/t.61.c (ONE_DIRECTION): Define.
3806 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
3807 * iconvdata/tscii.c (ONE_DIRECTION): Define.
3808 * iconvdata/uhc.c (ONE_DIRECTION): Define.
3809 * iconvdata/unicode.c (ONE_DIRECTION): Define.
3810 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
3811 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
3812 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
3814 2014-05-01 Roland McGrath <roland@hack.frob.com>
3816 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
3817 (_IO_JUMPS_OFFSET): Define to 0.
3819 * nptl/sysdeps/pthread/bits/libc-lock.h
3820 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3821 (__libc_lock_define_initialized_recursive): Always define using
3822 initializer. Modern compilers treat uninitialized (implicit zero) and
3823 explicit zero initializers the same (i.e. put the datum in bss).
3825 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3827 * nscd/nscd-client.h: Include <string.h>.
3829 2014-05-01 David S. Miller <davem@davemloft.net>
3832 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
3833 multiple zero bytes exist at the end of a string.
3834 Reported by Aurelien Jarno <aurelien@aurel32.net>
3836 * string/test-strcmp.c (check): Add explicit test for situations where
3837 there are multiple zero bytes after the first.
3839 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3842 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
3843 when compiling wprintf.
3844 * stdio-common/tstdiomisc.c (t3): New function.
3847 2014-05-01 Steve Ellcey <sellcey@mips.com>
3849 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
3850 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
3851 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
3852 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
3854 2014-05-01 Steve Ellcey <sellcey@mips.com>
3856 * stdlib/longlong.h: Updated from GCC.
3858 2014-05-01 Will Newton <will.newton@linaro.org>
3859 Bernard Ogden <bernie.ogden@linaro.org>
3861 * NEWS: Update fixed bug list.
3864 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
3866 2014-04-30 David S. Miller <davem@davemloft.net>
3868 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
3869 (libc_feholdexcept_setround_sparc_ctx): New function.
3870 (libc_fesetenv_sparc_ctx): Likewise.
3871 (libc_feupdateenv_sparc_ctx): Likewise.
3872 (libc_feholdsetround_sparc_ctx): Likewise.
3873 (libc_feholdexcept_setround_ctx): Define.
3874 (libc_feholdexcept_setroundf_ctx): Likewise.
3875 (libc_feholdexcept_setroundl_ctx): Likewise.
3876 (libc_fesetenv_ctx): Likewise.
3877 (libc_fesetenvf_ctx): Likewise.
3878 (libc_fesetenvl_ctx): Likewise.
3879 (libc_feupdateenv_ctx): Likewise.
3880 (libc_feupdateenvf_ctx): Likewise.
3881 (libc_feupdateenvl_ctx): Likewise.
3882 (libc_feresetround_ctx): Likewise.
3883 (libc_feresetroundf_ctx): Likewise.
3884 (libc_feresetroundl_ctx): Likewise.
3885 (libc_feholdsetround_ctx): Likewise.
3886 (libc_feholdsetroundf_ctx): Likewise.
3887 (libc_feholdsetroundl_ctx): Likewise.
3889 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3890 with __USE_GNU instead of XOPEN cpp guards.
3892 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
3895 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3896 with XOPEN cpp guards.
3898 2014-04-30 Julian Brown <julian@codesourcery.com>
3901 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
3904 2014-04-30 Joseph Myers <joseph@codesourcery.com>
3907 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3909 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
3910 * sysdeps/unix/sysv/linux/configure: Regenerated.
3911 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
3912 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
3913 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
3914 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
3915 * README: Update reference to required Linux kernel version.
3916 * manual/install.texi (Linux): Update reference to required Linux
3917 kernel headers version.
3918 * INSTALL: Regenerated.
3920 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
3922 [POSIX] (limits.h): Likewise.
3923 [POSIX] (math.h): Likewise.
3924 [POSIX] (sys/wait.h): Likewise.
3925 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
3927 [POSIX] (stddef.h): Do not allow header inclusion.
3929 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3931 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
3933 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
3935 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3936 Return immediately after lll_futex_wake.
3938 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3941 * nscd/nscd-client.h (datahead_init_common): Initialize entire
3943 (datahead_init_pos): Call datahead_init_common early.
3944 (datahead_init_neg): Likewise.
3946 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
3947 datahead_init_neg): New functions.
3948 * nscd/aicache.c (addhstaiX): Use them.
3949 * nscd/grpcache.c (cache_addgr): Likewise.
3950 * nscd/hstcache.c (cache_addhst): Likewise.
3951 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3952 * nscd/netgroupcache.c (do_notfound): Likewise.
3953 (addgetnetgrentX): Likewise.
3954 (addinnetgrX): Likewise.
3955 * nscd/pwdcache.c (cache_addpw): Likewise.
3956 * nscd/servicescache.c (cache_addserv): Likewise.
3958 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3959 Atsushi Onoe <atsushi@onoe.org>
3964 * resolv/res_query.c (__libc_res_nsearch): Return if at least
3965 one response is valid.
3966 * resolv/res_send.c (send_dg): Check for validity of other
3967 response if the current response is a referral.
3969 2014-04-29 Steve Ellcey <sellcey@mips.com>
3971 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3973 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
3976 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3977 Always divide by positive zero when computing -Inf result.
3978 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3979 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3981 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3983 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3984 FPSCR if value do not change.
3985 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3986 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
3987 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3988 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3989 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3990 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
3993 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
3995 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3996 * sysdeps/unix/sysv/linux/hppa: Move directory from
3997 ports/systeps/unix/sysv/linux/hppa.
3998 * README: Update listing for hppa-*-linux-gnu.
4000 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
4003 * manual/stdio.texi (Hook functions): Fix types of stream hook
4006 * socket/sys/socket.h: Fix typo in comment.
4008 2014-04-28 Wilco <wdijkstr@arm.com>
4010 * sysdeps/arm/fenv_private.h: New file.
4011 * sysdeps/arm/math_private.h: New file.
4012 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4014 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
4016 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4018 (La_x86_64_retval): Likewise.
4020 2014-04-24 Ian Bolton <ian.bolton@arm.com>
4022 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4023 fpsr if value didn't change.
4024 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4025 to fpcr if value didn't change.
4026 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4027 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4028 fpsr or fpcr if value didn't change.
4029 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4030 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4031 fpcr if value didn't change.
4032 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4033 to fpsr if value didn't change.
4035 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4037 * nptl/tst-sem3.c: Use test-skeleton.c
4038 (main): Rename to do_test. Use return instead of
4040 * nptl/tst-sem4.c: Use test-skeleton.c
4041 (main): Rename to do_test.
4043 2014-04-22 David S. Miller <davem@davemloft.net>
4045 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4046 (struct sigaction): New struct member __glibc_reserved0, change
4047 type of sa_flags to int.
4049 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
4051 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4052 (COUNT_LEADING_ZEROS_0): Define for AArch64.
4054 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4056 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4057 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4059 2014-04-22 Will Newton <will.newton@linaro.org>
4060 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
4062 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4063 (__longjmp): Add longjmp and longjmp_target SystemTap
4065 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4066 (__sigsetjmp): Add setjmp SystemTap probe.
4068 2014-04-17 Carlos O'Donell <carlos@redhat.com>
4070 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4073 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4075 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4077 * sysdeps/powerpc/fpu/fenv_private.h
4078 (libc_feholdexcept_setroundl_ctx): Define to
4079 libc_feholdexcept_setround_ppc_ctx.
4080 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4081 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4082 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4083 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4085 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4087 * sysdeps/aarch64/math-tests.h: New file.
4089 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
4091 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4093 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4094 Check and set bit_AVX2_Usable.
4095 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4097 (bit_AVX2): Likewise.
4098 (index_AVX2_Usable): Likewise.
4099 (CPUID_AVX2): Likewise.
4100 (HAS_AVX2): Likewise.
4102 2014-04-17 Will Newton <will.newton@linaro.org>
4104 * manual/setjmp.texi (System V contexts): Add note that
4105 calling setcontext on a context created by a call to a
4106 signal handler is undefined. Update text to note that
4107 setcontext from a signal handler is possible but not
4111 * stdlib/tst-setcontext.c: Include signal.h.
4112 (main): Check that the signal stack before and
4113 after swapcontext is the same.
4115 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4116 Re-implement to restore registers in user code and avoid
4117 rt_sigreturn system call.
4119 2014-04-17 Wilco <wdijkstr@arm.com>
4121 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4122 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4123 * math/test-fenv.c: Skip exception trap tests on targets which only
4124 support non-stop mode.
4126 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4127 Wilco Dijkstra <wilco.dijkstra@arm.com>
4129 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
4130 (libc_feholdsetround_aarch64_ctx)
4131 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
4132 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
4133 (libc_feresetround_ctx, libc_feresetroundf_ctx)
4134 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
4135 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
4136 (libc_feresetround_noexl_ctx): Define.
4138 2014-04-16 Richard Henderson <rth@redhat.com>
4140 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
4142 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
4145 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
4146 const from the non-libc, non-ldso copy.
4148 * sysdeps/alpha/libm-test-ulps: Regenerate.
4150 2014-04-16 Ian Bolton <ian.bolton@arm.com>
4151 Wilco Dijkstra <wilco.dijkstra@arm.com>
4153 * sysdeps/aarch64/fpu/math_private.h: New file.
4155 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
4157 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4159 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
4161 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
4162 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
4163 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
4164 Intel MPX bound registers before _dl_profile_fixup.
4165 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
4166 registers after _dl_profile_fixup. Save and restore bound
4167 registers bnd0/bnd1 when calling _dl_call_pltexit.
4168 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
4169 (LR_BND_OFFSET): Likewise.
4170 (LRV_BND0_OFFSET): Likewise.
4171 (LRV_BND1_OFFSET): Likewise.
4173 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4175 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
4177 * sysdeps/mach/hurd/i386/tls.h: ... here.
4178 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
4179 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
4182 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4184 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
4186 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4188 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4190 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4193 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
4194 * sysdeps/s390/configure: Regenerate.
4197 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
4198 Set round-to-nearest internally to reduce error accumulation.
4200 2014-04-16 Alan Modra <amodra@gmail.com>
4204 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
4205 * math/libm-test.inc (frexp_test_data): Add tests.
4206 * NEWS: Update fixed bug list.
4208 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4210 * benchtests/Makefile: Depend on libraries in build directory.
4211 (bench-math): Separate out math tests.
4212 (bench-pthread): Separate out pthread tests.
4213 (bench): Include math and pthread tests.
4215 2014-04-14 Carlos O'Donell <carlos@redhat.com>
4218 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
4219 _dl_debug_initialize.
4221 * configure.ac: Remove SELinux header check.
4222 * configure: Regenerate.
4223 * nscd/selinux.c (perms): Array of const char* to permission names.
4224 (nscd_request_avc_has_perm): Call security_deny_unknown to find
4225 default policy. Call string_to_security_class and string_to_av_perm to
4226 translate strings. Enforce default policy and call avs_has_perm with
4227 results of translated strings.
4229 2014-04-13 David S. Miller <davem@davemloft.net>
4231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4233 2014-04-12 Allan McRae <allan@archlinux.org>
4236 * manual/string.texi (Collation Functions): Fix qsort argument
4238 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4240 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
4242 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
4243 Make the test a no-op if there are no exceptions defined.
4245 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
4247 * elf/Makefile (tests): make tst-dlopen-aout conditional on
4248 enable-hardcoded-path-in-tests
4250 2014-04-11 Will Newton <will.newton@linaro.org>
4252 * benchtests/Makefile (extra-objs): Add json-lib.o.
4253 (bench-func): Tidy up JSON output.
4254 * benchtests/bench-skeleton.c: Include json-lib.h.
4255 (main): Use JSON library functions to do output of
4257 * benchtests/bench-timing-type.c (main): Output the
4258 timing type simply, leaving formatting to the user.
4259 * benchtests/json-lib.c: New file.
4260 * benchtests/json-lib.h: Likewise.
4262 2014-04-11 Torvald Riegel <triegel@redhat.com>
4265 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
4266 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
4267 memory barriers. Add comments.
4268 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
4269 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
4270 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
4271 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
4272 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
4273 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
4275 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4277 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
4278 * sysdeps/s390/s390-64/configure.ac: ... this ...
4279 * sysdeps/s390/configure.ac: ... to here.
4280 * sysdeps/s390/s390-32/configure: Delete file.
4281 * sysdeps/s390/s390-64/configure: Delete file.
4282 * sysdeps/s390/configure: Regenerate.
4284 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
4286 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
4288 2014-04-11 Will Newton <will.newton@linaro.org>
4290 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
4291 to zero if it is not defined elsewhere. (mtrim): Test
4292 the value of MALLOC_DEBUG with #if rather than #ifdef.
4294 2014-04-10 Torvald Riegel <triegel@redhat.com>
4296 * benchtests/pthread_once-inputs: New file.
4297 * benchtests/pthread_once-source.c: New file.
4298 * benchtests/README: Update documentation.
4300 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
4301 H.J. Lu <hongjiu.lu@intel.com>
4303 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
4304 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
4305 * sysdeps/x86_64/configure: Regenerated.
4306 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
4308 (REGISTER_SAVE_RAX): Likewise.
4309 (REGISTER_SAVE_RCX): Likewise.
4310 (REGISTER_SAVE_RDX): Likewise.
4311 (REGISTER_SAVE_RSI): Likewise.
4312 (REGISTER_SAVE_RDI): Likewise.
4313 (REGISTER_SAVE_R8): Likewise.
4314 (REGISTER_SAVE_R9): Likewise.
4315 (REGISTER_SAVE_BND0): Likewise.
4316 (REGISTER_SAVE_BND1): Likewise.
4317 (REGISTER_SAVE_BND2): Likewise.
4318 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
4319 bound registers when calling _dl_fixup.
4321 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4323 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
4324 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
4326 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
4327 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
4328 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
4329 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
4330 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
4331 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
4332 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
4334 2014-04-09 Peter Brett <peter@peter-b.co.uk>
4337 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
4338 pathconf(_PC_NAME_MAX).
4340 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4342 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
4344 (__PTHREAD_SPINS): Move definition to ...
4345 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4346 (__PTHREAD_SPINS): ... here.
4347 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4348 (__PTHREAD_SPIN): Likewise.
4349 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
4350 (__PTHREAD_SPIN): Likewise.
4351 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
4352 (__PTHREAD_SPIN): Likewise.
4353 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
4354 (__PTHREAD_SPIN): Likewise.
4355 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4356 (__PTHREAD_SPIN): Likewise.
4357 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4358 (__PTHREAD_SPIN): Likewise.
4359 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
4360 (__PTHREAD_SPIN): Likewise.
4361 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4362 (__PTHREAD_SPIN): Likewise.
4363 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4364 (__PTHREAD_SPIN): Likewise.
4365 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4366 (__PTHREAD_SPIN): Likewise.
4367 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4368 (__PTHREAD_SPIN): Likewise.
4369 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
4370 (__PTHREAD_SPIN): Likewise.
4372 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
4373 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
4374 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
4375 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
4377 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
4378 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
4379 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
4380 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
4382 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
4383 strlen symbol for non multi-arch builds.
4384 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
4385 missing hidden_def and weak_alias.
4387 2014-04-08 Carlos O'Donell <carlos@redhat.com>
4389 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
4391 2014-04-07 Will Newton <will.newton@linaro.org>
4393 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
4394 and contents. [!_LIBC] Remove #ifndef and contents.
4395 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
4396 * string/memccpy.c (__memccpy): Use ANSI prototype.
4397 * string/memfrob.c (memfrob): Likewise.
4398 * string/strcoll.c (STRCOLL): Likewise.
4399 * string/strlen.c (strlen): Likewise.
4400 * string/strtok.c (STRTOK): Likewise.
4401 * string/strcat.c: Remove unused #include of memcopy.h.
4402 (strcat): Use ANSI prototype.
4403 * string/strchr.c: Remove unused #include of memcopy.h.
4404 (strchr): Use ANSI prototype.
4405 * string/strcmp.c: Remove unused #include of memcopy.h.
4406 (strcmp): Use ANSI prototype.
4407 * string/strcpy.c: Remove unused #include of memcopy.h.
4408 (strcpy): Use ANSI prototype.
4410 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4412 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
4413 * config.make.in (config-extra-cppflags): Set it from
4414 libc_extra_cppflags.
4415 * configure.ac (libc_extra_cflags): Make it accumulate over
4416 configure fragments.
4417 (libc_extra_cppflags): New flag.
4418 * configure. Regenerate.
4419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4420 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
4421 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
4422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4425 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
4426 result for FE_DOWNWARD rounding mode.
4427 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4429 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4431 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
4433 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
4434 in function argument name.
4436 2014-04-03 David Svoboda <svoboda@cert.org>
4439 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
4442 2014-04-03 Roland McGrath <roland@hack.frob.com>
4444 * elf/dl-unmap-segments.h: New file.
4445 * sysdeps/generic/ldsodefs.h
4446 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
4447 * elf/dl-close.c: Include <dl-unmap-segments.h>.
4448 * elf/dl-fptr.c: Likewise.
4449 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
4450 * sysdeps/aarch64/tlsdesc.c: Likewise.
4451 * sysdeps/arm/tlsdesc.c: Likewise.
4452 * sysdeps/i386/tlsdesc.c: Likewise.
4453 * sysdeps/tile/dl-runtime.c: Likewise.
4454 * sysdeps/x86_64/tlsdesc.c: Likewise.
4455 * elf/dl-load.h: New file.
4456 * elf/dl-load.c: Include it.
4457 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4458 Macros moved to dl-load.h.
4459 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4460 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4461 Use _dl_unmap_segments in place of __munmap.
4462 Break out segment-mapping loop into ...
4463 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4465 2014-04-03 Will Newton <will.newton@linaro.org>
4467 * elf/dl-lookup.c (do_lookup_x): Remove comment
4468 referring to nested function and move variable
4469 declarations down to before first use.
4471 2014-04-02 Joseph Myers <joseph@codesourcery.com>
4475 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4477 * math/s_catanf.c (__catanf): Likewise.
4478 * math/s_catanh.c (__catanh): Likewise.
4479 * math/s_catanhf.c (__catanhf): Likewise.
4480 * math/s_catanhl.c (__catanhl): Likewise.
4481 * math/s_catanl.c (__catanl): Likewise.
4482 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4483 by positive zero when computing -Inf result.
4484 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4485 (catanh_test): Likewise.
4486 * sysdeps/i386/fpu/libm-test-ulps: Update.
4487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4490 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4491 instead of using underflowing value in computing result.
4492 * math/s_clog10.c (__clog10): Likewise.
4493 * math/s_clog10f.c (__clog10f): Likewise.
4494 * math/s_clog10l.c (__clog10l): Likewise.
4495 * math/s_clogf.c (__clogf): Likewise.
4496 * math/s_clogl.c (__clogl): Likewise.
4497 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4498 (clog10_test): Likewise.
4499 * sysdeps/i386/fpu/libm-test-ulps: Update.
4500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4502 2014-04-02 Alan Modra <amodra@gmail.com>
4505 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4506 output when value is near a power of two. Use int64_t for lx and
4507 remove casts. Use decimal rather than hex exponent constants.
4508 Don't use long double multiplication when double will suffice.
4509 * math/libm-test.inc (nextafter_test_data): Add tests.
4510 * NEWS: Add 16739 and 16786 to bug list.
4512 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4514 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4516 2014-04-01 Will Newton <will.newton@linaro.org>
4518 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4519 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
4521 2014-04-01 Florian Weimer <fweimer@redhat.com>
4524 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4525 * nptl/tst-setuid2.c: New file.
4526 * nptl/Makefile (xtests): Add tst-setuid2.
4528 2014-04-01 Alan Modra <amodra@gmail.com>
4531 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4533 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4537 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4538 set errno as appropriate.
4539 * math/w_scalbf.c (__scalbf): Likewise.
4540 * math/w_scalbl.c (__scalbl): Likewise.
4541 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4542 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4543 * math/libm-test.inc (scalb_test_data): Add errno expectations.
4547 * math/w_atan2.c: Include <errno.h>.
4548 (__atan2): Set errno for result underflowing to zero.
4549 * math/w_atan2f.c: Include <errno.h>.
4550 (__atan2f): Set errno for result underflowing to zero.
4551 * math/w_atan2l.c: Include <errno.h>.
4552 (__atan2l): Set errno for result underflowing to zero.
4553 * math/auto-libm-test-in: Don't allow missing errno for some atan2
4555 * math/auto-libm-test-out: Regenerated.
4557 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4559 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4560 Encode instruction correctly in little endian.
4561 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4563 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4565 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4567 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4570 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4573 * sysdeps/unix/sysv/linux/kernel-features.h
4574 [__sparc__ && !__arch64__ && !__sparc_v9__]
4575 (__ASSUME_SET_ROBUST_LIST): Do not define.
4576 [__sparc__ && !__arch64__ && !__sparc_v9__]
4577 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4578 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4580 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4581 (__ASSUME_FUTEX_LOCK_PI): Undefine.
4582 (__ASSUME_REQUEUE_PI): Likewise.
4583 (__ASSUME_SET_ROBUST_LIST): Likewise.
4584 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4585 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4587 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4588 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4590 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4592 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4594 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4595 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4597 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4598 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4602 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4603 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4604 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4606 2014-03-31 Will Newton <will.newton@linaro.org>
4608 * benchtests/Makefile (bench): Add ffs and ffsll to list
4610 * benchtests/ffs-inputs: New file.
4611 * benchtests/ffsll-inputs: Likewise.
4613 2014-03-29 Joseph Myers <joseph@codesourcery.com>
4616 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4617 too large before casting to int.
4618 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4619 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4620 * math/libm-test.inc (scalb_test_data): Add more tests.
4622 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4624 * benchtests/Makefile (DETAILED_OPT): New make option.
4625 (bench-func): Run benchmark program with -d if DETAILED_OPT is
4627 * benchtests/bench-skeleton.c: Include stdbool.h.
4628 (main): Store and print timings per input.
4629 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4630 member to each argument value.
4631 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4632 (_print_arg_data): Initialize per-input timing to 0.
4634 * benchtests/Makefile (timing-type): New binary.
4635 (bench-clean): Also remove bench-timing-type.
4636 (bench): New target for timing-type.
4637 (bench-func): Print output in JSON format.
4638 * benchtests/bench-skeleton.c (main): Print output in JSON
4640 * benchtests/bench-timing-type.c: New file.
4641 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
4642 (TIMING_PRINT_STATS): Remove.
4643 * benchtests/scripts/bench.py (_print_arg_data): Store variant
4646 * benchtests/bench-modf.c: Remove.
4647 * benchtests/modf-inputs: New inputs file.
4649 2014-03-28 Joseph Myers <joseph@codesourcery.com>
4652 * math/s_clog10.c (M_PI_LOG10E): New macro.
4653 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
4654 imaginary parts are 0.
4655 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
4656 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
4657 imaginary parts are 0.
4658 * math/s_clog10l.c (M_PI_LOG10El): New macro.
4659 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
4660 imaginary parts are 0.
4661 * math/libm-test.inc (clog10_test_data): Update expected results
4662 for when real and imaginary parts are 0.
4664 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
4666 * elf/dl-load.c: Finish conversion of __builtin_expect into
4669 2014-03-27 Joseph Myers <joseph@codesourcery.com>
4672 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
4673 1+x for argument with exponent below -67.
4674 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
4676 * math/auto-libm-test-in: Add more tests of exp.
4677 * math/auto-libm-test-out: Regenerated.
4679 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4682 * inet/getnetgrent_r.c (get_nonempty_val): New function.
4683 (nscd_getnetgrent): Use it.
4686 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
4689 2014-03-27 Andi Kleen <ak@linux.intel.com>
4691 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
4692 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4693 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4694 (lll_robust_unlock): Remove out of line section. Use cfi
4696 (LLL_STUB_UNWIND_INFO*): Remove.
4697 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
4698 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4699 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4700 (lll_robust_unlock): Remove out of line section. Use cfi
4702 (LLL_STUB_UNWIND_INFO*): Remove.
4704 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4707 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
4710 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
4712 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
4714 2014-03-26 Joseph Myers <joseph@codesourcery.com>
4717 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
4719 * math/test-fenv-preserve.c: New file.
4720 * math/Makefile (tests): Add test-fenv-preserve.
4722 2014-03-26 Will Newton <will.newton@linaro.org>
4724 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
4726 2014-03-25 Roland McGrath <roland@hack.frob.com>
4728 * scripts/versionlist.awk: Partition the version sets and emit all
4729 GLIBC_* (sorted) before all others (sorted).
4731 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4733 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
4734 GLIBC_2.2.5 version.
4736 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4738 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
4741 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
4744 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4746 2014-03-25 Andreas Schwab <schwab@suse.de>
4748 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
4749 label to be used after in6ailist is initialized.
4751 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4753 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4754 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4756 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4760 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
4762 (fp_formats): Update initializers.
4763 (init_fp_formats): Initialize new field.
4764 (output_for_one_input_case): Allow underflow for results up to
4766 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
4767 * math/auto-libm-test-in: Don't mark some underflows from asin and
4769 * math/auto-libm-test-out: Regenerated.
4770 * sysdeps/i386/fpu/libm-test-ulps: Update.
4771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4773 2014-03-25 Andreas Schwab <schwab@suse.de>
4775 * libio/Makefile (tst-ftell-partial-wide-ENV)
4776 (tst-ftell-active-handler-ENV): Define.
4778 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4780 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
4782 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4784 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
4786 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4788 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
4789 * sysdeps/x86_64/fpu/multiarch/e_exp.c
4790 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4792 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4795 * elf/dl-load.c (open_verify): Add mode parameter.
4796 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
4797 (open_path): Change from boolean 'secure' to complete flag 'mode'
4798 (_dl_map_object): Adjust.
4799 * elf/Makefile (tests): Add tst-dlopen-aout.
4800 * elf/tst-dlopen-aout.c: New test.
4802 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4805 * sysdeps/unix/sysv/linux/s390/bits/stat.h
4806 (struct stat): Rename member pad0 to __glibc_reserved0.
4809 * sysdeps/s390/s390-32/bits/wordsize.h
4810 (__WORDSIZE32_SIZE_ULONG): New define.
4811 * sysdeps/s390/s390-64/bits/wordsize.h
4812 (__WORDSIZE32_SIZE_ULONG): Likewise.
4813 * sysdeps/generic/stdint.h (SIZE_MAX):
4814 Define as UL if __WORDSIZE32_SIZE_ULONG.
4817 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4818 (__glibc_reserved0): New variable.
4819 (sa_flags): Change type to int.
4821 * posix/Makefile (before-compile): Use += before-compile instead
4824 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4825 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4827 2014-03-20 Andreas Schwab <schwab@suse.de>
4830 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
4831 non-matching result from nscd.
4833 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4835 * scripts/bench.py: Moved to ...
4836 * benchtests/scripts/bench.py: ... here.
4837 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
4839 2014-03-24 Andreas Schwab <schwab@suse.de>
4842 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
4843 alloca_account and account alloca use for struct in6ailist.
4845 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4848 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
4849 rounding mode to recompute results that overflow to infinity or
4851 * math/auto-libm-test-in: Don't mark tests as expected to fail for
4853 * math/auto-libm-test-out: Regenerated.
4854 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
4855 (ccosh_test): Likewise.
4856 (csin_test_data): Use plus_oflow.
4857 (csin_test): Use ALL_RM_TEST.
4858 (csinh_test_data): Use plus_oflow.
4859 (csinh_test): Use ALL_RM_TEST.
4860 * sysdeps/i386/fpu/libm-test-ulps: Update.
4861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4863 2014-03-21 Joseph Myers <joseph@codesourcery.com>
4865 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
4866 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
4867 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
4870 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
4872 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
4873 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
4874 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4875 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
4877 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
4878 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
4880 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
4881 * sysdeps/i386/fpu/libm-test-ulps: Update.
4882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4884 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4886 * scripts/bench.pl: Remove file.
4887 * scripts/bench.py: New benchmark script.
4888 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
4889 * benchtests/README: Mention python dependency.
4890 * scripts/pylintrc: New file.
4891 * scripts/pylint: New file.
4893 * bits/mathdef.h: Use #ifdef instead of #if.
4894 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
4895 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4896 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
4897 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4898 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
4899 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4901 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4902 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4904 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
4905 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
4906 and strpbrk-ppc64 objects.
4907 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4908 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
4909 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
4910 multiarch strpbrk for POWER7.
4911 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
4912 multiarch strpbrk for PPC64.
4913 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
4915 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
4918 2014-03-20 Joseph Myers <joseph@codesourcery.com>
4920 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
4921 (atan_test): Likewise.
4922 (atanh_test_data): Use NO_TEST_INLINE for two tests.
4923 (atanh_test): Use ALL_RM_TEST.
4924 (atan2_test_data): Likewise.
4925 (cabs_test): Likewise.
4926 (cacosh_test): Likewise.
4927 (carg_test): Likewise.
4928 (casin_test): Likewise.
4929 (casinh_test): Likewise.
4930 (cbrt_test): Likewise.
4931 (csqrt_test): Likewise.
4932 (erf_test): Likewise.
4933 (erfc_test): Likewise.
4934 (pow10_test): Likewise.
4935 (exp2_test): Likewise.
4936 (hypot_test): Likewise.
4937 (j0_test): Likewise.
4938 (j1_test): Likewise.
4939 (lgamma_test): Likewise.
4940 (gamma_test): Likewise.
4941 (sincos_test): Likewise.
4942 (tanh_test): Likewise.
4943 (y0_test): Likewise.
4944 (y1_test): Likewise.
4945 * sysdeps/i386/fpu/libm-test-ulps: Update.
4946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4948 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4950 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
4951 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
4952 and strcspn-ppc64 objects.
4953 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4954 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
4955 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
4956 multiarch strcspn for POWER7.
4957 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
4958 multiarch strcspn for PPC64.
4959 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
4961 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
4964 2014-03-20 Joseph Myers <joseph@codesourcery.com>
4966 * math/gen-libm-test.pl (generate_testfile): Expect only function
4967 name as argument to AUTO_TESTS_* and pass results for all rounding
4968 modes to parse_args.
4969 (parse_auto_input): Separate inputs of automatic tests from
4970 outputs before storing in %auto_tests.
4971 * math/libm-test.inc (acos_test_data): Update call to
4973 (acos_test): Use ALL_RM_TEST.
4974 (acos_tonearest_test_data): Remove.
4975 (acos_test_tonearest): Likewise.
4976 (acos_towardzero_test_data): Likewise.
4977 (acos_test_towardzero): Likewise.
4978 (acos_downward_test_data): Likewise.
4979 (acos_test_downward): Likewise.
4980 (acos_upward_test_data): Likewise.
4981 (acos_test_upward): Likewise.
4982 (acosh_test_data): Update call to AUTO_TESTS_f_f.
4983 (asin_test_data): Likewise.
4984 (asin_test): Use ALL_RM_TEST.
4985 (asin_tonearest_test_data): Remove.
4986 (asin_test_tonearest): Likewise.
4987 (asin_towardzero_test_data): Likewise.
4988 (asin_test_towardzero): Likewise.
4989 (asin_downward_test_data): Likewise.
4990 (asin_test_downward): Likewise.
4991 (asin_upward_test_data): Likewise.
4992 (asin_test_upward): Likewise.
4993 (asinh_test_data): Update call to AUTO_TESTS_f_f.
4994 (atan_test_data): Likewise.
4995 (atanh_test_data): Likewise.
4996 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4997 (cabs_test_data): Update call to AUTO_TESTS_c_f.
4998 (carg_test_data): Likewise.
4999 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5000 (ccos_test_data): Update call to AUTO_TESTS_c_c.
5001 (ccosh_test_data): Likewise.
5002 (cexp_test_data): Likewise.
5003 (clog_test_data): Likewise.
5004 (clog10_test_data): Likewise.
5005 (cos_test_data): Update call to AUTO_TESTS_f_f.
5006 (cos_test): Use ALL_RM_TEST.
5007 (cos_tonearest_test_data): Remove.
5008 (cos_test_tonearest): Likewise.
5009 (cos_towardzero_test_data): Likewise.
5010 (cos_test_towardzero): Likewise.
5011 (cos_downward_test_data): Likewise.
5012 (cos_test_downward): Likewise.
5013 (cos_upward_test_data): Likewise.
5014 (cos_test_upward): Likewise.
5015 (cosh_test_data): Update call to AUTO_TESTS_f_f.
5016 (cosh_test): Use ALL_RM_TEST.
5017 (cosh_tonearest_test_data): Remove.
5018 (cosh_test_tonearest): Likewise.
5019 (cosh_towardzero_test_data): Likewise.
5020 (cosh_test_towardzero): Likewise.
5021 (cosh_downward_test_data): Likewise.
5022 (cosh_test_downward): Likewise.
5023 (cosh_upward_test_data): Likewise.
5024 (cosh_test_upward): Likewise.
5025 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5026 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5027 (ctan_test_data): Likewise.
5028 (ctan_test): Use ALL_RM_TEST.
5029 (ctan_tonearest_test_data): Remove.
5030 (ctan_test_tonearest): Likewise.
5031 (ctan_towardzero_test_data): Likewise.
5032 (ctan_test_towardzero): Likewise.
5033 (ctan_downward_test_data): Likewise.
5034 (ctan_test_downward): Likewise.
5035 (ctan_upward_test_data): Likewise.
5036 (ctan_test_upward): Likewise.
5037 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5038 (ctanh_test): Use ALL_RM_TEST.
5039 (ctanh_tonearest_test_data): Remove.
5040 (ctanh_test_tonearest): Likewise.
5041 (ctanh_towardzero_test_data): Likewise.
5042 (ctanh_test_towardzero): Likewise.
5043 (ctanh_downward_test_data): Likewise.
5044 (ctanh_test_downward): Likewise.
5045 (ctanh_upward_test_data): Likewise.
5046 (ctanh_test_upward): Likewise.
5047 (erf_test_data): Update call to AUTO_TESTS_f_f.
5048 (erfc_test_data): Likewise.
5049 (exp_test_data): Likewise.
5050 (exp_test): Use ALL_RM_TEST.
5051 (exp_tonearest_test_data): Remove.
5052 (exp_test_tonearest): Likewise.
5053 (exp_towardzero_test_data): Likewise.
5054 (exp_test_towardzero): Likewise.
5055 (exp_downward_test_data): Likewise.
5056 (exp_test_downward): Likewise.
5057 (exp_upward_test_data): Likewise.
5058 (exp_test_upward): Likewise.
5059 (exp10_test_data): Update call to AUTO_TESTS_f_f.
5060 (exp10_test): Use ALL_RM_TEST.
5061 (exp10_tonearest_test_data): Remove.
5062 (exp10_test_tonearest): Likewise.
5063 (exp10_towardzero_test_data): Likewise.
5064 (exp10_test_towardzero): Likewise.
5065 (exp10_downward_test_data): Likewise.
5066 (exp10_test_downward): Likewise.
5067 (exp10_upward_test_data): Likewise.
5068 (exp10_test_upward): Likewise.
5069 (exp2_test_data): Update call to AUTO_TESTS_f_f.
5070 (expm1_test_data): Likewise.
5071 (expm1_test): Use ALL_RM_TEST.
5072 (expm1_tonearest_test_data): Remove.
5073 (expm1_test_tonearest): Likewise.
5074 (expm1_towardzero_test_data): Likewise.
5075 (expm1_test_towardzero): Likewise.
5076 (expm1_downward_test_data): Likewise.
5077 (expm1_test_downward): Likewise.
5078 (expm1_upward_test_data): Likewise.
5079 (expm1_test_upward): Likewise.
5080 (fma_test_data): Update call to AUTO_TESTS_fff_f.
5081 (fma_test): Use ALL_RM_TEST.
5082 (fma_towardzero_test_data): Remove.
5083 (fma_test_towardzero): Likewise.
5084 (fma_downward_test_data): Likewise.
5085 (fma_test_downward): Likewise.
5086 (fma_upward_test_data): Likewise.
5087 (fma_test_upward): Likewise.
5088 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5089 (j0_test_data): Update call to AUTO_TESTS_f_f.
5090 (j1_test_data): Likewise.
5091 (jn_test_data): Update call to AUTO_TESTS_if_f.
5092 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5093 (log_test_data): Update call to AUTO_TESTS_f_f.
5094 (log10_test_data): Likewise.
5095 (log1p_test_data): Likewise.
5096 (log2_test_data): Likewise.
5097 (pow_test_data): Update call to AUTO_TESTS_ff_f.
5098 (pow_tonearest_test_data): Likewise.
5099 (sin_test_data): Update call to AUTO_TESTS_f_f.
5100 (sin_test): Use ALL_RM_TEST.
5101 (sin_tonearest_test_data): Remove.
5102 (sin_test_tonearest): Likewise.
5103 (sin_towardzero_test_data): Likewise.
5104 (sin_test_towardzero): Likewise.
5105 (sin_downward_test_data): Likewise.
5106 (sin_test_downward): Likewise.
5107 (sin_upward_test_data): Likewise.
5108 (sin_test_upward): Likewise.
5109 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5110 (sinh_test_data): Update call to AUTO_TESTS_f_f.
5111 (sinh_test): Use ALL_RM_TEST.
5112 (sinh_tonearest_test_data): Remove.
5113 (sinh_test_tonearest): Likewise.
5114 (sinh_towardzero_test_data): Likewise.
5115 (sinh_test_towardzero): Likewise.
5116 (sinh_downward_test_data): Likewise.
5117 (sinh_test_downward): Likewise.
5118 (sinh_upward_test_data): Likewise.
5119 (sinh_test_upward): Likewise.
5120 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5121 (sqrt_test): Use ALL_RM_TEST.
5122 (sqrt_tonearest_test_data): Remove.
5123 (sqrt_test_tonearest): Likewise.
5124 (sqrt_towardzero_test_data): Likewise.
5125 (sqrt_test_towardzero): Likewise.
5126 (sqrt_downward_test_data): Likewise.
5127 (sqrt_test_downward): Likewise.
5128 (sqrt_upward_test_data): Likewise.
5129 (sqrt_test_upward): Likewise.
5130 (tan_test_data): Update call to AUTO_TESTS_f_f.
5131 (tan_test): Use ALL_RM_TEST.
5132 (tan_tonearest_test_data): Remove.
5133 (tan_test_tonearest): Likewise.
5134 (tan_towardzero_test_data): Likewise.
5135 (tan_test_towardzero): Likewise.
5136 (tan_downward_test_data): Likewise.
5137 (tan_test_downward): Likewise.
5138 (tan_upward_test_data): Likewise.
5139 (tan_test_upward): Likewise.
5140 (tanh_test_data): Update call to AUTO_TESTS_f_f.
5141 (tgamma_test_data): Likewise.
5142 (y0_test_data): Likewise.
5143 (y1_test_data): Likewise.
5144 (yn_test_data): Update call to AUTO_TESTS_if_f.
5145 (main): Do not call removed functions.
5147 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5149 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
5150 (ldexp_test_data): Remove.
5151 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
5153 (scalb_test): Use ALL_RM_TEST.
5155 2014-03-19 Andreas Schwab <schwab@suse.de>
5157 * nscd/nscd.service: Also invalidate netgroup cache on reload.
5159 2014-03-19 Joseph Myers <joseph@codesourcery.com>
5162 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5163 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
5164 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
5165 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5166 (__ASSUME_PREADV): Undefine.
5167 (__ASSUME_PWRITEV): Likewise.
5169 2014-03-18 Roland McGrath <roland@hack.frob.com>
5171 * bits/mman-linux.h: Add comment about non-Linux use.
5172 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
5173 bits/mman-linux.h resting place.
5175 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
5176 * bits/mman-linux.h: ... here.
5178 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5180 * conform/conformtest.pl: Add standard definition when calling C
5181 preprocessor on data files.
5182 (checknamespace): Remove unused variable.
5184 2014-03-18 Joseph Myers <joseph@codesourcery.com>
5186 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
5187 minus_oflow, plus_uflow and minus_uflow in expected results.
5188 * math/libm-test.inc (scalbn_test_data): Add more tests of
5189 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
5191 (scalbn_test): Use ALL_RM_TEST.
5192 (scalbln_test_data): Add more tests of negative arguments. Use
5193 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
5194 (scalbln_test): Use ALL_RM_TEST.
5196 2014-03-18 Roland McGrath <roland@hack.frob.com>
5198 * scripts/abilist.awk: Ignore symbols marked with .hidden.
5200 2014-03-18 Will Newton <will.newton@linaro.org>
5202 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
5205 2014-03-18 Joseph Myers <joseph@codesourcery.com>
5207 * Makerules [!subdir] (check-abi): Exit with error status if a
5210 2014-03-17 Joseph Myers <joseph@codesourcery.com>
5212 * math/libm-test.inc (nearbyint_test_data): Include all tests used
5213 for rint. Include results for all rounding modes.
5214 (nearbyint_test): Use ALL_RM_TEST.
5215 (rint_test_data): Include all tests used for nearbyint.
5217 2014-03-17 Will Newton <will.newton@linaro.org>
5219 * nptl/sysdeps/pthread/pthread.h: Revert previous
5222 * sysdeps/generic/ldsodefs.h: Revert previous
5225 * libio/genops.c: Revert previous change.
5226 * libio/libioP.h: Likewise.
5227 * stdio-common/vfprintf.c: Likewise.
5229 * sysdeps/generic/math_private.h: Revert previous
5232 * sysdeps/generic/math_private.h: Check whether
5233 HAVE_RM_CTX is defined with #ifdef rather
5236 * argp/argp-fmtstream.h: Check whether
5237 __STRICT_ANSI__ is defined with #ifdef rather
5239 * argp/argp.h: Likewise.
5241 * libio/genops.c: Check whether
5242 _IO_JUMPS_OFFSET is defined with #ifdef rather
5244 * libio/libioP.h: Likewise.
5245 * stdio-common/vfprintf.c: Likewise.
5247 * sysdeps/generic/ldsodefs.h: Check whether
5248 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
5251 * nptl/sysdeps/pthread/pthread.h: Check
5252 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
5255 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5257 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
5259 * libio/tst-ftell-active-handler.c (do_append_test): Add a
5263 * libio/fileops.c (_IO_file_open): Seek to end of file but
5264 don't cache the offset.
5265 (get_file_offset): Remove function.
5266 (do_ftell): Use cached offset when available.
5267 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
5268 don't cache the offset.
5269 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
5271 (do_one_test): Call it.
5272 (do_ftell_test): Fix up expected old offset for a+ mode.
5273 * libio/wfileops.c (do_ftell_wide): Used cached offset when
5276 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
5277 up test status with function return status.
5278 (do_write_test): Likewise.
5279 (do_append_test): Likewise.
5281 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
5282 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
5285 2014-03-17 Joseph Myers <joseph@codesourcery.com>
5287 * math/gen-libm-test.pl (parse_args): Handle results specified for
5288 each rounding mode separately.
5289 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
5290 tests and results from lrint_tonearest_test_data,
5291 lrint_towardzero_test_data, lrint_downward_test_data and
5292 lrint_upward_test_data.
5293 (lrint_test): Use ALL_RM_TEST.
5294 (lrint_tonearest_test_data): Remove.
5295 (lrint_test_tonearest): Likewise.
5296 (lrint_towardzero_test_data): Likewise.
5297 (lrint_test_towardzero): Likewise.
5298 (lrint_downward_test_data): Likewise.
5299 (lrint_test_downward): Likewise.
5300 (lrint_upward_test_data): Likewise.
5301 (lrint_test_upward): Likewise.
5302 (llrint_test_data): Merge in per-rounding-mode tests and results
5303 from llrint_tonearest_test_data, llrint_towardzero_test_data,
5304 llrint_downward_test_data and llrint_upward_test_data.
5305 (llrint_test): Use ALL_RM_TEST.
5306 (llrint_tonearest_test_data): Remove.
5307 (llrint_test_tonearest): Likewise.
5308 (llrint_towardzero_test_data): Likewise.
5309 (llrint_test_towardzero): Likewise.
5310 (llrint_downward_test_data): Likewise.
5311 (llrint_test_downward): Likewise.
5312 (llrint_upward_test_data): Likewise.
5313 (llrint_test_upward): Likewise.
5314 (rint_test_data): Merge in per-rounding-mode tests and results
5315 from rint_tonearest_test_data, rint_towardzero_test_data,
5316 rint_downward_test_data and rint_upward_test_data. Add
5317 per-rounding-mode results for tests not in those arrays.
5318 (rint_test): Use ALL_RM_TEST.
5319 (rint_tonearest_test_data): Remove.
5320 (rint_test_tonearest): Likewise.
5321 (rint_towardzero_test_data): Likewise.
5322 (rint_test_towardzero): Likewise.
5323 (rint_downward_test_data): Likewise.
5324 (rint_test_downward): Likewise.
5325 (rint_upward_test_data): Likewise.
5326 (rint_test_upward): Likewise.
5327 (main): Don't call removed functions.
5329 2014-03-14 Roland McGrath <roland@hack.frob.com>
5331 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
5332 "Compiled on ..." crapola. It is anti-useful.
5334 2014-03-14 Joseph Myers <joseph@codesourcery.com>
5336 * scripts/evaluate-test.sh: Handle fourth argument to determine
5337 whether test run should stop on failure.
5338 * Makeconfig (stop-on-test-failure): New variable.
5339 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
5340 $(stop-on-test-failure).
5341 * Makefile (tests): Give a summary of results from testing and
5342 exit with failure status if they include an ERROR or FAIL.
5344 * manual/install.texi (Configuring and compiling): Mention
5345 stop-on-test-failure=y.
5346 * INSTALL: Regenerated.
5348 2014-03-14 Roland McGrath <roland@hack.frob.com>
5350 * scripts/versionlist.awk: New file.
5351 * Makerules [$(build-shared) = yes]
5352 (postclean-generated): Add Versions.def, not Versions.def.v and
5354 ($(common-objpfx)Versions.def.v.i): Target removed.
5355 ($(common-objpfx)Versions.def): New target.
5356 ($(common-objpfx)Versions.all): Depend on that rather that
5357 $(common-objpfx)Versions.def.v.
5358 * Versions.def: File removed.
5360 * Makeconfig (+gccwarn): Add -Wundef.
5361 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
5362 a dl-sysdep.h breaking its contract.
5363 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
5364 * include/stackinfo.h: New file.
5365 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
5366 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
5367 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
5368 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
5369 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
5370 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
5371 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5372 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5373 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5374 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5375 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5376 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
5377 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5378 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5379 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5381 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5384 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
5386 * math/libm-test.inc (round_test_data): Add more tests.
5389 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
5391 * math/libm-test.inc (nearbyint_test_data): Add more tests.
5394 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
5396 * math/libm-test.inc (ceil_test_data): Add more tests.
5398 * math/libm-test.inc (trunc_test_data): Add more tests related to
5401 2014-03-14 Roland McGrath <roland@hack.frob.com>
5403 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
5404 with #if rather than #ifdef.
5405 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
5407 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
5409 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
5410 first. Disable AVX-512 GCC support if assembler doesn't support
5412 * sysdeps/x86_64/configure: Regenerated.
5414 2014-03-13 Carlos O'Donell <carlos@redhat.com>
5416 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
5417 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
5418 (__old_pthread_attr_setstack): Likewise.
5419 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
5420 [!_STACK_GROWS_DOWN]: Likewise.
5422 2014-03-13 Mike Frysinger <vapier@gentoo.org>
5424 * config.make.in (have-bash2): Delete.
5425 * configure.ac (libc_cv_have_bash2): Delete.
5426 * configure: Regenerate.
5427 * elf/Makefile (common-ldd-rewrite): Rename to ...
5428 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
5429 (sh-ldd-rewrite): Delete.
5430 (bash-ldd-rewrite): Delete.
5431 (have-bash2): Delete checks.
5432 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
5435 * config.make.in (have-ksh): Delete.
5437 * configure.ac (libc_cv_have_ksh): Delete.
5438 * configure: Regenerate.
5440 * elf/Makefile: Delete $(have-ksh) check.
5441 ($(objpfx)sotruss): Change KSH to BASH.
5442 * elf/sotruss.ksh: Rename to ...
5443 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
5444 function style to match POSIX. Drop ksh vim mode setting.
5446 * manual/time.texi (Specifying the Time Zone with TZ): Change
5447 Tuesday to Thursday.
5449 * debug/tst-longjmp_chk2.c: Update header comment.
5450 (stackoverflow_handler): Add comment. Call assert on pass value.
5452 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
5454 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
5455 (HAVE_AVX512_ASM_SUPPORT): Likewise.
5456 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5457 (La_x86_64_vector): Add zmm.
5458 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5459 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5460 ($(objpfx)tst-audit10): New target.
5461 ($(objpfx)tst-audit10.out): Likewise.
5462 (tst-audit10-ENV): New.
5463 (AVX512-CFLAGS): Likewise.
5464 (CFLAGS-tst-audit10.c): Likewise.
5465 (CFLAGS-tst-auditmod10a.c): Likewise.
5466 (CFLAGS-tst-auditmod10b.c): Likewise.
5467 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5468 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5469 * sysdeps/x86_64/configure: Regenerated.
5470 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5471 AVX-512 zmm register support.
5472 (_dl_x86_64_save_sse): Likewise.
5473 (_dl_x86_64_restore_sse): Likewise.
5474 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5475 size vector registers.
5476 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5477 (ZMM_SIZE): Likewise.
5478 * sysdeps/x86_64/tst-audit10.c: New file.
5479 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5480 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5482 2014-03-13 Roland McGrath <roland@hack.frob.com>
5484 * configure.ac (HAVE_EHDR_START): New check.
5485 * configure: Regenerated.
5486 * config.h.in (HAVE_EHDR_START): New #undef.
5487 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5488 assuming the lowest-addressed segment maps the start of the file.
5490 2014-03-13 Joseph Myers <joseph@codesourcery.com>
5492 * INSTALL: Regenerated.
5494 2014-03-13 Will Newton <will.newton@linaro.org>
5496 * manual/setjmp.texi (System V contexts): Improve
5497 clarity and grammar of documentation.
5499 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
5502 * elf/Makefile (tests): Add tst-pie2.
5503 (tests-pie): Add tst-pie2.
5504 * elf/tst-pie2.c: New file.
5505 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5507 * elf/rtld.c (map_doit): Load executable as lt_executable.
5508 (dl_main): Likewise.
5510 2014-03-12 Joseph Myers <joseph@codesourcery.com>
5513 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5514 (__ASSUME_PSELECT): Undefine.
5516 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5519 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5520 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5522 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5523 selector for static builds.
5525 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5528 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5531 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5533 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5534 IFUNC selector for static builds.
5536 2014-03-11 Joseph Myers <joseph@codesourcery.com>
5538 * sysdeps/mips/math_private.h [__mips_hard_float]
5539 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5540 libc_feresetround_mips_ctx.
5541 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5542 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5543 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5546 * math/s_nextafter.c (__nextafter): Do not return value from
5547 overflowing computation.
5548 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5549 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5550 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5552 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5554 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5555 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5557 2014-03-11 Roland McGrath <roland@hack.frob.com>
5559 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5560 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5561 Move sfi_sp use from the load-multiple (that no longer sets sp) to
5562 the new mov targetting sp.
5564 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5567 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5568 Define it for static builds as well.
5569 (NO_BZERO_IMPL): Likewise.
5571 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5573 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5574 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5575 multiarch strspn for PPC64.
5576 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5577 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5578 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5579 (__libc_ifunc_impl_list): Likewise.
5580 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5581 multiarch optimizations
5582 * string/strspn.c (strspn): Using macro to redefine symbol name.
5584 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5585 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5587 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5588 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5589 multiarch strncat for PPC64.
5590 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5591 * sysdeps/powerpc/powerpc64/multiarch/strncat-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 strncat
5595 multiarch optimizations
5597 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5600 * nscd/nscd.service: Make service type forking.
5602 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5604 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5605 sign in non default rounding modes.
5606 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5608 2014-03-08 Joseph Myers <joseph@codesourcery.com>
5610 * math/libm-test.inc (ALL_RM_TEST): New macro.
5611 (ceil_test): Use ALL_RM_TEST.
5612 (cimag_test): Likewise.
5613 (conj_test): Likewise.
5614 (copysign_test): Likewise.
5615 (cproj_test): Likewise.
5616 (creal_test): Likewise.
5617 (fabs_test): Likewise.
5618 (floor_test): Likewise.
5619 (fmax_test): Likewise.
5620 (fmin_test): Likewise.
5621 (fmod_test): Likewise.
5622 (fpclassify_test): Likewise.
5623 (frexp_test): Likewise.
5624 (ilogb_test): Likewise.
5625 (isfinite_test): Likewise.
5626 (finite_test): Likewise.
5627 (isgreater_test): Likewise.
5628 (isgreaterequal_test): Likewise.
5629 (isinf_test): Likewise.
5630 (isless_test): Likewise.
5631 (islessequal_test): Likewise.
5632 (islessgreater_test): Likewise.
5633 (isnan_test): Likewise.
5634 (isnormal_test): Likewise.
5635 (issignaling_test): Likewise.
5636 (isunordered_test): Likewise.
5637 (logb_test): Likewise.
5638 (logb_downward_test_data): Remove.
5639 (logb_test_downward): Likewise.
5640 (lround_test): Use ALL_RM_TEST.
5641 (llround_test): Likewise.
5642 (modf_test): Likewise.
5643 (nexttoward_test): Likewise.
5644 (remainder_test): Likewise.
5645 (drem_test): Likewise.
5646 (remainder_tonearest_test_data): Likewise.
5647 (remainder_test_tonearest): Likewise.
5648 (drem_test_tonearest): Likewise.
5649 (remainder_towardzero_test_data): Likewise.
5650 (remainder_test_towardzero): Likewise.
5651 (drem_test_towardzero): Likewise.
5652 (remainder_downward_test_data): Likewise.
5653 (remainder_test_downward): Likewise.
5654 (drem_test_downward): Likewise.
5655 (remainder_upward_test_data): Likewise.
5656 (remainder_test_upward): Likewise.
5657 (drem_test_upward): Likewise.
5658 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
5659 (round_test): Use ALL_RM_TEST.
5660 (signbit_test): Likewise.
5661 (trunc_test): Likewise.
5662 (significand_test): Likewise.
5663 (main): Don't call removed functions.
5665 2014-03-07 Joseph Myers <joseph@codesourcery.com>
5668 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
5670 (ILL_ILLOPN): Likewise.
5671 (ILL_ILLADR): Likewise.
5672 (ILL_ILLTRP): Likewise.
5673 (ILL_PRVOPC): Likewise.
5674 (ILL_PRVREG): Likewise.
5675 (ILL_COPROC): Likewise.
5676 (ILL_BADSTK): Likewise.
5677 (FPE_INTDIV): Likewise.
5678 (FPE_INTOVF): Likewise.
5679 (FPE_FLTDIV): Likewise.
5680 (FPE_FLTOVF): Likewise.
5681 (FPE_FLTUND): Likewise.
5682 (FPE_FLTRES): Likewise.
5683 (FPE_FLTINV): Likewise.
5684 (FPE_FLTSUB): Likewise.
5685 (SEGV_MAPERR): Likewise.
5686 (SEGV_ACCERR): Likewise.
5687 (BUS_ADRALN): Likewise.
5688 (BUS_ADRERR): Likewise.
5689 (BUS_OBJERR): Likewise.
5690 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5691 (TRAP_TRACE): Likewise.
5692 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5694 (CLD_KILLED): Likewise.
5695 (CLD_DUMPED): Likewise.
5696 (CLD_TRAPPED): Likewise.
5697 (CLD_STOPPED): Likewise.
5698 (CLD_CONTINUED): Likewise.
5699 (POLL_IN): Likewise.
5700 (POLL_OUT): Likewise.
5701 (POLL_MSG): Likewise.
5702 (POLL_ERR): Likewise.
5703 (POLL_PRI): Likewise.
5704 (POLL_HUP): Likewise.
5705 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
5707 (ILL_ILLOPN): Likewise.
5708 (ILL_ILLADR): Likewise.
5709 (ILL_ILLTRP): Likewise.
5710 (ILL_PRVOPC): Likewise.
5711 (ILL_PRVREG): Likewise.
5712 (ILL_COPROC): Likewise.
5713 (ILL_BADSTK): Likewise.
5714 (FPE_INTDIV): Likewise.
5715 (FPE_INTOVF): Likewise.
5716 (FPE_FLTDIV): Likewise.
5717 (FPE_FLTOVF): Likewise.
5718 (FPE_FLTUND): Likewise.
5719 (FPE_FLTRES): Likewise.
5720 (FPE_FLTINV): Likewise.
5721 (FPE_FLTSUB): Likewise.
5722 (SEGV_MAPERR): Likewise.
5723 (SEGV_ACCERR): Likewise.
5724 (BUS_ADRALN): Likewise.
5725 (BUS_ADRERR): Likewise.
5726 (BUS_OBJERR): Likewise.
5727 (BUS_MCEERR_AR): Likewise.
5728 (BUS_MCEERR_AO): Likewise.
5729 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5730 (TRAP_TRACE): Likewise.
5731 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5733 (CLD_KILLED): Likewise.
5734 (CLD_DUMPED): Likewise.
5735 (CLD_TRAPPED): Likewise.
5736 (CLD_STOPPED): Likewise.
5737 (CLD_CONTINUED): Likewise.
5738 (POLL_IN): Likewise.
5739 (POLL_OUT): Likewise.
5740 (POLL_MSG): Likewise.
5741 (POLL_ERR): Likewise.
5742 (POLL_PRI): Likewise.
5743 (POLL_HUP): Likewise.
5744 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
5745 (ILL_ILLOPN): Likewise.
5746 (ILL_ILLADR): Likewise.
5747 (ILL_ILLTRP): Likewise.
5748 (ILL_PRVOPC): Likewise.
5749 (ILL_PRVREG): Likewise.
5750 (ILL_COPROC): Likewise.
5751 (ILL_BADSTK): Likewise.
5752 (FPE_INTDIV): Likewise.
5753 (FPE_INTOVF): Likewise.
5754 (FPE_FLTDIV): Likewise.
5755 (FPE_FLTOVF): Likewise.
5756 (FPE_FLTUND): Likewise.
5757 (FPE_FLTRES): Likewise.
5758 (FPE_FLTINV): Likewise.
5759 (FPE_FLTSUB): Likewise.
5760 (SEGV_MAPERR): Likewise.
5761 (SEGV_ACCERR): Likewise.
5762 (BUS_ADRALN): Likewise.
5763 (BUS_ADRERR): Likewise.
5764 (BUS_OBJERR): Likewise.
5765 (BUS_MCEERR_AR): Likewise.
5766 (BUS_MCEERR_AO): Likewise.
5767 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5768 (TRAP_TRACE): Likewise.
5769 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5771 (CLD_KILLED): Likewise.
5772 (CLD_DUMPED): Likewise.
5773 (CLD_TRAPPED): Likewise.
5774 (CLD_STOPPED): Likewise.
5775 (CLD_CONTINUED): Likewise.
5776 (POLL_IN): Likewise.
5777 (POLL_OUT): Likewise.
5778 (POLL_MSG): Likewise.
5779 (POLL_ERR): Likewise.
5780 (POLL_PRI): Likewise.
5781 (POLL_HUP): Likewise.
5782 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
5784 (ILL_ILLOPN): Likewise.
5785 (ILL_ILLADR): Likewise.
5786 (ILL_ILLTRP): Likewise.
5787 (ILL_PRVOPC): Likewise.
5788 (ILL_PRVREG): Likewise.
5789 (ILL_COPROC): Likewise.
5790 (ILL_BADSTK): Likewise.
5791 (ILL_BADIADDR): Likewise.
5792 (ILL_BREAK): Likewise.
5793 (FPE_INTDIV): Likewise.
5794 (FPE_INTOVF): Likewise.
5795 (FPE_FLTDIV): Likewise.
5796 (FPE_FLTOVF): Likewise.
5797 (FPE_FLTUND): Likewise.
5798 (FPE_FLTRES): Likewise.
5799 (FPE_FLTINV): Likewise.
5800 (FPE_FLTSUB): Likewise.
5801 (FPE_DECOVF): Likewise.
5802 (FPE_DECDIV): Likewise.
5803 (FPE_DECERR): Likewise.
5804 (FPE_INVASC): Likewise.
5805 (FPE_INVDEC): Likewise.
5806 (SEGV_MAPERR): Likewise.
5807 (SEGV_ACCERR): Likewise.
5808 (SEGV_PSTKOVF): Likewise.
5809 (BUS_ADRALN): Likewise.
5810 (BUS_ADRERR): Likewise.
5811 (BUS_OBJERR): Likewise.
5812 (BUS_MCEERR_AR): Likewise.
5813 (BUS_MCEERR_AO): Likewise.
5814 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5815 (TRAP_TRACE): Likewise.
5816 (TRAP_BRANCH): Likewise.
5817 (TRAP_HWBKPT): Likewise.
5818 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5820 (CLD_KILLED): Likewise.
5821 (CLD_DUMPED): Likewise.
5822 (CLD_TRAPPED): Likewise.
5823 (CLD_STOPPED): Likewise.
5824 (CLD_CONTINUED): Likewise.
5825 (POLL_IN): Likewise.
5826 (POLL_OUT): Likewise.
5827 (POLL_MSG): Likewise.
5828 (POLL_ERR): Likewise.
5829 (POLL_PRI): Likewise.
5830 (POLL_HUP): Likewise.
5831 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
5832 (ILL_ILLOPN): Likewise.
5833 (ILL_ILLADR): Likewise.
5834 (ILL_ILLTRP): Likewise.
5835 (ILL_PRVOPC): Likewise.
5836 (ILL_PRVREG): Likewise.
5837 (ILL_COPROC): Likewise.
5838 (ILL_BADSTK): Likewise.
5839 (FPE_INTDIV): Likewise.
5840 (FPE_INTOVF): Likewise.
5841 (FPE_FLTDIV): Likewise.
5842 (FPE_FLTOVF): Likewise.
5843 (FPE_FLTUND): Likewise.
5844 (FPE_FLTRES): Likewise.
5845 (FPE_FLTINV): Likewise.
5846 (FPE_FLTSUB): Likewise.
5847 (SEGV_MAPERR): Likewise.
5848 (SEGV_ACCERR): Likewise.
5849 (BUS_ADRALN): Likewise.
5850 (BUS_ADRERR): Likewise.
5851 (BUS_OBJERR): Likewise.
5852 (BUS_MCEERR_AR): Likewise.
5853 (BUS_MCEERR_AO): Likewise.
5854 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5855 (TRAP_TRACE): Likewise.
5856 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5858 (CLD_KILLED): Likewise.
5859 (CLD_DUMPED): Likewise.
5860 (CLD_TRAPPED): Likewise.
5861 (CLD_STOPPED): Likewise.
5862 (CLD_CONTINUED): Likewise.
5863 (POLL_IN): Likewise.
5864 (POLL_OUT): Likewise.
5865 (POLL_MSG): Likewise.
5866 (POLL_ERR): Likewise.
5867 (POLL_PRI): Likewise.
5868 (POLL_HUP): Likewise.
5869 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
5870 (ILL_ILLOPN): Likewise.
5871 (ILL_ILLADR): Likewise.
5872 (ILL_ILLTRP): Likewise.
5873 (ILL_PRVOPC): Likewise.
5874 (ILL_PRVREG): Likewise.
5875 (ILL_COPROC): Likewise.
5876 (ILL_BADSTK): Likewise.
5877 (FPE_INTDIV): Likewise.
5878 (FPE_INTOVF): Likewise.
5879 (FPE_FLTDIV): Likewise.
5880 (FPE_FLTOVF): Likewise.
5881 (FPE_FLTUND): Likewise.
5882 (FPE_FLTRES): Likewise.
5883 (FPE_FLTINV): Likewise.
5884 (FPE_FLTSUB): Likewise.
5885 (SEGV_MAPERR): Likewise.
5886 (SEGV_ACCERR): Likewise.
5887 (BUS_ADRALN): Likewise.
5888 (BUS_ADRERR): Likewise.
5889 (BUS_OBJERR): Likewise.
5890 (BUS_MCEERR_AR): Likewise.
5891 (BUS_MCEERR_AO): Likewise.
5892 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5893 (TRAP_TRACE): Likewise.
5894 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5896 (CLD_KILLED): Likewise.
5897 (CLD_DUMPED): Likewise.
5898 (CLD_TRAPPED): Likewise.
5899 (CLD_STOPPED): Likewise.
5900 (CLD_CONTINUED): Likewise.
5901 (POLL_IN): Likewise.
5902 (POLL_OUT): Likewise.
5903 (POLL_MSG): Likewise.
5904 (POLL_ERR): Likewise.
5905 (POLL_PRI): Likewise.
5906 (POLL_HUP): Likewise.
5907 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
5908 (ILL_ILLOPN): Likewise.
5909 (ILL_ILLADR): Likewise.
5910 (ILL_ILLTRP): Likewise.
5911 (ILL_PRVOPC): Likewise.
5912 (ILL_PRVREG): Likewise.
5913 (ILL_COPROC): Likewise.
5914 (ILL_BADSTK): Likewise.
5915 (FPE_INTDIV): Likewise.
5916 (FPE_INTOVF): Likewise.
5917 (FPE_FLTDIV): Likewise.
5918 (FPE_FLTOVF): Likewise.
5919 (FPE_FLTUND): Likewise.
5920 (FPE_FLTRES): Likewise.
5921 (FPE_FLTINV): Likewise.
5922 (FPE_FLTSUB): Likewise.
5923 (SEGV_MAPERR): Likewise.
5924 (SEGV_ACCERR): Likewise.
5925 (BUS_ADRALN): Likewise.
5926 (BUS_ADRERR): Likewise.
5927 (BUS_OBJERR): Likewise.
5928 (BUS_MCEERR_AR): Likewise.
5929 (BUS_MCEERR_AO): Likewise.
5930 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5931 (TRAP_TRACE): Likewise.
5932 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5934 (CLD_KILLED): Likewise.
5935 (CLD_DUMPED): Likewise.
5936 (CLD_TRAPPED): Likewise.
5937 (CLD_STOPPED): Likewise.
5938 (CLD_CONTINUED): Likewise.
5939 (POLL_IN): Likewise.
5940 (POLL_OUT): Likewise.
5941 (POLL_MSG): Likewise.
5942 (POLL_ERR): Likewise.
5943 (POLL_PRI): Likewise.
5944 (POLL_HUP): Likewise.
5945 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
5946 (ILL_ILLOPN): Likewise.
5947 (ILL_ILLADR): Likewise.
5948 (ILL_ILLTRP): Likewise.
5949 (ILL_PRVOPC): Likewise.
5950 (ILL_PRVREG): Likewise.
5951 (ILL_COPROC): Likewise.
5952 (ILL_BADSTK): Likewise.
5953 (ILL_DBLFLT): Likewise.
5954 (ILL_HARDWALL): Likewise.
5955 (FPE_INTDIV): Likewise.
5956 (FPE_INTOVF): Likewise.
5957 (FPE_FLTDIV): Likewise.
5958 (FPE_FLTOVF): Likewise.
5959 (FPE_FLTUND): Likewise.
5960 (FPE_FLTRES): Likewise.
5961 (FPE_FLTINV): Likewise.
5962 (FPE_FLTSUB): Likewise.
5963 (SEGV_MAPERR): Likewise.
5964 (SEGV_ACCERR): Likewise.
5965 (BUS_ADRALN): Likewise.
5966 (BUS_ADRERR): Likewise.
5967 (BUS_OBJERR): Likewise.
5968 (BUS_MCEERR_AR): Likewise.
5969 (BUS_MCEERR_AO): Likewise.
5970 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5971 (TRAP_TRACE): Likewise.
5972 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5974 (CLD_KILLED): Likewise.
5975 (CLD_DUMPED): Likewise.
5976 (CLD_TRAPPED): Likewise.
5977 (CLD_STOPPED): Likewise.
5978 (CLD_CONTINUED): Likewise.
5979 (POLL_IN): Likewise.
5980 (POLL_OUT): Likewise.
5981 (POLL_MSG): Likewise.
5982 (POLL_ERR): Likewise.
5983 (POLL_PRI): Likewise.
5984 (POLL_HUP): Likewise.
5985 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
5986 (ILL_ILLOPN): Likewise.
5987 (ILL_ILLADR): Likewise.
5988 (ILL_ILLTRP): Likewise.
5989 (ILL_PRVOPC): Likewise.
5990 (ILL_PRVREG): Likewise.
5991 (ILL_COPROC): Likewise.
5992 (ILL_BADSTK): Likewise.
5993 (FPE_INTDIV): Likewise.
5994 (FPE_INTOVF): Likewise.
5995 (FPE_FLTDIV): Likewise.
5996 (FPE_FLTOVF): Likewise.
5997 (FPE_FLTUND): Likewise.
5998 (FPE_FLTRES): Likewise.
5999 (FPE_FLTINV): Likewise.
6000 (FPE_FLTSUB): Likewise.
6001 (SEGV_MAPERR): Likewise.
6002 (SEGV_ACCERR): Likewise.
6003 (BUS_ADRALN): Likewise.
6004 (BUS_ADRERR): Likewise.
6005 (BUS_OBJERR): Likewise.
6006 (BUS_MCEERR_AR): Likewise.
6007 (BUS_MCEERR_AO): Likewise.
6008 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6009 (TRAP_TRACE): Likewise.
6010 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6012 (CLD_KILLED): Likewise.
6013 (CLD_DUMPED): Likewise.
6014 (CLD_TRAPPED): Likewise.
6015 (CLD_STOPPED): Likewise.
6016 (CLD_CONTINUED): Likewise.
6017 (POLL_IN): Likewise.
6018 (POLL_OUT): Likewise.
6019 (POLL_MSG): Likewise.
6020 (POLL_ERR): Likewise.
6021 (POLL_PRI): Likewise.
6022 (POLL_HUP): Likewise.
6023 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6024 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6027 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6028 before #include of <time.h>.
6029 [!__USE_XOPEN2K] (__need_timespec): Likewise.
6030 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6031 (test-xfail-UNIX98/sched.h/conform): Likewise.
6033 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
6035 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6036 error absence of trapping exception support.
6037 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6039 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6041 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6042 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6043 * timezone/Makefile (testdata): Move definition above include of
6045 (test-zones): New variable.
6046 (tests-special): Add zone files.
6047 (build-testdata): Use $(evaluate-test).
6049 * elf/Makefile (tests-special): Rename tests to end with .out.
6050 ($(objpfx)noload-mem): Likewise.
6051 ($(objpfx)tst-leaks1-mem): Likewise.
6052 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6053 * iconv/Makefile (xtests-special): Change test-iconvconfig to
6054 $(objpfx)test-iconvconfig.out.
6055 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
6056 set -e inside subshell and redirect output to file.
6057 * iconvdata/Makefile (generated): Rename tests to end with .out.
6059 (tests-special): Rename tests to end with .out.
6060 ($(objpfx)mtrace-tst-loading): Likewise.
6061 * intl/Makefile (generated): Likewise.
6062 (tests-special): Likewise.
6063 ($(objpfx)mtrace-tst-gettext): Likewise.
6064 * misc/Makefile (generated): Likewise.
6065 (tests-special): Likewise.
6066 ($(objpfx)tst-error1-mem): Likewise.
6067 * nptl/Makefile (tests-special): Likewise.
6068 ($(objpfx)tst-stack3-mem): Likewise.
6069 (generated): Likewise.
6070 * posix/Makefile (generated): Likewise.
6071 (tests-special): Likewise.
6072 (xtests-special): Likewise.
6073 ($(objpfx)tst-fnmatch-mem): Likewise.
6074 ($(objpfx)bug-regex2-mem): Likewise.
6075 ($(objpfx)bug-regex14-mem): Likewise.
6076 ($(objpfx)bug-regex21-mem): Likewise.
6077 ($(objpfx)bug-regex31-mem): Likewise.
6078 ($(objpfx)tst-vfork3-mem): Likewise.
6079 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6080 ($(objpfx)tst-pcre-mem): Likewise.
6081 ($(objpfx)tst-boost-mem): Likewise.
6082 ($(objpfx)bug-ga2-mem): Likewise.
6083 ($(objpfx)bug-glob2-mem): Likewise.
6084 * resolv/Makefile (generate): Likewise.
6085 (tests-special): Likewise.
6086 (xtests-special): Likewise.
6087 (generated): Likewise.
6088 ($(objpfx)mtrace-tst-leaks): Likewise.
6089 ($(objpfx)mtrace-tst-leaks2): Likewise.
6091 * scripts/merge-test-results.sh: New file.
6092 * Makefile (tests-special-notdir): New variable.
6093 (tests): Run merge-test-results.sh.
6095 * Rules (tests-special-notdir): New variable.
6096 (xtests-special-notdir): Likewise.
6097 (tests): Run merge-test-results.sh
6100 * Makeconfig (test-xfail-name): New variable.
6101 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6102 compute variable name for expected failures.
6103 * conform/Makefile (conformtest-headers-data): New variable.
6104 (conformtest-standards): Likewise.
6105 (conformtest-headers-ISO): Likewise.
6106 (conformtest-headers-ISO99): Likewise.
6107 (conformtest-headers-ISO11): Likewise.
6108 (conformtest-headers-POSIX): Likewise.
6109 (conformtest-headers-XPG3): Likewise.
6110 (conformtest-headers-XPG4): Likewise.
6111 (conformtest-headers-UNIX98): Likewise.
6112 (conformtest-headers-XOPEN2K): Likewise.
6113 (conformtest-headers-POSIX2008): Likewise.
6114 (conformtest-headers-XOPEN2K8): Likewise.
6115 (conformtest-header-list-base): Likewise.
6116 (conformtest-header-list-tests): Likewise.
6117 (conformtest-header-base): Likewise.
6118 (conformtest-header-tests): Likewise.
6119 (tests-special): Add $(conformtest-header-list-tests). If
6120 [$(fast-check) && !$(cross-compiling)], add
6121 $(conformtest-header-tests) instead of
6122 $(objpfx)run-conformtest.out.
6123 (generated): Add $(conformtest-header-list-base). If
6124 [$(fast-check) && !$(cross-compiling)], add
6125 $(conformtest-header-base). Remove previous setting.
6126 ($(conformtest-header-list-tests)): New target.
6127 (test-xfail-run-conformtest): Remove variable.
6128 ($(objpfx)run-conformtest.out): Remove target.
6129 (test-xfail-ISO11/complex.h/conform): New variable.
6130 (test-xfail-ISO11/stdalign.h/conform): Likewise.
6131 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6132 (test-xfail-XPG3/varargs.h/conform): Likewise.
6133 (test-xfail-XPG4/varargs.h/conform): Likewise.
6134 (test-xfail-UNIX98/varargs.h/conform): Likewise.
6135 (test-xfail-XPG4/ndbm.h/conform): Likewise.
6136 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
6137 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
6138 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
6139 (test-xfail-XPG3/fcntl.h/conform): Likewise.
6140 (test-xfail-XPG3/ftw.h/conform): Likewise.
6141 (test-xfail-XPG3/grp.h/conform): Likewise.
6142 (test-xfail-XPG3/langinfo.h/conform): Likewise.
6143 (test-xfail-XPG3/limits.h/conform): Likewise.
6144 (test-xfail-XPG3/pwd.h/conform): Likewise.
6145 (test-xfail-XPG3/search.h/conform): Likewise.
6146 (test-xfail-XPG3/signal.h/conform): Likewise.
6147 (test-xfail-XPG3/stdio.h/conform): Likewise.
6148 (test-xfail-XPG3/stdlib.h/conform): Likewise.
6149 (test-xfail-XPG3/string.h/conform): Likewise.
6150 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
6151 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
6152 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6153 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6154 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
6155 (test-xfail-XPG3/sys/types.h/conform): Likewise.
6156 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
6157 (test-xfail-XPG3/termios.h/conform): Likewise.
6158 (test-xfail-XPG3/time.h/conform): Likewise.
6159 (test-xfail-XPG3/unistd.h/conform): Likewise.
6160 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
6161 (test-xfail-XPG4/fcntl.h/conform): Likewise.
6162 (test-xfail-XPG4/langinfo.h/conform): Likewise.
6163 (test-xfail-XPG4/netdb.h/conform): Likewise.
6164 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
6165 (test-xfail-XPG4/signal.h/conform): Likewise.
6166 (test-xfail-XPG4/stdio.h/conform): Likewise.
6167 (test-xfail-XPG4/stdlib.h/conform): Likewise.
6168 (test-xfail-XPG4/stropts.h/conform): Likewise.
6169 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
6170 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6171 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
6172 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6173 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
6174 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
6175 (test-xfail-XPG4/sys/time.h/conform): Likewise.
6176 (test-xfail-XPG4/sys/types.h/conform): Likewise.
6177 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
6178 (test-xfail-XPG4/termios.h/conform): Likewise.
6179 (test-xfail-XPG4/ucontext.h/conform): Likewise.
6180 (test-xfail-XPG4/unistd.h/conform): Likewise.
6181 (test-xfail-XPG4/utmpx.h/conform): Likewise.
6182 (test-xfail-POSIX/sched.h/conform): Likewise.
6183 (test-xfail-POSIX/signal.h/conform): Likewise.
6184 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6185 (test-xfail-POSIX/tar.h/conform): Likewise.
6186 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
6187 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
6188 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6189 (test-xfail-UNIX98/netdb.h/conform): Likewise.
6190 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
6191 (test-xfail-UNIX98/sched.h/conform): Likewise.
6192 (test-xfail-UNIX98/signal.h/conform): Likewise.
6193 (test-xfail-UNIX98/stdio.h/conform): Likewise.
6194 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6195 (test-xfail-UNIX98/stropts.h/conform): Likewise.
6196 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
6197 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
6198 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
6199 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
6200 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
6201 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6202 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
6203 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
6204 (test-xfail-UNIX98/unistd.h/conform): Likewise.
6205 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6206 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
6207 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
6208 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6209 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
6210 (test-xfail-XOPEN2K/math.h/conform): Likewise.
6211 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6212 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
6213 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
6214 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
6215 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
6216 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
6217 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
6218 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
6219 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
6220 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
6221 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
6222 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
6223 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
6224 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
6225 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
6226 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6227 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
6228 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
6229 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
6230 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
6231 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6232 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6233 (test-xfail-POSIX2008/signal.h/conform): Likewise.
6234 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
6235 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6236 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
6237 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
6238 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
6239 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
6240 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6241 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
6242 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
6243 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
6244 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
6245 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
6246 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
6247 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
6248 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
6249 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
6250 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
6251 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
6252 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
6253 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
6254 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6255 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6256 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
6257 (conformtest-cc-flags): Likewise.
6258 ($(conformtest-header-tests): New target.
6259 * conform/check-header-lists.sh: New file.
6260 * conform/run-conformtest.sh: Remove.
6262 * conform/conformtest.pl: Allow ' and \ in values given for
6264 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
6266 [POSIX] (sys/types.h): Likewise.
6267 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
6269 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
6271 * conform/data/signal.h-data (SIGIO): Remove expectation.
6272 [XPG3] (SIGBUS): Do not expect.
6273 [POSIX || XPG3] (SIGPOLL): Likewise.
6274 [POSIX || XPG3] (SIGPROF): Likewise.
6275 [POSIX || XPG3] (SIGSYS): Likewise.
6276 [XPG3] (SIGTRAP): Likewise.
6277 [POSIX || XPG3] (SIGURG): Likewise.
6278 [POSIX || XPG3] (SIGVTALRM): Likewise.
6279 [POSIX || XPG3] (SIGXCPU): Likewise.
6280 [POSIX || XPG3] (SIGXFSZ): Likewise.
6281 [POSIX] (SA_SIGINFO): Expect.
6282 [XPG3] (siginfo_t): Do not expect type or contents.
6283 [POSIX] (si_pid): Do not expect element.
6284 [POSIX] (si_uid): Likewise.
6285 [POSIX] (si_addr): Likewise.
6286 [POSIX] (si_status): Likewise.
6287 [POSIX] (si_band): Likewise.
6288 [XPG4] (si_value): Likewise.
6289 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
6290 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
6291 [POSIX || XPG3] (ILL_ILLADR): Likewise.
6292 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
6293 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
6294 [POSIX || XPG3] (ILL_PRVREG): Likewise.
6295 [POSIX || XPG3] (ILL_COPROC): Likewise.
6296 [POSIX || XPG3] (ILL_BADSTK): Likewise.
6297 [POSIX || XPG3] (FPE_INTDIV): Likewise.
6298 [POSIX || XPG3] (FPE_INTOVF): Likewise.
6299 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
6300 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
6301 [POSIX || XPG3] (FPE_FLTUND): Likewise.
6302 [POSIX || XPG3] (FPE_FLTRES): Likewise.
6303 [POSIX || XPG3] (FPE_FLTINV): Likewise.
6304 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
6305 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
6306 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
6307 [POSIX || XPG3] (BUS_ADRALN): Likewise.
6308 [POSIX || XPG3] (BUS_ADRERR): Likewise.
6309 [POSIX || XPG3] (BUS_OBJERR): Likewise.
6310 [POSIX || XPG3] (CLD_EXITED): Likewise.
6311 [POSIX || XPG3] (CLD_KILLED): Likewise.
6312 [POSIX || XPG3] (CLD_DUMPED): Likewise.
6313 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
6314 [POSIX || XPG3] (CLD_STOPPED): Likewise.
6315 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
6316 [POSIX || XPG3] (POLL_IN): Likewise.
6317 [POSIX || XPG3] (POLL_OUT): Likewise.
6318 [POSIX || XPG3] (POLL_MSG): Likewise.
6319 [POSIX || XPG3] (POLL_ERR): Likewise.
6320 [POSIX || XPG3] (POLL_PRI): Likewise.
6321 [POSIX || XPG3] (POLL_HUP): Likewise.
6322 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
6323 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
6324 (SIG*): Do not allow.
6325 [XPG3] (si_*): Likewise.
6326 [XPG3] (SI_*): Likewise.
6327 [XPG3 || XPG4] (sigev_*): Likewise.
6328 [XPG3 || XPG4] (SIGEV_*): Likewise.
6329 [XPG3 || XPG4] (sival_*): Likewise.
6330 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
6331 [POSIX || XPG3] (BUS_*): Likewise.
6332 [POSIX || XPG3] (CLD_*): Likewise.
6333 [POSIX || XPG3] (FPE_*): Likewise.
6334 [POSIX || XPG3] (ILL_*): Likewise.
6335 [POSIX || XPG3] (POLL_*): Likewise.
6336 [POSIX || XPG3] (SEGV_*): Likewise.
6337 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
6338 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
6339 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
6340 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
6341 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
6342 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
6343 Specify type and value.
6344 (TVERSLEN): Likewise.
6345 (REGTYPE): Likewise.
6346 (AREGTYPE): Likewise.
6347 (LNKTYPE): Likewise.
6348 (SYMTYPE): Likewise.
6349 (CHRTYPE): Likewise.
6350 (BLKTYPE): Likewise.
6351 (DIRTYPE): Likewise.
6352 (FIFOTYPE): Likewise.
6353 (CONTTYPE): Likewise.
6358 (TUWRITE): Likewise.
6361 (TGWRITE): Likewise.
6364 (TOWRITE): Likewise.
6366 [POSIX] (TSVTX): Expect constant.
6368 2014-03-06 Joseph Myers <joseph@codesourcery.com>
6370 * Makefile (tests): Change dependencies to ....
6371 (tests-special): ... additions to this variable.
6372 (tests): Depend on $(tests-special).
6373 * Makerules (check-abi-list): New variable.
6374 (check-abi): Depend on $(check-abi-list).
6375 [$(subdir) = elf] (tests-special): Add
6376 $(objpfx)check-abi-libc.out.
6377 [$(build-shared) = yes && subdir] (tests-special): Add
6379 [$(build-shared) = yes && subdir] (tests): Do not depend on
6381 * Rules (tests): Depend on $(tests-special).
6382 (xtests): Depend on $(xtests-special).
6383 * catgets/Makefile (tests): Change dependencies to ....
6384 (tests-special): ... additions to this variable.
6385 * conform/Makefile (tests): Change dependencies to ....
6386 (tests-special): ... additions to this variable.
6387 * elf/Makefile (tests): Change dependencies to ....
6388 (tests-special): ... additions to this variable.
6389 * grp/Makefile (tests): Change dependencies to ....
6390 (tests-special): ... additions to this variable.
6391 * iconv/Makefile (xtests): Change dependencies to ....
6392 (xtests-special): ... additions to this variable.
6393 * iconvdata/Makefile (tests): Change dependencies to ....
6394 (tests-special): ... additions to this variable.
6395 * intl/Makefile (tests): Change dependencies to ....
6396 (tests-special): ... additions to this variable. Also add
6397 $(objpfx)tst-gettext.out.
6398 * io/Makefile (tests): Change dependencies to ....
6399 (tests-special): ... additions to this variable.
6400 * libio/Makefile (tests): Change dependencies to ....
6401 (tests-special): ... additions to this variable.
6402 * malloc/Makefile (tests): Change dependencies to ....
6403 (tests-special): ... additions to this variable.
6404 * misc/Makefile (tests): Change dependencies to ....
6405 (tests-special): ... additions to this variable.
6406 * nptl/Makefile (tests): Change dependencies to ....
6407 (tests-special): ... additions to this variable.
6408 * nptl_db/Makefile (tests): Change dependencies to ....
6409 (tests-special): ... additions to this variable.
6410 * posix/Makefile (tests): Change dependencies to ....
6411 (tests-special): ... additions to this variable.
6412 (xtests): Change dependencies to ....
6413 (xtests-special): ... additions to this variable.
6414 * resolv/Makefile (tests): Change dependencies to ....
6415 (tests-special): ... additions to this variable.
6416 (xtests): Change dependencies to ....
6417 (xtests-special): ... additions to this variable.
6418 * stdio-common/Makefile (tests): Change dependencies to ....
6419 (tests-special): ... additions to this variable.
6420 (do-tst-unbputc): Remove target.
6421 (do-tst-printf): Likewise.
6422 * stdlib/Makefile (tests): Change dependencies to ....
6423 (tests-special): ... additions to this variable.
6424 * string/Makefile (tests): Change dependencies to ....
6425 (tests-special): ... additions to this variable.
6426 * sysdeps/x86/Makefile (tests): Change dependencies to ....
6427 (tests-special): ... additions to this variable.
6429 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
6431 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
6433 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
6434 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
6436 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
6437 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
6438 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
6439 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
6440 * conform/data/libgen.h-data [XPG3]: Likewise.
6441 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
6442 * conform/data/ndbm.h-data [XPG3]: Likewise.
6443 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6444 * conform/data/netdb.h-data [XPG3]: Likewise.
6445 * conform/data/netinet/in.h-data [XPG3]: Likewise.
6446 * conform/data/poll.h-data [XPG3]: Likewise.
6447 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6448 * conform/data/strings.h-data [XPG3]: Likewise.
6449 * conform/data/stropts.h-data [XPG3]: Likewise.
6450 * conform/data/sys/mman.h-data [XPG3]: Likewise.
6451 * conform/data/sys/resource.h-data [XPG3]: Likewise.
6452 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
6454 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
6455 * conform/data/sys/time.h-data [XPG3]: Likewise.
6456 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6457 * conform/data/sys/uio.h-data [XPG3]: Likewise.
6458 * conform/data/sys/un.h-data [XPG3]: Likewise.
6459 * conform/data/syslog.h-data [XPG3]: Likewise.
6460 * conform/data/ucontext.h-data [XPG3]: Likewise.
6461 * conform/data/utmpx.h-data [XPG3]: Likewise.
6462 * conform/data/varargs.h-data [UNIX98]: Enable file.
6464 * manual/Makefile (INSTALL_INFO): Remove variable setting.
6466 * math/libm-test.inc (struct test_f_f_data): Move expected results
6467 into structure for each rounding mode.
6468 (struct test_ff_f_data): Likewise.
6469 (struct test_ff_f_data_nexttoward): Likewise.
6470 (struct test_fi_f_data): Likewise.
6471 (struct test_fl_f_data): Likewise.
6472 (struct test_if_f_data): Likewise.
6473 (struct test_fff_f_data): Likewise.
6474 (struct test_c_f_data): Likewise.
6475 (struct test_f_f1_data): Likewise.
6476 (struct test_fF_f1_data): Likewise.
6477 (struct test_ffI_f1_data): Likewise.
6478 (struct test_c_c_data): Likewise.
6479 (struct test_cc_c_data): Likewise.
6480 (struct test_f_i_data): Likewise.
6481 (struct test_ff_i_data): Likewise.
6482 (struct test_f_l_data): Likewise.
6483 (struct test_f_L_data): Likewise.
6484 (struct test_fFF_11_data): Likewise.
6486 (RM_FE_DOWNWARD): Likewise.
6487 (RM_FE_TONEAREST): Likewise.
6488 (RM_FE_TOWARDZERO): Likewise.
6489 (RM_FE_UPWARD): Likewise.
6490 (RUN_TEST_LOOP_f_f): Update references to expected results.
6491 (RUN_TEST_LOOP_2_f): Likewise.
6492 (RUN_TEST_LOOP_fff_f): Likewise.
6493 (RUN_TEST_LOOP_c_f): Likewise.
6494 (RUN_TEST_LOOP_f_f1): Likewise.
6495 (RUN_TEST_LOOP_fF_f1): Likewise.
6496 (RUN_TEST_LOOP_fI_f1): Likewise.
6497 (RUN_TEST_LOOP_ffI_f1): Likewise.
6498 (RUN_TEST_LOOP_c_c): Likewise.
6499 (RUN_TEST_LOOP_cc_c): Likewise.
6500 (RUN_TEST_LOOP_f_i): Likewise.
6501 (RUN_TEST_LOOP_f_i_tg): Likewise.
6502 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6503 (RUN_TEST_LOOP_f_b): Likewise.
6504 (RUN_TEST_LOOP_f_b_tg): Likewise.
6505 (RUN_TEST_LOOP_f_l): Likewise.
6506 (RUN_TEST_LOOP_f_L): Likewise.
6507 (RUN_TEST_LOOP_fFF_11): Likewise.
6508 * math/gen-libm-test.pl (parse_args): Output four copies of
6509 expected results for each test.
6511 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6512 (__ASSUME_UTIMES): Remove.
6513 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6514 (__ASSUME_UTIMES): Likewise.
6516 * math/gen-auto-libm-tests.c: Update comment on output format.
6517 (output_for_one_input_case): Generate before-rounding and
6518 after-rounding information as conditions on output flags not
6519 floating-point format.
6520 * math/auto-libm-test-out: Regenerated.
6521 * math/gen-libm-test.pl (cond_value): New function.
6522 (or_cond_value): Use cond_value.
6523 (generate_testfile): Handle conditional exceptions.
6525 2014-03-05 Joseph Myers <joseph@codesourcery.com>
6527 * math/libm-test.inc (max_valid_error): New variable.
6528 (init_max_error): Take new argument specifying whether function
6529 results are exactly determined. Set max_valid_error and bound
6530 other variables for errors based on this argument.
6531 (set_max_error): Do not record results above max_valid_error.
6532 (check_float_internal): Only accept errors of up to 0.5ulps if
6533 also at most max_valid_error.
6534 (START): Take new argument EXACT and pass it to init_max_error.
6535 (acos_test): Update call to START.
6536 (acos_test_tonearest): Likewise.
6537 (acos_test_towardzero): Likewise.
6538 (acos_test_downward): Likewise.
6539 (acos_test_upward): Likewise.
6540 (acosh_test): Likewise.
6541 (asin_test): Likewise.
6542 (asin_test_tonearest): Likewise.
6543 (asin_test_towardzero): Likewise.
6544 (asin_test_downward): Likewise.
6545 (asin_test_upward): Likewise.
6546 (asinh_test): Likewise.
6547 (atan_test): Likewise.
6548 (atanh_test): Likewise.
6549 (atan2_test): Likewise.
6550 (cabs_test): Likewise.
6551 (cacos_test): Likewise.
6552 (cacosh_test): Likewise.
6553 (carg_test): Likewise.
6554 (casin_test): Likewise.
6555 (casinh_test): Likewise.
6556 (catan_test): Likewise.
6557 (catanh_test): Likewise.
6558 (cbrt_test): Likewise.
6559 (ccos_test): Likewise.
6560 (ccosh_test): Likewise.
6561 (ceil_test): Likewise.
6562 (cexp_test): Likewise.
6563 (cimag_test): Likewise.
6564 (clog_test): Likewise.
6565 (clog10_test): Likewise.
6566 (conj_test): Likewise.
6567 (copysign_test): Likewise.
6568 (cos_test): Likewise.
6569 (cos_test_tonearest): Likewise.
6570 (cos_test_towardzero): Likewise.
6571 (cos_test_downward): Likewise.
6572 (cos_test_upward): Likewise.
6573 (cosh_test): Likewise.
6574 (cosh_test_tonearest): Likewise.
6575 (cosh_test_towardzero): Likewise.
6576 (cosh_test_downward): Likewise.
6577 (cosh_test_upward): Likewise.
6578 (cpow_test): Likewise.
6579 (cproj_test): Likewise.
6580 (creal_test): Likewise.
6581 (csin_test): Likewise.
6582 (csinh_test): Likewise.
6583 (csqrt_test): Likewise.
6584 (ctan_test): Likewise.
6585 (ctan_test_tonearest): Likewise.
6586 (ctan_test_towardzero): Likewise.
6587 (ctan_test_downward): Likewise.
6588 (ctan_test_upward): Likewise.
6589 (ctanh_test): Likewise.
6590 (ctanh_test_tonearest): Likewise.
6591 (ctanh_test_towardzero): Likewise.
6592 (ctanh_test_downward): Likewise.
6593 (ctanh_test_upward): Likewise.
6594 (erf_test): Likewise.
6595 (erfc_test): Likewise.
6596 (exp_test): Likewise.
6597 (exp_test_tonearest): Likewise.
6598 (exp_test_towardzero): Likewise.
6599 (exp_test_downward): Likewise.
6600 (exp_test_upward): Likewise.
6601 (exp10_test): Likewise.
6602 (exp10_test_tonearest): Likewise.
6603 (exp10_test_towardzero): Likewise.
6604 (exp10_test_downward): Likewise.
6605 (exp10_test_upward): Likewise.
6606 (pow10_test): Likewise.
6607 (exp2_test): Likewise.
6608 (expm1_test): Likewise.
6609 (expm1_test_tonearest): Likewise.
6610 (expm1_test_towardzero): Likewise.
6611 (expm1_test_downward): Likewise.
6612 (expm1_test_upward): Likewise.
6613 (fabs_test): Likewise.
6614 (fdim_test): Likewise.
6615 (floor_test): Likewise.
6616 (fma_test): Likewise.
6617 (fma_test_towardzero): Likewise.
6618 (fma_test_downward): Likewise.
6619 (fma_test_upward): Likewise.
6620 (fmax_test): Likewise.
6621 (fmin_test): Likewise.
6622 (fmod_test): Likewise.
6623 (fpclassify_test): Likewise.
6624 (frexp_test): Likewise.
6625 (hypot_test): Likewise.
6626 (ilogb_test): Likewise.
6627 (isfinite_test): Likewise.
6628 (finite_test): Likewise.
6629 (isgreater_test): Likewise.
6630 (isgreaterequal_test): Likewise.
6631 (isinf_test): Likewise.
6632 (isless_test): Likewise.
6633 (islessequal_test): Likewise.
6634 (islessgreater_test): Likewise.
6635 (isnan_test): Likewise.
6636 (isnormal_test): Likewise.
6637 (issignaling_test): Likewise.
6638 (isunordered_test): Likewise.
6639 (j0_test): Likewise.
6640 (j1_test): Likewise.
6641 (jn_test): Likewise.
6642 (ldexp_test): Likewise.
6643 (lgamma_test): Likewise.
6644 (gamma_test): Likewise.
6645 (lrint_test): Likewise.
6646 (lrint_test_tonearest): Likewise.
6647 (lrint_test_towardzero): Likewise.
6648 (lrint_test_downward): Likewise.
6649 (lrint_test_upward): Likewise.
6650 (llrint_test): Likewise.
6651 (llrint_test_tonearest): Likewise.
6652 (llrint_test_towardzero): Likewise.
6653 (llrint_test_downward): Likewise.
6654 (llrint_test_upward): Likewise.
6655 (log_test): Likewise.
6656 (log10_test): Likewise.
6657 (log1p_test): Likewise.
6658 (log2_test): Likewise.
6659 (logb_test): Likewise.
6660 (logb_test_downward): Likewise.
6661 (lround_test): Likewise.
6662 (llround_test): Likewise.
6663 (modf_test): Likewise.
6664 (nearbyint_test): Likewise.
6665 (nextafter_test): Likewise.
6666 (nexttoward_test): Likewise.
6667 (pow_test): Likewise.
6668 (pow_test_tonearest): Likewise.
6669 (pow_test_towardzero): Likewise.
6670 (pow_test_downward): Likewise.
6671 (pow_test_upward): Likewise.
6672 (remainder_test): Likewise.
6673 (drem_test): Likewise.
6674 (remainder_test_tonearest): Likewise.
6675 (drem_test_tonearest): Likewise.
6676 (remainder_test_towardzero): Likewise.
6677 (drem_test_towardzero): Likewise.
6678 (remainder_test_downward): Likewise.
6679 (drem_test_downward): Likewise.
6680 (remainder_test_upward): Likewise.
6681 (drem_test_upward): Likewise.
6682 (remquo_test): Likewise.
6683 (rint_test): Likewise.
6684 (rint_test_tonearest): Likewise.
6685 (rint_test_towardzero): Likewise.
6686 (rint_test_downward): Likewise.
6687 (rint_test_upward): Likewise.
6688 (round_test): Likewise.
6689 (scalb_test): Likewise.
6690 (scalbn_test): Likewise.
6691 (scalbln_test): Likewise.
6692 (signbit_test): Likewise.
6693 (sin_test): Likewise.
6694 (sin_test_tonearest): Likewise.
6695 (sin_test_towardzero): Likewise.
6696 (sin_test_downward): Likewise.
6697 (sin_test_upward): Likewise.
6698 (sincos_test): Likewise.
6699 (sinh_test): Likewise.
6700 (sinh_test_tonearest): Likewise.
6701 (sinh_test_towardzero): Likewise.
6702 (sinh_test_downward): Likewise.
6703 (sinh_test_upward): Likewise.
6704 (sqrt_test): Likewise.
6705 (sqrt_test_tonearest): Likewise.
6706 (sqrt_test_towardzero): Likewise.
6707 (sqrt_test_downward): Likewise.
6708 (sqrt_test_upward): Likewise.
6709 (tan_test): Likewise.
6710 (tan_test_tonearest): Likewise.
6711 (tan_test_towardzero): Likewise.
6712 (tan_test_downward): Likewise.
6713 (tan_test_upward): Likewise.
6714 (tanh_test): Likewise.
6715 (tgamma_test): Likewise.
6716 (trunc_test): Likewise.
6717 (y0_test): Likewise.
6718 (y1_test): Likewise.
6719 (yn_test): Likewise.
6720 (significand_test): Likewise.
6722 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
6723 individual tests in comment.
6724 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6725 (prev_max_error): New variable.
6726 (prev_real_max_error): Likewise.
6727 (prev_imag_max_error): Likewise.
6728 (compare_ulp_data): Don't refer to test names in comment.
6729 (find_test_ulps): Remove function.
6730 (find_function_ulps): Likewise.
6731 (find_complex_function_ulps): Likewise.
6732 (init_max_error): Take function name as argument. Look up ulps
6734 (print_ulps): Remove function.
6735 (print_max_error): Use prev_max_error instead of calling
6737 (print_complex_max_error): Use prev_real_max_error and
6738 prev_imag_max_error instead of calling find_complex_function_ulps.
6739 (check_float_internal): Take max_ulp parameter instead of calling
6740 find_test_ulps. Don't call print_ulps.
6741 (check_float): Update call to check_float_internal.
6742 (check_complex): Update calls to check_float_internal.
6743 (START): Pass argument to init_max_error.
6744 * math/gen-libm-test.pl (%results): Don't include "kind"
6746 (parse_ulps): Don't handle ulps of individual tests.
6747 (print_ulps_file): Likewise.
6748 (output_ulps): Likewise.
6749 * math/README.libm-test: Update.
6750 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
6752 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
6753 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6754 * sysdeps/arm/libm-test-ulps: Likewise.
6755 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6756 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6757 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
6758 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6759 * sysdeps/microblaze/libm-test-ulps: Likewise.
6760 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6761 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6762 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6763 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6764 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6765 * sysdeps/sh/libm-test-ulps: Likewise.
6766 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6767 * sysdeps/tile/libm-test-ulps: Likewise.
6768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6770 2014-03-04 Joseph Myers <joseph@codesourcery.com>
6772 * math/libm-test.inc (print_complex_max_error): Check separately
6773 whether real and imaginary errors are within allowed range and
6774 pass 0 to print_complex_function_ulps instead of value within
6777 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6779 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
6781 (get_handles_fopen): Likewise.
6782 (do_write_test): Likewise.
6784 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
6786 * libio/fileops.c (do_ftell): Use cached offset when
6788 * libio/iofwide.c (do_ftell_wide): Likewise.
6789 * libio/iofdopen.c (_IO_new_fdopen): Don't use
6791 * libio/wfileops.c (_IO_fwide): Don't cache offset.
6794 * libio/libioP.h (get_file_offset): New function.
6795 * libio/fileops.c (get_file_offset): Likewise.
6796 (do_ftell): Likewise.
6797 (_IO_new_file_seekoff): Split out ftell logic.
6798 * libio/wfileops.c (do_ftell_wide): Likewise.
6799 (_IO_wfile_seekoff): Split out ftell logic.
6800 * libio/tst-ftell-active-handler.c: New test case.
6801 * libio/Makefile (tests): Add it.
6803 2014-03-03 Roland McGrath <roland@hack.frob.com>
6805 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
6806 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
6808 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6811 * nscd/connections.c (nscd_init): Call do_exit.
6812 (start_threads): Call do_exit and notify_parent.
6813 (begin_drop_privileges): Call do_exit.
6814 (finish_drop_privileges): Likewise.
6815 * nscd/selinux.c (preserve_capabilities): Likewise.
6816 (install_real_capabilities): Likewise.
6817 (nscd_selinux_enabled): Likewise.
6818 (avc_create_thread): Likewise.
6819 (avc_alloc_lock): Likewise.
6820 (nscd_avc_init): Likewise.
6821 * nscd/nscd.c (parent_fd): New static variable.
6822 (main): Create a pipe between parent and child processes.
6823 Skip closing parent_fd.
6824 (monitor_child): New function.
6825 (do_exit): Likewise.
6826 (notify_parent): Likewise.
6827 * nscd/nscd.h (notify_parent): Likewise.
6828 (do_exit): Likewise.
6830 2014-03-03 Carlos O'Donell <carlos@redhat.com>
6832 * malloc/malloc.c (__libc_calloc): Revert last change.
6834 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6836 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6838 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6840 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
6841 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
6843 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6844 (__libc_ifunc_impl_list): Likewise.
6845 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
6846 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
6847 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
6848 * string/strrchr.c: Define STRRCHR.
6850 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
6852 * benchtest/bench-strtok.c (simple_strtok): Delete.
6853 (strtok_string): Use as benchmark.
6854 * string/strtok (STRTOK): New macro.
6856 2014-02-28 Carlos O'Donell <carlos@redhat.com>
6858 * manual/threads.texi: Add header and standard comments to all
6861 * elf/dl-lookup.c (check_match): New function.
6862 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
6863 (do_lookup_x): Remove nested function check_match. Use non-nested
6864 function check_match.
6866 2014-02-28 Roland McGrath <roland@hack.frob.com>
6868 * csu/Makefile (generated, before-compile): Use += rather than =.
6869 * catgets/Makefile (generated, generated-dirs): Likewise.
6870 * debug/Makefile (generated): Likewise.
6871 * dlfcn/Makefile (generated): Likewise.
6872 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
6873 * iconvdata/Makefile (before-compile, generated): Likewise.
6874 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
6875 * libio/Makefile (generated): Likewise.
6876 * malloc/Makefile (generated): Likewise.
6877 * manual/Makefile (generated, generated-dirs): Likewise.
6878 * misc/Makefile (generated): Likewise.
6879 * posix/Makefile (generated): Likewise.
6880 * resolv/Makefile (generated): Likewise.
6881 * sunrpc/Makefile (generated, generated-dirs): Likewise.
6882 * timezone/Makefile (generated, generated-dirs): Likewise.
6884 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
6886 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6888 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6889 power8 implementation.
6890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
6891 file: POWER8 llround ifunc implementation.
6892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6893 (__lllround): Add POWER8 implementation.
6894 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
6895 POWER8 llround implementation.
6897 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
6898 power8 implementation.
6899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
6900 file: POWER8 llrint ifunc implementation.
6901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
6902 Add POWER8 implementation.
6903 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
6904 POWER8 llrint implementation.
6906 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
6907 power8 implementation.
6908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
6909 file: POWER8 finite ifunc implementation.
6910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
6911 Add POWER8 implementation.
6912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
6914 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
6915 POWER8 finite implementation.
6916 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
6918 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
6919 power8 implementation.
6920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
6921 file: POWER8 isinf ifunc implementation.
6922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
6923 POWER8 implementation.
6924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
6926 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
6927 isinf implementation.
6928 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
6930 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
6931 (INIT_ARCH): Add hwcap2 initialization.
6932 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6933 power8 implementation.
6934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
6935 file: POWER8 isnan ifunc implementation.
6936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
6937 POWER8 implementation.
6938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
6940 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
6941 isnan implementation.
6942 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
6944 2014-02-27 Joey Ye <joey.ye@arm.com>
6946 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6947 (_FP_NANFRAC_Q): Set to zero.
6949 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6952 * math/auto-libm-test-in: New test inputs.
6953 * math/auto-libm-test-out: Regenerate.
6954 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
6957 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6959 2014-02-27 Joseph Myers <joseph@codesourcery.com>
6961 * scripts/evaluate-test.sh: Take new argument indicating whether
6962 failure is expected.
6963 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6964 indicating whether failure is expected.
6965 * conform/Makefile (test-xfail-run-conformtest): New variable.
6966 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
6968 * posix/Makefile (test-xfail-annexc): New variable.
6969 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6971 2014-02-26 Joseph Myers <joseph@codesourcery.com>
6973 * argp/Makefile: Include Makeconfig immediately after defining
6975 * assert/Makefile: Likewise.
6976 * benchtests/Makefile: Likewise.
6977 * catgets/Makefile: Likewise.
6978 * conform/Makefile: Likewise.
6979 * crypt/Makefile: Likewise.
6980 * csu/Makefile: Likewise.
6981 (all): Remove target.
6982 * ctype/Makefile: Include Makeconfig immediately after defining
6984 * debug/Makefile: Likewise.
6985 * dirent/Makefile: Likewise.
6986 * dlfcn/Makefile: Likewise.
6987 * gmon/Makefile: Likewise.
6988 * gnulib/Makefile: Likewise.
6989 * grp/Makefile: Likewise.
6990 * gshadow/Makefile: Likewise.
6991 * hesiod/Makefile: Likewise.
6992 * hurd/Makefile: Likewise.
6993 (all): Remove target.
6994 * iconvdata/Makefile: Include Makeconfig immediately after
6996 * inet/Makefile: Likewise.
6997 * intl/Makefile: Likewise.
6998 * io/Makefile: Likewise.
6999 * libio/Makefile: Likewise.
7000 (all): Remove target.
7001 * locale/Makefile: Include Makeconfig immediately after defining
7003 * login/Makefile: Likewise.
7004 * mach/Makefile: Likewise.
7005 (all): Remove target.
7006 * malloc/Makefile: Include Makeconfig immediately after defining
7008 (all): Remove target.
7009 * manual/Makefile: Include Makeconfig immediately after defining
7011 * math/Makefile: Likewise.
7012 * misc/Makefile: Likewise.
7013 * nis/Makefile: Likewise.
7014 * nss/Makefile: Likewise.
7015 * po/Makefile: Likewise.
7016 (all): Remove target.
7017 * posix/Makefile: Include Makeconfig immediately after defining
7019 * pwd/Makefile: Likewise.
7020 * resolv/Makefile: Likewise.
7021 * resource/Makefile: Likewise.
7022 * rt/Makefile: Likewise.
7023 * setjmp/Makefile: Likewise.
7024 * shadow/Makefile: Likewise.
7025 * signal/Makefile: Likewise.
7026 * socket/Makefile: Likewise.
7027 * soft-fp/Makefile: Likewise.
7028 * stdio-common/Makefile: Likewise.
7029 * stdlib/Makefile: Likewise.
7030 * streams/Makefile: Likewise.
7031 * string/Makefile: Likewise.
7032 * sunrpc/Makefile: Likewise.
7033 (all): Remove target.
7034 * sysvipc/Makefile: Include Makeconfig immediately after defining
7036 * termios/Makefile: Likewise.
7037 * time/Makefile: Likewise.
7038 * timezone/Makefile: Likewise.
7039 (all): Remove target.
7040 * wcsmbs/Makefile: Include Makeconfig immediately after defining
7042 * wctype/Makefile: Likewise.
7044 2014-02-26 Steve Ellcey <sellcey@mips.com>
7046 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7047 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7048 (libc_feholdexcept_setround_mips): Ditto.
7049 (libc_feholdsetround): New.
7050 (libc_feholdsetroundf): New.
7051 (libc_feholdsetroundl): New.
7052 (libc_feupdateenv_test_mips): New.
7053 (libc_feupdateenv_test): New.
7054 (libc_feupdateenv_testf): New.
7055 (libc_feupdateenv_testl): New.
7056 (libc_feresetround): New.
7057 (libc_feresetroundf): New.
7058 (libc_feresetroundl): New.
7059 (libc_fetestexcept_mips): New.
7060 (libc_fetestexcept): New.
7061 (libc_fetestexceptf): New.
7062 (libc_fetestexceptl): New.
7064 (libc_feholdexcept_setround_mips_ctx): New.
7065 (libc_feholdexcept_setround_ctx): New.
7066 (libc_feholdexcept_setroundf_ctx): New.
7067 (libc_feholdexcept_setroundl_ctx): New.
7068 (libc_fesetenv_mips_ctx): New.
7069 (libc_fesetenv_ctx): New.
7070 (libc_fesetenv_ctxf): New.
7071 (libc_fesetenv_ctxl): New.
7072 (libc_feupdateenv_mips_ctx): New.
7073 (libc_feupdateenv_ctx): New.
7074 (libc_feupdateenvf_ctx): New.
7075 (libc_feupdateenvl_ctx): New.
7076 (libc_feholdsetround_mips_ctx): New.
7077 (libc_feholdsetround_ctx): New.
7078 (libc_feholdsetroundf_ctx): New.
7079 (libc_feholdsetroundl_ctx): New.
7080 (libc_feresetround_mips_ctx): New.
7081 (libc_feresetround_ctx): New.
7082 (libc_feresetroundf_ctx): New.
7083 (libc_feresetroundl_ctx): New.
7085 2014-02-26 Carlos O'Donell <carlos@redhat.com>
7087 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7089 * manual/ipc.texi: New file.
7090 * manual/Makefile (chapters): Add ipc.
7091 * manual/job.texi: Add "Inter-Process Communication" to next.
7092 * manual/process.texi: Add "Inter-Process Communication" to prev.
7094 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7096 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7098 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
7100 * malloc/malloc.c (__libc_calloc): Simplify implementation.
7102 * manual/arith.texi: Fix spaces after sentences.
7103 * manual/charset.texi: Likewise.
7104 * manual/errno.texi: Likewise.
7105 * manual/install.texi: Likewise.
7106 * manual/llio.texi: Likewise.
7107 * manual/locale.texi: Likewise.
7108 * manual/maint.texi: Likewise.
7109 * manual/math.texi: Likewise.
7110 * manual/memory.texi: Likewise.
7111 * manual/message.texi: Likewise.
7112 * manual/probes.texi: Likewise.
7113 * manual/resource.texi: Likewise.
7114 * manual/signal.texi: Likewise.
7115 * manual/socket.texi: Likewise.
7116 * manual/stdio.texi: Likewise.
7117 * manual/string.texi: Likewise.
7118 * manual/time.texi: Likewise.
7119 * manual/users.texi: Likewise.
7121 2014-02-25 Carlos O'Donell <carlos@redhat.com>
7124 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7125 _DEFAULT_SOURCE is defined.
7127 2014-02-25 Ulrich Drepper <drepper@gmail.com>
7128 Carlos O'Donell <carlos@redhat.com>
7131 * elf/dl-tls.c (_dl_count_modids): New function.
7132 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7133 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
7134 audit library and increment generation counter.
7135 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
7136 * elf/tst-audit9.c: New file.
7137 * elf/tst-auditmod9a.c: New file.
7138 * elf/tst-auditmod9b.c: New file.
7139 * elf/Makefile: Add rules to build and run tst-audit9.
7141 2014-02-25 Florian Weimer <fweimer@redhat.com>
7144 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
7146 2014-02-25 Will Newton <will.newton@linaro.org>
7148 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
7149 (__longjmp): Restore sp and lr before restoring callee
7150 saved registers. Add longjmp and longjmp_target
7151 SystemTap probe point.
7152 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
7153 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
7154 Define to zero to match jmpbuf layout.
7155 * sysdeps/arm/setjmp.S: Include stap-probe.h.
7156 (__sigsetjmp): Save sp and lr before saving callee
7157 saved registers. Add setjmp SystemTap probe point.
7159 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7161 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7163 2014-02-24 Andreas Schwab <schwab@suse.de>
7166 * elf/pldd.c (wait_for_ptrace_stop): New function.
7167 (main): Call it after attaching.
7169 2014-02-22 Roland McGrath <roland@hack.frob.com>
7171 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
7172 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
7173 Versions files is now verboten.
7174 * hurd/Versions (libc: GLIBC_2.0):
7175 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
7176 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
7177 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
7178 * mach/Versions: Likewise.
7180 * csu/Versions: Remove unused %include.
7181 * resolv/Versions: Likewise.
7183 2014-02-21 Joseph Myers <joseph@codesourcery.com>
7185 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
7186 ($(objpfx)check-local-headers.out): Likewise.
7187 ($(objpfx)begin-end-check.out): Likewise.
7188 * Makerules (check-abi-%.out): Likewise.
7189 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
7190 ($(objpfx)test2.cat): Likewise.
7191 ($(objpfx)de/libc.cat): Likewise.
7192 ($(objpfx)test-gencat.out): Likewise.
7193 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
7194 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
7195 ($(objpfx)noload-mem): Likewise.
7196 ($(objpfx)tst-pathopt.out): Likewise.
7197 ($(objpfx)tst-rtld-load-self.out): Likewise.
7198 ($(objpfx)tst-array1-cmp.out): Likewise.
7199 ($(objpfx)tst-array1-static-cmp.out): Likewise.
7200 ($(objpfx)tst-array2-cmp.out): Likewise.
7201 ($(objpfx)tst-array3-cmp.out): Likewise.
7202 ($(objpfx)tst-array4-cmp.out): Likewise.
7203 ($(objpfx)tst-array5-cmp.out): Likewise.
7204 ($(objpfx)tst-array5-static-cmp.out): Likewise.
7205 ($(objpfx)check-textrel.out): Likewise.
7206 ($(objpfx)check-execstack.out): Likewise.
7207 ($(objpfx)check-localplt.out): Likewise.
7208 ($(objpfx)order2-cmp.out): Likewise.
7209 ($(objpfx)tst-leaks1-mem): Likewise.
7210 ($(objpfx)tst-leaks1-static-mem): Likewise.
7211 ($(objpfx)tst-initorder-cmp.out): Likewise.
7212 ($(objpfx)tst-initorder2-cmp.out): Likewise.
7213 ($(objpfx)tst-unused-dep.out): Likewise.
7214 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
7215 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7216 * iconv/Makefile (test-iconvconfig): Likewise.
7217 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
7218 ($(objpfx)iconv-test.out): Likewise.
7219 ($(objpfx)tst-tables.out): Likewise.
7220 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
7221 ($(objpfx)tst-gettext.out): Likewise.
7222 ($(objpfx)tst-translit.out): Likewise.
7223 ($(objpfx)tst-gettext2.out): Likewise.
7224 ($(objpfx)tst-gettext4.out): Likewise.
7225 ($(objpfx)tst-gettext6.out): Likewise.
7226 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
7227 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7228 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
7229 ($(objpfx)tst-fopenloc-mem.out): Likewise.
7230 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
7231 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
7232 * posix/Makefile ($(objpfx)globtest.out): Likewise.
7233 ($(objpfx)wordexp-tst.out): Likewise.
7234 ($(objpfx)annexc.out): Likewise.
7235 ($(objpfx)tst-fnmatch-mem): Likewise.
7236 ($(objpfx)bug-regex2-mem): Likewise.
7237 ($(objpfx)bug-regex14-mem): Likewise.
7238 ($(objpfx)bug-regex21-mem): Likewise.
7239 ($(objpfx)bug-regex31-mem): Likewise.
7240 ($(objpfx)tst-vfork3-mem): Likewise.
7241 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7242 ($(objpfx)tst-pcre-mem): Likewise.
7243 ($(objpfx)tst-boost-mem): Likewise.
7244 ($(objpfx)tst-getconf.out): Likewise.
7245 ($(objpfx)bug-ga2-mem): Likewise.
7246 ($(objpfx)bug-glob2-mem): Likewise.
7247 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
7248 ($(objpfx)mtrace-tst-leaks2): Likewise.
7249 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
7250 ($(objpfx)tst-printf.out): Likewise.
7251 ($(objpfx)tst-setvbuf1.out): Likewise.
7252 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
7253 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
7254 ($(objpfx)tst-fmtmsg.out): Likewise.
7255 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
7256 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
7258 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
7259 * bits/sigaction.h [__USE_MISC]: Likewise.
7260 * bits/waitstatus.h: Update #endif comments.
7261 * ctype/ctype.h: Likewise.
7262 * dirent/dirent.h: Likewise.
7263 [__USE_MISC]: Remove redundant conditionals.
7264 * grp/grp.h: Update #endif comments.
7265 [__USE_GNU]: Remove redundant conditionals.
7266 [__USE_MISC]: Likewise.
7267 * inet/netinet/in.h [__USE_GNU]: Likewise.
7268 * io/sys/stat.h [__USE_MISC]: Likewise.
7269 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
7270 * libio/bits/stdio.h: Update #endif comments.
7271 [__USE_MISC]: Remove redundant conditionals.
7272 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
7273 * libio/stdio.h: Update #endif comments.
7274 [__USE_MISC]: Remove redundant conditionals.
7275 * math/bits/math-finite.h [__USE_MISC]: Likewise.
7276 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
7277 * math/math.h: Update #else and #endif comments.
7278 [__USE_MISC]: Remove redundant conditionals.
7279 * misc/sys/uio.h: Update #endif comments.
7280 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
7281 * posix/glob.h [__USE_MISC]: Likewise.
7282 * posix/sys/types.h: Update #endif comments.
7283 [__USE_MISC]: Remove redundant conditionals.
7284 * posix/sys/wait.h: Update #endif comments.
7285 [__USE_MISC]: Remove redundant conditionals.
7286 * posix/unistd.h: Update #endif comments.
7287 [__USE_MISC]: Remove redundant conditionals.
7288 * pwd/pwd.h [__USE_GNU]: Likewise.
7289 [__USE_MISC]: Likewise.
7290 * resolv/netdb.h [__USE_GNU]: Likewise.
7291 * signal/signal.h: Update #endif comments.
7292 [__USE_MISC]: Remove redundant conditionals.
7293 * stdlib/stdlib.h: Update #else and #endif comments.
7294 [__USE_MISC]: Remove redundant conditionals.
7295 [__USE_GNU]: Likewise.
7296 * string/bits/string2.h [__USE_MISC]: Likewise.
7297 * string/string.h: Update #endif comments.
7298 [__USE_MISC]: Remove redundant conditionals.
7299 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
7301 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
7302 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
7303 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
7305 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
7307 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
7309 [__USE_MISC]: Remove redundant conditionals.
7310 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
7311 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
7312 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
7313 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
7314 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
7316 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
7317 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
7319 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
7320 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
7322 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
7324 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
7325 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
7327 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
7329 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
7330 * sysdeps/x86/bits/string.h: Update #endif comments.
7331 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
7333 * time/sys/time.h: Update #endif comments.
7334 * time/time.h: Likewise.
7335 [__USE_MISC]: Remove redundant conditionals.
7337 2014-02-21 Yury Gribov <y.gribov@samsung.com>
7340 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
7342 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
7344 * Versions.def (librt): Add GLIBC_2.17.
7346 2014-02-21 Adam Conrad <adconrad@0c3.net>
7348 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
7349 synonym for _SYS_AUXV_H to allow direct inclusion.
7350 * sysdeps/sparc/bits/hwcap.h: Likewise.
7351 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
7352 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
7353 * sysdeps/sparc/sysdep.h: Likewise.
7355 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7357 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
7359 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7361 * benchtests/bench-strrchr.c: Print length instead of position.
7363 2014-02-20 Joseph Myers <joseph@codesourcery.com>
7366 * sysdeps/unix/sysv/linux/kernel-features.h
7367 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
7368 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
7369 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
7370 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
7372 [__i386__ || __powerpc__ || __sh__ || __sparc__]
7373 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7374 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
7375 (__ASSUME_SENDMMSG): Define instead of using previous
7376 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
7377 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7378 (__ASSUME_SENDMMSG_SYSCALL): Define.
7379 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7380 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
7382 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7383 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7385 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7386 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7388 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
7389 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7390 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7391 [__ASSUME_SENDMMSG]: Change conditionals to
7392 [__ASSUME_SENDMMSG_SOCKETCALL].
7393 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7394 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
7396 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7397 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
7399 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
7400 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7401 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7402 [!__ASSUME_SENDMMSG]: Change conditional to
7403 [!__ASSUME_SENDMMSG_SOCKETCALL].
7404 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7405 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7409 * sysdeps/unix/sysv/linux/kernel-features.h
7410 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
7411 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
7412 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
7413 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
7414 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7415 [__i386__ || __sparc__]
7416 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7417 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
7418 (__ASSUME_RECVMMSG): Define instead of using previous
7419 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
7420 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7421 (__ASSUME_RECVMMSG_SYSCALL): Define.
7422 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7423 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7425 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7426 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7428 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7429 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7431 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
7432 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7433 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7434 [__ASSUME_RECVMMSG]: Change condition to
7435 [__ASSUME_RECVMMSG_SOCKETCALL].
7436 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7437 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7439 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7440 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7441 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7443 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
7444 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7445 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7446 [!__ASSUME_RECVMMSG]: Change condition to
7447 [!__ASSUME_RECVMMSG_SOCKETCALL].
7448 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7449 (__ASSUME_RECVMMSG_SYSCALL): Define.
7452 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
7453 __powerpc__ || __s390__ || __sh__ || __sparc__]
7454 (__ASSUME_SOCKETCALL): Define.
7455 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7456 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7457 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7458 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7459 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7460 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7461 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7462 (__ASSUME_ACCEPT4): Define instead of using previous
7463 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7464 __powerpc__ || __sparc__ || __s390__)] condition.
7465 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7466 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7467 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7468 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7469 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7470 [!__ASSUME_ACCEPT4]: Change condition to
7471 [!__ASSUME_ACCEPT4_SOCKETCALL].
7472 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7473 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
7474 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7475 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7476 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7477 __ASSUME_ACCEPT4_SYSCALL.
7478 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7479 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7480 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7481 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7482 __ASSUME_ACCEPT4_SYSCALL.
7483 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7484 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7485 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7486 [__ASSUME_ACCEPT4]: Change condition to
7487 [__ASSUME_ACCEPT4_SOCKETCALL].
7488 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7489 (__ASSUME_SOCKETCALL): Define.
7490 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7491 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7492 (__ASSUME_SOCKETCALL): Define.
7493 (__ASSUME_ACCEPT4): Remove.
7494 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7496 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7497 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7499 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7500 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7502 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7504 (HWCAP_ARM_LPAE): Likewise.
7505 (HWCAP_ARM_EVTSTRM): Likewise.
7506 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7507 Add vpfd32, lpae and evtstrm.
7508 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7511 2014-02-19 Joseph Myers <joseph@codesourcery.com>
7513 * math/auto-libm-test-in: Add tests of clog10.
7514 * math/auto-libm-test-out: Regenerated.
7515 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7516 * sysdeps/i386/fpu/libm-test-ulps: Update.
7517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7519 2014-02-18 Andreas Schwab <schwab@suse.de>
7522 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7523 Store non-zero if the second buffer was newly allocated.
7524 (send_dg): Likewise.
7525 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7526 to send_vc and send_dg.
7527 (res_nsend): Pass NULL for ansp2_malloced.
7528 * resolv/res_query.c (__libc_res_nquery): Add parameter
7529 answerp2_malloced and pass it down to __libc_res_nsend.
7530 (res_nquery): Pass additional NULL to __libc_res_nquery.
7531 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7532 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
7533 second answer buffer if answerp2_malloced was set.
7534 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7535 (__libc_res_nquerydomain): Add parameter
7536 answerp2_malloced and pass it down to __libc_res_nquery.
7537 (res_nquerydomain): Pass additional NULL to
7538 __libc_res_nquerydomain.
7539 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7540 additional NULL to __libc_res_nsend and __libc_res_nquery.
7541 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7542 additional NULL to __libc_res_nsearch.
7543 (_nss_dns_gethostbyname4_r): Revert last change. Use new
7544 parameter of __libc_res_nsearch to check for separately allocated
7546 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7548 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7549 additional NULL to __libc_res_nquery.
7550 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7552 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7553 * include/resolv.h: Update prototypes of __libc_res_nquery,
7554 __libc_res_nsearch, __libc_res_nsend.
7556 2014-02-18 Joseph Myers <joseph@codesourcery.com>
7558 * math/auto-libm-test-in: Add tests of fma.
7559 * math/auto-libm-test-out: Regenerated.
7560 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7561 (fma_towardzero_test_data): Likewise.
7562 (fma_downward_test_data): Likewise.
7563 (fma_upward_test_data): Likewise.
7564 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7566 (rounding_modes): Add values for new field.
7567 (func_calc_method): Add value mpfr_fff_f.
7568 (func_calc_desc): Add mpfr_fff_f union field.
7569 (test_function): Add field exact_args.
7570 (FUNC): Add macro argument EXACT_ARGS.
7571 (FUNC_mpfr_f_f): Update call to FUNC.
7572 (FUNC_mpfr_f_f): Likewise.
7573 (FUNC_mpfr_ff_f): Likewise.
7574 (FUNC_mpfr_if_f): Likewise.
7575 (FUNC_mpc_c_f): Likewise.
7576 (FUNC_mpc_c_c): Likewise.
7577 (test_functions): Add fma. Update calls to FUNC.
7578 (handle_input_arg): Add argument exact_args.
7579 (add_test): Update call to handle_input_arg.
7580 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
7581 (output_for_one_input_case): Update call to calc_generic_results.
7582 Recalculate exact zero results in each rounding mode.
7584 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7585 non-negative before setting low bit.
7586 * math/auto-libm-test-in: Mark one asin test possibly having
7588 * math/auto-libm-test-out: Regenerated.
7589 * sysdeps/i386/fpu/libm-test-ulps: Update.
7590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7592 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
7594 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7595 * sysdeps/unix/sysv/linux/microblaze: Move directory from
7596 ports/sysdeps/unix/sysv/linux/microblaze.
7597 * README: Add missing listing for microblaze*-*-linux-gnu.
7599 2014-02-16 Mike Frysinger <vapier@gentoo.org>
7601 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7602 * sysdeps/unix/sysv/linux/ia64: Move directory from
7603 ports/sysdeps/unix/sysv/linux/ia64.
7604 * README: Update listing for ia64-*-linux-gnu.
7606 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
7607 Joseph Myers <joseph@codesourcery.com>
7609 * Makeconfig (test-name): New variable.
7610 (evaluate-test): Likewise.
7611 * Makerules (do-test-clean): Remove .test-result files.
7612 (common-mostlyclean): Likewise.
7613 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7614 * scripts/evaluate-test.sh: New file.
7616 2014-02-14 Joseph Myers <joseph@codesourcery.com>
7618 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7619 separate $(objpfx)tst-fopenloc-cmp.out and
7620 $(objpfx)tst-fopenloc-mem.out targets.
7621 (tests): Update dependencies.
7622 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7623 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7624 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7625 (tst-rxspencer-no-utf8-ARGS): New variable.
7626 (tst-rxspencer-no-utf8-ENV): Likewise.
7627 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7628 instead of $(objpfx)tst-rxspencer-mem.
7629 ($(objpfx)tst-rxspencer-mem): Change target to
7630 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
7631 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7632 * posix/tst-rxspencer-no-utf8.c: New file.
7634 * elf/Makefile ($(objpfx)order.out): Remove rule.
7635 [$(run-built-tests) = yes] (tests): Depend on
7636 $(objpfx)order-cmp.out.
7637 ($(objpfx)order-cmp.out): New rule.
7638 [$(run-built-tests) = yes] (tests): Depend on
7639 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
7640 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
7641 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
7642 $(objpfx)tst-array5-static-cmp.out.
7643 ($(objpfx)tst-array1.out): Remove rule.
7644 ($(objpfx)tst-array1-cmp.out): New rule.
7645 ($(objpfx)tst-array1-static.out): Remove rule.
7646 ($(objpfx)tst-array1-static-cmp.out): New rule.
7647 ($(objpfx)tst-array2.out): Remove rule.
7648 ($(objpfx)tst-array2-cmp.out): New rule.
7649 ($(objpfx)tst-array3.out): Remove rule.
7650 ($(objpfx)tst-array3-cmp.out): New rule.
7651 ($(objpfx)tst-array4.out): Remove rule.
7652 ($(objpfx)tst-array4-cmp.out): New rule.
7653 ($(objpfx)tst-array5.out): Remove rule.
7654 ($(objpfx)tst-array5-cmp.out): New rule.
7655 ($(objpfx)tst-array5-static.out): Remove rule.
7656 ($(objpfx)tst-array5-static-cmp.out): New rule.
7657 [$(run-built-tests) = yes] (tests): Depend on
7658 $(objpfx)order2-cmp.out.
7659 ($(objpfx)order2.out): Remove rule.
7660 ($(objpfx)order2-cmp.out): New rule.
7661 ($(objpfx)tst-initorder.out): Remove rule.
7662 [$(run-built-tests) = yes] (tests): Depend on
7663 $(objpfx)tst-initorder-cmp.out.
7664 ($(objpfx)tst-initorder-cmp.out): New rule.
7665 ($(objpfx)tst-initorder2.out): Remove rule.
7666 [$(run-built-tests) = yes] (tests): Depend on
7667 $(objpfx)tst-initorder2-cmp.out.
7668 ($(objpfx)tst-initorder2-cmp.out): New rule.
7669 [$(run-built-tests) = yes] (tests): Depend on
7670 $(objpfx)tst-unused-dep-cmp.out.
7671 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
7672 ($(objpfx)tst-unused-dep-cmp.out): New rule.
7673 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
7674 on $(objpfx)tst-setvbuf1-cmp.out.
7675 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
7676 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
7677 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
7678 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
7679 ($(objpfx)tst-svc.out): Remove rule.
7680 ($(objpfx)tst-svc-cmp.out): New rule.
7682 2014-02-13 Joseph Myers <joseph@codesourcery.com>
7684 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
7685 * ctype/ctype.h [__USE_MISC]: Likewise.
7686 * dirent/dirent.h [__USE_MISC]: Likewise.
7687 * grp/grp.h [__USE_MISC]: Likewise.
7688 * io/fcntl.h [__USE_MISC]: Likewise.
7689 * io/sys/stat.h [__USE_MISC]: Likewise.
7690 * libio/stdio.h [__USE_MISC]: Likewise.
7691 * posix/unistd.h [__USE_MISC]: Likewise.
7692 * pwd/pwd.h [__USE_MISC]: Likewise.
7693 * stdlib.h [__USE_MISC]: Likewise.
7694 * string/bits/string2.h [__USE_MISC]: Likewise.
7695 * string/string.h [__USE_MISC]: Likewise.
7696 * time/time.h [__USE_MISC]: Likewise.
7698 2014-02-13 Andreas Schwab <schwab@suse.de>
7701 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
7702 second answer buffer if it was separately allocated.
7704 2014-02-12 Joseph Myers <joseph@codesourcery.com>
7706 * sysdeps/mips/math-tests.h: Include <features.h>.
7707 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7708 (ROUNDING_TESTS_long_double): Do not define.
7709 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7710 (EXCEPTION_TESTS_long_double): Likewise.
7711 * sysdeps/mips/mips64/libm-test-ulps: Update.
7713 * include/features.h (__USE_BSD): Remove macro definitions.
7714 (__USE_SVID): Likewise.
7715 (_BSD_SOURCE): Likewise.
7716 (_SVID_SOURCE): Likewise.
7717 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
7718 from definition of _DEFAULT_SOURCE.
7719 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
7721 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
7722 * bits/mman.h [__USE_BSD]: Likewise.
7723 * bits/termios.h [__USE_BSD]: Likewise.
7724 * bits/waitstatus.h [__USE_BSD]: Likewise.
7725 * ctype/ctype.h [__USE_SVID]: Likewise.
7726 * dirent/dirent.h [__USE_BSD]: Likewise.
7727 * grp/grp.h [__USE_SVID]: Likewise.
7728 [__USE_BSD]: Likewise.
7729 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
7730 * io/fcntl.h [__USE_BSD]: Likewise.
7731 * io/ftw.h [__USE_BSD]: Likewise.
7732 * io/sys/stat.h [__USE_BSD]: Likewise.
7733 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
7734 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
7735 * libio/stdio.h [__USE_SVID]: Likewise.
7736 [__USE_BSD]: Likewise.
7737 * math/math.h [__USE_SVID]: Likewise.
7738 [__USE_BSD]: Likewise.
7739 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
7740 * misc/bits/syslog.h [__USE_BSD]: Likewise.
7741 * misc/search.h [__USE_SVID]: Likewise.
7742 * misc/sys/mman.h [__USE_BSD]: Likewise.
7743 * misc/sys/syslog.h [__USE_BSD]: Likewise.
7744 * misc/sys/uio.h [__USE_BSD]: Likewise.
7745 * posix/bits/unistd.h [__USE_BSD]: Likewise.
7746 * posix/glob.h [__USE_BSD]: Likewise.
7747 * posix/regex.h [__USE_BSD]: Likewise.
7748 * posix/sys/types.h [__USE_BSD]: Likewise.
7749 [__USE_SVID]: Likewise.
7750 * posix/sys/utsname.h [__USE_SVID]: Likewise.
7751 * posix/sys/wait.h [__USE_BSD]: Likewise.
7752 [__USE_SVID]: Likewise.
7753 * posix/unistd.h [__USE_BSD]: Likewise.
7754 [__USE_SVID]: Likewise.
7755 * pwd/pwd.h [__USE_SVID]: Likewise.
7756 * resolv/netdb.h [__USE_BSD]: Likewise.
7757 * setjmp/setjmp.h [__USE_BSD]: Likewise.
7758 * signal/signal.h [__USE_BSD]: Likewise.
7759 [__USE_SVID]: Likewise.
7760 * socket/sys/socket.h [__USE_BSD]: Likewise.
7761 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
7762 * stdlib/stdlib.h [__USE_BSD]: Likewise.
7763 [__USE_SVID]: Likewise.
7764 * string/bits/string2.h [__USE_BSD]: Likewise.
7765 [__USE_SVID]: Likewise.
7766 * string/bits/string3.h [__USE_BSD]: Likewise.
7767 * string/endian.h [__USE_BSD]: Likewise.
7768 * string/string.h [__USE_SVID]: Likewise.
7769 [__USE_BSD]: Likewise.
7770 * string/strings.h [__USE_BSD]: Likewise.
7771 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
7772 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
7773 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
7774 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
7775 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
7776 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
7778 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
7780 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
7781 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
7783 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
7784 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
7786 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
7788 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
7789 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
7790 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
7792 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
7794 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
7795 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
7796 * termios/termios.h [__USE_BSD]: Likewise.
7797 * time/sys/time.h [__USE_BSD]: Likewise.
7798 * time/time.h [__USE_BSD]: Likewise.
7799 [__USE_SVID]: Likewise.
7801 * Makefile (subdir_targets): Remove subdir_lint.out.
7803 * stdio-common/Makefile (do-tst-unbputc): Remove target.
7804 (do-tst-printf): Likewise.
7805 (tests): Depend directly on $(objpfx)tst-unbputc.out and
7806 $(objpfx)tst-printf.out.
7808 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
7810 * Makerules (check-abi-%): Change target to
7811 $(objpfx)check-abi-%.out.
7812 (check-abi target): Update dependencies.
7813 (check-abi-pattern variable): Redirect output of diff to $@.
7814 (check-abi variable): Likewise.
7815 * elf/Makefile (check-abi): Update dependencies.
7817 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
7819 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
7820 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
7822 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
7823 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
7824 value has largest subnormal exponent.
7825 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
7826 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
7827 * sysdeps/aarch64/soft-fp/sfp-machine.h
7828 (_FP_TININESS_AFTER_ROUNDING): New macro.
7829 * sysdeps/alpha/soft-fp/sfp-machine.h
7830 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7831 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7833 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
7834 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7835 * sysdeps/mips/soft-fp/sfp-machine.h
7836 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7837 * sysdeps/powerpc/soft-fp/sfp-machine.h
7838 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7839 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7841 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7842 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7843 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7844 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7845 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7848 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
7851 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
7854 2014-02-12 Richard Henderson <rth@redhat.com>
7856 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
7857 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
7858 * sysdeps/unix/sysv/linux/alpha: Move directory from
7859 ports/sysdeps/unix/sysv/linux/alpha.
7860 * README: Update listing for alpha-*-linux-gnu.
7862 2014-02-11 Joseph Myers <joseph@codesourcery.com>
7864 * include/features.h: Update comment documenting feature test
7866 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
7868 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
7869 (_SVID_SOURCE): Likewise.
7870 (_DEFAULT_SOURCE): Update description of default features.
7871 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
7873 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
7874 (S_ISVTX): Likewise.
7875 * manual/math.texi (Mathematical Constants): Likewise.
7876 * manual/signal.texi (Interrupted Primitives): Likewise.
7877 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
7878 * math/test-matherr.c (_SVID_SOURCE): Do not define.
7879 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
7880 Don't refer to _SVID_SOURCE in warning text.
7882 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7884 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
7886 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
7887 * sysdeps/mips/dl-lookup.c: Remove.
7888 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
7890 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7893 * math/auto-libm-test-in: Add testcase for expl.
7894 * math/auto-libm-test-out: Regenerate.
7895 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
7896 calculation of unsafe.
7897 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
7899 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
7901 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
7902 * sysdeps/unix/sysv/linux/aarch64: Move directory from
7903 ports/sysdeps/unix/sysv/linux/aarch64.
7904 * README: Update listing for aarch64*-*-linux-gnu.
7906 2014-02-11 Will Newton <will.newton@linaro.org>
7908 * manual/probes.texi (Mathematical Function Probes): Use
7909 "triggered" instead of "hit".
7911 * manual/probes.texi (Internal Probes): Add documentation
7912 of setjmp, longjmp and longjmp_target probes.
7914 * include/stap-probe.h: Add comment about probe argument
7917 * malloc/mtrace.c (attribute_hidden): Remove unused macro
7918 definition. (tr_where, tr_freehook, tr_mallochook,
7919 tr_reallochook, tr_memalignhook): Use ANSI protoype.
7921 2014-02-11 David S. Miller <davem@davemloft.net>
7923 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
7924 processing int_tests.
7926 2014-02-10 Joseph Myers <joseph@codesourcery.com>
7928 * sysdeps/mips: Move directory from ports/sysdeps/mips.
7929 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
7930 * sysdeps/unix/sysv/linux/mips: Move directory from
7931 ports/sysdeps/unix/sysv/linux/mips.
7932 * README: Update listing for mips-*-linux-gnu and
7935 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
7937 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
7938 * sysdeps/unix/sysv/linux/m68k: Move directory from
7939 ports/sysdeps/unix/sysv/linux/m68k.
7940 * README: Update listing for m68k-*-linux-gnu.
7942 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
7944 * sysdeps/tile: Move directory from ports/sysdeps/tile.
7945 * sysdeps/unix/sysv/linux/generic: Move directory from
7946 ports/sysdeps/unix/sysv/linux/generic.
7947 * sysdeps/unix/sysv/linux/tile: Move directory from
7948 ports/sysdeps/unix/sysv/linux/tile.
7949 * README: Update listing for tile*-*-linux-gnu.
7951 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
7953 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
7955 * benchtests/bench-memmem.c (simple_memmem): Likewise.
7956 * catgets/open_catalog.c (__open_catalog): Likewise.
7957 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
7958 * debug/confstr_chk.c: Likewise.
7959 * debug/fread_chk.c (__fread_chk): Likewise.
7960 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
7961 * debug/getgroups_chk.c: Likewise.
7962 * debug/mbsnrtowcs_chk.c: Likewise.
7963 * debug/mbsrtowcs_chk.c: Likewise.
7964 * debug/mbstowcs_chk.c: Likewise.
7965 * debug/memcpy_chk.c: Likewise.
7966 * debug/memmove_chk.c: Likewise.
7967 * debug/mempcpy_chk.c: Likewise.
7968 * debug/memset_chk.c: Likewise.
7969 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7970 * debug/strcat_chk.c (__strcat_chk): Likewise.
7971 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7972 * debug/strncat_chk.c (__strncat_chk): Likewise.
7973 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7974 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7975 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7976 * debug/wcpncpy_chk.c: Likewise.
7977 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7978 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7979 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7980 * debug/wcsncpy_chk.c: Likewise.
7981 * debug/wcsnrtombs_chk.c: Likewise.
7982 * debug/wcsrtombs_chk.c: Likewise.
7983 * debug/wcstombs_chk.c: Likewise.
7984 * debug/wmemcpy_chk.c: Likewise.
7985 * debug/wmemmove_chk.c: Likewise.
7986 * debug/wmempcpy_chk.c: Likewise.
7987 * debug/wmemset_chk.c: Likewise.
7988 * dirent/scandirat.c (SCANDIRAT): Likewise.
7989 * dlfcn/dladdr1.c (dladdr1): Likewise.
7990 * dlfcn/dladdr.c (dladdr): Likewise.
7991 * dlfcn/dlclose.c (dlclose_doit): Likewise.
7992 * dlfcn/dlerror.c (__dlerror): Likewise.
7993 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7994 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7995 * dlfcn/dlopen.c (dlopen_doit): Likewise.
7996 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7997 * dlfcn/dlsym.c (dlsym_doit): Likewise.
7998 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7999 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8000 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8002 * elf/dl-conflict.c: Likewise.
8003 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8004 * elf/dl-dst.h: Likewise.
8005 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8006 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8007 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8008 * elf/dl-init.c (call_init, _dl_init): Likewise.
8009 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
8010 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8011 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8013 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8015 * elf/dl-minimal.c (__libc_memalign): Likewise.
8016 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8017 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8018 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8019 * elf/dl-sym.c (do_sym): Likewise.
8020 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8021 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
8022 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8023 * elf/dl-writev.h (_dl_writev): Likewise.
8024 * elf/ldconfig.c (search_dir): Likewise.
8025 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8026 (dl_main): Likewise.
8027 * elf/setup-vdso.h (setup_vdso): Likewise.
8028 * grp/compat-initgroups.c (compat_call): Likewise.
8029 * grp/fgetgrent.c (fgetgrent): Likewise.
8030 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8031 * grp/putgrent.c (putgrent): Likewise.
8032 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8034 * hurd/hurdinit.c: Likewise.
8035 * iconvdata/8bit-gap.c (struct): Likewise.
8036 * iconvdata/ansi_x3.110.c : Likewise.
8037 * iconvdata/big5.c : Likewise.
8038 * iconvdata/big5hkscs.c : Likewise.
8039 * iconvdata/cp1255.c: Likewise.
8040 * iconvdata/cp1258.c : Likewise.
8041 * iconvdata/cp932.c : Likewise.
8042 * iconvdata/euc-cn.c: Likewise.
8043 * iconvdata/euc-jisx0213.c : Likewise.
8044 * iconvdata/euc-jp.c: Likewise.
8045 * iconvdata/euc-jp-ms.c : Likewise.
8046 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8047 * iconvdata/gb18030.c : Likewise.
8048 * iconvdata/gbbig5.c (const): Likewise.
8049 * iconvdata/gbgbk.c: Likewise.
8050 * iconvdata/gbk.c : Likewise.
8051 * iconvdata/ibm1364.c : Likewise.
8052 * iconvdata/ibm930.c : Likewise.
8053 * iconvdata/ibm932.c: Likewise.
8054 * iconvdata/ibm933.c : Likewise.
8055 * iconvdata/ibm935.c : Likewise.
8056 * iconvdata/ibm937.c : Likewise.
8057 * iconvdata/ibm939.c : Likewise.
8058 * iconvdata/ibm943.c: Likewise.
8059 * iconvdata/iso_11548-1.c: Likewise.
8060 * iconvdata/iso-2022-cn.c : Likewise.
8061 * iconvdata/iso-2022-cn-ext.c : Likewise.
8062 * iconvdata/iso-2022-jp-3.c: Likewise.
8063 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8064 * iconvdata/iso-2022-kr.c : Likewise.
8065 * iconvdata/iso646.c (gconv_end): Likewise.
8066 * iconvdata/iso_6937-2.c : Likewise.
8067 * iconvdata/iso_6937.c : Likewise.
8068 * iconvdata/iso8859-1.c: Likewise.
8069 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8070 * iconvdata/shift_jisx0213.c : Likewise.
8071 * iconvdata/sjis.c : Likewise.
8072 * iconvdata/t.61.c : Likewise.
8073 * iconvdata/tcvn5712-1.c : Likewise.
8074 * iconvdata/tscii.c: Likewise.
8075 * iconvdata/uhc.c : Likewise.
8076 * iconvdata/unicode.c (gconv_end): Likewise.
8077 * iconvdata/utf-16.c (gconv_end): Likewise.
8078 * iconvdata/utf-32.c (gconv_end): Likewise.
8079 * iconvdata/utf-7.c (base64): Likewise.
8080 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8081 * iconv/gconv_close.c (__gconv_close): Likewise.
8082 * iconv/gconv_open.c (__gconv_open): Likewise.
8083 * iconv/gconv_simple.c (internal_ucs4_loop_single)
8084 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8085 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8086 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8087 (ucs4le_internal_loop_single): Likewise.
8088 * iconv/iconv.c (iconv): Likewise.
8089 * iconv/iconv_close.c: Likewise.
8090 * iconv/loop.c (SINGLE): Likewise.
8091 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8092 * include/atomic.h: Likewise.
8093 * inet/inet6_option.c (option_alloc): Likewise.
8094 * intl/bindtextdom.c (set_binding_values): Likewise.
8095 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8096 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8097 * intl/localealias.c (read_alias_file): Likewise.
8098 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8099 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8100 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
8101 * libio/fmemopen.c (fmemopen): Likewise.
8102 * libio/iofgets.c (_IO_fgets): Likewise.
8103 * libio/iofgets_u.c (fgets_unlocked): Likewise.
8104 * libio/iofgetws.c (fgetws): Likewise.
8105 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8106 * libio/iogetdelim.c (_IO_getdelim): Likewise.
8107 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8108 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
8109 * locale/findlocale.c (_nl_find_locale): Likewise.
8110 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8111 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8113 * locale/setlocale.c (setlocale): Likewise.
8114 * login/programs/pt_chown.c (main): Likewise.
8115 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8116 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
8117 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8118 (mmap, mmap64, mremap, munmap): Likewise.
8119 * math/e_exp2l.c: Likewise.
8120 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8121 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8122 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8123 * math/s_catan.c (__catan): Likewise.
8124 * math/s_catanf.c (__catanf): Likewise.
8125 * math/s_catanh.c (__catanh): Likewise.
8126 * math/s_catanhf.c (__catanhf): Likewise.
8127 * math/s_catanhl.c (__catanhl): Likewise.
8128 * math/s_catanl.c (__catanl): Likewise.
8129 * math/s_ccosh.c (__ccosh): Likewise.
8130 * math/s_ccoshf.c (__ccoshf): Likewise.
8131 * math/s_ccoshl.c (__ccoshl): Likewise.
8132 * math/s_cexp.c (__cexp): Likewise.
8133 * math/s_cexpf.c (__cexpf): Likewise.
8134 * math/s_cexpl.c (__cexpl): Likewise.
8135 * math/s_clog10.c (__clog10): Likewise.
8136 * math/s_clog10f.c (__clog10f): Likewise.
8137 * math/s_clog10l.c (__clog10l): Likewise.
8138 * math/s_clog.c (__clog): Likewise.
8139 * math/s_clogf.c (__clogf): Likewise.
8140 * math/s_clogl.c (__clogl): Likewise.
8141 * math/s_csin.c (__csin): Likewise.
8142 * math/s_csinf.c (__csinf): Likewise.
8143 * math/s_csinh.c (__csinh): Likewise.
8144 * math/s_csinhf.c (__csinhf): Likewise.
8145 * math/s_csinhl.c (__csinhl): Likewise.
8146 * math/s_csinl.c (__csinl): Likewise.
8147 * math/s_csqrt.c (__csqrt): Likewise.
8148 * math/s_csqrtf.c (__csqrtf): Likewise.
8149 * math/s_csqrtl.c (__csqrtl): Likewise.
8150 * math/s_ctan.c (__ctan): Likewise.
8151 * math/s_ctanf.c (__ctanf): Likewise.
8152 * math/s_ctanh.c (__ctanh): Likewise.
8153 * math/s_ctanhf.c (__ctanhf): Likewise.
8154 * math/s_ctanhl.c (__ctanhl): Likewise.
8155 * math/s_ctanl.c (__ctanl): Likewise.
8156 * math/w_pow.c: Likewise.
8157 * math/w_powf.c: Likewise.
8158 * math/w_powl.c: Likewise.
8159 * math/w_scalb.c (sysv_scalb): Likewise.
8160 * math/w_scalbf.c (sysv_scalbf): Likewise.
8161 * math/w_scalbl.c (sysv_scalbl): Likewise.
8162 * misc/error.c (error_tail): Likewise.
8163 * misc/pselect.c (__pselect): Likewise.
8164 * nis/nis_callback.c (__nis_create_callback): Likewise.
8165 * nis/nis_call.c (__nisfind_server): Likewise.
8166 * nis/nis_creategroup.c (nis_creategroup): Likewise.
8167 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
8168 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
8169 * nis/nis_getservlist.c (nis_getservlist): Likewise.
8170 * nis/nis_lookup.c (nis_lookup): Likewise.
8171 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
8172 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
8173 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
8174 * nis/nis_xdr.c (xdr_endpoint): Likewise.
8175 * nis/nss_compat/compat-grp.c (getgrent_next_file)
8176 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
8177 * nis/nss_compat/compat-initgroups.c (add_group)
8178 (internal_getgrent_r): Likewise.
8179 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
8180 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
8181 * nis/nss_compat/compat-spwd.c (getspent_next_file)
8182 (internal_getspnam_r): Likewise.
8183 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
8184 (_nss_nis_getaliasbyname_r): Likewise.
8185 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
8186 (_nss_nis_getntohost_r): Likewise.
8187 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
8188 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
8189 (_nss_nis_getgrgid_r): Likewise.
8190 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
8191 (internal_nis_gethostent_r, internal_gethostbyname2_r)
8192 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
8193 (_nss_nis_gethostbyname4_r): Likewise.
8194 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
8195 (initgroups_netid): Likewise.
8196 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8197 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
8198 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
8199 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
8200 (_nss_nis_getprotobynumber_r): Likewise.
8201 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
8202 (_nss_nis_getsecretkey): Likewise.
8203 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
8204 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
8205 (_nss_nis_getpwuid_r): Likewise.
8206 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
8207 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
8208 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
8209 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
8210 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
8211 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
8212 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8214 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
8215 (_nss_nisplus_getntohost_r): Likewise.
8216 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
8217 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
8218 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
8219 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
8221 * nis/nss_nisplus/nisplus-initgroups.c
8222 (_nss_nisplus_initgroups_dyn): Likewise.
8223 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
8224 (_nss_nisplus_getnetbyaddr_r): Likewise.
8225 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
8226 (_nss_nisplus_getprotobynumber_r): Likewise.
8227 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
8228 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
8229 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
8231 * nis/nss_nisplus/nisplus-service.c
8232 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
8233 (_nss_nisplus_getservbyport_r): Likewise.
8234 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
8235 (_nss_nisplus_getspnam_r): Likewise.
8236 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
8238 * nscd/aicache.c (addhstaiX): Likewise.
8239 * nscd/cache.c (cache_search, prune_cache): Likewise.
8240 * nscd/connections.c (register_traced_file, send_ro_fd)
8241 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
8242 (main_loop_epoll): Likewise.
8243 * nscd/grpcache.c (addgrbyX): Likewise.
8244 * nscd/hstcache.c (addhstbyX): Likewise.
8245 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8246 * nscd/mem.c (gc, mempool_alloc): Likewise.
8247 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
8248 (addinnetgrX): Likewise.
8249 * nscd/nscd-client.h (__nscd_acquire_maplock)
8250 (__nscd_drop_map_ref): Likewise.
8251 * nscd/nscd_getai.c (__nscd_getai): Likewise.
8252 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8253 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
8255 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
8256 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8257 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
8258 (__nscd_get_map_ref): Likewise.
8259 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
8260 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
8262 * nscd/pwdcache.c (addpwbyX): Likewise.
8263 * nscd/selinux.c (preserve_capabilities): Likewise.
8264 * nscd/servicescache.c (addservbyX): Likewise.
8265 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
8266 * posix/fnmatch.c (fnmatch): Likewise.
8267 * posix/getopt.c (_getopt_internal_r): Likewise.
8268 * posix/glob.c (glob, glob_in_dir): Likewise.
8269 * posix/wordexp.c (exec_comm_child): Likewise.
8270 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
8271 (getanswer_r, gaih_getanswer_slice): Likewise.
8272 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
8273 * resolv/res_init.c: Likewise.
8274 * resolv/res_mkquery.c (res_nmkquery): Likewise.
8275 * resolv/res_query.c (__libc_res_nquery): Likewise.
8276 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
8278 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
8279 * stdio-common/perror.c (perror): Likewise.
8280 * stdio-common/printf_fp.c (___printf_fp): Likewise.
8281 * stdio-common/tmpnam.c (tmpnam): Likewise.
8282 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8283 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
8284 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8286 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8287 * stdlib/putenv.c (putenv): Likewise.
8288 * stdlib/setenv.c (__add_to_environ): Likewise.
8289 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8290 * stdlib/strtol_l.c (INTERNAL): Likewise.
8291 * string/memmem.c (memmem): Likewise.
8292 * string/strerror.c (strerror): Likewise.
8293 * string/strnlen.c (__strnlen): Likewise.
8294 * string/test-memmem.c (simple_memmem): Likewise.
8295 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
8296 * sunrpc/pm_getport.c (__get_socket): Likewise.
8297 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
8298 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8299 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
8300 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
8302 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8303 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8304 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
8305 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
8306 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
8307 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
8309 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
8311 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
8312 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8313 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8314 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8315 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8316 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
8317 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8318 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
8319 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
8320 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8321 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8322 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
8324 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
8326 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
8328 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
8329 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8330 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
8331 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
8332 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8333 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
8334 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8335 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
8336 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
8337 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
8338 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
8339 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8340 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8341 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
8342 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8343 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8345 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
8347 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
8349 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
8351 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8352 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8353 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
8355 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
8356 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
8357 * sysdeps/posix/opendir.c (__opendirat): Likewise.
8358 * sysdeps/posix/sleep.c: Likewise.
8359 * sysdeps/posix/tempname.c: Likewise.
8360 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
8361 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8363 * sysdeps/powerpc/powerpc32/dl-machine.h
8364 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
8365 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8366 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8367 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
8368 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
8370 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
8371 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
8372 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8373 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
8374 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8375 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
8376 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
8377 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
8378 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8379 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
8380 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
8381 (elf_machine_lazy_rel): Likewise.
8382 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8383 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
8384 (elf_machine_lazy_rel): Likewise.
8385 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
8386 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
8387 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
8388 * sysdeps/unix/grantpt.c (grantpt): Likewise.
8389 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
8390 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
8391 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
8392 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8394 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8395 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8396 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
8397 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
8398 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8399 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8400 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
8401 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
8402 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
8403 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8404 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8406 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
8407 (__posix_fallocate64_l64): Likewise.
8408 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
8409 (posix_fallocate): Likewise.
8410 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8412 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8413 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
8414 (getifaddrs_internal): Likewise.
8415 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
8416 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
8417 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8418 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8419 * sysdeps/unix/sysv/linux/posix_fallocate64.c
8420 (__posix_fallocate64_l64): Likewise.
8421 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8423 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
8424 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8425 (__get_clockfreq): Likewise.
8426 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
8427 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8428 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
8429 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8430 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8431 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
8432 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8433 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
8435 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
8436 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
8437 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8438 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
8439 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8440 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
8441 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
8443 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8444 (posix_fallocate): Likewise.
8445 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8446 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8447 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
8448 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
8449 (elf_machine_rela, elf_machine_rela_relative)
8450 (elf_machine_lazy_rel): Likewise.
8451 * time/asctime.c (asctime_internal): Likewise.
8452 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
8453 * time/tzset.c (__tzset_parse_tz): Likewise.
8454 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8455 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8456 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8457 * wcsmbs/wcsmbsload.h: Likewise.
8460 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8462 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8463 (arena_get2): Remove THREAD_STATS conditionals.
8464 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8465 (__malloc_stats, int): Likewise.
8467 2014-02-08 Mike Frysinger <vapier@gentoo.org>
8469 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8470 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
8472 * manual/setjmp.texi: Fix typos/grammar errors.
8474 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8475 Only return early when n is <= 0. Delete unused return statement.
8477 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8478 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8479 * debug/tst-longjmp_chk3.c: New file.
8481 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8482 (test_main): Replace code with set_fortify_handler call.
8483 * debug/test-strcpy_chk.c: Likewise.
8484 * debug/tst-chk1.c: Likewise.
8485 * debug/tst-longjmp_chk.c: Likewise.
8486 * test-skeleton.c: Include fcntl.h & paths.h
8487 (set_fortify_handler): Define.
8489 * debug/tst-longjmp_chk.c: Add header comment and include
8491 (do_test): Mark static.
8492 (TEST_FUNCTION): Define.
8494 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8495 (IP_PMTUDISC_INTERFACE): Likewise.
8496 (IP_MULTICAST_IF): Likewise.
8497 (IP_MULTICAST_TTL): Likewise.
8498 (IP_MULTICAST_LOOP): Likewise.
8499 (IP_ADD_MEMBERSHIP): Likewise.
8500 (IP_DROP_MEMBERSHIP): Likewise.
8501 (IP_UNBLOCK_SOURCE): Likewise.
8502 (IP_BLOCK_SOURCE): Likewise.
8503 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8504 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8505 (IP_MSFILTER): Likewise.
8506 (MCAST_JOIN_GROUP): Likewise.
8507 (MCAST_BLOCK_SOURCE): Likewise.
8508 (MCAST_UNBLOCK_SOURCE): Likewise.
8509 (MCAST_LEAVE_GROUP): Likewise.
8510 (MCAST_JOIN_SOURCE_GROUP): Likewise.
8511 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8512 (MCAST_MSFILTER): Likewise.
8513 (IP_MULTICAST_ALL): Likewise.
8514 (IP_UNICAST_IF): Likewise.
8516 * timezone/Makefile: Delete $(have-ksh) check.
8517 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8518 * timezone/tzselect.ksh: Add +x mode bits.
8520 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8521 (ANON_INODE_FS_MAGIC): Likewise.
8522 (BDEVFS_MAGIC): Likewise.
8523 (BINFMTFS_MAGIC): Likewise.
8524 (BTRFS_TEST_MAGIC): Likewise.
8525 (CRAMFS_MAGIC_WEND): Likewise.
8526 (DEBUGFS_MAGIC): Likewise.
8527 (ECRYPTFS_SUPER_MAGIC): Likewise.
8528 (EXT3_SUPER_MAGIC): Likewise.
8529 (EXT4_SUPER_MAGIC): Likewise.
8530 (FUTEXFS_SUPER_MAGIC): Likewise.
8531 (HOSTFS_SUPER_MAGIC): Likewise.
8532 (HUGETLBFS_MAGIC): Likewise.
8533 (MINIX3_SUPER_MAGIC): Likewise.
8534 (MTD_INODE_FS_MAGIC): Likewise.
8535 (NILFS_SUPER_MAGIC): Likewise.
8536 (OPENPROM_SUPER_MAGIC): Likewise.
8537 (PIPEFS_MAGIC): Likewise.
8538 (PSTOREFS_MAGIC): Likewise.
8539 (QNX6_SUPER_MAGIC): Likewise.
8540 (RAMFS_MAGIC): Likewise.
8541 (REISERFS_SUPER_MAGIC_STRING): Likewise.
8542 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8543 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8544 (SECURITYFS_MAGIC): Likewise.
8545 (SELINUX_MAGIC): Likewise.
8546 (SMACK_MAGIC): Likewise.
8547 (SOCKFS_MAGIC): Likewise.
8548 (SQUASHFS_MAGIC): Likewise.
8549 (STACK_END_MAGIC): Likewise.
8550 (TMPFS_MAGIC): Likewise.
8551 (USBDEVICE_SUPER_MAGIC): Likewise.
8552 (V9FS_MAGIC): Likewise.
8553 (XENFS_SUPER_MAGIC): Likewise.
8554 (CRAMFS_MAGIC): Fix typo in comment.
8555 (EXT2_SUPER_MAGIC): Update comment.
8556 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8558 2014-02-08 Joseph Myers <joseph@codesourcery.com>
8560 * sysdeps/arm: Move directory from ports/sysdeps/arm.
8561 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8562 * sysdeps/unix/sysv/linux/arm: Move directory from
8563 ports/sysdeps/unix/sysv/linux/arm.
8564 * README: Update listing for arm-*-linux-gnueabi.
8566 * README: Remove mention of am33.
8568 2014-02-07 Roland McGrath <roland@hack.frob.com>
8570 * bits/sigset.h (__sigemptyset): Use a statement expression rather
8571 than the comma operator, to avoid "rhs of comma has no effect"
8573 (__sigfillset, __sigandset, __sigorset): Likewise.
8574 * include/signal.h (__sigemptyset): Likewise.
8575 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8577 2014-02-07 Allan McRae <allan@archlinux.org>
8579 * version.h (RELEASE): Set to "development".
8580 (VERSION): Set to "2.19.90"
8581 * NEWS: Add 2.20 section.
8583 2014-02-06 Carlos O'Donell <carlos@redhat.com>
8586 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8588 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8590 * manual/contrib.texi: Update entry for Carlos O'Donell,
8591 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8593 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
8595 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8597 * sysdeps/unix/sysv/linux/kernel-features.h
8598 [__LINUX_KERNEL_VERSION >= 0x020621]
8599 (__ASSUME_PROC_PID_TASK_COMM): Define.
8601 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8604 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8605 conversion when destination buffer does not have enough space.
8606 * libio/tst-ftell-partial-wide.c: New test case.
8607 * libio/Makefile (tests): Add tst-ftell-partial-wide.
8609 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8610 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
8611 Leonard and Allan McRae.
8613 2014-02-04 David S. Miller <davem@davemloft.net>
8615 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8618 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8647 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8649 * nptl/shlib-versions: Change powerpc*le start to 2.17.
8650 * shlib-versions: Likewise.
8652 2014-02-04 Roland McGrath <roland@hack.frob.com>
8653 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8655 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
8656 (abilist-pattern): New variable, set to %-le.abilist.
8658 * Makerules (abilist-pattern): New variable.
8659 (vpath): Use $(abilist-pattern) in place of %.abilist.
8660 (check-abi-% pattern rule): Likewise.
8661 (check-abi, update-abi): Likewise.
8663 2014-02-04 Eric Wong <normalperson@yhbt.net>
8665 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8667 2014-02-03 Carlos O'Donell <carlos@redhat.com>
8669 * manual/startup.texi: Add next, previous, and top entries for
8670 the `Program Arguments' and `Environment Variables' nodes.
8672 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
8674 * manual/macros.texi: Add comments before MTASC-safety macros.
8676 * manual/users.texi: Document MTASC-safety properties.
8678 * manual/threads.texi (pthread_key_create, pthread_key_delete)
8679 (pthread_getspecific, pthread_setspecific): Format with
8680 @deftypefun, and add @safety note.
8681 * manual/signal.texi: Move comments that analyze the above
8682 functions to their home place.
8684 2014-02-03 Allan McRae <allan@archlinux.org>
8686 * po/sl.po: Update Slovenian translation from translation project.
8688 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
8690 * manual/time.texi (timegm): Add missing blank after @c.
8691 Reported by Joseph Myers <joseph@codesourcery.com>.
8693 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
8695 * manual/check-safety.sh: New.
8696 * manual/Makefile ($(objpfx)stamp-summary): Run it.
8698 * manual/terminal.texi: Document MTASC-safety properties.
8700 * manual/filesys.texi: Document MTASC-safety properties.
8702 * manual/errno.texi: Document MTASC-safety properties.
8704 * manual/intro.texi: Document safety identifiers and
8707 * manual/string.texi (wcstok): Fix prototype.
8708 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
8710 * manual/time.texi: Document MTASC-safety properties.
8712 * manual/string.texi: Document MTASC-safety properties.
8714 * manual/threads.texi: Document MTASC-safety properties.
8716 * manual/stdio.texi: Document MTASC-safety properties.
8718 * manual/syslog.texi: Document MTASC-safety properties.
8720 * manual/sysinfo.texi: Document MTASC-safety properties.
8722 * manual/startup.texi: Document MTASC-safety properties.
8724 * manual/socket.texi: Document MTASC-safety properties.
8726 * manual/signal.texi: Document MTASC-safety properties.
8728 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
8730 * manual/setjmp.texi: Document MTASC-safety properties.
8732 * manual/search.texi: Document MTASC-safety properties.
8734 * manual/resource.texi: Document MTASC-safety properties.
8736 * manual/process.texi: Document MTASC-safety properties.
8738 * manual/platform.texi: Document MTASC-safety properties.
8740 * manual/pipe.texi: Document MTASC-safety properties.
8742 * manual/pattern.texi: Document MTASC-safety properties.
8744 * manual/message.texi: Document MTASC-safety properties.
8747 * manual/memory.texi: Document MTASC-safety properties.
8749 * manual/math.texi: Document MTASC-safety properties.
8751 * manual/locale.texi: Document MTASC-safety properties.
8753 * manual/llio.texi: Document MTASC-safety properties.
8755 * manual/libdl.texi: New.
8757 * manual/lang.texi: Document MTASC-safety properties.
8759 * manual/job.texi: Document MTASC-safety properties.
8761 * manual/getopt.texi: Document MTASC-safety properties.
8763 * manual/ctype.texi: Document MTASC-safety properties.
8765 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
8768 * csu/libc-tls.c (static_map): Remove variable.
8769 (__libc_setup_tls): Use main executable's link map for TLS data.
8770 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
8771 casing for LM_ID_BASE and GL(dl_nns).
8772 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
8773 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
8774 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
8775 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
8776 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
8778 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
8781 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
8783 * manual/debug.texi: Document MTASC-safety properties.
8785 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
8788 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
8789 of __x86_64__ when disabling x87 inline functions.
8791 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
8793 * manual/charset.texi: Document MTASC-safety properties.
8795 * manual/crypt.texi: Document MTASC-safety properties.
8797 * manual/conf.texi: Document MTASC-safety properties.
8799 * manual/arith.texi: Document MTASC-safety properties.
8801 * manual/argp.texi: Document MTASC-safety properties.
8803 * manual/macros.texi: Introduce macros to document multi
8804 thread, asynchronous signal and asynchronous cancellation
8806 * manual/intro.texi: Introduce the properties themselves.
8808 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8810 * sysdeps/sh/sh4/Makefile: New file.
8812 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
8814 * math/gen-libm-test.pl ($srcdir): New variable.
8815 ($auto_input): Use it.
8817 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8820 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
8821 access beyond array bounds when parsing netgroups file.
8823 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
8824 the old buffer before realloc.
8826 2014-01-27 Allan McRae <allan@archlinux.org>
8828 * po/fr.po: Update French translation from translation project.
8830 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8832 * sysdeps/sh/libm-test-ulps: Regenerate.
8834 2014-01-24 David S. Miller <davem@davemloft.net>
8836 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
8838 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8840 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
8841 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
8843 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8846 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
8847 string pointers after reallocation.
8849 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8851 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
8852 __SH4A__ instead of __SH_FPU_ANY__.
8854 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8856 * sysdeps/sh/fpu_control.h: New file.
8857 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
8858 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8859 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
8860 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
8861 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
8862 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
8863 * sysdeps/sh/sys/ucontext.h: Remove.
8864 * sysdeps/sh/sys: Remove directory.
8866 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8868 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
8869 s390/sys/ucontext.h.
8870 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
8871 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
8873 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
8876 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
8878 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8881 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8882 Adjust the vDSO correctly for internal calls.
8883 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8885 2014-01-20 Allan McRae <allan@archlinux.org>
8887 * po/ca.po: Update Catalan translation from translation project.
8889 2014-01-16 Mike Frysinger <vapier@gentoo.org>
8891 * sysdeps/s390/sotruss-lib.c: New file.
8893 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8896 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
8897 (__GI___gettimeofday): Alias for a different internal symbol to avoid
8898 local calls issues by not having a PLT stub required for IFUNC calls.
8899 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
8901 2014-01-16 Joseph Myers <joseph@codesourcery.com>
8903 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
8904 * math/test-fpucw-static.c: Likewise.
8906 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8909 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
8911 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8913 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
8914 implementation for powerpc.
8916 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
8919 * sysdeps/posix/system.c (__libc_system): Do not enable
8920 asynchronous cancellation.
8922 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8925 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
8926 handling only for numbers special also in the IEEE case.
8928 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8930 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8932 2014-01-11 Allan McRae <allan@archlinux.org>
8934 * po/bg.po: Update Bulgarian translation from translation project.
8936 * po/de.po: Update German translation from translation project.
8938 2014-01-10 Roland McGrath <roland@hack.frob.com>
8940 * sysdeps/generic/gcc-compat.h: New file.
8942 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8944 * benchtests/asin-inputs: Correct slow inputs.
8945 * benchtests/acos-inputs: Likewise.
8947 2014-01-10 Allan McRae <allan@archlinux.org>
8949 * po:sv.po: Update Swedish translation from translation project.
8951 * po/vi.po: Update Vietnamese translation from translation project.
8953 * po/eo.po: Update Esperanto translation from translation project.
8955 * po/cs.po: Update Czech translation from translation project.
8957 * po/nl.po: Update Dutch translation from translation project.
8959 * po/pl.po: Update Polish translation from translation project.
8961 * po/ru.po: Update Russian translation from translation project.
8963 * po/uk.po: Update Ukrainian translation from translation project.
8965 2014-01-08 Brooks Moses <bmoses@google.com>
8967 * elf/dl-load.c: Fix comment typo.
8969 2014-01-08 Carlos O'Donell <carlos@redhat.com>
8971 * po/header.pot: Rename to...
8972 * po/pot.header: ... this.
8973 * po/Makefile: Use pot.header.
8975 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
8976 Maxim Kuvyrkov <maxim@kugelworks.com>
8979 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8980 SRC and DEST against LEN.
8982 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8985 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
8987 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
8989 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8993 2014-01-08 Joseph Myers <joseph@codesourcery.com>
8996 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8997 for large positive arguments.
8999 2014-01-07 Joseph Myers <joseph@codesourcery.com>
9001 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9003 * math/auto-libm-test-in: Mark various tests with
9004 xfail-rounding:ldbl-128ibm.
9005 * math/auto-libm-test-out: Regenerated.
9008 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9009 Increase overflow threshold.
9011 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
9014 * stdio-common/vfprintf.c: Check for integer overflow.
9016 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9018 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9019 the first argument and return value of __tls_get_addr_internal.
9021 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9023 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9024 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9026 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9028 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9029 * sysdeps/s390/rtld-global-offsets.sym: New file.
9030 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9032 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9033 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9034 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9036 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9037 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9039 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9041 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9043 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9044 halfs of GPRs for high_gprs contexts.
9045 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9046 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
9048 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9050 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9052 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9053 for high GPRs (uc_high_gprs) and for future extensions
9055 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9056 for future extensions (__reserved).
9057 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9059 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9060 SC_HIGHGPRS offset definition.
9061 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9062 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9064 * Versions.def: Add GLIBC_2.19 for libpthread.
9065 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9066 siglongjmp for libpthread with GLIBC_2.19 symver.
9067 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9068 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9069 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9070 * sysdeps/s390/__longjmp.c: New file.
9071 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9072 * sysdeps/s390/longjmp.c: New file.
9073 * sysdeps/s390/setjmp.S: New file.
9074 * sysdeps/s390/sigjmp.S: New file.
9075 * sysdeps/s390/v1-longjmp.c: New file.
9076 * sysdeps/s390/v1-setjmp.h: New file.
9077 * sysdeps/s390/v1-sigjmp.c: New file.
9078 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9079 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9081 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9082 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9083 versioned symbols for ____longjmp_chk.
9084 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9090 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9092 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9094 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9095 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9096 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9097 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9098 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9099 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9100 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9101 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9102 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9103 * sysdeps/s390/rtld-__longjmp.c: New file.
9104 * sysdeps/s390/rtld-setjmp.S: New file.
9106 2014-01-06 Joseph Myers <joseph@codesourcery.com>
9109 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9110 Return -__logl (x) for small positive arguments without evaluating
9113 2014-01-06 Mike Frysinger <vapier@gentoo.org>
9115 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9117 (__ptrace_peeksiginfo_args): ... this.
9118 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9119 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9120 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9122 2014-01-06 Allan McRae <allan@archlinux.org>
9124 * inet/netinet/in.h: Fix typo in comment.
9126 2014-01-05 Andreas Jaeger <aj@suse.de>
9128 * sysdeps/i386/fpu/libm-test-ulps: Update.
9130 2014-01-05 Allan McRae <allan@archlinux.org>
9132 * po/libc.pot: Regenerated.
9134 * malloc/memusagestat.c: Fix gettext call formatting.
9136 2014-01-04 Sami Kerola <kerolasa@iki.fi>
9138 * nscd/nscd.c: Improve usage() output.
9140 2014-01-04 Mike Frysinger <vapier@gentoo.org>
9142 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
9143 * sysdeps/unix/sysv/linux/configure: Regenerated.
9144 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
9145 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
9147 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9150 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9151 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
9153 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9155 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
9156 extra tokens at end of #undef directive.
9157 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9158 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9159 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9161 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9163 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9165 * math/auto-libm-test-in: Mark various tests with
9166 xfail-rounding:ldbl-128ibm.
9167 * math/auto-libm-test-out: Regenerated.
9169 2014-01-02 Joseph Myers <joseph@codesourcery.com>
9172 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
9173 numbers with subnormal high part when calculating exponent.
9176 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
9180 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
9182 (__ieee754_acoshl): Use __log1pl not __log1p.
9184 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
9186 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
9187 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
9188 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
9189 (grow_heap, heap_trim, _int_new_arena, get_free_list)
9190 (reused_arena, arena_get2): Convert to GNU style.
9191 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
9192 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
9193 (memalign_check, __malloc_set_state): Likewise.
9194 * malloc/mallocbug.c (main): Likewise.
9195 * malloc/malloc.c (__malloc_assert, malloc_init_state)
9196 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
9197 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
9198 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
9199 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
9200 (__posix_memalign, malloc_info): Likewise.
9201 * malloc/malloc.h: Likewise.
9202 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
9203 (mallochook, memalignhook, reallochook, mabort): Likewise.
9204 * malloc/mcheck.h: Likewise.
9205 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
9206 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
9207 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
9208 * malloc/morecore.c (__default_morecore): Likewise.
9209 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
9210 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
9211 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
9212 (print_and_abort): Likewise.
9213 * malloc/obstack.h: Likewise.
9214 * malloc/set-freeres.c (__libc_freeres): Likewise.
9215 * malloc/tst-mallocstate.c (main): Likewise.
9216 * malloc/tst-mtrace.c (main): Likewise.
9217 * malloc/tst-realloc.c (do_test): Likewise.
9219 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9222 * nscd/netgroupcache.c (do_notfound): New function.
9223 (addgetnetgrentX): Use it.
9226 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
9227 NSS_STATUS_NOTFOUND.
9229 2014-01-01 Joseph Myers <joseph@codesourcery.com>
9231 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9234 2014-01-01 Allan McRae <allan@archlinux.org>
9236 * scripts/update-copyrights: Update configure input file suffix.
9238 * NEWS: Update copyright year.
9239 * catgets/gencat.c: Likewise.
9240 * csu/version.c: Likewise.
9241 * debug/catchsegv.sh: Likewise.
9242 * debug/pcprofiledump.c: Likewise.
9243 * debug/xtrace.sh: Likewise.
9244 * elf/ldconfig.c: Likewise.
9245 * elf/ldd.bash.in: Likewise.
9246 * elf/pldd.c: Likewise.
9247 * elf/sotruss.ksh: Likewise.
9248 * elf/sprof.c: Likewise.
9249 * iconv/iconv_prog.c: Likewise.
9250 * iconv/iconvconfig.c: Likewise.
9251 * locale/programs/locale.c: Likewise.
9252 * locale/programs/localedef.c: Likewise.
9253 * login/programs/pt_chown.c: Likewise.
9254 * malloc/memusage.sh: Likewise.
9255 * malloc/memusagestat.c: Likewise.
9256 * malloc/mtrace.pl: Likewise.
9257 * manual/libc.texinfo: Likewise.
9258 * nscd/nscd.c: Likewise.
9259 * nss/getent.c: Likewise.
9260 * nss/makedb.c: Likewise.
9261 * posix/getconf.c: Likewise.
9262 * scripts/test-installation.pl: Likewise.
9264 * All files with FSF copyright notices: Update copyright dates
9265 using scripts/update-copyrights.
9266 * intl/plural.c: Regenerated.
9267 * locale/programs/charmap-kw.h: Likewise.
9268 * locale/programs/locfile-kw.h: Likewise.
9270 2013-12-31 Mike Frysinger <vapier@gentoo.org>
9272 * sysdeps/unix/sysv/linux/configure: Regenerated.
9273 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
9274 the linux/fanotify.h header.
9275 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
9276 HAVE_LINUX_FANOTIFY_H is defined.
9278 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9280 * benchtests/cos-inputs: New inputs.
9281 * benchtests/sin-inputs: Likewise.
9283 * benchtests/atan-inputs: New inputs. Fix name of multiple
9284 precision fallback inputs.
9286 * benchtests/atanh-inputs: New inputs.
9287 * benchtests/tanh-inputs: Likewise.
9289 * benchtests/acosh-inputs: New inputs.
9290 * benchtests/asinh-inputs: Likewise.
9292 * benchtests/cosh-inputs: New inputs.
9293 * benchtests/sinh-inputs: Likewise.
9295 * benchtests/acos-inputs: Add more inputs.
9296 * benchtests/asin-inputs: Likewise.
9298 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
9301 * manual/arith.texi: Fix spelling.
9302 * manual/charset.texi: Likewise.
9303 * manual/errno.texi: Likewise.
9304 * manual/filesys.texi: Likewise.
9305 * manual/lang.texi: Likewise.
9306 * manual/llio.texi: Likewise.
9307 * manual/locale.texi: Likewise.
9308 * manual/message.texi: Likewise.
9309 * manual/resource.texi: Likewise.
9310 * manual/search.texi: Likewise.
9311 * manual/setjmp.texi: Likewise.
9312 * manual/stdio.texi: Likewise.
9313 * manual/string.texi: Likewise.
9314 * manual/sysinfo.texi: Likewise.
9315 * manual/time.texi: Likewise.
9317 2013-12-27 Carlos O'Donell <carlos@redhat.com>
9319 * po/sl.po: New file.
9321 2013-12-27 Mike Frysinger <vapier@gentoo.org>
9323 * .gitignore: Add core/.gdbinit/.gdb_history.
9325 2013-12-27 Allan McRae <allan@archlinux.org>
9328 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
9329 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
9331 2013-12-24 Brooks Moses <bmoses@google.com>
9333 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
9334 all compilers that claim C++98 compliance, not just GCC.
9335 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9338 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9340 * NEWS: Restore accidentally deleted bug-fix entries.
9342 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9343 Ondřej Bílka <neleai@seznam.cz>
9346 * malloc/malloc.c (_int_free): Perform sanity check only if we
9349 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
9352 * manual/stdio.texi (String Input Conversions): Clarify that character
9353 classes are not supported.
9355 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9359 2013-12-22 Joseph Myers <joseph@codesourcery.com>
9362 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9363 Calculate results for small negative arguments directly rather
9364 than using reflection formula with special underflow handling.
9366 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
9367 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
9368 sysdeps/unix/bsd/bsd4.4/syscalls.list.
9369 (fchflags): Likewise.
9371 (setlogin): Likewise.
9372 (sigaltstack): Likewise.
9375 (sigsetmask): Likewise.
9377 (waitpid): Likewise.
9378 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
9379 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
9381 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
9382 * sysdeps/unix/bsd/Makefile: ... here.
9383 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
9384 * sysdeps/unix/bsd/Versions: ... here.
9385 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
9386 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
9387 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
9388 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
9389 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
9390 * sysdeps/unix/bsd/sigblock.c: ... here.
9391 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
9392 * sysdeps/unix/bsd/sigsetmask.c: ... here.
9393 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
9394 * sysdeps/unix/bsd/sigvec.c: ... here.
9395 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
9396 * sysdeps/unix/bsd/tcdrain.c: ... here.
9397 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
9398 * sysdeps/unix/bsd/tcgetattr.c: ... here.
9399 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
9400 * sysdeps/unix/bsd/tcsetattr.c: ... here.
9401 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
9402 * sysdeps/unix/bsd/wait.c: ... here.
9403 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
9404 * sysdeps/unix/bsd/wait3.c: ... here.
9405 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
9406 * sysdeps/unix/bsd/waitpid.c: ... here.
9408 2013-12-21 Joseph Myers <joseph@codesourcery.com>
9411 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
9412 round-to-nearest for [!USE_AS_EXPM1L].
9413 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9414 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
9415 more tests of exp and exp10. Expect some exp10 tests to miss
9416 exceptions or fail in directed rounding modes.
9417 * math/auto-libm-test-out: Regenerated.
9418 * math/libm-test.inc (exp10_tonearest_test_data): New array.
9419 (exp10_test_tonearest): New function.
9420 (exp10_towardzero_test_data): New array.
9421 (exp10_test_towardzero): New function.
9422 (exp10_downward_test_data): New array.
9423 (exp10_test_downward): New function.
9424 (exp10_upward_test_data): New array.
9425 (exp10_test_upward): New function.
9426 (main): Call the new functions.
9427 * sysdeps/i386/fpu/libm-test-ulps: Update.
9428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9430 2013-12-20 Joseph Myers <joseph@codesourcery.com>
9432 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9433 asinh, atan, atan2, atanh, cbrt, cos and cosh.
9434 * math/auto-libm-test-out: Regenerated.
9435 * math/libm-test.inc (acosh_test_data): Add more tests.
9436 (atanh_test_data): Likewise.
9437 (ceil_test_data): Likewise.
9438 (copysign_test_data): Likewise.
9439 * sysdeps/i386/fpu/libm-test-ulps: Update.
9440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9442 * timezone/checktab.awk: Update from tzcode 2013i.
9443 * timezone/private.h: Likewise.
9444 * timezone/scheck.c: Likewise.
9445 * timezone/tzfile.h: Likewise.
9446 * timezone/tzselect.ksh: Likewise.
9447 * timezone/zdump.c: Likewise.
9448 * timezone/zic.c: Likewise.
9450 * math/auto-libm-test-in: Add tests of cpow.
9451 * math/auto-libm-test-out: Regenerated.
9452 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
9453 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9455 (func_calc_desc): Add mpc_cc_c union field.
9456 (test_functions): Add cpow.
9457 (special_fill_2pi): New function.
9458 (special_real_inputs): Add 2pi.
9459 (calc_generic_results): Handle mpc_cc_c.
9460 * sysdeps/i386/fpu/libm-test-ulps: Update.
9461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9463 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9464 csqrt, ctan and ctanh.
9465 * math/auto-libm-test-out: Regenerated.
9466 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9467 (TEST_COND_x86): Likewise.
9468 (ccos_test_data): Use AUTO_TESTS_c_c.
9469 (ccosh_test_data): Likewise.
9470 (cexp_test_data): Likewise.
9471 (clog_test_data): Likewise.
9472 (csqrt_test_data): Likewise.
9473 (ctan_test_data): Likewise.
9474 (ctan_tonearest_test_data): Likewise.
9475 (ctan_towardzero_test_data): Likewise.
9476 (ctan_downward_test_data): Likewise.
9477 (ctan_upward_test_data): Likewise.
9478 (ctanh_test_data): Likewise.
9479 (ctanh_tonearest_test_data): Likewise.
9480 (ctanh_towardzero_test_data): Likewise.
9481 (ctanh_downward_test_data): Likewise.
9482 (ctanh_upward_test_data): Likewise.
9483 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9485 (func_calc_desc): Add mpc_c_c union field.
9486 (FUNC_mpc_c_c): New macro.
9487 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9488 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9490 (special_fill_min_subnorm_p120): New function.
9491 (special_real_inputs): Add min_subnorm_p120.
9492 (calc_generic_results): Handle mpc_c_c.
9493 * sysdeps/i386/fpu/libm-test-ulps: Update.
9494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9496 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9498 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9499 (do_sin_slow): New functions.
9500 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9501 (cslow2, csloww1, csloww2): Use the new functions.
9503 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9504 Use M to change sign of result instead of X. Assume X is
9506 (csloww1): Likewise.
9510 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9515 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9517 (sloww1): Don't adjust sign of DX.
9518 (csloww1): Likewise.
9519 (sloww2): Use X directly and don't adjust sign of DX.
9520 (csloww2): Likewise.
9522 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9524 * math/auto-libm-test-in: Add tests of cabs and carg.
9525 * math/auto-libm-test-out: Regenerated.
9526 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9527 (carg_test_data): Likewise.
9528 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9530 (func_calc_desc): Add mpc_c_f union field.
9531 (test_functions): Add cabs and carg.
9532 (calc_generic_results): Handle mpc_c_f.
9534 * sysdeps/powerpc/powerpc32/libgcc-compat.S
9535 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9536 as a macro and a compat symbol.
9537 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9538 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9539 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9540 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9541 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9542 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9544 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9546 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9548 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9550 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9552 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9554 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9555 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9558 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9560 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9562 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9564 * manual/texinfo.tex: Update to version 2013-11-26.10 with
9565 trailing whitespace removed.
9566 * scripts/config.guess: Update to version 2013-11-29.
9567 * scripts/config.sub: Update to version 2013-10-01.
9569 * math/auto-libm-test-in: Add tests of sincos.
9570 * math/auto-libm-test-out: Regenerated.
9571 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9572 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9574 (func_calc_desc): Add mpfr_f_11 union field.
9575 (test_functions): Add sincos.
9576 (calc_generic_results): Handle mpfr_f_11.
9577 * sysdeps/i386/fpu/libm-test-ulps: Update.
9578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9580 2013-12-19 Andreas Schwab <schwab@suse.de>
9582 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9584 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9585 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9586 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9588 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9590 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9591 * sysdeps/i386/fpu/libm-test-ulps: Update.
9592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9595 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9596 round-to-nearest mode when using frndint.
9597 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9598 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9599 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9601 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
9603 * math/auto-libm-test-out: Regenerated.
9604 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9605 (TEST_COND_x86): Likewise.
9606 (expm1_tonearest_test_data): New array.
9607 (expm1_test_tonearest): New function.
9608 (expm1_towardzero_test_data): New array.
9609 (expm1_test_towardzero): New function.
9610 (expm1_downward_test_data): New array.
9611 (expm1_test_downward): New function.
9612 (expm1_upward_test_data): New array.
9613 (expm1_test_upward): New function.
9614 (main): Run the new test functions.
9615 * sysdeps/i386/fpu/libm-test-ulps: Update.
9616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9618 * include/features.h: Update comment documenting feature test
9619 macros. Mention _DEFAULT_SOURCE in comment.
9620 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9621 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9622 _BSD_SOURCE and _SVID_SOURCE.
9623 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9624 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9625 !_SVID_SOURCE]: Likewise.
9626 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9627 (__USE_POSIX_IMPLICITLY): Define.
9628 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9629 (_POSIX_SOURCE): Undefine and redefine.
9630 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9631 (_POSIX_C_SOURCE): Likewise.
9632 * manual/creature.texi (_DEFAULT_SOURCE): Document.
9633 (Feature Test Macros): Update documentation of default features.
9635 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9637 * benchtests/Makefile: Add bench-strtok.
9638 * benchtests/bench-strtok.c: New file: strtok benchtest.
9640 2013-12-19 Allan McRae <allan@archlinux.org>
9642 * manual/install.texi: Suppress menu for plain text output.
9643 * INSTALL: Regenerated.
9645 2013-12-18 Brooks Moses <bmoses@google.com>
9648 * misc/getauxval.c: Include errno.h.
9649 (__getauxval): Set errno to ENOENT if the requested type is not
9651 * misc/sys/auxv.h (getauxval): Document that it may set errno;
9652 don't declare with __attribute_const__.
9653 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
9654 * manual/startup.texi: Document that getauxval sets errno.
9656 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9658 * math/auto-libm-test-in: Add tests of jn and yn.
9659 * math/auto-libm-test-out: Regenerated.
9660 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
9661 (yn_test_data): Likewise.
9662 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9664 (func_calc_desc): Add mpfr_if_f union field.
9665 (FUNC_mpfr_if_f): New macro.
9666 (test_functions): Add jn and yn.
9667 (calc_generic_results): Assert type of second input for
9668 mpfr_ff_f. Handle mpfr_if_f.
9669 (output_for_one_input_case): Disable all checking for arguments
9670 fitting floating-point types in case of an integer argument.
9671 * sysdeps/i386/fpu/libm-test-ulps: Update.
9672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9675 Don't expect fegetround reference in libm.so.
9677 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9679 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
9680 $(config-cflags-nofma).
9682 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9684 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
9685 * math/auto-libm-test-out: Regenerated.
9688 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
9689 to determine exponent and adjust argument to have exponent of -1.
9690 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9692 * math/auto-libm-test-out: Regenerated.
9693 * sysdeps/i386/fpu/libm-test-ulps: Update.
9694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9696 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
9698 * manual/probes.texi: Remove cases when per-thread arenas are
9701 2013-12-18 Andreas Schwab <schwab@suse.de>
9703 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
9704 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
9705 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
9706 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
9707 * sysdeps/i386/i686/multiarch/Makefile: Update.
9708 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
9710 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9712 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
9713 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9715 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
9718 Support TZ transition times < 00:00:00.
9719 This is needed for version-3 tz-format files; it supports time
9720 stamps past 2037 for America/Godthab (the only entry in the tz
9721 database for which this change is relevant).
9722 * manual/time.texi (TZ Variable): Document transition times
9723 from -167:59:59 through -00:00:01.
9724 * time/tzset.c (tz_rule): Time of day is now signed.
9725 (__tzset_parse_tz): Parse negative time of day.
9727 Document TZ transition times >= 25:00:00.
9728 * manual/time.texi (TZ Variable): Document transition times from
9729 25:00:00 through 167:59:59. These are already supported, and this
9730 support will help with version-3 tz-format files.
9732 * manual/time.texi (TZ Variable): Modernize North America example
9733 to reflect current (i.e., 2007-and-later) daylight saving rules.
9735 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
9737 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9739 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
9740 * sysdeps/unix/bsd/bits/stat.h: Likewise.
9741 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
9742 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9743 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
9744 * sysdeps/unix/bsd/bsdstat.h: Likewise.
9745 * sysdeps/unix/bsd/clock.c: Likewise.
9746 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
9747 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
9748 * sysdeps/unix/bsd/init-posix.c: Likewise.
9749 * sysdeps/unix/bsd/poll.c: Likewise.
9750 * sysdeps/unix/bsd/ptsname.c: Likewise.
9751 * sysdeps/unix/bsd/seekdir.c: Likewise.
9752 * sysdeps/unix/bsd/setegid.c: Likewise.
9753 * sysdeps/unix/bsd/seteuid.c: Likewise.
9754 * sysdeps/unix/bsd/setgid.c: Likewise.
9755 * sysdeps/unix/bsd/setrgid.c: Likewise.
9756 * sysdeps/unix/bsd/setruid.c: Likewise.
9757 * sysdeps/unix/bsd/setsid.c: Likewise.
9758 * sysdeps/unix/bsd/setuid.c: Likewise.
9759 * sysdeps/unix/bsd/sigaction.c: Likewise.
9760 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
9761 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
9762 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9763 * sysdeps/unix/bsd/telldir.c: Likewise.
9764 * sysdeps/unix/bsd/times.c: Likewise.
9765 * sysdeps/unix/bsd/usleep.c: Likewise.
9767 * misc/Makefile (install-lib): Remove libbsd-compat.a.
9768 ($(objpfx)libbsd-compat.a): Remove rule.
9770 * include/features.h (__FAVOR_BSD): Do not define.
9771 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
9772 features conflicting with POSIX.
9773 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
9774 (_BSD_SOURCE): Remove description of not being a subset of other
9775 feature test macros.
9776 * manual/job.texi (getpgrp): Do not document BSD version.
9777 (getpgid): Do not document by reference to BSD getpgrp.
9778 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
9779 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
9780 * signal/signal.h [__FAVOR_BSD]: Likewise.
9781 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
9782 instead of making contents conditional on [__FAVOR_BSD].
9783 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
9785 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9787 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9789 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9792 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
9793 values below 2**-450, not 2**-500.
9794 * math/auto-libm-test-in: Don't allow spurious underflow from
9796 * math/auto-libm-test-out: Regenerated.
9800 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
9801 values of ha and hb and sort them after adjusting subnormal
9803 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9805 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
9806 values of ea and eb and sort them after adjusting subnormal
9808 * math/auto-libm-test-in: Do not expect some hypot tests of
9809 subnormals to fail. Add more hypot tests.
9810 * math/auto-libm-test-out: Regenerated.
9812 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9815 * sysdeps/sh/s_fma.c: New file.
9816 * sysdeps/sh/s_fmaf.c: New file.
9817 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
9819 * sysdeps/sh/Implies: Add sh/soft-fp.
9821 2013-12-16 Roland McGrath <roland@hack.frob.com>
9823 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
9824 level of indirection to members `objname', `errstring', `malloced'.
9825 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
9826 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
9827 it as the __longjmp argument (just pass 1 instead).
9828 (_dl_catch_error): Initialize C with argument pointers and address of
9829 volatile local ERRCODE rather than copying values out of C at return.
9831 2013-12-16 Joseph Myers <joseph@codesourcery.com>
9833 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
9834 * math/auto-libm-test-out: Regenerated.
9835 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
9836 (hypot_test_data): Likewise.
9837 (pow_test_data): Likewise.
9838 (pow_tonearest_test_data): Likewise.
9839 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9841 (func_calc_desc): Add mpfr_ff_f union field.
9842 (FUNC_mpfr_ff_f): New macro.
9843 (test_functions): Add atan2, hypot and pow.
9844 (special_fill_min): New function.
9845 (special_fill_minus_min): Likewise.
9846 (special_fill_min_subnorm): Likewise.
9847 (special_fill_minus_min_subnorm): Likewise.
9848 (special_real_inputs): Add min, -min, min_subnorm and
9850 (calc_generic_results): Handle mpfr_ff_f.
9851 * sysdeps/i386/fpu/libm-test-ulps: Update.
9852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9854 2013-12-16 Will Newton <will.newton@linaro.org>
9856 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
9857 (Aligned Memory Blocks): Add documentation for aligned_alloc
9858 and suggest it as an alternative to posix_memalign.
9859 (Hooks for Malloc): Document __memalign_hook is also called
9860 for aligned_alloc. (Summary of Malloc): Add summary for
9861 aligned alloc. Document __memalign_hook is also called
9864 2013-12-16 Will Newton <will.newton@linaro.org>
9866 * manual/memory.texi (Malloc Examples): Clarify default
9867 alignment documentation. Suggest posix_memalign rather
9868 than memalign or valloc.
9869 (Aligned Memory Blocks): Remove suggestion to use memalign
9870 or valloc. Remove obsolete comment about BSD.
9871 Document memalign errno values and mark the function obsolete.
9872 Document posix_memalign returned error codes. Mark valloc
9873 as obsolete. (Hooks for Malloc): __memalign_hook is also
9874 called for posix_memalign and valloc.
9875 (Summary of Malloc): Add posix_memalign to function summary.
9876 __memalign_hook is also called for posix_memalign and valloc.
9878 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9880 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
9884 (sloww): Use mynumber union. Expand ternary operator into
9886 (cslow): use mynumber union.
9888 2013-12-16 Allan McRae <allan@archlinux.org>
9890 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
9891 * configure: Regenerated.
9893 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
9896 * configure.ac: Added --enable-maintainer-mode. Check for
9897 autoconf when enabled.
9898 * configure: Regenerated.
9900 * nscd/nscd.service: New file.
9901 * nscd/nscd.tmpfiles: New file.
9903 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
9906 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
9907 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
9908 * sysdeps/x86_64/multiarch/strstr.c: ... here.
9909 (strstr): Add __strstr_sse2_unaligned ifunc.
9910 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
9911 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
9912 (strcasestr): Remove __strcasestr_sse42 ifunc.
9913 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
9914 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9915 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9917 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9919 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
9920 * sysdeps/sh/bits/fenv.h: ... here.
9921 * sysdeps/sh/sh4/fpu/bits: Remove directory.
9923 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9925 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
9927 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
9928 hypotf multiarch implementations.
9929 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
9930 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
9931 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
9932 multiarch hypot for PPC64.
9933 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
9934 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
9935 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
9936 multiarch hypotf for PPC64.
9938 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
9939 modff multiarch implementations.
9940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
9941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
9942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
9943 multiarch modf for PPC64.
9944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
9945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
9946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
9947 multiarch modff for PPC64.
9949 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
9950 and logl multiarch implementations.
9951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
9952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
9953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
9954 multiarch logb for PPC64.
9955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
9956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
9957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
9958 multiarch logb for PPC64.
9959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
9960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
9961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
9962 multiarch logb for PPC64.
9964 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
9965 isinff multiarch implementation.
9966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
9968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
9969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9970 multiarch isinf for PPC64.
9971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9974 multiarch isinff for PPC64.
9976 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9977 finitef multiarch implementation.
9978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9982 multiarch finite for PPC64.
9983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
9986 multiarch finitef for PPC64.
9988 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
9989 lrint multiarch implementation.
9990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
9992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9994 multiarch llrint for PPC64.
9995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9996 multiarch lrint for PPC64.
9998 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9999 copysignf multiarch implementation.
10000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10005 multiarch copysign for PPC64.
10006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10007 multiarch copysignf for PPC64.
10009 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10010 multiarch implementation.
10011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10019 multiarch llround for PPC64.
10020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10021 multiarch trunc for PPC64.
10022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10023 multiarch truncf for PPC64.
10025 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10026 multiarch implementation.
10027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10035 multiarch llround for PPC64.
10036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10037 multiarch round for PPC64.
10038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10039 multiarch roundf for PPC64.
10041 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10042 multiarch implementation.
10043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10051 multiarch llround for PPC64.
10052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10053 multiarch floor for PPC64.
10054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10055 multiarch floorf for PPC64.
10057 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10058 multiarch implementation.
10059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10067 multiarch llround for PPC64.
10068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10069 multiarch ceil for PPC64.
10070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10071 multiarch ceilf for PPC64.
10073 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10074 multiarch implementation.
10075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10082 multiarch llround for PPC64.
10083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10084 multiarch lround for PPC64.
10086 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10087 multiarch implementation.
10088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10095 multiarch isnan for PPC64.
10096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10097 multiarch isnanf for PPC64.
10099 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10100 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10101 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10102 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10103 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10106 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10107 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10108 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10109 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10111 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10112 multiarch implementations.
10113 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10114 (__libc_ifunc_impl_list): Likewise.
10115 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10116 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10117 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10118 multiarch stpcpy for PPC64.
10120 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10121 multiarch implementations.
10122 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10123 (__libc_ifunc_impl_list): Likewise.
10124 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10125 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
10126 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10127 multiarch strcpy for PPC64.
10129 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
10130 redefine function name.
10131 (_wordcopy_fwd_dest_aligned): Likewise.
10132 (_wordcopy_bwd_aligned): Likewise.
10133 (_wordcopy_bwd_dest_aligned): Likewise.
10134 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
10135 multiarch implementations.
10136 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10137 (__libc_ifunc_impl_list): Likewise.
10138 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
10139 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
10140 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
10141 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
10142 multiarch wcscpy for PPC64.
10144 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
10145 multiarch implementations.
10146 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10147 (__libc_ifunc_impl_list): Likewise.
10148 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
10149 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
10150 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
10151 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
10152 multiarch wcscpy for PPC64.
10154 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
10155 multiarch implementations.
10156 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10157 (__libc_ifunc_impl_list): Likewise.
10158 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
10159 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
10160 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
10161 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
10162 multiarch wcsrchr for PPC64.
10164 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
10165 multiarch implementations.
10166 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10167 (__libc_ifunc_impl_list): Likewise.
10168 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
10169 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
10170 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
10171 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
10172 multiarch wcschr for PPC64.
10174 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
10175 multiarch implementations.
10176 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10177 (__libc_ifunc_impl_list): Likewise.
10178 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
10179 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
10180 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
10181 multiarch strchrnul for PPC64.
10183 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
10185 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10186 (__libc_ifunc_impl_list): Likewise.
10187 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
10188 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
10189 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
10190 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
10193 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
10195 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10196 (__libc_ifunc_impl_list): Likewise.
10197 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
10198 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
10199 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
10200 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
10203 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
10204 multiarch implementations.
10205 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10206 (__libc_ifunc_impl_list): Likewise.
10207 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
10208 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
10209 strncasecmp for PPC64.
10210 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
10211 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
10212 multiarch strncasecmp_l for PPC64.
10214 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
10215 multiarch implementations.
10216 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10217 (__libc_ifunc_impl_list): Likewise.
10218 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
10219 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
10220 multiarch strcasecmp for PPC64.
10221 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
10223 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
10224 multiarch strcasecmp_l for PPC64.
10226 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
10228 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10229 (__libc_ifunc_impl_list): Likewise.
10230 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
10231 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
10232 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
10235 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
10237 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10238 (__libc_ifunc_impl_list): Likewise.
10239 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
10240 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
10241 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
10244 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
10246 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10247 (__libc_ifunc_impl_list): Likewise.
10248 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
10249 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
10250 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
10251 rawmemrchr for PPC64.
10253 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
10255 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10256 (__libc_ifunc_impl_list): Likewise.
10257 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
10258 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
10259 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
10262 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
10264 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10265 (__libc_ifunc_impl_list): Likewise.
10266 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
10267 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
10268 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
10271 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
10273 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10274 (__libc_ifunc_impl_list): Likewise.
10275 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
10276 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
10277 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
10280 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
10281 avoid cretion of __bzero symbol.
10282 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
10284 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
10286 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
10288 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
10289 multiarch implementations.
10290 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10291 (__libc_ifunc_impl_list): Likewise.
10292 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
10293 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
10294 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
10295 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
10297 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
10298 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
10299 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
10300 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
10301 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
10303 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
10305 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
10306 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
10308 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10309 (__libc_ifunc_impl_list): Likewise.
10310 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
10311 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
10312 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
10313 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
10316 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
10317 multiarch for POWER/PPC64.
10318 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10319 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
10320 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
10321 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
10322 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
10323 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
10324 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
10325 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
10326 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
10329 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
10330 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
10331 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
10332 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
10333 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
10334 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
10335 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
10336 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
10337 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
10338 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
10339 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
10340 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
10341 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
10342 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
10343 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
10344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
10345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
10346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
10347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
10348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
10349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
10350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
10352 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10354 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
10356 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10358 * benchtests/Makefile (bench): Add exp2 and log2.
10359 (LDLIBS-bench-exp2): Add -lm.
10360 (LDLIBS-bench-log2): Likewise.
10361 * benchtests/exp2-inputs: New inputs file.
10362 * benchtests/log2-inputs: New inputs file.
10363 * benchtests/log-inputs: Add new inputs.
10364 * benchtests/tan-inputs: Likewise.
10366 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10368 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
10370 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
10371 (csloww2): ... from here.
10373 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
10374 instead of structures.
10375 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
10376 (POLYNOMIAL): Likewise.
10377 (TAYLOR_SLOW): Likewise.
10383 (sloww1); Likewise.
10384 (sloww2): Likewise.
10385 (bsloww1): Likewise.
10386 (bsloww2): Likewise.
10387 (cslow2): Likewise.
10388 (csloww): Likewise.
10389 (csloww1): Likewise.
10390 (csloww2): Likewise.
10392 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
10394 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
10395 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
10396 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
10397 * malloc/hooks.c (realloc_check): Likewise.
10399 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
10400 * malloc/arena.c: Remove PER_THREAD conditional.
10401 [!PER_THREAD]: Remove code.
10402 (ptmalloc_unlock_all2): Likewise.
10403 (ptmalloc_init): Likewise.
10404 (_int_new_arena): Likewise.
10405 (arena_get2): Likewise.
10406 * malloc/hooks.c (__malloc_get_state): Likewise.
10407 (__malloc_set_state): Likewise.
10408 * malloc/malloc.c: Likewise.
10409 (struct malloc_state): Likewise.
10410 (struct malloc_par): Likewise.
10411 (__libc_realloc): Likewise.
10412 (__libc_mallopt): Likewise.
10414 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10416 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
10418 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
10420 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
10421 macro to a function. Check for zero perturb_byte.
10422 (_int_malloc, _int_free): Remove zero perturb_byte checks.
10424 * malloc/malloc.c: (force_reg): Remove.
10425 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
10426 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
10427 force_reg by atomic_forced_read.
10428 * malloc/arena.c (ptmalloc_init): Likewise.
10429 * malloc/hooks.c (top_check): Likewise.
10431 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10433 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10435 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
10437 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10439 2013-12-08 Joseph Myers <joseph@codesourcery.com>
10441 * math/auto-libm-test-in: Add tests of lgamma.
10442 * math/auto-libm-test-out: Regenerated.
10443 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
10444 (M_LOG_2_SQRT_PIl): Likewise.
10445 (lgamma_test_data): Use AUTO_TESTS_f_f1.
10446 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10448 (func_calc_desc): Add mpfr_f_f1 union field.
10449 (ARGS1): New macro.
10457 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10458 (test_functions): Add lgamma.
10459 (calc_generic_results): Handle mpfr_f_f1.
10460 * sysdeps/i386/fpu/libm-test-ulps: Update.
10461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10463 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10465 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10466 __mpn_add_n for PowerPC64/POWER7.
10467 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10468 __mpn_sub_n for PowerPC64/POWER7.
10470 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10471 __mpn_addmul_1 for PowerPC64.
10472 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10473 __mpn_submul_1 for PowerPC64.
10474 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10476 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10479 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
10482 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10484 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10486 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10488 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10489 add multiarch folders.
10490 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10491 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10492 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10493 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10494 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10495 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10496 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10497 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10498 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10499 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10500 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10509 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10515 multiarch __ieee754_hypot for PowerPC32.
10516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10521 multiarch __ieee754_hypotf for PowerPC32.
10523 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10524 long_double_symbol only if __logbl is defined.
10525 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10526 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10527 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10528 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10529 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10530 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10531 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10532 path for implementation.
10533 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10534 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10536 logb, and logbl multiarch implementations for PowerPC32.
10537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10542 multiarch logb for PowerPC32.
10543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10548 multiarch logbf for PowerPC32.
10549 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10553 multiarch logbl implementation for PowerPC32.
10555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10556 and modff multiarch implementations.
10557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10562 multiarch modf for PowerPC32.
10563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10568 multiarch modff for PowerPC32.
10570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10571 and lrintf multiarch implementations.
10572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10577 multiarch lrint for PowerPC32.
10578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10579 file: multiarch lrintf for PowerPC32.
10581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10582 and lroundf multiarch implementations.
10583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10590 multiarch lround for PowerPC32.
10591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10592 file: multiarch lroundf for PowerPC32.
10594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10595 copysign and copysignf multiarch implementations.
10596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10601 file: multiarch copysign for PowerPC32.
10602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10603 file: multiarch copysignf for PowerPC32.
10605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10606 and truncf multiarch implementations.
10607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10612 multiarch trunc for PowerPC32.
10613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10618 multiarch truncf for PowerPC32.
10620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10621 and roundf multiarch implementations.
10622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10627 multiarch round for PowerPC32.
10628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
10633 multiarch roundf for PowerPC32.
10635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
10636 and floorf multiarch implementations.
10637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
10639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
10641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
10642 multiarch floor for PowerPC32.
10643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
10645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
10647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
10648 multiarch floorf for PowerPC32.
10650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
10651 and ceilf multiarch implementations.
10652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
10654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
10656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
10657 multiarch ceil for PowerPC32.
10658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
10660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
10662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
10663 multiarch ceilf for PowerPC32.
10665 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
10667 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
10668 FINITEF is defined.
10669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
10670 and finitef multiarch implementations.
10671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
10673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
10675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
10676 multiarch finite for PowerPC32.
10677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
10679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
10680 file: multiarch finitef for PowerPC32.
10682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
10683 and isinff multiarch implementations.
10684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
10686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
10688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
10689 multiarch isinf for PowerPC32.
10690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
10692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
10693 multiarch isinff for PowerPC32.
10695 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
10696 alias when __isnan is defined.
10697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
10698 and isnanf multiarch implementations.
10699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
10701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
10703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
10705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
10707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
10708 multiarch isnan for PowerPC32.
10709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
10711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
10713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
10714 multiarch isnanf for PowerPC32.
10716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
10717 and sqrtf multiarch implementations.
10718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
10720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
10722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
10723 multiarch sqrt for PowerPC32.
10724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
10726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
10728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
10729 multiarch sqrtf for PowerPC32.
10731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
10732 and llroundf multiarch implementations.
10733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
10735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
10737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
10739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
10740 file: multiarch llround for PowerPC32.
10741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
10742 file: multiarch llroundf for PowerPC32.
10744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
10745 multiarch PowerPC32 fpu implementations.
10746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
10748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
10750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
10751 multiarch llrint for PowerPC32.
10752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
10754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
10756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
10759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
10761 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
10763 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
10765 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
10767 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
10768 multiarch wordcopy for PPC32.
10769 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10771 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10772 (__libc_ifunc_impl_list): Likewise.
10773 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
10774 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
10775 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
10776 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
10777 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
10778 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
10780 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
10781 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
10783 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
10785 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
10787 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
10788 multiarch wcscpy for PPC32.
10789 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10791 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10792 (__libc_ifunc_impl_list): Likewise.
10793 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10794 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10795 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
10796 sysdeps/powerpc/power6/wcscpy.c.
10798 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
10799 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
10801 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
10803 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
10805 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
10806 multiarch wcsrchr for PPC32.
10807 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10809 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10810 (__libc_ifunc_impl_list): Likewise.
10811 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10812 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10813 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
10814 sysdeps/powerpc/power6/wcsrchr.c.
10816 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
10818 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
10820 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
10821 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
10822 multiarch wcschr for PPc32.
10823 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10825 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10826 (__libc_ifunc_impl_list): Likewise.
10827 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
10828 * sysdeps/powerpc/power6/wcschr.c: ... to here.
10829 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
10830 sysdeps/powerpc/power6/wcschr.c.
10832 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
10833 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
10835 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
10836 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
10837 file: multiarch strchr for PPC32.
10838 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
10840 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10841 (__libc_ifunc_impl_list): Likewise.
10843 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
10845 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
10847 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
10849 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
10850 multiarch strchrnul for PPC32.
10851 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
10853 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10854 (__libc_ifunc_impl_list): Likewise.
10856 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
10858 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
10859 multiarch strncasecmp for PPC32.
10860 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
10862 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
10863 multiarch strncasecmp_l for PPC32.
10864 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
10865 strncasecmp multiarch objects.
10866 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10867 (__libc_ifunc_impl_list): Likewise.
10869 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
10871 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
10872 multiarch strncasecmp for PPC32.
10873 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10875 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
10876 multiarch strcasecmp_l for PPC32.
10877 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
10879 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10880 (__libc_ifunc_impl_list): Likewise.
10882 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
10884 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
10886 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
10887 multiarch strncmp for PPC32.
10888 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
10890 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10891 (__libc_ifunc_impl_list): Likewise.
10893 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
10894 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
10896 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
10897 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
10898 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
10900 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10901 (__libc_ifunc_impl_list): Likewise.
10903 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
10905 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
10907 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
10908 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
10910 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10911 (__libc_ifunc_impl_list): Likewise.
10913 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
10915 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
10917 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
10918 multiarch rawmemchr for PPC32.
10919 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
10921 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10922 (__libc_ifunc_impl_list): Likewise.
10924 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
10926 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
10928 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
10929 file: memrchr multiarch for PPC32.
10930 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
10932 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10933 (__libc_ifunc_impl_list): Likewise.
10935 * string/memchr.c (__memchr): Using macro to redefine symbol name.
10936 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
10938 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
10939 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
10940 multiarch memchr for PPC32.
10941 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
10943 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10944 (__libc_ifunc_impl_list): Likewise.
10946 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
10947 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
10949 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
10951 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
10952 file: multiarch mempcpy for PPC32.
10953 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
10955 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10956 (__libc_ifunc_impl_list): Likewise.
10958 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
10959 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
10960 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
10961 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
10962 multiarch bzero for PPC32.
10963 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
10965 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10967 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
10968 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
10969 file: multiarch memset for PPC32.
10970 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10971 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10972 memset multiarch objects.
10973 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10974 (__libc_ifunc_impl_list): Likewise.
10976 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10978 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10979 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10981 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10982 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10984 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10985 (__libc_ifunc_impl_list): Likewise.
10987 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
10988 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
10989 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
10991 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10993 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10995 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10996 multiarch memcpy for PPC32.
10997 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10999 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11000 (__libc_ifunc_impl_list): Likewise.
11002 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11003 support multiarch for POWER/PPC32.
11004 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11006 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11008 Implies file to make multiarch folder appers before the fpu and
11009 default folder for power4 configuration.
11011 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11013 * scripts/bench.pl: Append volatile keyword to type.
11015 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11017 * sysdeps/sh/sotruss-lib.c: New file.
11018 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11020 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11022 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11024 2013-12-05 Joseph Myers <joseph@codesourcery.com>
11027 * math/w_tgamma.c: Include <errno.h>.
11028 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
11029 * math/w_tgammaf.c: Include <errno.h>.
11030 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
11031 * math/w_tgammal.c: Include <errno.h>.
11032 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
11033 * math/auto-libm-test-in: Do not allow missing errno on tgamma
11034 underflow. Add more tgamma tests.
11035 * math/auto-libm-test-out: Regenerated.
11036 * sysdeps/i386/fpu/libm-test-ulps: Update.
11037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11039 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11040 sin, sinh, tan, tanh, tgamma, y0 and y1.
11041 * math/auto-libm-test-out: Regenerated.
11042 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11043 (TEST_COND_x86): Likewise.
11044 (M_E2l): Remove macro.
11046 (M_2_SQRT_PIl): Likewise.
11047 (M_SQRT_PIl): Likewise.
11048 (M_1_DIV_El): Likewise.
11049 (log_test_data): Use AUTO_TESTS_f_f.
11050 (log10_test_data): Likewise.
11051 (log1p_test_data): Likewise.
11052 (log2_test_data): Likewise.
11053 (sin_test_data): Likewise.
11054 (sin_tonearest_test_data): Likewise.
11055 (sin_towardzero_test_data): Likewise.
11056 (sin_downward_test_data): Likewise.
11057 (sin_upward_test_data): Likewise.
11058 (sinh_test_data): Likewise.
11059 (sinh_tonearest_test_data): Likewise.
11060 (sinh_towardzero_test_data): Likewise.
11061 (sinh_downward_test_data): Likewise.
11062 (sinh_upward_test_data): Likewise.
11063 (tan_test_data): Likewise.
11064 (tan_tonearest_test_data): Likewise.
11065 (tan_towardzero_test_data): Likewise.
11066 (tan_downward_test_data): Likewise.
11067 (tan_upward_test_data): Likewise.
11068 (tanh_test_data): Likewise.
11069 (tgamma_test_data): Likewise.
11070 (y0_test_data): Likewise.
11071 (y1_test_data): Likewise.
11072 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11073 (special_real_inputs): Add pi/4.
11074 * sysdeps/i386/fpu/libm-test-ulps: Update.
11075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11077 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11079 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11080 "longjmp_target" static probes.
11081 (__longjmp): Rename to __longjmp_symbol.
11082 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11083 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11084 on which longjmp to generate.
11085 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11086 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11088 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11089 (__sigjmp_save): Rename to __sigjmp_save_symbol.
11090 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11091 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11092 and __sigjmp_save_symbol based on which sigsetjmp to generated.
11093 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11095 __longjmp_symbol based on which __longjmp to generate.
11096 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11098 (setjmp): Rename to setjmp_symbol.
11099 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11100 (_setjmp): Rename to _setjmp_symbol.
11101 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11102 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11103 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11104 which setjmp to generate.
11105 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11106 "longjmp_target" static probes.
11108 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11110 * benchtests/README: Add note about output arguments.
11111 * benchtests/bench-sincos.c: Remove file.
11112 * benchtests/sincos-inputs: New file.
11113 * scripts/bench.pl: Identify output arguments and define
11114 static variables for them.
11116 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11119 * Makefile (INSTALL): Add install-plain.texi as the primary
11121 * manual/install-plain.texi: New file.
11122 * manual/install.texi: Include node directive only for
11123 non-plaintext output.
11125 2013-12-04 Joseph Myers <joseph@codesourcery.com>
11127 * stdlib/longlong.h: Update from GCC.
11131 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
11132 * math/w_j0f.c (y0f): Likewise.
11133 * math/w_j0l.c (__y0l): Likewise.
11134 * math/w_j1.c (y1): Likewise.
11135 * math/w_j1f.c (y1f): Likewise.
11136 * math/w_j1l.c (__y1l): Likewise
11137 * math/w_jn.c (yn): Likewise.
11138 * math/w_jnf.c (ynf): Likewise.
11139 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
11140 Bessel function pole errors in _POSIX_ mode. Use NAN as return
11141 value for Bessel function domain errors outside _SVID_ mode.
11142 Adjust sign of return value for yn (negative integer, 0).
11143 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
11144 by zero in return for negative x and set sign appropriately for
11146 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
11147 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11148 * math/libm-test.inc (y0_test_data): Add more tests and adjust
11149 expectations in error cases.
11150 (y1_test_data): Likewise.
11151 (yn_test_data): Likewise.
11152 * sysdeps/i386/fpu/libm-test-ulps: Update.
11153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11155 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11157 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
11158 "64" to "64-v1". Add "64-v2".
11159 (abi-64-options): Rename to ...
11160 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
11161 (abi-64-condition): Rename to ...
11162 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
11163 (abi-64-ld-soname): Rename to ...
11164 (abi-64-v1-ld-soname): ... this.
11165 (abi-64-v2-options): Define.
11166 (abi-64-v2-condition): Likewise.
11167 (abi-64-v2-ld-soname): Likewise.
11168 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
11169 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
11170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
11171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
11172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
11174 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11175 Alan Modra <amodra@gmail.com>
11177 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
11178 New versions for use with the ELFv2 ABI.
11179 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
11180 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
11182 (struct La_ppc64v2_retval): Likewise.
11183 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
11184 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
11185 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
11186 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
11187 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
11188 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11189 Do not save or restore CR.
11190 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
11191 (_dl_profile_resolve): Do no save or restore CR. Support extended
11192 return values for ELFv2 ABI. Fix location of FPR return registers.
11193 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
11194 updated values for _CALL_ELF == 2.
11195 (La_regs, La_retval, int_retval): Likewise.
11197 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11199 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
11200 (FRAME_MIN_SIZE_PARM): Likewise.
11201 (FRAME_BACKCHAIN): Likewise.
11202 (FRAME_CR_SAVE): Likewise.
11203 (FRAME_LR_SAVE): Likewise.
11204 (FRAME_TOC_SAVE): Likewise.
11205 (FRAME_PARM_SAVE): Likewise.
11206 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
11207 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
11208 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11209 (call_mcount_parm_offset): New macro.
11210 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
11211 (PROF): Use symbolic stack frame offsets.
11212 (TAIL_CALL_SYSCALL_ERROR): Likewise.
11213 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
11214 Redefine in terms of FRAME_MIN_SIZE.
11215 (_dl_runtime_resolve): Use symbolic stack frame offsets.
11216 (_dl_profile_resolve): Likewise. Update comment.
11217 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
11218 symbols stack frame offsets.
11219 (__sigsetjmp): Likewise.
11220 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
11221 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
11222 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
11223 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
11225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
11226 (FRAME_BACKCHAIN): Remove.
11227 (FRAME_CR_SAVE): Likewise.
11228 (FRAME_LR_SAVE): Likewise.
11229 (FRAME_COMPILER_DW): Likewise.
11230 (FRAME_LINKER_DW): Likewise.
11231 (FRAME_TOC_SAVE): Likewise.
11232 (FRAME_PARM_SAVE): Likewise.
11233 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
11234 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
11235 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
11237 (CHECK_SP): Use symbolic stack frame offsets.
11238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
11239 zone" instead of caller's parameter save area for temp storage.
11240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11241 Likewise. Also, use symbolic stack frame offsets.
11242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
11243 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
11244 our own stack frame instead of the caller's.
11245 (__socket): Use symbolic stack frame offsets.
11247 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11248 Alan Modra <amodra@gmail.com>
11250 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
11252 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
11253 (PPC64_LOCAL_ENTRY_OFFSET): Define.
11254 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
11256 (elf_machine_fixup_plt): Call it.
11257 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
11259 (elf_machine_rela): Update call to elf_machine_plt_conflict.
11260 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11261 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
11262 r2 before calling target.
11264 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11265 Alan Modra <amodra@gmail.com>
11267 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
11268 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
11269 versions of macros to support ELFv2 ABI.
11270 (LOCALENTRY): New macro.
11271 (ENTRY, EALIGN): Use it.
11272 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
11273 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
11274 fall through into ENTRY entry point.
11275 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
11276 Only define if _CALL_ELF != 2.
11278 (elf_machine_matches_host): Verify ABI version matches.
11279 (RTLD_START): Use LOCALENTRY.
11280 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
11281 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
11282 (PLT_ENTRY_WORDS): New macro.
11283 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
11284 (elf_machine_runtime_setup): Support ELFv2 ABI.
11285 (elf_machine_fixup_plt): Likewise.
11286 (elf_machine_plt_conflict): Likewise.
11287 (resolve_ifunc): Likewise.
11288 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11289 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
11292 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
11293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11294 (makecontext): Support ELFv2 ABI.
11295 * elf/elf.h (EF_PPC64_ABI): Define.
11297 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11299 * sysdeps/powerpc/powerpc64/sysdep.h
11300 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
11301 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
11302 (ENTRY) [ASSEMBLER]: ... but instead here ...
11303 (EALIGN) [ASSEMBLER]: ... and here.
11304 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
11305 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
11306 (ENTRY_2) [!ASSEMBLER]: Use it.
11307 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
11308 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
11309 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11310 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
11311 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
11312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
11313 Use PPC64_LOAD_FUNCPTR.
11315 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
11317 2013-12-04 Alan Modra <amodra@gmail.com>
11319 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
11320 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
11321 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
11322 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
11324 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
11325 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
11326 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
11327 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
11328 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
11329 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
11331 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11334 (__makecontext): Fix incorrect CFI when backtracing out of
11335 context created via makecontext.
11336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
11337 (__setcontext): Fix incorrect CFI during switch to new context.
11338 (__novec_setcontext): Likewise.
11340 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
11343 * time/strptime_l.c (__strptime_internal): Allow modifiers
11345 * time/tst-strptime.c (day_tests): Add testcase.
11347 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11349 * scripts/bench.pl: Skip over blank lines.
11351 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
11354 * manual/time.texi (Calendar Time): Clarify what timezone functions
11357 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11359 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11361 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
11363 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
11365 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11366 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11367 * debug/memset_chk.c (__memset_chk): Likewise.
11368 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
11369 * debug/strncpy_chk.c: Likewise.
11371 2013-12-03 Joseph Myers <joseph@codesourcery.com>
11375 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
11376 (__ieee754_exp): For possibly underflowing results, check size of
11377 result and force underflow exception if required.
11378 * math/auto-libm-test-in: Add more tests of exp.
11379 * math/auto-libm-test-out: Regenerated.
11380 * sysdeps/i386/fpu/libm-test-ulps: Update.
11381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11384 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
11385 * math/w_exp2f.c (__exp2f): Likewise.
11386 * math/w_exp2l.c (__exp2l): Likewise.
11387 * math/auto-libm-test-in: Do not allow missing errno on exp2
11389 * math/auto-libm-test-out: Regenerated.
11391 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
11394 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
11395 handle filename validation.
11396 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
11399 2013-12-03 Joseph Myers <joseph@codesourcery.com>
11402 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
11403 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
11404 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
11406 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
11407 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
11408 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11409 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
11410 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11411 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
11412 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11413 * math/auto-libm-test-in: Don't allow missing errno from erfc.
11414 Add more erfc tests.
11415 * math/auto-libm-test-out: Regenerated.
11416 * sysdeps/i386/fpu/libm-test-ulps: Update.
11417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11419 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
11420 exp2, expm1, j0 and j1.
11421 * math/auto-libm-test-out: Regenerated.
11422 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
11423 (erfc_test_data): Likewise.
11424 (exp_test_data): Likewise.
11425 (exp_tonearest_test_data): Likewise.
11426 (exp_towardzero_test_data): Likewise.
11427 (exp_downward_test_data): Likewise.
11428 (exp_upward_test_data): Likewise.
11429 (exp10_test_data): Likewise.
11430 (exp2_test_data): Likewise.
11431 (expm1_test_data): Likewise.
11432 (j0_test_data): Likewise.
11433 (j1_test_data): Likewise.
11434 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
11435 (input_flag_type): Add flag_xfail_rounding.
11436 (input_flags): Add xfail-rounding.
11437 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
11438 (output_for_one_input_case): Handle flag_xfail_rounding.
11439 * sysdeps/i386/fpu/libm-test-ulps: Update.
11440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11442 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
11445 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
11448 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11451 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
11452 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
11453 (STAP_PROBE0): New macro.
11454 (STAP_PROBE1): Likewise.
11455 (STAP_PROBE2): Likewise.
11456 (STAP_PROBE3): Likewise.
11457 (STAP_PROBE4): Likewise.
11459 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
11461 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11463 2013-12-02 Steve Ellcey <sellcey@mips.com>
11465 * benchtests/Makefile (bench): Add sqrt.
11466 (LDLIBS-bench-sqrt): New.
11467 * benchtests/sqrt-input: New.
11469 2013-12-02 Pavel Simerda <psimerda@redhat.com>
11471 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11472 (GAIH_EAI): Likewise.
11473 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11474 (gaih_inet): Likewise.
11475 (getaddrinfo): Don't use GAIH_EAI.
11477 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11478 (struct gaih): Remove definition.
11480 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11482 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11483 Use HERRNOP directly.
11485 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11487 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11489 2013-11-30 Joseph Myers <joseph@codesourcery.com>
11491 * math/gen-auto-libm-tests.c (test_functions): Add more
11492 single-argument functions.
11493 (special_fill_pi_2): New function.
11494 (special_fill_minus_pi_2): Likewise.
11495 (special_fill_pi_6): Likewise.
11496 (special_fill_minus_pi_6): Likewise.
11497 (special_fill_pi_3): Likewise.
11498 (special_fill_2pi_3): Likewise.
11499 (special_fill_e): Likewise.
11500 (special_fill_1_e): Likewise.
11501 (special_fill_e_minus_1): Likewise.
11502 (special_real_inputs): Add more special inputs.
11503 (output_for_one_input_case): Do not require ERANGE on underflow to
11504 zero if round-to-nearest result does not underflow to zero, unless
11505 exact results required.
11506 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11507 atan, atanh, cbrt, cos and cosh.
11508 * math/auto-libm-test-out: Regenerated.
11509 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11510 (acos_tonearest_test_data): Likewise.
11511 (acos_towardzero_test_data): Likewise.
11512 (acos_downward_test_data): Likewise.
11513 (acos_upward_test_data): Likewise.
11514 (acosh_test_data): Likewise.
11515 (asin_test_data): Likewise.
11516 (asin_tonearest_test_data): Likewise.
11517 (asin_towardzero_test_data): Likewise.
11518 (asin_upward_test_data): Likewise.
11519 (asinh_test_data): Likewise.
11520 (atan_test_data): Likewise.
11521 (atanh_test_data): Likewise.
11522 (cbrt_test_data): Likewise.
11523 (cos_test_data): Likewise.
11524 (cos_tonearest_test_data): Likewise.
11525 (cos_towardzero_test_data): Likewise.
11526 (cos_downward_test_data): Likewise.
11527 (cos_upward_test_data): Likewise.
11528 (cosh_test_data): Likewise.
11529 (cosh_tonearest_test_data): Likewise.
11530 (cosh_towardzero_test_data): Likewise.
11531 (cosh_downward_test_data): Likewise.
11532 (cosh_upward_test_data): Likewise.
11533 * sysdeps/i386/fpu/libm-test-ulps: Update.
11534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11536 2013-11-29 Joseph Myers <joseph@codesourcery.com>
11539 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11540 * math/w_exp10f.c (__exp10f): Likewise.
11541 * math/w_exp10l.c (__exp10l): Likewise.
11542 * math/libm-test.inc (exp10_test_data): Add more tests and expect
11543 errno settings in existing tests.
11546 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11547 precision control set to double precision.
11548 * sysdeps/i386/fpu/w_sqrt.c: New file.
11549 * math/auto-libm-test-in: Add more tests.
11550 * math/auto-libm-test-out: Update.
11552 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11553 (sqrt_test_tonearest): New function.
11554 (sqrt_towardzero_test_data): New variable.
11555 (sqrt_test_towardzero): New function.
11556 (sqrt_downward_test_data): New variable.
11557 (sqrt_test_downward): New function.
11558 (sqrt_upward_test_data): New variable.
11559 (sqrt_test_upward): New function.
11560 (main): Call the new functions.
11562 * math/gen-auto-libm-tests.c: New file.
11563 * math/auto-libm-test-in: Likewise.
11564 * math/auto-libm-test-out: New generated file.
11565 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11567 (%beautify): Add generated representations of zero.
11568 (top level): Set $auto_input and call parse_auto_input.
11569 (beautify): Remove trailing "f" from hex float constants.
11570 (parse_args): Handle XFAIL_TEST.
11571 (convert_condition): New function.
11572 (or_value): Likewise.
11573 (or_cond_value): Likewise.
11574 (generate_testfile): Handle AUTO_TESTS_* lines.
11575 (parse_auto_input): New function.
11576 * math/libm-test.inc (XFAIL_TEST): New macro.
11577 (ERRNO_UNCHANGED): Update value.
11578 (ERRNO_EDOM): Likewise.
11579 (ERRNO_ERANGE): Likewise.
11580 (IGNORE_RESULT): Likewise.
11581 (TEST_COND_flt_32): New macro.
11582 (TEST_COND_dbl_64): Likewise.
11583 (TEST_COND_ldbl_96_intel): Likewise.
11584 (TEST_COND_ldbl_96_m68k): Likewise.
11585 (TEST_COND_ldbl_128): Likewise.
11586 (TEST_COND_ldbl_128ibm): Likewise.
11587 (TEST_COND_long32): Likewise.
11588 (TEST_COND_long64): Likewise.
11589 (TEST_COND_before_rounding): Likewise.
11590 (TEST_COND_after_rounding): Likewise.
11591 (enable_test): Handle XFAIL_TEST flag.
11592 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11593 with finite results.
11594 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11595 auto-libm-test-out.
11597 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11598 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11601 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11602 __tls_get_addr_internal instead of __tls_get_offset in order to
11603 avoid GOT pointer dependency. Make rtld export
11604 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11605 __tls_get_addr since we are a __tls_get_offset platform.
11606 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11607 GOT pointer being set up before.
11608 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11610 2013-11-28 Joseph Myers <joseph@codesourcery.com>
11612 * manual/math.texi (Errors in Math Functions): Document accuracy
11616 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11617 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11618 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11619 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11620 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11621 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11622 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11623 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11624 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11625 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11626 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11627 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11628 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11629 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11630 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11631 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11633 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
11634 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
11635 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
11636 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
11637 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
11639 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
11641 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
11643 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
11644 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11645 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
11646 atomic-feupdateenv and flt-rounds.
11647 * sysdeps/powerpc/nofpu/Versions (libc): Add
11648 __atomic_feholdexcept, __atomic_feclearexcept,
11649 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
11650 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
11651 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
11652 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
11653 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
11655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11658 * manual/arith.texi (FP Exceptions): Document that exceptions may
11659 not be raised when matherr is used.
11660 (Math Error Reporting): Document overflow in directed rounding
11661 modes. Document that errno may not be set when finite values are
11662 returned on overflow. Document intent to set errno on underflow
11663 only for underflow to zero.
11666 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
11667 round-to-nearest then adjust result for other rounding modes.
11668 * include/fenv.h (fegetround): Use libm_hidden_proto.
11669 * math/fegetround.c (fegetround): Use libm_hidden_def.
11670 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11671 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11672 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11673 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11675 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
11676 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11677 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11678 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
11680 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11683 * nss/Versions (libnss_files): Add
11684 _nss_files_gethostbyname3_r.
11685 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
11687 (HOST_DB_LOOKUP): Remove macro.
11688 (_nss_files_gethostbyname_r): Implement function without the
11689 HOST_DB_LOOKUP macro.
11690 (_nss_files_gethostbyname2_r): Likewise.
11692 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
11694 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
11696 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
11698 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
11699 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
11702 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11704 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
11705 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
11706 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11707 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11708 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
11709 __fe_nomask_env_priv and attribute_hidden.
11710 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
11711 (libc_feupdateenv_test_ppc): Likewise.
11712 (libc_feresetround_ppc): Likewise.
11713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11714 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
11715 compat_symbol macro.
11716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11717 (__fe_nomask_env): Likewise.
11718 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
11720 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11722 * string/Makefile: Remove ifunc tests.
11723 * string/test-string.h: Define TEST_IFUNC.
11724 * string/test-bcopy-ifunc.c: Remove.
11725 * string/test-bzero-ifunc.c: Likewise.
11726 * string/test-memccpy-ifunc.c: Likewise.
11727 * string/test-memchr-ifunc.c: Likewise.
11728 * string/test-memcmp-ifunc.c: Likewise.
11729 * string/test-memcpy-ifunc.c: Likewise.
11730 * string/test-memmem-ifunc.c: Likewise.
11731 * string/test-memmove-ifunc.c: Likewise.
11732 * string/test-mempcpy-ifunc.c: Likewise.
11733 * string/test-memrchr-ifunc.c: Likewise.
11734 * string/test-memset-ifunc.c: Likewise.
11735 * string/test-rawmemchr-ifunc.c: Likewise.
11736 * string/test-stpcpy-ifunc.c: Likewise.
11737 * string/test-stpncpy-ifunc.c: Likewise.
11738 * string/test-strcasecmp-ifunc.c: Likewise.
11739 * string/test-strcasestr-ifunc.c: Likewise.
11740 * string/test-strcat-ifunc.c: Likewise.
11741 * string/test-strchr-ifunc.c: Likewise.
11742 * string/test-strchrnul-ifunc.c: Likewise.
11743 * string/test-strcmp-ifunc.c: Likewise.
11744 * string/test-strcpy-ifunc.c: Likewise.
11745 * string/test-strcspn-ifunc.c: Likewise.
11746 * string/test-strlen-ifunc.c: Likewise.
11747 * string/test-strncasecmp-ifunc.c: Likewise.
11748 * string/test-strncat-ifunc.c: Likewise.
11749 * string/test-strncmp-ifunc.c: Likewise.
11750 * string/test-strncpy-ifunc.c: Likewise.
11751 * string/test-strnlen-ifunc.c: Likewise.
11752 * string/test-strpbrk-ifunc.c: Likewise.
11753 * string/test-strrchr-ifunc.c: Likewise.
11754 * string/test-strspn-ifunc.c: Likewise.
11755 * string/test-strstr-ifunc.c: Likewise.
11757 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11759 * benchtests/Makefile: Remove ifunc tests.
11760 * benchtests/bench-string.h: Define TEST_IFUNC.
11761 * benchtests/bench-bcopy-ifunc.c: Remove.
11762 * benchtests/bench-bzero-ifunc.c: Likewise.
11763 * benchtests/bench-memccpy-ifunc.c: Likewise.
11764 * benchtests/bench-memchr-ifunc.c: Likewise.
11765 * benchtests/bench-memcmp-ifunc.c: Likewise.
11766 * benchtests/bench-memcpy-ifunc.c: Likewise.
11767 * benchtests/bench-memmem-ifunc.c: Likewise.
11768 * benchtests/bench-memmove-ifunc.c: Likewise.
11769 * benchtests/bench-mempcpy-ifunc.c: Likewise.
11770 * benchtests/bench-memrchr-ifunc.c: Likewise.
11771 * benchtests/bench-memset-ifunc.c: Likewise.
11772 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
11773 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
11774 * benchtests/bench-stpcpy-ifunc.c: Likewise.
11775 * benchtests/bench-stpncpy-ifunc.c: Likewise.
11776 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
11777 * benchtests/bench-strcasestr-ifunc.c: Likewise.
11778 * benchtests/bench-strcat-ifunc.c: Likewise.
11779 * benchtests/bench-strchr-ifunc.c: Likewise.
11780 * benchtests/bench-strchrnul-ifunc.c: Likewise.
11781 * benchtests/bench-strcmp-ifunc.c: Likewise.
11782 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
11783 * benchtests/bench-strcpy-ifunc.c: Likewise.
11784 * benchtests/bench-strcspn-ifunc.c: Likewise.
11785 * benchtests/bench-strlen-ifunc.c: Likewise.
11786 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
11787 * benchtests/bench-strncat-ifunc.c: Likewise.
11788 * benchtests/bench-strncmp-ifunc.c: Likewise.
11789 * benchtests/bench-strncpy-ifunc.c: Likewise.
11790 * benchtests/bench-strnlen-ifunc.c: Likewise.
11791 * benchtests/bench-strpbrk-ifunc.c: Likewise.
11792 * benchtests/bench-strrchr-ifunc.c: Likewise.
11793 * benchtests/bench-strsep-ifunc.c: Likewise.
11794 * benchtests/bench-strspn-ifunc.c: Likewise.
11795 * benchtests/bench-strstr-ifunc.c: Likewise.
11797 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11799 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
11801 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11803 * resolv/netdb.h: Use __glibc_reserved instead __unused.
11804 * rt/aio.h: Likewise.
11805 * sysdeps/gnu/bits/utmp.h: Likewise.
11806 * sysdeps/gnu/bits/utmpx.h: Likewise.
11807 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11808 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11809 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11810 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11811 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11812 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11813 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
11814 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
11815 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
11816 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11817 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11818 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11819 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
11820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
11821 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11822 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
11823 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11824 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11825 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11826 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
11827 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
11828 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
11829 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
11830 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11831 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11832 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11833 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
11834 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11835 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11836 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11837 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
11838 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
11839 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
11840 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11841 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11842 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
11843 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11844 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11845 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11846 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
11847 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11848 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11850 2013-11-25 Carlos O'Donell <carlos@redhat.com>
11853 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
11854 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
11856 2013-11-25 Joseph Myers <joseph@codesourcery.com>
11858 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
11859 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11862 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11864 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
11865 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
11866 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
11867 (__fesetround): Remove define.
11868 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
11869 rounding and exceptions handling.
11870 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
11871 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
11872 (__fe_nomask_env): Likewise.
11873 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
11874 __fegetround instead of fegetround.
11875 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11876 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11878 2013-11-21 Roland McGrath <roland@hack.frob.com>
11880 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
11883 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
11885 2013-11-21 Meador Inge <meadori@codesourcery.com>
11888 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
11889 (encrypt_r): Likewise.
11890 * malloc/obstack.h (obstack_free): Likewise.
11891 * posix/unistd.h (encrypt): Likewise.
11893 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
11895 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
11896 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
11897 DL_CALL_DT_FINI() that call the functions directly.
11898 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
11899 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
11900 * elf/dl-fini.c: Likewise.
11902 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
11904 * malloc/hooks.c (memalign_check): Add alignment rounding.
11905 * malloc/malloc.c (_mid_memalign): New function.
11906 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
11907 Implement by calling _mid_memalign.
11908 * manual/probes.texi (Memory Allocation Probes): Remove
11909 memory_valloc_retry and memory_pvalloc_retry.
11911 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11913 * locale/programs/locarchive.c (open_archive): Add const
11914 qualifier to ARCHIVEFNAME and copy default fname to
11918 * libio/tst-widetext.input: Rename Oriya to Odia.
11919 * locale/iso-639.def: Likewise.
11921 * manual/probes.texi (Mathematical Function Probes): Add
11922 documentation for sin, cos, asin and acos probes.
11923 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
11924 (__sin32): Add slowasin probe.
11925 (__cos32): Add slowacos probe.
11926 (__mpsin): Add slowsin probe.
11927 (__mpcos): Add slowcos probe.
11929 2013-11-19 Joseph Myers <joseph@codesourcery.com>
11932 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
11933 thread-local __sim_exceptions_thread and global
11934 __sim_exceptions_global.
11935 (__sim_disabled_exceptions): Change to thread-local
11936 __sim_disabled_exceptions_thread and global
11937 __sim_disabled_exceptions_global.
11938 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11939 and global __sim_round_mode_global.
11940 (__simulate_exceptions): Use thread-local floating-point state and
11941 set global state from it as needed.
11942 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
11943 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
11944 __sim_round_mode_thread.
11945 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
11946 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
11947 and global __sim_exceptions_global.
11948 (__sim_disabled_exceptions): Change to thread-local
11949 __sim_disabled_exceptions_thread and global
11950 __sim_disabled_exceptions_global.
11951 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11952 and global __sim_round_mode_global.
11953 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
11954 (SIM_SET_GLOBAL): Likewise.
11955 * sysdeps/powerpc/soft-fp/sfp-machine.h
11956 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
11957 __sim_round_mode_thread.
11958 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
11959 __sim_disabled_exceptions_thread.
11960 (__sim_exceptions): Change to __sim_exceptions_thread.
11961 (__sim_disabled_exceptions): Change to
11962 __sim_disabled_exceptions_thread.
11963 (__sim_round_mode): Change to __sim_round_mode_thread.
11964 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
11965 thread-local floating-point state and set global state from it as
11967 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
11968 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
11969 (__sim_disabled_exceptions): Remove extern declaration.
11970 (feenableexcept): Use thread-local floating-point state and set
11971 global state from it as needed.
11972 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11973 extern declaration.
11974 (__sim_disabled_exceptions): Likewise.
11975 (__sim_round_mode): Likewise.
11976 (__fegetenv): Use thread-local floating-point state.
11977 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11978 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11979 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11980 floating-point state and set global state from it as needed.
11981 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11982 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11983 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11985 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11986 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
11988 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
11989 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
11990 Use __sim_round_mode_thread.
11991 * math/test-fenv-tls.c: New file.
11992 * math/Makefile (tests): Add test-fenv-tls.
11993 ($(objpfx)test-fenv-tls): Depend on
11994 $(common-objpfx)nptl/libpthread.so.
11996 2013-11-19 Andreas Schwab <schwab@suse.de>
11998 * locale/programs/locale.c (show_info): Decode wordarray elements.
11999 * locale/categories.def (LC_MONETARY): Add element for
12000 _NL_MONETARY_CRNCYSTR.
12001 * locale/C-monetary.c (conversion_rate): New variable.
12002 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12005 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
12007 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12008 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12010 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12012 * elf/Makefile (tst-auxv): New test.
12013 * elf/tst-auxv.c: New
12014 * elf/rtld.c (dl_main): Adjust AT_EXECFN
12016 2013-11-18 Joseph Myers <joseph@codesourcery.com>
12018 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12019 (hidden_proto): Caller changed.
12020 (hidden_tls_proto): New macro.
12021 (libc_hidden_tls_proto): Likewise.
12022 (rtld_hidden_tls_proto): Likewise.
12023 (libm_hidden_tls_proto): Likewise.
12024 (libresolv_hidden_tls_proto): Likewise.
12025 (librt_hidden_tls_proto): Likewise.
12026 (libdl_hidden_tls_proto): Likewise.
12027 (libnss_files_hidden_tls_proto): Likewise.
12028 (libnsl_hidden_tls_proto): Likewise.
12029 (libnss_nisplus_hidden_tls_proto): Likewise.
12030 (libutil_hidden_tls_proto): Likewise.
12032 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
12035 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12036 (decompose_rpath): Defer expansion to fillin_rpath.
12037 (_dl_init_paths): Pass linkmap to fillin_rpath.
12039 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12041 * benchtests/Makefile: Add strsep.
12042 * benchtests/bench-strsep.c: New file: strsep benchtest.
12043 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12045 2013-11-18 Andreas Schwab <schwab@suse.de>
12047 * locale/programs/locale.c (show_info) [case byte]: Check for
12048 '\377' instead of '\177'.
12049 * locale/C-monetary.c (not_available): Always use "\377".
12050 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12051 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
12052 detect unavailable sign_posn locale elements.
12053 * locale/localeconv.c (__localeconv): For grouping and
12054 mon_grouping handle "\177" and "\377" like no grouping.
12055 (INT_ELEM): New macro. Use it to set all numeric members.
12056 * locale/programs/ld-monetary.c (monetary_read)
12057 <tok_mon_grouping>: Normalize single -1 to the empty string.
12058 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12061 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
12064 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12065 when we match (nil).
12066 * stdio-common/tst-sscanf.c (struct test): Add testcase.
12068 2013-11-16 Joseph Myers <joseph@codesourcery.com>
12070 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12071 (NO_TEST_INLINE): Update value.
12072 (ERRNO_UNCHANGED): Likewise.
12073 (ERRNO_EDOM): Likewise.
12074 (ERRNO_ERANGE): Likewise.
12075 (IGNORE_RESULT): Likewise.
12076 (check_float_internal): Check signs of NaN results if
12077 TEST_NAN_SIGN used.
12078 (check_complex): Pass TEST_NAN_SIGN flag through to second
12079 check_float_internal call.
12080 (copysign_test_data): Add tests with quiet NaNs as second
12081 argument. Use TEST_NAN_SIGN.
12082 (fabs_test_data): Add test of negative quiet NaN argument. Use
12084 (signbit_test_data): Add tests of quiet NaN argument.
12085 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12087 * math/gen-libm-test.pl (show_exceptions): Take extra argument
12089 (parse_args): Handle function results specified as IGNORE.
12090 * math/libm-test.inc (IGNORE_RESULT): New macro.
12091 (check_float_internal): Do not check numerical result if flag
12093 (check_complex): Pass through IGNORE_RESULT to second
12094 check_float_internal call.
12095 (check_int): Do not check numerical result if flag IGNORE_RESULT
12097 (check_long): Likewise.
12098 (check_bool): Likewise.
12099 (check_longlong): Likewise.
12100 (lrint_test_data): Add tests of infinite and NaN arguments.
12101 (lrint_tonearest_test_data): Likewise.
12102 (lrint_towardzero_test_data): Likewise.
12103 (lrint_downward_test_data): Likewise.
12104 (lrint_upward_test_data): Likewise.
12105 (llrint_test_data): Likewise.
12106 (llrint_tonearest_test_data): Likewise.
12107 (llrint_towardzero_test_data): Likewise.
12108 (llrint_downward_test_data): Likewise.
12109 (llrint_upward_test_data): Likewise.
12110 (lround_test_data): Likewise.
12111 (llround_test_data): Likewise.
12113 * math/libm-test.inc (NO_TEST_INLINE): New macro.
12114 (ERRNO_UNCHANGED): Update value.
12115 (ERRNO_EDOM): Likewise.
12116 (ERRNO_ERANGE): Likewise.
12117 (NO_TEST_INLINE_FLOAT): New macro.
12118 (NO_TEST_INLINE_DOUBLE): Likewise.
12119 (enable_test): New function.
12120 (RUN_TEST_f_f): Check enable_test before running test.
12121 (RUN_TEST_2_f): Likewise.
12122 (RUN_TEST_fff_f): Likewise.
12123 (RUN_TEST_c_f): Likewise.
12124 (RUN_TEST_f_f1): Likewise.
12125 (RUN_TEST_fF_f1): Likewise.
12126 (RUN_TEST_fI_f1): Likewise.
12127 (RUN_TEST_ffI_f1): Likewise.
12128 (RUN_TEST_c_c): Likewise.
12129 (RUN_TEST_cc_c): Likewise.
12130 (RUN_TEST_f_i): Likewise.
12131 (RUN_TEST_f_i_tg): Likewise.
12132 (RUN_TEST_ff_i_tg): Likewise.
12133 (RUN_TEST_f_b): Likewise.
12134 (RUN_TEST_f_b_tg): Likewise.
12135 (RUN_TEST_f_l): Likewise.
12136 (RUN_TEST_f_L): Likewise.
12137 (RUN_TEST_fFF_11): Likewise.
12138 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
12140 (cosh_test_data): Likewise.
12141 (exp_test_data): Likewise.
12142 (expm1_test_data): Likewise.
12143 (hypot_test_data): Likewise.
12144 (pow_test_data): Likewise.
12145 (sinh_test_data): Likewise.
12146 (tanh_test_data): Likewise.
12147 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
12150 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
12151 tests with quiet NaN input and output.
12152 (acosh_test_data): Likewise.
12153 (asin_test_data): Likewise.
12154 (asinh_test_data): Likewise.
12155 (atan_test_data): Likewise.
12156 (atanh_test_data): Likewise.
12157 (atan2_test_data): Likewise.
12158 (cbrt_test_data): Likewise.
12159 (cos_test_data): Likewise.
12160 (cosh_test_data): Likewise.
12161 (erf_test_data): Likewise.
12162 (erfc_test_data): Likewise.
12163 (exp_test_data): Likewise.
12164 (exp10_test_data): Likewise.
12165 (exp2_test_data): Likewise.
12166 (expm1_test_data): Likewise.
12167 (hypot_test_data): Likewise.
12168 (j0_test_data): Likewise.
12169 (j1_test_data): Likewise.
12170 (jn_test_data): Likewise.
12171 (lgamma_test_data): Likewise.
12172 (log_test_data): Likewise.
12173 (log10_test_data): Likewise.
12174 (log1p_test_data): Likewise.
12175 (log2_test_data): Likewise.
12176 (pow_test_data): Likewise.
12177 (scalb_test_data): Likewise.
12178 (sin_test_data): Likewise.
12179 (sincos_test_data): Likewise.
12180 (sinh_test_data): Likewise.
12181 (tan_test_data): Likewise.
12182 (tanh_test_data): Likewise.
12183 (tgamma_test_data): Likewise.
12184 (y0_test_data): Likewise.
12185 (y1_test_data): Likewise.
12186 (yn_test_data): Likewise.
12189 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
12190 argument being NaN and avoid computations with second argument in
12192 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12193 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12194 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12196 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
12198 * locale/iso-639.def: Add Chitwani Tharu (the).
12200 2013-11-14 Andreas Schwab <schwab@suse.de>
12202 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
12203 word instead of empty string.
12205 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12208 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
12209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12210 (__fe_nomask_env): Likewise.
12212 2013-11-13 Steve Ellcey <sellcey@mips.com>
12214 * benchtests/bench-timing.h: Include time.h.
12216 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
12219 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
12221 * sysdeps/unix/sysv/linux/configure: Regenerated.
12223 2013-11-13 Joseph Myers <joseph@codesourcery.com>
12226 * stdlib/strtod_l.c (round_and_return): Do not consider
12227 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
12228 exponent one less than half the least subnormal exponent.
12229 * stdlib/test-strtod-round-data: Add more tests.
12230 * stdlib/tst-strtod-round.c (tests): Regenerated.
12232 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12235 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
12236 (__fe_mask_env): Likewise.
12237 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
12238 libm_hidden_proto and add function prototype.
12239 (__fe_mask_env): Add function prototype.
12240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12241 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
12242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12243 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
12244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12245 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
12247 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12249 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
12250 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
12252 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12254 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
12255 of htab_find_slot().
12257 2013-11-11 David S. Miller <davem@davemloft.net>
12260 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
12261 symbol in the non-vis3 case in static builds.
12262 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
12263 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
12264 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
12265 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
12267 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12270 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
12273 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12275 * benchtests/Makefile: Add bench-strtod.
12276 * benchtests/bench-strtod.c: New file: strtod benchtest
12278 2013-11-11 Andreas Schwab <schwab@suse.de>
12281 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
12282 terminating NUL in key length.
12284 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12286 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12287 Add artificial ODP entry for vDSO symbol for PPC64.
12288 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
12289 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12291 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
12294 * nss/getent.c (services_keys): Recognize services starting with digit.
12296 2013-11-06 David S. Miller <davem@davemloft.net>
12299 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
12300 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
12302 2013-11-06 Will Newton <will.newton@linaro.org>
12304 * manual/memory.texi (Malloc Examples): Remove register
12305 keyword from examples.
12307 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
12309 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
12311 2013-11-04 Joseph Myers <joseph@codesourcery.com>
12314 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
12315 depending on [__GCC_IEC_559 > 0].
12316 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
12317 depending on [__GCC_IEC_559_COMPLEX > 0].
12319 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
12321 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
12324 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
12326 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
12328 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
12331 * malloc/malloc (malloc_info): Do not handle first bin as
12334 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
12336 * locale/iso-639.def: Add Central Nahuatl (nhn).
12338 2013-11-01 Bruno Haible <bruno@clisp.org>
12341 * manual/math.texi (BSD Random): Specify range upper bound as
12344 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
12346 * locale/iso-639.def: Add Meadow Mari (mhr).
12348 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
12350 [BZ #14752], [BZ #15763]
12351 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
12353 * rt/tst_shm.c: Add test for escaping directory.
12355 2013-10-31 Andreas Schwab <schwab@suse.de>
12358 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
12359 followed by 'x' as part of digit sequence.
12360 * stdio-common/tst-sscanf.c (double_tests2): New tests.
12362 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
12365 * configure.ac: allow GNU Make 4.0 and greater.
12366 * configure: Regenerated.
12368 2013-10-30 Will Newton <will.newton@linaro.org>
12371 * malloc/hooks.c (memalign_check): Limit alignment to the
12372 maximum representable power of two.
12373 * malloc/malloc.c (__libc_memalign): Likewise.
12374 * malloc/tst-memalign.c (do_test): Add test for very
12375 large alignment values.
12376 * malloc/tst-posix_memalign.c (do_test): Likewise.
12378 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
12381 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
12382 (munmap_chunk): Likewise.
12383 (mremap_chunk): Likewise.
12385 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
12388 * stdlib/div.c (div): Remove obsolete code.
12389 * stdlib/ldiv.c (ldiv): Likewise.
12390 * stdlib/lldiv.c (lldiv): Likewise.
12392 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12395 * nss/nss_files/files-XXX.c (get_contents_ret): New
12397 (get_contents): New function.
12398 (internal_getent): Use it. Expand size of LINEBUFLEN.
12400 2013-10-30 Mike Frysinger <vapier@gentoo.org>
12402 * configure.in: Moved to ...
12403 * configure.ac: ... here. Change reference to configure.in
12405 * sysdeps/arm/preconfigure.ac: ... here.
12406 configure.in to configure.ac.
12407 * sysdeps/gnu/configure.in: Moved to ...
12408 * sysdeps/gnu/configure.ac: ... here.
12409 * sysdeps/i386/configure.in: Moved to ...
12410 * sysdeps/i386/configure.ac: ... here.
12411 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
12412 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
12413 * sysdeps/mach/configure.in: Moved to ...
12414 * sysdeps/mach/configure.ac: ... here.
12415 * sysdeps/mach/hurd/configure.in: Moved to ...
12416 * sysdeps/mach/hurd/configure.ac: ... here.
12417 * sysdeps/powerpc/configure.in: Moved to ...
12418 * sysdeps/powerpc/configure.ac: ... here.
12419 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
12420 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
12421 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
12422 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
12423 * sysdeps/s390/s390-32/configure.in: Moved to ...
12424 * sysdeps/s390/s390-32/configure.ac: ... here.
12425 * sysdeps/s390/s390-64/configure.in: Moved to ...
12426 * sysdeps/s390/s390-64/configure.ac: ... here.
12427 * sysdeps/sh/configure.in: Moved to ...
12428 * sysdeps/sh/configure.ac: ... here.
12429 * sysdeps/sparc/configure.in: Moved to ...
12430 * sysdeps/sparc/configure.ac: ... here.
12431 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
12432 * sysdeps/unix/sysv/linux/configure.ac: ... here.
12433 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
12434 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
12435 * sysdeps/x86_64/configure.in: Moved to ...
12436 * sysdeps/x86_64/configure.ac: ... here.
12437 * sysdeps/x86_64/preconfigure.in: Moved to ...
12438 * sysdeps/x86_64/preconfigure.ac: ... here.
12439 * aclocal.m4: Change reference to configure.in to configure.ac.
12440 * config.h.in: Likewise.
12441 * manual/install.texi: Likewise.
12442 * manual/maint.texi: Likewise.
12443 * Makefile: Likewise.
12444 * malloc/Makefile: Likewise.
12445 * nscd/Makefile: Likewise.
12446 * Makeconfig: Change reference to configure.in and
12447 preconfigure.in to configure.ac and preconfigure.ac
12449 * INSTALL: Regenerated.
12450 * configure: Likewise.
12451 * sysdeps/gnu/configure: Likewise.
12452 * sysdeps/i386/configure: Likewise.
12453 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
12454 * sysdeps/mach/configure: Likewise.
12455 * sysdeps/mach/hurd/configure: Likewise.
12456 * sysdeps/powerpc/configure: Likewise.
12457 * sysdeps/powerpc/powerpc32/configure: Likewise.
12458 * sysdeps/powerpc/powerpc64/configure: Likewise.
12459 * sysdeps/s390/s390-32/configure: Likewise.
12460 * sysdeps/s390/s390-64/configure: Likewise.
12461 * sysdeps/sh/configure: Likewise.
12462 * sysdeps/sparc/configure: Likewise.
12463 * sysdeps/unix/sysv/linux/configure: Likewise.
12464 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12465 * sysdeps/x86_64/configure: Likewise.
12466 * sysdeps/x86_64/preconfigure: Likewise.
12468 2013-10-29 Andreas Schwab <schwab@suse.de>
12470 * stdio-common/Makefile (tst-swscanf-ENV): Define.
12472 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12474 * benchtests/pow-inputs: Add new inputs.
12476 * benchtests/exp-inputs: Add new inputs.
12478 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12479 conditional check for return value.
12480 (__cos32): Likewise.
12482 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12484 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12485 to provide a boost for large inputs with word alignment.
12486 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12487 implementation based on optimized PPC64 strcpy.
12488 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12489 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12490 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12491 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12493 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12496 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12498 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12501 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12502 * time/tst-strptime.c (day_tests): Add testcase.
12504 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12507 * manual/pattern.texi: Acknowledge that fnmatch can fail.
12509 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
12512 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12513 MAP_FAILED on error.
12515 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12518 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12519 heap for large requests.
12521 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
12524 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12525 result if the result has no associated interface.
12526 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12527 interface for all 127.X.Y.Z addresses.
12529 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
12531 * locale/iso-639.def: Add Ligurian (lij)
12533 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
12536 * sunrpc/rpc_main.c: Document rpcgen -5.
12538 2013-10-19 Michael Stahl <mstahl@redhat.com>
12540 * elf/rtld.c (do_preload): Print the reason why preloading failed.
12542 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12545 * posix/glob.c: Match only directories when trailing slash is present.
12546 * posix/tst-gnuglob.c (my_opendir): Do not open files.
12547 (main): Add testcase.
12549 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12552 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12554 2013-10-18 Carlos O'Donell <carlos@redhat.com>
12556 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12557 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12558 AUTH_DES and cindex for FIPS 140-2.
12559 (DES Encryption): Add cindex FIPS 46-3.
12561 * locale/locarchive.h (struct locarhandle): Add fname.
12562 * locale/programs/localedef.c (main): Pass ARGV[remaining]
12563 if an optional argument was specified to --list-archive,
12565 * locale/programs/locarchive.c (show_archive_content): Take new
12566 argument fname and pass it via ah.fname to open_archive.
12567 * locale/programs/localedef.h: Update decl.
12568 (open_archive): If AH->fname is non-null, open that file
12569 rather than the default file name, and don't ignore ENOENT.
12570 (create_archive): Set AH.fname to NULL.
12571 (delete_locales_from_archive): Likewise.
12572 (add_locales_to_archive): Likewise.
12573 * locale/programs/locfile.c (write_all_categories): Likewise.
12575 2013-10-18 Joseph Myers <joseph@codesourcery.com>
12576 Aldy Hernandez <aldyh@redhat.com>
12578 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12579 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12580 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12581 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12582 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12583 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12584 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12585 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12586 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12587 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12588 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12589 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12590 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12591 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12592 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12594 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12596 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12598 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12600 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12601 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12603 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12604 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12605 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12606 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12608 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12609 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12610 * sysdeps/powerpc/preconfigure: Likewise.
12611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12613 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12614 Replace contents of file by #include of <fenv_libc.h>.
12615 * sysdeps/powerpc/soft-fp/sfp-machine.h
12616 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12618 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12619 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12620 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12621 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12622 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12623 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12624 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12625 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12626 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12627 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12628 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12629 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12631 Allow copysignl PLT reference to be missing.
12633 2013-10-18 Richard Sandiford <richard@codesourcery.com>
12634 Joseph Myers <joseph@codesourcery.com
12637 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
12639 (add_to_tablewc): Assert sequence of wide characters is nonempty.
12641 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12643 * elf/tst-tls-dlinfo.c: Don't include tls.h.
12644 * elf/tst-tls1.c: Likewise.
12645 * elf/tst-tls10.h: Likewise.
12646 * elf/tst-tls14.c: Likewise.
12647 * elf/tst-tls2.c: Likewise.
12648 * elf/tst-tls3.c: Likewise.
12649 * elf/tst-tls4.c: Likewise.
12650 * elf/tst-tls5.c: Likewise.
12651 * elf/tst-tls6.c: Likewise.
12652 * elf/tst-tls7.c: Likewise.
12653 * elf/tst-tls8.c: Likewise.
12654 * elf/tst-tls9.c: Likewise.
12655 * elf/tst-tlsmod1.c: Likewise.
12656 * elf/tst-tlsmod13.c: Likewise.
12657 * elf/tst-tlsmod13a.c: Likewise.
12658 * elf/tst-tlsmod14a.c: Likewise.
12659 * elf/tst-tlsmod16a.c: Likewise.
12660 * elf/tst-tlsmod16b.c: Likewise.
12661 * elf/tst-tlsmod2.c: Likewise.
12662 * elf/tst-tlsmod3.c: Likewise.
12663 * elf/tst-tlsmod4.c: Likewise.
12664 * elf/tst-tlsmod5.c: Likewise.
12665 * elf/tst-tlsmod6.c: Likewise.
12667 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
12670 * malloc/malloc.c: remove checks for statistics.
12672 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12675 * inet/inet_net.c (inet_network): Detect additional invalid strings.
12676 * inet/tst-network.c: Add testcase.
12678 2013-10-17 Andreas Schwab <schwab@suse.de>
12681 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
12682 to determine canonical name.
12684 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12686 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
12687 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
12688 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12689 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12690 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12691 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12692 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12693 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12694 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12695 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12696 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12697 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12698 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12699 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12700 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12701 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12702 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12703 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12704 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12705 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12706 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12707 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12708 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12709 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
12710 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
12711 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12712 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12713 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
12714 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12715 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
12716 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12717 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12718 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12719 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12720 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12721 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12722 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12723 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12724 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12725 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12726 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12727 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12728 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12729 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12730 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12731 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12732 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12733 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12734 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12735 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12736 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12737 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12738 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12739 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12740 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12741 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12742 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12743 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12745 2013-10-17 Joseph Myers <joseph@codesourcery.com>
12748 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
12749 make result into a quiet NaN.
12751 2013-10-16 Joseph Myers <joseph@codesourcery.com>
12753 * soft-fp/adddf3.c: Fix horizontal whitespace.
12754 * soft-fp/addsf3.c: Likewise.
12755 * soft-fp/addtf3.c: Likewise.
12756 * soft-fp/divdf3.c: Likewise.
12757 * soft-fp/divsf3.c: Likewise.
12758 * soft-fp/divtf3.c: Likewise.
12759 * soft-fp/double.h: Likewise.
12760 * soft-fp/eqdf2.c: Likewise.
12761 * soft-fp/eqsf2.c: Likewise.
12762 * soft-fp/eqtf2.c: Likewise.
12763 * soft-fp/extenddftf2.c: Likewise.
12764 * soft-fp/extended.h: Likewise.
12765 * soft-fp/extendsfdf2.c: Likewise.
12766 * soft-fp/extendsftf2.c: Likewise.
12767 * soft-fp/extendxftf2.c: Likewise.
12768 * soft-fp/fixdfdi.c: Likewise.
12769 * soft-fp/fixdfsi.c: Likewise.
12770 * soft-fp/fixdfti.c: Likewise.
12771 * soft-fp/fixsfdi.c: Likewise.
12772 * soft-fp/fixsfsi.c: Likewise.
12773 * soft-fp/fixsfti.c: Likewise.
12774 * soft-fp/fixtfdi.c: Likewise.
12775 * soft-fp/fixtfsi.c: Likewise.
12776 * soft-fp/fixtfti.c: Likewise.
12777 * soft-fp/fixunsdfdi.c: Likewise.
12778 * soft-fp/fixunsdfsi.c: Likewise.
12779 * soft-fp/fixunsdfti.c: Likewise.
12780 * soft-fp/fixunssfdi.c: Likewise.
12781 * soft-fp/fixunssfsi.c: Likewise.
12782 * soft-fp/fixunssfti.c: Likewise.
12783 * soft-fp/fixunstfdi.c: Likewise.
12784 * soft-fp/fixunstfsi.c: Likewise.
12785 * soft-fp/fixunstfti.c: Likewise.
12786 * soft-fp/floatdidf.c: Likewise.
12787 * soft-fp/floatdisf.c: Likewise.
12788 * soft-fp/floatditf.c: Likewise.
12789 * soft-fp/floatsidf.c: Likewise.
12790 * soft-fp/floatsisf.c: Likewise.
12791 * soft-fp/floatsitf.c: Likewise.
12792 * soft-fp/floattidf.c: Likewise.
12793 * soft-fp/floattisf.c: Likewise.
12794 * soft-fp/floattitf.c: Likewise.
12795 * soft-fp/floatundidf.c: Likewise.
12796 * soft-fp/floatundisf.c: Likewise.
12797 * soft-fp/floatunditf.c: Likewise.
12798 * soft-fp/floatunsidf.c: Likewise.
12799 * soft-fp/floatunsisf.c: Likewise.
12800 * soft-fp/floatunsitf.c: Likewise.
12801 * soft-fp/floatuntidf.c: Likewise.
12802 * soft-fp/floatuntisf.c: Likewise.
12803 * soft-fp/floatuntitf.c: Likewise.
12804 * soft-fp/fmadf4.c: Likewise.
12805 * soft-fp/fmasf4.c: Likewise.
12806 * soft-fp/fmatf4.c: Likewise.
12807 * soft-fp/gedf2.c: Likewise.
12808 * soft-fp/gesf2.c: Likewise.
12809 * soft-fp/getf2.c: Likewise.
12810 * soft-fp/ledf2.c: Likewise.
12811 * soft-fp/lesf2.c: Likewise.
12812 * soft-fp/letf2.c: Likewise.
12813 * soft-fp/muldf3.c: Likewise.
12814 * soft-fp/mulsf3.c: Likewise.
12815 * soft-fp/multf3.c: Likewise.
12816 * soft-fp/negdf2.c: Likewise.
12817 * soft-fp/negsf2.c: Likewise.
12818 * soft-fp/negtf2.c: Likewise.
12819 * soft-fp/op-1.h: Likewise.
12820 * soft-fp/op-2.h: Likewise.
12821 * soft-fp/op-4.h: Likewise.
12822 * soft-fp/op-8.h: Likewise.
12823 * soft-fp/op-common.h: Likewise.
12824 * soft-fp/quad.h: Likewise.
12825 * soft-fp/single.h: Likewise.
12826 * soft-fp/soft-fp.h: Likewise.
12827 * soft-fp/sqrtdf2.c: Likewise.
12828 * soft-fp/sqrtsf2.c: Likewise.
12829 * soft-fp/sqrttf2.c: Likewise.
12830 * soft-fp/subdf3.c: Likewise.
12831 * soft-fp/subsf3.c: Likewise.
12832 * soft-fp/subtf3.c: Likewise.
12833 * soft-fp/truncdfsf2.c: Likewise.
12834 * soft-fp/trunctfdf2.c: Likewise.
12835 * soft-fp/trunctfsf2.c: Likewise.
12836 * soft-fp/trunctfxf2.c: Likewise.
12837 * soft-fp/unorddf2.c: Likewise.
12838 * soft-fp/unordsf2.c: Likewise.
12839 * soft-fp/unordtf2.c: Likewise.
12841 2013-10-15 Joseph Myers <joseph@codesourcery.com>
12843 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
12844 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
12846 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
12848 * elf/dl-libc.c: Clear initfini list after freeing.
12850 2013-10-14 Joseph Myers <joseph@codesourcery.com>
12852 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
12853 * soft-fp/addsf3.c: Likewise.
12854 * soft-fp/addtf3.c: Likewise.
12855 * soft-fp/divdf3.c: Likewise.
12856 * soft-fp/divsf3.c: Likewise.
12857 * soft-fp/divtf3.c: Likewise.
12858 * soft-fp/double.h: Likewise.
12859 * soft-fp/eqdf2.c: Likewise.
12860 * soft-fp/eqsf2.c: Likewise.
12861 * soft-fp/eqtf2.c: Likewise.
12862 * soft-fp/extenddftf2.c: Likewise.
12863 * soft-fp/extended.h: Likewise.
12864 * soft-fp/extendsfdf2.c: Likewise.
12865 * soft-fp/extendsftf2.c: Likewise.
12866 * soft-fp/extendxftf2.c: Likewise.
12867 * soft-fp/fixdfdi.c: Likewise.
12868 * soft-fp/fixdfsi.c: Likewise.
12869 * soft-fp/fixdfti.c: Likewise.
12870 * soft-fp/fixsfdi.c: Likewise.
12871 * soft-fp/fixsfsi.c: Likewise.
12872 * soft-fp/fixsfti.c: Likewise.
12873 * soft-fp/fixtfdi.c: Likewise.
12874 * soft-fp/fixtfsi.c: Likewise.
12875 * soft-fp/fixtfti.c: Likewise.
12876 * soft-fp/fixunsdfdi.c: Likewise.
12877 * soft-fp/fixunsdfsi.c: Likewise.
12878 * soft-fp/fixunsdfti.c: Likewise.
12879 * soft-fp/fixunssfdi.c: Likewise.
12880 * soft-fp/fixunssfsi.c: Likewise.
12881 * soft-fp/fixunssfti.c: Likewise.
12882 * soft-fp/fixunstfdi.c: Likewise.
12883 * soft-fp/fixunstfsi.c: Likewise.
12884 * soft-fp/fixunstfti.c: Likewise.
12885 * soft-fp/floatdidf.c: Likewise.
12886 * soft-fp/floatdisf.c: Likewise.
12887 * soft-fp/floatditf.c: Likewise.
12888 * soft-fp/floatsidf.c: Likewise.
12889 * soft-fp/floatsisf.c: Likewise.
12890 * soft-fp/floatsitf.c: Likewise.
12891 * soft-fp/floattidf.c: Likewise.
12892 * soft-fp/floattisf.c: Likewise.
12893 * soft-fp/floattitf.c: Likewise.
12894 * soft-fp/floatundidf.c: Likewise.
12895 * soft-fp/floatundisf.c: Likewise.
12896 * soft-fp/floatunsidf.c: Likewise.
12897 * soft-fp/floatunsisf.c: Likewise.
12898 * soft-fp/floatuntidf.c: Likewise.
12899 * soft-fp/floatuntisf.c: Likewise.
12900 * soft-fp/floatuntitf.c: Likewise.
12901 * soft-fp/fmadf4.c: Likewise.
12902 * soft-fp/fmasf4.c: Likewise.
12903 * soft-fp/fmatf4.c: Likewise.
12904 * soft-fp/gedf2.c: Likewise.
12905 * soft-fp/gesf2.c: Likewise.
12906 * soft-fp/getf2.c: Likewise.
12907 * soft-fp/ledf2.c: Likewise.
12908 * soft-fp/lesf2.c: Likewise.
12909 * soft-fp/letf2.c: Likewise.
12910 * soft-fp/muldf3.c: Likewise.
12911 * soft-fp/mulsf3.c: Likewise.
12912 * soft-fp/multf3.c: Likewise.
12913 * soft-fp/negdf2.c: Likewise.
12914 * soft-fp/negsf2.c: Likewise.
12915 * soft-fp/negtf2.c: Likewise.
12916 * soft-fp/op-1.h: Likewise.
12917 * soft-fp/op-2.h: Likewise.
12918 * soft-fp/op-4.h: Likewise.
12919 * soft-fp/op-8.h: Likewise.
12920 * soft-fp/op-common.h: Likewise.
12921 * soft-fp/quad.h: Likewise.
12922 * soft-fp/single.h: Likewise.
12923 * soft-fp/soft-fp.h: Likewise.
12924 * soft-fp/sqrtdf2.c: Likewise.
12925 * soft-fp/sqrtsf2.c: Likewise.
12926 * soft-fp/sqrttf2.c: Likewise.
12927 * soft-fp/subdf3.c: Likewise.
12928 * soft-fp/subsf3.c: Likewise.
12929 * soft-fp/subtf3.c: Likewise.
12930 * soft-fp/truncdfsf2.c: Likewise.
12931 * soft-fp/trunctfdf2.c: Likewise.
12932 * soft-fp/trunctfsf2.c: Likewise.
12933 * soft-fp/trunctfxf2.c: Likewise.
12934 * soft-fp/unorddf2.c: Likewise.
12935 * soft-fp/unordsf2.c: Likewise.
12936 * soft-fp/unordtf2.c: Likewise.
12938 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
12941 * misc/error.c (error_tail): Fix possible buffer overflow.
12943 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
12946 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
12949 2013-10-14 P. J. McDermott <pj@pehjota.net>
12952 * elf/ldd.bash.in (try_trace): New function. Delete previous code
12953 testing pipefail option.
12955 2013-10-12 Joseph Myers <joseph@codesourcery.com>
12957 * soft-fp/double.h: Indent preprocessor directives inside #if.
12958 * soft-fp/extended.h: Likewise.
12959 * soft-fp/op-2.h: Likewise.
12960 * soft-fp/op-4.h: Likewise.
12961 * soft-fp/op-common.h: Likewise.
12962 * soft-fp/quad.h: Likewise.
12963 * soft-fp/single.h: Likewise.
12964 * soft-fp/soft-fp.h: Likewise.
12966 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
12968 * iconv/iconv_prog.c: Fix typos.
12969 * stdio-common/psiginfo-data.h: Likewise.
12971 2013-10-12 Reuben Thomas <rrt@sc3d.org>
12974 * locale/setlocale.c: Fix typo.
12976 2013-10-12 Joseph Myers <joseph@codesourcery.com>
12979 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12980 signaling NaN arguments.
12981 * soft-fp/unordsf2.c (__unordsf2): Likewise.
12982 * soft-fp/unordtf2.c (__unordtf2): Likewise.
12985 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
12986 unordered operands.
12987 * soft-fp/gesf2.c (__gesf2): Likewise.
12988 * soft-fp/getf2.c (__getf2): Likewise.
12989 * soft-fp/ledf2.c (__ledf2): Likewise.
12990 * soft-fp/lesf2.c (__lesf2): Likewise.
12991 * soft-fp/letf2.c (__letf2): Likewise.
12993 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12994 * soft-fp/eqsf2.c (__eqsf2): Likewise.
12995 * soft-fp/eqtf2.c (__eqtf2): Likewise.
12996 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12997 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12998 * soft-fp/fixdfti.c (__fixdfti): Likewise.
12999 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13000 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13001 * soft-fp/fixsfti.c (__fixsfti): Likewise.
13002 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13003 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13004 * soft-fp/fixtfti.c (__fixtfti): Likewise.
13005 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13006 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13007 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13008 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13009 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13010 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13011 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13012 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13013 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13014 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13015 * soft-fp/floatdisf.c (__floatdisf): Likewise.
13016 * soft-fp/floatsisf.c (__floatsisf): Likewise.
13017 * soft-fp/floattidf.c (__floattidf): Likewise.
13018 * soft-fp/floattisf.c (__floattisf): Likewise.
13019 * soft-fp/floattitf.c (__floattitf): Likewise.
13020 * soft-fp/floatundidf.c (__floatundidf): Likewise.
13021 * soft-fp/floatundisf.c (__floatundisf): Likewise.
13022 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13023 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13024 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13025 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13026 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13027 * soft-fp/gesf2.c (__gesf2): Likewise.
13028 * soft-fp/getf2.c (__getf2): Likewise.
13029 * soft-fp/ledf2.c (__ledf2): Likewise.
13030 * soft-fp/lesf2.c (__lesf2): Likewise.
13031 * soft-fp/letf2.c (__letf2): Likewise.
13033 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13034 Undefine and redefine.
13035 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13036 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13037 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13038 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13039 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13040 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13041 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13042 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13043 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13044 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13045 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13046 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13047 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13048 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13049 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13052 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13053 without decrementing exponent if mantissa >= that for the
13054 denominator, not >.
13055 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13056 denominator, not >. Decrement exponent in < case instead of
13057 incrementing in >= case.
13058 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13059 without decrementing exponent if mantissa >= that for the
13060 denominator, not >.
13062 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13063 computing saturated result for unsigned overflow.
13065 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13066 Jeff Law <law@redhat.com>
13068 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13069 (atan2Mp): Add systemtap probe marker.
13070 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13071 (__ieee754_log): Add systemtap probe marker.
13072 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13073 (atanMp): Add systemtap probe marker.
13074 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13075 (tanMp): Add systemtap probe marker.
13076 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13077 (__slowexp): Add systemtap probe marker.
13078 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13079 (__slowpow): Add systemtap probe marker.
13080 * manual/probes.texi: Document probes.
13082 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
13085 * libio/fileops.c (_IO_new_file_write): Return count of bytes
13087 (_IO_new_file_xsputn): Don't return EOF if nothing has been
13089 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13090 written to buffer but not flushed.
13091 * libio/iofwrite_u.c: Likewise.
13092 * libio/iopadn.c: Return bytes returned even if EOF was
13094 * libio/iowpadn.c: Likewise.
13095 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13096 if _IO_padn does not write the whole buffer.
13097 [!COMPILE_WPRINTF] (PAD): Likewise.
13099 2013-10-10 David S. Miller <davem@davemloft.net>
13101 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13104 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13106 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
13107 instead of FSF address.
13108 * soft-fp/fixdfti.c: Likewise.
13109 * soft-fp/fixsfti.c: Likewise.
13110 * soft-fp/fixtfti.c: Likewise.
13111 * soft-fp/fixunsdfti.c: Likewise.
13112 * soft-fp/fixunssfti.c: Likewise.
13113 * soft-fp/fixunstfti.c: Likewise.
13114 * soft-fp/floattidf.c: Likewise.
13115 * soft-fp/floattisf.c: Likewise.
13116 * soft-fp/floattitf.c: Likewise.
13117 * soft-fp/floatuntidf.c: Likewise.
13118 * soft-fp/floatuntisf.c: Likewise.
13119 * soft-fp/floatuntitf.c: Likewise.
13120 * soft-fp/trunctfxf2.c: Likewise.
13122 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
13123 * soft-fp/fixdfti.c: Likewise.
13124 * soft-fp/fixsfti.c: Likewise.
13125 * soft-fp/fixtfti.c: Likewise.
13126 * soft-fp/fixunsdfti.c: Likewise.
13127 * soft-fp/fixunssfti.c: Likewise.
13128 * soft-fp/fixunstfti.c: Likewise.
13129 * soft-fp/floattidf.c: Likewise.
13130 * soft-fp/floattisf.c: Likewise.
13131 * soft-fp/floattitf.c: Likewise.
13132 * soft-fp/floatuntidf.c: Likewise.
13133 * soft-fp/floatuntisf.c: Likewise.
13134 * soft-fp/floatuntitf.c: Likewise.
13135 * soft-fp/trunctfxf2.c: Likewise.
13137 2013-10-10 David S. Miller <davem@davemloft.net>
13139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13141 2013-10-10 Joseph Myers <joseph@codsourcery.com>
13143 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13144 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
13145 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
13146 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
13147 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
13148 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
13149 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
13151 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
13152 for NaNs before doing comparisons on argument.
13153 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13156 2013-10-10 Will Newton <will.newton@linaro.org>
13158 * malloc/hooks.c (memalign_check): Ensure the value of bytes
13159 passed to _int_memalign does not overflow.
13161 2013-10-10 Torvald Riegel <triegel@redhat.com>
13163 * scripts/bench.pl: Add include-sources directive.
13164 * benchtests/README: Update documentation.
13166 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13168 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
13169 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
13170 instead of FP_INIT_ROUNDMODE.
13171 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
13172 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
13175 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
13176 copy class of input value.
13177 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
13178 not handle exceptions.
13179 * soft-fp/negsf2.c (__negsf2): Likewise.
13180 * soft-fp/negtf2.c (__negtf2): Likewise.
13181 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
13183 2013-10-09 Joseph Myers <joseph@codesourcery.com>
13185 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
13186 semicolon. From Linux kernel.
13188 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
13190 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
13192 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
13195 * manual/socket.texi: Added statement about buffer
13196 for gethostbyname2_r.
13198 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
13200 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
13201 Use .p2align directive instead, throughout.
13202 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13203 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13204 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13205 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13206 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13207 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13208 * sysdeps/x86_64/strchr.S: Likewise.
13209 * sysdeps/x86_64/strrchr.S: Likewise.
13211 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13213 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
13215 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
13217 * sysdeps/generic/math_private.h (__mpsin1): Remove
13219 (__mpcos1): Likewise.
13220 (__mpsin): New argument __range_reduce.
13221 (__mpcos): Likewise.
13222 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13223 (slow): Use __mpsin and __mpcos.
13227 (sloww1): Likewise.
13228 (sloww2): Likewise.
13229 (bsloww): Likewise.
13230 (bsloww1): Likewise.
13231 (bsloww2): Likewise.
13232 (cslow2): Likewise.
13233 (csloww): Likewise.
13234 (csloww1): Likewise.
13235 (csloww2): Likewise.
13236 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
13237 range_reduce. Merge in __mpsin1.
13238 (__mpcos): Likewise.
13239 (__mpsin1): Remove.
13240 (__mpcos1): Likewise.
13242 2013-10-07 Joseph Myers <joseph@codesourcery.com>
13244 * locale/loadlocale.c (_nl_intern_locale_data): Use
13246 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
13247 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
13248 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
13249 obstack data is appropriately aligned.
13250 (obstack_int32_grow_fast): Likewise.
13251 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
13252 * locale/programs/locfile.c (add_locale_uint32): Likewise.
13253 (add_locale_uint32_array): Likewise.
13255 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13257 * benchtests/Makefile: Remove ARGLIST and RET variables.
13258 ($(objpfx)bench-%.c): Pass only function name to the script.
13259 * benchtests/README: Update documentation.
13260 * benchtests/acos-inputs: Add new directives.
13261 * benchtests/acosh-inputs: Likewise.
13262 * benchtests/asin-inputs: Likewise.
13263 * benchtests/asinh-inputs: Likewise.
13264 * benchtests/atan-inputs: Likewise.
13265 * benchtests/atanh-inputs: Likewise.
13266 * benchtests/cos-inputs: Likewise.
13267 * benchtests/cosh-inputs: Likewise.
13268 * benchtests/exp-inputs: Likewise.
13269 * benchtests/log-inputs: Likewise.
13270 * benchtests/pow-inputs: Likewise.
13271 * benchtests/rint-inputs: Likewise.
13272 * benchtests/sin-inputs: Likewise.
13273 * benchtests/sinh-inputs: Likewise.
13274 * benchtests/tan-inputs: Likewise.
13275 * benchtests/tanh-inputs: Likewise.
13276 * scripts/bench.pl: Add support for new directives.
13278 2013-10-07 Alan Modra <amodra@gmail.com>
13280 * README: Fix careless merge.
13282 2013-10-05 Alan Modra <amodra@gmail.com>
13284 * NEWS: Mention powerpc64le support and bugs fixed.
13285 * README: Both big-endian and little-endian powerpc64 supported.
13287 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13289 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
13290 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
13291 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
13292 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
13294 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
13296 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
13299 2013-10-04 Joseph Myers <joseph@codesourcery.com>
13301 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
13302 Move -mhard-float appending from
13303 ports/sysdeps/powerpc/powerpc32/Makefile.
13304 [$(with-fp) = yes] (ASFLAGS): Likewise.
13305 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
13306 * sysdeps/powerpc/nofpu: Move directory from
13307 ports/sysdeps/powerpc/nofpu.
13308 * sysdeps/powerpc/soft-fp: Move directory from
13309 ports/sysdeps/powerpc/soft-fp.
13310 * sysdeps/powerpc/powerpc32/405: Move directory from
13311 ports/sysdeps/powerpc/powerpc32/405.
13312 * sysdeps/powerpc/powerpc32/440: Move directory from
13313 ports/sysdeps/powerpc/powerpc32/440.
13314 * sysdeps/powerpc/powerpc32/464: Move directory from
13315 ports/sysdeps/powerpc/powerpc32/464.
13316 * sysdeps/powerpc/powerpc32/476: Move directory from
13317 ports/sysdeps/powerpc/powerpc32/476.
13318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
13319 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
13320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
13321 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
13322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
13323 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
13324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
13325 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
13326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
13327 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
13328 * README: Update for powerpc-*-linux-gnu software floating point
13331 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
13332 case to powerpc/powerpc32*.
13333 * sysdeps/unix/sysv/linux/configure: Regenerated.
13335 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
13336 (_FPU_MASK_OM): Define as 0x04.
13337 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
13338 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
13340 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
13342 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
13344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
13345 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
13348 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
13351 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
13352 and setcontext_e500.
13354 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
13356 * locale/iso-3166.def: Update iso-1366.def and related occurrences
13358 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13360 * manual/threads.texi (Default Thread Attributes): Fix typo.
13362 2013-10-04 Will Newton <will.newton@linaro.org>
13364 * malloc/Makefile: Add tst-memalign.
13365 * malloc/tst-memalign.c: New file.
13367 * malloc/tst-posix_memalign.c: Add comments.
13368 (do_test): Add comments and call free on all potentially
13369 allocated pointers. Add space after cast.
13371 * malloc/tst-pvalloc.c: Add comments.
13372 (do_test): Add comments and call free on all potentially
13373 allocated pointers. Remove duplicate check for NULL pointer.
13374 Add space after cast.
13376 * malloc/tst-valloc.c: Add comments.
13377 (do_test): Add comments and call free on all potentially
13378 allocated pointers. Remove duplicate check for NULL pointer.
13379 Add space after cast.
13381 2013-10-04 Alan Modra <amodra@gmail.com>
13383 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13384 Use stdint types in rather than __attribute__((mode())).
13385 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13387 2013-10-04 Alan Modra <amodra@gmail.com>
13389 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13390 Correct handling of unaligned relocs for little-endian.
13391 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13393 2013-10-04 Alan Modra <amodra@gmail.com>
13395 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
13396 * configure: Regenerate.
13397 * nptl/shlib-versions: Powerpc*le starts at 2.18.
13398 * shlib-versions: Likewise.
13400 2013-10-04 Alan Modra <amodra@gmail.com>
13402 * string/tester.c (test_memrchr): Increment reported test cycle.
13404 2013-10-04 Alan Modra <amodra@gmail.com>
13406 * string/test-memcpy.c (do_one_test): When reporting errors, print
13407 string address and don't overrun end of string.
13409 2013-10-04 Alan Modra <amodra@gmail.com>
13411 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
13412 insrdi. Make better use of reg selection to speed exit slightly.
13413 Schedule entry path a little better. Remove useless "are we done"
13414 checks on entry to main loop. Handle wrapping around zero address.
13415 Correct main loop count. Handle single left-over word from main
13416 loop inline rather than by using loop_small. Remove extra word
13417 case in loop_small caused by wrong loop count. Add little-endian
13419 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13420 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
13422 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13423 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
13424 support. Avoid rlwimi.
13425 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
13427 2013-10-04 Alan Modra <amodra@gmail.com>
13429 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
13430 insrdi. Formatting.
13431 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
13432 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13433 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13434 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13435 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13436 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
13438 2013-10-04 Alan Modra <amodra@gmail.com>
13440 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
13441 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13442 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13443 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
13444 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13445 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13446 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13447 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13448 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
13449 use of regs. Use power7 mtocrf. Tidy function tails.
13451 2013-10-04 Alan Modra <amodra@gmail.com>
13453 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
13454 Formatting. Consistently use rXXX register defines or rN defines.
13455 Use early exit labels that avoid restoring unused non-volatile regs.
13456 Make cr field use more consistent with rWORDn compares. Rename
13457 regs used as shift registers for unaligned loop, using rN defines
13458 for short lifetime/multiple use regs.
13459 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13460 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
13461 addi 1,1,64 to pop stack frame. Simplify return value code.
13462 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13464 2013-10-04 Alan Modra <amodra@gmail.com>
13466 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13467 support. Correct typos, formatting. Optimize tail. Use insrdi
13468 rather than rlwimi.
13469 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13470 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13471 little-endian support. Correct typos.
13472 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
13473 rather than rlwimi.
13474 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
13475 in loop and entry code to keep "and." results.
13476 (strchr): Add little-endian support. Comment. Move cntlzd
13478 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13480 2013-10-04 Alan Modra <amodra@gmail.com>
13482 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13483 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13484 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13485 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13487 2013-10-04 Alan Modra <amodra@gmail.com>
13489 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13490 (rTMP): Define as r11.
13491 (strcmp): Add little-endian support. Optimise tail.
13492 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13493 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13494 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13495 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13496 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13497 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13498 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13500 2013-10-04 Alan Modra <amodra@gmail.com>
13502 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13503 little-endian support. Remove unnecessary "are we done" tests.
13504 Handle "s" wrapping around zero and extremely large "size".
13505 Correct main loop count. Handle single left-over word from main
13506 loop inline rather than by using small_loop. Correct comments.
13507 Delete "zero" tail, use "end_max" instead.
13508 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13510 2013-10-04 Alan Modra <amodra@gmail.com>
13512 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13513 support. Don't branch over align.
13514 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13515 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13516 support. Rearrange tmp reg use to suit. Comment.
13517 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13519 2013-10-04 Alan Modra <amodra@gmail.com>
13521 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13523 2013-10-04 Alan Modra <amodra@gmail.com>
13525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13526 conditional form of branch and link when obtaining pc.
13527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13529 2013-10-04 Alan Modra <amodra@gmail.com>
13531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13536 2013-10-04 Alan Modra <amodra@gmail.com>
13538 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13539 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13540 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13541 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13542 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13543 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13544 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13545 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13546 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13547 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13549 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13550 Alistair Popple <alistair@ozlabs.au.ibm.com>
13551 Alan Modra <amodra@gmail.com>
13554 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13555 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13556 _dl_hwcap access for little-endian.
13557 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
13558 destroy vmx regs when saving unaligned.
13559 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13560 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
13561 destroy vmx regs when saving unaligned.
13563 2013-10-04 Alan Modra <amodra@gmail.com>
13565 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13566 Don't use a union to pack hi/low value.
13568 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13570 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13572 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13573 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13574 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13575 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13576 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13578 2013-10-04 Alan Modra <amodra@gmail.com>
13580 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13581 constants to usual value for .cst8 section, and remove redundant
13583 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13584 constant for 0x1p52. Load little-endian words of double from
13585 correct stack offsets.
13587 2013-10-04 Alan Modra <amodra@gmail.com>
13589 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13590 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13591 words of double from correct stack offsets.
13592 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13593 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13594 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13595 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13596 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13597 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13598 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13599 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13600 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13601 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13602 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13603 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13604 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13605 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13606 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13607 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13608 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13610 2013-10-04 Alan Modra <amodra@gmail.com>
13612 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13613 64-bit int/double union.
13614 (_FPU_SETCW): Likewise.
13615 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13616 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13618 2013-10-04 Alan Modra <amodra@gmail.com>
13620 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13621 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13623 2013-10-04 Alan Modra <amodra@gmail.com>
13625 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13626 use vector int constants.
13627 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13629 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13631 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13632 array with long long.
13633 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
13634 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
13635 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
13636 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
13637 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
13638 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
13639 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
13640 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
13641 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
13642 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
13643 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
13644 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
13645 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
13647 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13649 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
13650 (__signbit): Likewise. Correct for little-endian.
13651 (__signbitl): Call __signbit.
13652 (lrint): Correct for little-endian.
13653 (lrintf): Call lrint.
13655 2013-10-04 Alan Modra <amodra@gmail.com>
13657 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
13658 union 32-bit int array member with 64-bit int array.
13659 (t515, tm256): Double rather than long double.
13660 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
13662 2013-10-04 Alan Modra <amodra@gmail.com>
13664 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
13666 (IEEE854_LONG_DOUBLE_BIAS): Delete.
13667 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
13668 version of math_ldbl.h.
13670 2013-10-04 Alan Modra <amodra@gmail.com>
13672 [BZ #15734], [BZ #15735]
13673 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13674 all uses of ieee875 long double macros and unions. Simplify test
13675 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
13676 ldbl_extract_mantissa value for ix,iy exponents. Properly
13677 normalize after ldbl_extract_mantissa, and don't add hidden bit
13678 already handled. Don't treat low word of ieee854 mantissa like
13679 low word of IBM long double and mask off bit when testing for
13681 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13682 all uses of ieee875 long double macros and unions. Simplify tests
13683 for 0.0L and inf. Correct double adjustment of k. Delete dead code
13684 adjusting ha,hb. Simplify code setting kld. Delete two600 and
13685 two1022, instead use their values. Recognise that tests for large
13686 "a" and small "b" are mutually exclusive. Rename vars. Comment.
13687 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
13688 Rewrite all uses of ieee875 long double macros and unions. Simplify
13689 test for 0.0L and nan. Correct negation.
13690 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
13691 ieee875 long double macros and unions. Correct output for large
13692 magnitude x. Correct absolute value calculation.
13693 (__erfcl): Likewise.
13694 * math/libm-test.inc: Add tests for errors discovered in IBM long
13695 double versions of fmodl, remainderl, erfl and erfcl.
13697 2013-10-04 Alan Modra <amodra@gmail.com>
13699 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
13700 all uses of ieee854 long double macros and unions. Simplify tests
13701 for long doubles that are fully specified by the high double.
13702 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13704 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
13705 Remove dead code too.
13706 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13707 (__ieee754_ynl): Likewise.
13708 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13709 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
13710 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13711 Remove dead code too.
13712 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13713 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13714 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13715 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
13717 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
13719 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
13720 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13721 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
13722 Comment on variable precision.
13723 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
13724 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13726 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13727 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13728 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13729 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13730 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
13732 2013-10-04 Alan Modra <amodra@gmail.com>
13734 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
13735 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
13736 all uses of ieee854 long double macros and unions.
13737 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13738 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13739 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
13740 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
13741 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13742 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13744 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
13745 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13746 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
13747 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13748 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13749 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13750 Simplify sign and nan test too.
13751 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
13752 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13753 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
13754 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13756 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13757 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
13759 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13760 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13761 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
13762 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
13763 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
13764 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
13766 2013-10-04 Alan Modra <amodra@gmail.com>
13768 * stdio-common/printf_size.c (__printf_size): Don't use
13769 union ieee854_long_double in fpnum union.
13770 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
13771 signbit macro to retrieve sign from long double.
13772 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
13773 retrieve sign from long double.
13774 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
13775 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
13776 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
13777 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13778 * math/test-misc.c (main): Don't use union ieee854_long_double.
13780 2013-10-04 Alan Modra <amodra@gmail.com>
13783 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
13784 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
13785 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
13786 calculation. Remove unnecessary test for denormal exponent.
13787 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
13788 Correct handling of denormals. Avoid undefined shift behaviour.
13789 Correct normalisation of low mantissa when low double is denormal.
13790 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
13791 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
13792 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
13793 Correct normalisation of low mantissa. Test for overflow of high
13794 mantissa and normalise.
13795 (ldbl_nearbyint): Use more readable constant for two52.
13796 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
13797 (__mpn_construct_long_double): Fix test for overflow of high
13798 mantissa and correct normalisation. Avoid undefined shift.
13800 2013-10-04 Alan Modra <amodra@gmail.com>
13802 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13803 (union ibm_extended_long_double): Define as an array of ieee754_double.
13804 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
13805 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
13806 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
13807 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13808 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13809 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
13810 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13811 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13812 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13813 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
13814 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13816 2013-10-03 Joseph Myers <joseph@codesourcery.com>
13818 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
13819 page size instead of calling getpagesize.
13821 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
13822 (LOCFILE_ALIGN_MASK): Likewise.
13823 (LOCFILE_ALIGN_UP): Likewise.
13824 (LOCFILE_ALIGNED_P): Likewise.
13825 * locale/programs/ld-collate.c (collate_output): Use the new
13826 macros instead of __alignof__ (int32_t).
13827 * locale/weight.h (findidx): Likewise.
13829 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
13832 * manual/string.texi: Fix strncat and wcsncat.
13834 2013-10-03 Brooks Moses <bmoses@google.com>
13837 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
13838 * Makerules: ...here, and adjust associated comments.
13840 2013-10-02 Will Newton <will.newton@linaro.org>
13842 * malloc/Makefile: Add tst-pvalloc.
13843 * malloc/tst-pvalloc.c: New file.
13845 2013-10-02 Will Newton <will.newton@linaro.org>
13847 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
13848 improve test coverage.
13850 2013-10-02 Will Newton <will.newton@linaro.org>
13852 * malloc/Makefile: Add tst-posix_memalign.
13853 * malloc/tst-posix_memalign.c: New file.
13855 2013-10-01 Eric Blake <eblake@redhat.com>
13857 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
13858 Use __THROWNL rather than __THROW on static functions.
13860 2013-09-30 Petr Machata <pmachata@redhat.com>
13862 * elf/elf.h (R_AARCH64_ABS16): New macro.
13863 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
13864 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
13865 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
13866 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
13867 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
13868 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
13869 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
13870 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
13871 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
13872 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
13873 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
13874 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
13875 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
13876 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
13877 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
13878 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
13879 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
13880 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
13881 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
13882 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
13883 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
13884 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
13885 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
13886 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
13887 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
13888 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
13889 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
13890 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
13891 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
13892 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
13893 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
13894 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
13895 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
13896 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
13897 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
13898 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
13899 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
13900 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
13901 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
13902 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
13903 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
13904 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
13905 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
13906 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
13907 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
13908 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
13909 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
13910 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
13911 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
13912 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
13913 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
13914 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
13915 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
13916 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
13917 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
13918 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
13919 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
13920 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
13921 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
13922 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
13923 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
13924 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
13925 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
13926 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
13927 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
13928 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
13929 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
13930 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
13931 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
13932 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
13933 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
13934 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
13935 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
13936 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
13937 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
13938 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
13939 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
13940 (R_AARCH64_TLSDESC_LDR): Likewise.
13941 (R_AARCH64_TLSDESC_ADD): Likewise.
13942 (R_AARCH64_TLSDESC_CALL): Likewise.
13944 2013-09-30 Andreas Schwab <schwab@suse.de>
13947 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
13948 the nss database lookup.
13949 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13950 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13952 2013-09-28 Mike Frysinger <vapier@gentoo.org>
13954 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
13956 2013-09-28 P. J. McDermott <pj@pehjota.net>
13958 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
13959 ${Bash-specific parameter/pattern/string} parameter expansion.
13960 * sysdeps/unix/make-syscalls.sh: Likewise.
13962 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13964 * sysdeps/sh/stackguard-macros.h: New file.
13966 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
13968 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13969 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13970 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13971 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13972 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13973 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13975 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13977 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13978 Fix thread ID register.
13980 2013-09-25 Joseph Myers <joseph@codesourcery.com>
13982 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13983 [POSIX || UNIX98]: Require rather than permitting all symbols from
13985 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
13986 element of struct sched_param.
13987 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
13988 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
13989 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
13990 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
13993 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
13995 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13996 argument calculation.
13998 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14000 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14002 [POSIX] (pthread_attr_t): Do not require type.
14003 [POSIX] (pthread_cond_t): Likewise.
14004 [POSIX] (pthread_condattr_t): Likewise.
14005 [POSIX] (pthread_key_t): Likewise.
14006 [POSIX] (pthread_mutex_t): Likewise.
14007 [POSIX] (pthread_mutexattr_t): Likewise.
14008 [POSIX] (pthread_once_t): Likewise.
14009 [POSIX] (pthread_t): Likewise.
14010 [POSIX-based standards] (pthread_atfork): Expect function.
14012 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14013 Richard Sandiford <richard@codesourcery.com>
14015 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14016 (swap_endianness_p): New extern variable.
14017 (set_big_endian): New inline function.
14018 (maybe_swap_uint32): Likewise.
14019 (maybe_swap_uint32_array): Likewise.
14020 (maybe_swap_uint32_obstack): Likewise.
14021 * locale/programs/locfile.c: Include <stdbool.h>.
14022 (swap_endianness_p): New variable.
14023 (add_locale_uint32): Call maybe_swap_uint32.
14024 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14025 (write_locale_data): Call maybe_swap_uint32_array.
14026 * locale/programs/ld-collate.c (obstack_int32_grow): Call
14028 (obstack_int32_grow_fast): Likewise.
14029 (output_weightwc): Call maybe_swap_uint32_obstack.
14030 (collate_output): Likewise.
14031 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14032 (OPT_LITTLE_ENDIAN): Likewise.
14033 (options): Add --little-endian and --big-endian options.
14034 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14035 * locale/programs/locarchive.c: Include "locfile.h".
14039 (create_archive): Use the new macros to access fields of
14040 structures directly mapped from or written to locale archives.
14041 (oldlocrecentcmp): Likewise.
14042 (enlarge_archive): Likewise.
14043 (insert_name): Likewise.
14044 (add_alias): Likewise.
14045 (add_locale): Likewise.
14046 (delete_locales_from_archive): Likewise.
14047 (show_archive_content): Likewise.
14048 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
14051 2013-09-24 Roland McGrath <roland@hack.frob.com>
14053 * manual/freemanuals.texi: Updated from (newly) canonical copy at
14054 http://www.gnu.org/doc/freemanuals.texi.
14055 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14057 2013-09-24 Will Newton <will.newton@linaro.org>
14059 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14062 2013-09-23 Joseph Myers <joseph@codesourcery.com>
14064 * locale/hashval.h (compute_hashval): Interpret bytes of key as
14067 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
14069 * manual/threads.texi (POSIX Threads): Fix a typo.
14071 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14074 * string/tst-strcoll-overflow.c: New test case.
14075 * string/Makefile (xtests): Add tst-strcoll-overflow.
14076 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14077 cache if string sizes may cause integer overflow.
14080 * string/strcoll_l.c (coll_seq): New members rule, idx,
14081 save_idx and back_us.
14082 (get_next_seq_nocache): New function.
14083 (do_compare_nocache): New function.
14084 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14087 2013-09-23 Carlos O'Donell <carlos@redhat.com>
14090 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14091 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14092 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14095 * elf/Makefile (tests): Add tst-ptrguard1.
14096 (tests-static): Add tst-ptrguard1-static.
14097 (tst-ptrguard1-ARGS): Define.
14098 (tst-ptrguard1-static-ARGS): Define.
14099 * elf/tst-ptrguard1.c: New file.
14100 * elf/tst-ptrguard1-static.c: New file.
14101 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14102 * sysdeps/i386/stackguard-macros.h: Likewise.
14103 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14104 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14105 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14106 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14107 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14108 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14110 2013-09-23 Hector Marco <hecmargi@upv.es>
14111 Ismael Ripoll <iripoll@disca.upv.es>
14112 Carlos O'Donell <carlos@redhat.com>
14115 * sysdeps/generic/stackguard-macros.h: Define
14116 __pointer_chk_guard_local and POINTER_CHK_GUARD.
14117 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14118 Define __pointer_chk_guard_local.
14119 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14120 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14122 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
14125 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
14127 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
14129 * include/string.h (__ffs): Declare as hidden.
14130 * string/ffs.c (__ffs): Define as hidden.
14131 * sysdeps/i386/ffs.c (__ffs): Likewise.
14132 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14133 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
14134 * sysdeps/s390/ffs.c (__ffs): Likewise.
14135 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
14137 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
14139 * NEWS: Mention malloc probes.
14141 * malloc/arena.c (new_heap): New memory_heap_new probe.
14142 (grow_heap): New memory_heap_more probe.
14143 (shrink_heap): New memory_heap_less probe.
14144 (heap_trim): New memory_heap_free probe.
14145 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
14146 (systrim): New memory_sbrk_less probe.
14147 * manual/probes.texi: Document them.
14149 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
14150 * manual/probes.texi: Document it.
14152 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
14153 (__libc_realloc): Add memory_realloc_retry probe.
14154 (__libc_memalign): Add memory_memalign_retry probe.
14155 (__libc_valloc): Add memory_valloc_retry probe.
14156 (__libc_pvalloc): Add memory_pvalloc_retry probe.
14157 (__libc_calloc): Add memory_calloc_retry probe.
14158 * manual/probes.texi: Document them.
14160 * malloc/arena.c (get_free_list): Add probe
14161 memory_arena_reuse_free_list.
14162 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
14163 and memory_arena_reuse.
14164 (arena_get2) [!PER_THREAD]: Likewise.
14165 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
14166 memory_arena_reuse_realloc.
14167 * manual/probes.texi: Document them.
14169 * malloc/malloc.c (__libc_free): Add
14170 memory_mallopt_free_dyn_thresholds probe.
14171 (__libc_mallopt): Add multiple memory_mallopt probes.
14172 * manual/probes.texi: Document them.
14174 * malloc/malloc.c: Include stap-probe.h.
14175 (__libc_mallopt): Add memory_mallopt probe.
14176 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
14177 * manual/probes.texi: New.
14178 * manual/Makefile (chapters): Add probes.
14179 * manual/threads.texi: Set next node.
14181 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
14183 [BZ #15963, #13985]
14184 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
14185 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
14186 Add `Chinese' to `nan' entry name.
14188 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14190 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
14191 (POLYNOMIAL): Likewise.
14192 (TAYLOR_SINCOS): Likewise.
14193 (TAYLOR_SLOW): Likewise.
14194 (__sin): Use TAYLOR_SINCOS.
14196 (slow): Use TAYLOR_SLOW.
14198 (bsloww): Likewise.
14199 (csloww): Likewise.
14201 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14203 * stdlib/strtod_l.c: Fix buffer overrun.
14205 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14207 * benchtests/Makefile (bench): Add sincos.
14208 * benchtests/bench-sincos.c: New file.
14210 * math/libm-test.inc (cos_test_data): New test inputs.
14211 (sin_test_data): Likewise.
14213 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
14219 (sloww1): Likewise.
14220 (sloww2): Likewise.
14221 (bsloww1): Likewise.
14222 (bsloww2): Likewise.
14223 (cslow2): Likewise.
14224 (csloww1): Likewise.
14225 (csloww2): Likewise.
14227 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
14232 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
14236 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
14238 * config.h.in (HAVE_MIPS_NAN2008): New macro.
14239 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
14240 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
14241 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
14242 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
14243 * elf/cache.c (print_entry): Handle the new cache flags.
14245 2013-09-18 Joseph Myers <joseph@codesourcery.com>
14246 Aldy Hernandez <aldyh@redhat.com>
14248 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
14249 Change condition to [_SOFT_FLOAT].
14250 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
14251 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
14252 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
14253 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
14254 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
14255 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
14256 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
14257 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
14258 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
14259 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
14260 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
14261 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
14262 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
14263 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
14264 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
14265 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
14268 2013-09-18 Joseph Myers <joseph@codesourcery.com>
14270 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
14271 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14272 (__longjmp): Use LOAD_GP to load saved GPRs.
14273 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
14274 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14275 (__sigsetjmp): Use SAVE_GP to save GPRs.
14277 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
14278 Do not append -msoft-float.
14279 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
14281 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14283 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
14285 2013-09-17 Joseph Myers <joseph@codesourcery.com>
14288 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
14289 (_FPU_GETCW): Use initial "__" on variable and field names but not
14290 on macro parameter name.
14291 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
14292 parentheses around reference to macro parameter.
14294 2013-09-13 Richard Sandiford <richard@codesourcery.com>
14296 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
14298 (ctype_startup): Use uint32_t in cast and sizeof for
14301 2013-09-11 Jia Liu <proljc@gmail.com>
14303 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
14305 [__FreeBSD__]: Likewise.
14307 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
14309 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14310 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
14311 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
14312 (strchr): Remove __strchr_sse42 ifunc selection.
14313 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
14314 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
14316 2013-09-11 Will Newton <will.newton@linaro.org>
14318 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
14319 parameter to RES. Remove hardcoded 1000 value.
14320 * benchtests/bench-skeleton.c (main): Pass RES parameter
14321 to TIMING_INIT and multiply result by 1000.
14323 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14325 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14327 2013-09-11 Andreas Schwab <schwab@suse.de>
14329 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14331 (O_TMPFILE) [__USE_GNU]: Define.
14332 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
14335 2013-09-11 Will Newton <will.newton@linaro.org>
14338 * malloc/malloc.c (__libc_memalign): Check the value of bytes
14341 2013-09-11 Will Newton <will.newton@linaro.org>
14344 * malloc/malloc.c (__libc_valloc): Check the value of bytes
14347 2013-09-11 Will Newton <will.newton@linaro.org>
14350 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
14353 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
14355 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
14356 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14357 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14358 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14359 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14361 2013-09-10 Allan McRae <allan@archlinux.org>
14364 * manual/arith.texi (Parsing of Floats): Clarify
14368 * manual/install.texi (Running make install): Mention
14370 * INSTALL: Regenerated.
14372 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14374 * csu/init-first.c (_init): Remove the !SHARED condition around
14375 FPU control word initialization.
14376 * elf/dl-support.c (_dl_fpu_control): New variable.
14377 (_dl_aux_init) <AT_FPUCW>: Initialize it.
14378 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
14379 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
14380 * math/test-fpucw-static.c: New file.
14381 * math/test-fpucw-ieee.c: New file.
14382 * math/test-fpucw-ieee-static.c: New file.
14383 * math/Makefile (tests): Add `test-fpucw-ieee' and
14385 (tests-static): New variable.
14386 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
14388 [($(build-shared),yes)]
14389 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14391 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
14394 2013-09-09 Allan McRae <allan@archlinux.org>
14397 * manual/string.texi (Collation Functions): Fix typo in
14399 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
14402 * stdlib/isomac.c (get_null_defines): Fix memory leak.
14405 * libio/memstream.c (open_memstream): Fix memory leak.
14406 * libio/wmemstream.c (open_wmemstream): Likewise.
14409 * nscd/netgroupcache.c: Fix nesting of ifdefs.
14411 2013-09-09 Will Newton <will.newton@linaro.org>
14413 * malloc/Makefile: Add tst-realloc to tests.
14414 * malloc/tst-realloc.c: New file.
14416 2013-09-09 Allan McRae <allan@archlinux.org>
14419 * COPYING: Update from GNU website to fix FSF address.
14420 * COPYING.LIB: Likewise.
14422 2013-09-06 David S. Miller <davem@davemloft.net>
14424 * po/zh_TW.po: Update Chinese (traditional) translation from
14425 translation project.
14427 2013-09-06 Richard Sandiford <richard@codesourcery.com>
14428 Joseph Myers <joseph@codesourcery.com>
14430 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
14432 (obstack_chunk_alloc): New macro.
14433 (obstack_chunk_free): Likewise.
14434 (record_offset): New function.
14435 (init_locale_data): Likewise.
14436 (align_locale_data): Likewise.
14437 (add_locale_empty): Likewise.
14438 (add_locale_raw_data): Likewise.
14439 (add_locale_raw_obstack): Likewise.
14440 (add_locale_string): Likewise.
14441 (add_locale_wstring): Likewise.
14442 (add_locale_uint32): Likewise.
14443 (add_locale_uint32_array): Likewise.
14444 (add_locale_char): Likewise.
14445 (start_locale_structure): Likewise.
14446 (end_locale_structure): Likewise.
14447 (start_locale_prelude): Likewise.
14448 (end_locale_prelude): Likewise.
14449 (write_locale_data): Take locale_file structure rather than an
14451 * locale/programs/locfile.h: Include "obstack.h".
14452 (struct locale_file): Change to store locale file contents instead
14454 (init_locale_data): New prototype.
14455 (align_locale_data): Likewise.
14456 (add_locale_empty): Likewise.
14457 (add_locale_raw_data): Likewise.
14458 (add_locale_raw_obstack): Likewise.
14459 (add_locale_string): Likewise.
14460 (add_locale_wstring): Likewise.
14461 (add_locale_uint32): Likewise.
14462 (add_locale_uint32_array): Likewise.
14463 (add_locale_char): Likewise.
14464 (start_locale_structure): Likewise.
14465 (end_locale_structure): Likewise.
14466 (start_locale_prelude): Likewise.
14467 (end_locale_prelude): Likewise.
14468 (write_locale_data): Update prototype.
14469 * locale/programs/3level.h (struct TABLE): Remove result field.
14470 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14471 Use new locale_file interface.
14472 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14473 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14474 * locale/programs/ld-address.c (address_output): Use new
14475 locale_file interface.
14476 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14478 (collate_finish): Don't call collseq_table_finalize.
14479 (collate_output): Use new locale_file interface.
14480 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14482 (NO_FINALIZE): Change to NO_ADD_LOCALE.
14483 (TABLE): Move defines earlier in file.
14484 (ELEMENT): Likewise.
14485 (DEFAULT): Likewise.
14486 (wctrans_table_add): Move macro and inline function earlier in
14488 (struct wctype_table): Move type earlier in file.
14489 (add_locale_wctype_table): New static prototype.
14490 (struct locale_ctype_t): Use logical types instead of struct iovec
14491 pointers for members.
14492 (ctype_output): Use new locale_file interface.
14493 (wctype_table_finalize): Change to add_locale_wctype_table. Use
14494 new locale_file interface.
14495 (allocate_arrays): Update for use of new locale_file interface.
14496 * locale/programs/ld-identification.c (identification_output): Use
14497 new locale_file interface.
14498 * locale/programs/ld-measurement.c (measurement_output): Likewise.
14499 * locale/programs/ld-messages.c (messages_output): Likewise.
14500 * locale/programs/ld-monetary.c (monetary_output): Likewise.
14501 * locale/programs/ld-name.c (name_output): Likewise.
14502 * locale/programs/ld-numeric.c (numeric_output): Likewise.
14503 * locale/programs/ld-paper.c (paper_output): Likewise.
14504 * locale/programs/ld-telephone.c (telephone_output): Likewise.
14505 * locale/programs/ld-time.c (time_output): Likewise.
14507 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14509 * benchtests/Makefile: Add memrchr benchmark.
14510 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14511 benchmark as memrchr.
14512 * benchtests/bench-memrchr-ifunc.c: New file.
14513 * benchtests/bench-memrchr.c: New file.
14515 2013-09-06 Will Newton <will.newton@linaro.org>
14517 * benchtests/Makefile (string-bench): Add memcpy.
14519 2013-09-05 Carlos O'Donell <carlos@redhat.com>
14520 Cong Wang <amwang@redhat.com>
14523 * sysdeps/unix/sysv/linux/bits/in.h
14524 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14525 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14526 before __USE_KERNEL_IPV6_DEFS uses.
14527 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14529 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14530 sockaddr_in6, or ipv6_mreq.
14532 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14534 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14535 memory access for final bytes in some large inputs.
14536 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14538 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14540 * string/test-memrchr.c: New file.
14541 * string/test-memrchr-ifunc.c: New file.
14542 * string/Makefile: Add new memrchr testcase.
14544 2013-09-05 Mike Frysinger <vapier@gentoo.org>
14546 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14547 fanotify_init returns EPERM.
14549 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14551 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14553 (top level): Treat second token from macro or constant entries for
14554 allowed headers as allowed.
14555 * include/complex.h: Condition internal declarations on
14557 * include/fenv.h: Condition include of <stdbool.h> and internal
14558 declarations on [!_ISOMAC].
14560 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
14563 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14565 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14567 * configure.in (--enable-versioning): Remove configure option.
14568 (libc_cv_asm_symver_directive): Remove configure test.
14569 (libc_cv_ld_version_script_option): Likewise.
14570 (VERSIONING): Remove variable and AC_SUBST.
14571 (DO_VERSIONING): Remove AC_DEFINE.
14572 * configure: Regenerated.
14573 * config.h.in (DO_VERSIONING): Remove macro.
14574 * Makerules [$(versioning) = yes]: Change conditionals to
14575 [$(build-shared) = yes].
14576 * config.make.in (versioning): Remove variable.
14577 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14578 [$(build-shared) = yes].
14579 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14580 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14581 * elf/Makefile [$(versioning) = yes]: Change conditionals to
14582 [$(build-shared) = yes].
14583 * extra-lib.mk [$(versioning) = yes]: Likewise.
14584 * hurd/Makefile [$(versioning) = yes]: Likewise.
14585 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14587 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14589 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14590 [SHARED && !NO_HIDDEN].
14591 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14593 [SHARED && DO_VERSIONING]: Likewise..
14594 * libio/Makefile [$(versioning) = yes]: Change conditionals to
14595 [$(build-shared) = yes].
14596 * manual/install.texi (--disable-versioning): Remove
14598 * INSTALL: Regenerated.
14599 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14601 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14602 [$(build-shared) = yes].
14603 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14604 * sysdeps/i386/i686/multiarch/strstr-c.c
14605 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14606 [SHARED && !NO_HIDDEN].
14607 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14608 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14609 * sysdeps/powerpc/powerpc32/dl-machine.c
14610 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14611 * sysdeps/powerpc/powerpc32/sysdep.h
14612 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14613 to [SHARED && PIC && !NO_HIDDEN].
14614 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14615 conditional to [SHARED].
14617 2013-09-04 Will Newton <will.newton@linaro.org>
14619 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14620 * benchtests/bench-string.h: Include bench-timing.h instead
14621 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14622 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14623 call to HP_TIMING_DIFF_INIT.
14624 * benchtests/bench-memccpy.c: Use bench-timing.h macros
14625 instead of hp-timing.h macros.
14626 * benchtests/bench-memchr.c: Likewise.
14627 * benchtests/bench-memcmp.c: Likewise.
14628 * benchtests/bench-memcpy.c: Likewise.
14629 * benchtests/bench-memmem.c: Likewise.
14630 * benchtests/bench-memmove.c: Likewise.
14631 * benchtests/bench-memset.c: Likewise.
14632 * benchtests/bench-rawmemchr.c: Likewise.
14633 * benchtests/bench-strcasecmp.c: Likewise.
14634 * benchtests/bench-strcasestr.c: Likewise.
14635 * benchtests/bench-strcat.c: Likewise.
14636 * benchtests/bench-strchr.c: Likewise.
14637 * benchtests/bench-strcmp.c: Likewise.
14638 * benchtests/bench-strcpy.c: Likewise.
14639 * benchtests/bench-strcpy_chk.c: Likewise.
14640 * benchtests/bench-strlen.c: Likewise.
14641 * benchtests/bench-strncasecmp.c: Likewise.
14642 * benchtests/bench-strncat.c: Likewise.
14643 * benchtests/bench-strncmp.c: Likewise.
14644 * benchtests/bench-strncpy.c: Likewise.
14645 * benchtests/bench-strnlen.c: Likewise.
14646 * benchtests/bench-strpbrk.c: Likewise.
14647 * benchtests/bench-strrchr.c: Likewise.
14648 * benchtests/bench-strspn.c: Likewise.
14649 * benchtests/bench-strstr.c: Likewise.
14651 2013-09-04 Will Newton <will.newton@linaro.org>
14653 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
14655 2013-09-03 Joseph Myers <joseph@codesourcery.com>
14658 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14659 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
14660 * math/libm-test.inc (lgamma_test_data): Add more tests.
14661 * sysdeps/i386/fpu/libm-test-ulps: Update.
14662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14664 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
14666 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
14667 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14669 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14670 Add strcmp-sse2-unaligned
14671 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
14673 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14675 * Versions.def (libc): Add GLIBC_2.19.
14677 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14679 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
14680 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
14682 2013-09-02 Joseph Myers <joseph@codesourcery.com>
14685 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14686 intermediate calculations in recurrence.
14687 (__ieee754_ynf): Likewise.
14688 * math/libm-test.inc (jn_test_data): Do not allow spurious
14689 underflow exception. Add more tests.
14690 (yn_test_data): Add more tests.
14691 * sysdeps/i386/fpu/libm-test-ulps: Update.
14692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14694 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
14696 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
14698 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14700 * csu/init-first.c: Fix then/than typos.
14701 * locale/programs/ld-collate.c: Likewise.
14702 * locale/programs/linereader.h: Likewise.
14703 * manual/charset.texi: Likewise.
14704 * manual/filesys.texi: Likewise.
14705 * manual/stdio.texi: Likewise.
14706 * manual/string.texi: Likewise.
14707 * stdlib/fmtmsg.c: Likewise.
14708 * sysdeps/i386/stpncpy.S: Likewise.
14709 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14710 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14711 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14712 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14714 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14716 * elf/dl-open.c: Fix typos.
14717 * iconvdata/gbbig5.c: Likewise.
14718 * iconvdata/iso-2022-jp.c: Likewise.
14719 * iconv/gconv_int.h: Likewise.
14720 * iconv/loop.c: Likewise.
14721 * nis/rpcsvc/nis.h: Likewise.
14722 * resolv/ns_name.c: Likewise.
14723 * stdio-common/vfscanf.c: Likewise.
14724 * streams/stropts.h: Likewise.
14725 * sunrpc/rpc_thread.c: Likewise.
14726 * sysdeps/i386/strpbrk.S: Likewise.
14727 * sysdeps/ieee754/k_standard.c: Likewise.
14728 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14729 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14730 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
14731 * sysdeps/mach/hurd/profil.c: Likewise.
14732 * sysdeps/s390/dl-procinfo.h: Likewise.
14733 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
14734 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14735 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
14736 * sysdeps/x86_64/dl-trampoline.S: Likewise.
14737 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14739 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14741 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
14742 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
14744 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14746 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
14747 aix specific files.
14748 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
14749 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
14750 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
14751 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
14752 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
14753 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
14754 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
14755 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
14757 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14758 Roland McGrath <roland@hack.frob.com>
14760 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
14761 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14763 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
14765 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
14766 __executable_start symbol instead of _start.
14768 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14770 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
14771 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
14773 * sysdeps/gnu/ldsodefs.h: ... this new file.
14775 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
14776 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
14777 instead of ELFOSABI_LINUX.
14779 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
14780 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
14781 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
14782 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
14784 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
14785 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
14786 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
14788 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14789 (ibm_extended_long_double): Add ieee_nan member.
14790 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
14791 (do_test): New function.
14793 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
14795 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
14796 functions, renamed from truncdfsf_test, trunctfsf_test,
14798 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
14800 (do_test): Run all these.
14802 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14804 * argp/argp-help.c: Fix typos.
14805 * argp/argp-parse.c: Likewise.
14806 * debug/backtracesyms.c: Likewise.
14807 * elf/elf.h: Likewise.
14808 * malloc/malloc.c: Likewise.
14809 * nis/nis_print.c: Likewise.
14810 * resolv/res_comp.c: Likewise.
14811 * stdlib/stdlib.h: Likewise.
14812 * sunrpc/clnt_tcp.c: Likewise.
14813 * sunrpc/clnt_udp.c: Likewise.
14814 * sunrpc/clnt_unix.c: Likewise.
14815 * sysdeps/unix/bsd/ptsname.c: Likewise.
14816 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14817 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
14818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
14820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
14822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14824 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14826 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14828 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
14829 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14831 2013-08-27 Mike Frysinger <vapier@gentoo.org>
14834 * dlfcn/Makefile (tests): Add bug-dl-leaf.
14835 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
14836 ($(objpfx)bug-dl-leaf): New rule.
14837 ($(objpfx)bug-dl-leaf.so): Likewise.
14838 ($(objpfx)bug-dl-leaf.out): Likewise.
14839 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
14840 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
14841 * dlfcn/bug-dl-leaf.c: New test.
14842 * dlfcn/bug-dl-leaf-lib.c: Likewise.
14843 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
14844 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
14845 (dlclose): Likewise.
14846 (dlmopen): Likewise.
14848 2013-08-27 Roland McGrath <roland@hack.frob.com>
14850 * include/netdb.h [!_ISOMAC]:
14851 Don't include <tls.h>.
14852 (h_errno, __libc_h_errno): Move declaration and macros out of
14855 * include/resolv.h [_RESOLV_H_]:
14856 Don't include <tls.h>.
14857 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
14858 * resolv/res_libc.c: Don't include <tls.h>.
14859 (_res): Use __attribute__ ((nocommon)) in place of
14860 __attribute__ ((section (".bss"))).
14862 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
14863 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
14865 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
14867 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
14868 only under [SIOCGIFCONF && SIOCGIFNETMASK].
14870 * resolv/res_mkquery.c: Include <sys/time.h>.
14872 * inet/ifreq.c: Moved to ...
14873 * sysdeps/unix/ifreq.c: ... here.
14874 * inet/ifreq.c: New file, true stub version.
14876 * socket/sa_len.c: New file.
14877 * socket/Makefile (aux): Add it.
14878 * sysdeps/unix/sysv/linux/Makefile
14879 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
14880 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
14881 and #include <socket/sa_len.c>.
14882 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
14883 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
14885 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
14886 * bits/socket.h: ... here.
14888 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
14889 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
14890 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
14892 2013-08-27 Andreas Schwab <schwab@suse.de>
14895 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
14896 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
14897 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
14898 * string/test-strcasecmp.c (test_main): Run tests in several
14900 * string/test-strncasecmp.c (test_main): Likewise.
14902 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
14903 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
14904 to __strcasecmp_nonascii and __strncasecmp_nonascii.
14905 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
14906 (__strncasecmp_ssse3) [PIC]: Likewise.
14908 2013-08-26 Roland McGrath <roland@hack.frob.com>
14910 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
14912 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
14913 instead of explicitly declaring xdecrypt.
14914 * nis/nss_nis/nis-publickey.c: Likewise.
14916 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14919 * nscd/aicache.c: Include res_hconf.h.
14920 (addhstaiX): Initialize res_hconf.
14922 2013-08-26 Andreas Schwab <schwab@suse.de>
14924 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
14925 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
14927 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14929 * nscd/aicache.c (addhstaiX): Fix indentation.
14931 2013-08-25 Mike Frysinger <vapier@gentoo.org>
14933 * configure.ac: Quote $build_pt_chown test.
14934 * configure: Regenerated.
14936 2013-08-23 Joseph Myers <joseph@codesourcery.com>
14939 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
14940 * math/s_cexpf.c (__cexpf): Likewise.
14941 * math/s_cexpl.c (__cexpl): Likewise.
14942 * math/libm-test.inc (cexp_test_data): Correct expected return
14943 value for NaN + i0. Add another test.
14945 2013-08-22 David S. Miller <davem@davemloft.net>
14947 * po/ca.po: Update Catalan translation from translation project.
14948 * po/uk.po: Add Ukrainian translations from translation project.
14950 2013-08-21 Joseph Myers <joseph@codesourcery.com>
14953 * math/s_fdim.c (__fdim): Check for infinite arguments if result
14954 is infinite, not alongside NaN test.
14955 * math/s_fdimf.c (__fdimf): Likewise.
14956 * math/s_fdiml.c (__fdiml): Likewise.
14957 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
14958 errno is unchanged.
14960 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
14962 * argp/argp-help.c: Fix typos.
14963 * crypt/speeds.c: Likewise.
14964 * csu/check_fds.c: Likewise.
14965 * elf/dl-load.c: Likewise.
14966 * elf/dl-open.c: Likewise.
14967 * elf/reldep3.c: Likewise.
14968 * elf/reldep.c: Likewise.
14969 * elf/sprof.c: Likewise.
14970 * iconv/iconv_charmap.c: Likewise.
14971 * iconv/skeleton.c: Likewise.
14972 * iconv/strtab.c: Likewise.
14973 * io/lockf64.c: Likewise.
14974 * libio/libioP.h: Likewise.
14975 * resolv/gai_notify.c: Likewise.
14976 * resolv/ns_name.c: Likewise.
14977 * resolv/ns_samedomain.c: Likewise.
14978 * resolv/res_send.c: Likewise.
14979 * stdlib/random.c: Likewise.
14980 * sunrpc/rpc/xdr.h: Likewise.
14981 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14982 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14983 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14984 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14985 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14986 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14987 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14988 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14989 * sysdeps/mach/hurd/check_fds.c: Likewise.
14990 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14991 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14992 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14993 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14994 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14995 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14996 * sysdeps/pthread/aio_notify.c: Likewise.
14997 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14998 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14999 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15000 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15001 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15003 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15005 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15006 version if bit_Slow_SSE4_2 is set.
15007 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15008 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15010 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15013 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15014 trampoline stack frame information.
15015 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15016 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15017 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15018 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15019 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15020 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15021 (_libc_vdso_platform_setup): Initialize the signal trampolines.
15022 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15024 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15025 interrupting a syscall and set with option SA_SIGINFO.
15027 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15030 * math/s_cproj.c (__cproj): Only return an infinity if one part of
15031 argument is infinite.
15032 * math/s_cprojf.c (__cprojf): Likewise.
15033 * math/s_cprojl.c (__cprojl): Likewise.
15034 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15035 * math/libm-test.inc (cproj_test_data): Add more tests.
15037 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15039 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15040 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15041 size. Use __ffs to determine corresponding shift.
15043 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15044 Roland McGrath <roland@hack.frob.com>
15046 * Makefile (INSTALL): Remove trailing blank lines from output of
15049 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15051 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15052 Align 32 bit compat elf_greg to 8 bytes.
15054 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
15056 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15058 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15060 * string/strcoll_l.c (coll_seq): New structure.
15061 (get_next_seq_cached): New function.
15062 (get_next_seq): New function.
15063 (do_compare): New function.
15064 (STRCOLL): Use GNU style definition. Simplify implementation
15065 by using get_next_seq, get_next_seq_cached and do_compare.
15067 2013-08-16 Florian Weimer <fweimer@redhat.com>
15071 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15073 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15075 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15076 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15077 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
15079 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15080 GETDENTS_64BIT_ALIGNED.
15081 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15082 * manual/filesys.texi (Reading/Closing Directory): Document
15083 ENAMETOOLONG return value of readdir_r. Recommend readdir more
15085 * manual/conf.texi (Limits for Files): Add portability note to
15086 NAME_MAX, PATH_MAX.
15087 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15089 2013-08-13 Andreas Schwab <schwab@suse.de>
15092 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15094 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15095 LDBL_MAX_EXP >= 16384]: Add tests for it.
15097 2013-08-12 David S. Miller <davem@davemloft.net>
15099 * version.h (RELEASE): Set to "development".
15100 (VERSION): Set to "2.18.90".
15101 * NEWS: Add 2.19 section.
15103 2013-08-03 David S. Miller <davem@davemloft.net>
15105 * po/ko.po: Update Korean translation from translation project.
15107 2013-08-01 David S. Miller <davem@davemloft.net>
15109 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
15110 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15113 2013-07-30 David S. Miller <davem@davemloft.net>
15115 * po/fr.po: Update French translation from translation project.
15117 2013-07-28 David S. Miller <davem@davemloft.net>
15119 * po/cs.po: Update Czech translation from translation project.
15121 * po/sv.po: Update Swedish translation from translation project.
15123 2013-07-27 David S. Miller <davem@davemloft.net>
15125 * po/eo.po: Update Esperanto translation from translation project.
15127 * po/vi.po: Update Vietnamese translation from translation project.
15129 * po/de.po: Update German translation from translation project.
15131 2013-07-26 David S. Miller <davem@davemloft.net>
15133 * po/bg.po: Update Bulgarian translation from translation project.
15135 * po/nl.po: Update Dutch translation from translation project.
15136 * po/pl.po: Update Polish translation from translation project.
15137 * po/ru.po: Update Russian translation from translation project.
15139 2013-07-24 David S. Miller <davem@davemloft.net>
15141 * po/libc.pot: Update.
15143 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15145 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
15146 variable page size.
15147 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
15148 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
15149 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
15151 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15153 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
15155 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15156 Andreas Schwab <schwab@suse.de>
15157 Roland McGrath <roland@hack.frob.com>
15158 Joseph Myers <joseph@codesourcery.com>
15159 Carlos O'Donell <carlos@redhat.com>
15162 * config.h.in: Define HAVE_PT_CHOWN.
15163 * config.make.in (build-pt-chown): New variable.
15164 * configure.in (--enable-pt_chown): New configure option.
15165 * configure: Regenerate.
15166 * login/Makefile: Include Makeconfig. Build pt_chown only if
15167 build-pt-chown is enabled.
15168 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
15169 pt_chown to fix pty ownership.
15170 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
15172 * manual/install.texi (Configuring and compiling): Mention
15173 --enable-pt_chown. Add @findex for grantpt.
15174 * INSTALL: Regenerate.
15176 2013-07-20 David S. Miller <davem@davemloft.net>
15178 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
15179 difference between 32-bit and 64-bit.
15181 2013-07-15 Carlos O'Donell <carlos@redhat.com>
15184 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
15185 Avoid system header dependency with -ffreestanding.
15186 ($(objpfx)bits/syscall%d): Likewise.
15188 2013-07-13 David S. Miller <davem@davemloft.net>
15190 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
15191 underflows from atanl/atan2l due to bug 15319.
15192 (casinh_test_data): Likewise.
15194 2013-07-07 David S. Miller <davem@davemloft.net>
15196 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15198 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
15200 * sysdeps/i386/fpu/libm-test-ulps: Update.
15201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15203 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15205 * configure.in (--enable-lock-elision): Fix message text.
15206 * INSTALL: Regenerate.
15207 * configure: Regenerate.
15209 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15211 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15213 2013-07-03 Andreas Jaeger <aj@suse.de>
15215 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
15217 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
15218 (ptrace_peeksiginfo_args): Add.
15219 (__ptrace_peeksiginfo_flags): Add.
15220 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15221 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15222 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15224 2013-07-03 Allan McRae <allan@archlinux.org>
15226 * sysdeps/i386/fpu/libm-test-ulps: Update.
15228 2013-07-02 David S. Miller <davem@davemloft.net>
15230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15232 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
15234 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15236 2013-07-02 Joseph Myers <joseph@codesourcery.com>
15238 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15241 2013-07-02 Andi Kleen <ak@linux.intel.com>
15243 * config.h.in (ENABLE_LOCK_ELISION): Add.
15244 * configure.in (--enable-lock-elision): Add option.
15245 * manual/install.texi: Document --enable lock elision.
15246 * configure: Regenerate
15247 * INSTALL: Regenerate.
15249 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
15251 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
15252 SSE4.2 strcasecmp for libc.a.
15253 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15255 2013-07-02 Joseph Myers <joseph@codesourcery.com>
15258 * soft-fp/op-common.h (_FP_FMA): New macro.
15259 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
15260 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
15261 (_FP_MUL_MEAT_1_imm): ... here.
15262 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
15263 (_FP_MUL_MEAT_1_wide): ... here.
15264 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
15265 (_FP_MUL_MEAT_1_hard): ... here.
15266 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
15267 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
15268 (_FP_MUL_MEAT_2_wide): ... here.
15269 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
15270 (_FP_MUL_MEAT_2_wide_3mul): ... here.
15271 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
15272 (_FP_MUL_MEAT_2_gmp): ... here.
15273 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
15274 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
15275 (_FP_MUL_MEAT_4_wide): ... here.
15276 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
15277 (_FP_MUL_MEAT_4_gmp): ... here.
15278 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
15279 (_FP_WFRACBITS_DW_S): Likewise.
15280 (_FP_WFRACXBITS_DW_S): Likewise.
15281 (_FP_HIGHBIT_DW_S): Likewise.
15282 (FP_FMA_S): Likewise.
15283 (_FP_FRAC_HIGH_DW_S): Likewise.
15284 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
15285 (_FP_WFRACBITS_DW_D): Likewise.
15286 (_FP_WFRACXBITS_DW_D): Likewise.
15287 (_FP_HIGHBIT_DW_D): Likewise.
15288 (FP_FMA_D): Likewise.
15289 (_FP_FRAC_HIGH_DW_D): Likewise.
15290 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
15291 (_FP_WFRACBITS_DW_E): Likewise.
15292 (_FP_WFRACXBITS_DW_E): Likewise.
15293 (_FP_HIGHBIT_DW_E): Likewise.
15294 (FP_FMA_E): Likewise.
15295 (_FP_FRAC_HIGH_DW_E): Likewise.
15296 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
15297 (_FP_WFRACBITS_DW_Q): Likewise.
15298 (_FP_WFRACXBITS_DW_Q): Likewise.
15299 (_FP_HIGHBIT_DW_Q): Likewise.
15300 (FP_FMA_Q): Likewise.
15301 (_FP_FRAC_HIGH_DW_Q): Likewise.
15302 * soft-fp/fmasf4.c: New file.
15303 * soft-fp/fmadf4.c: Likewise.
15304 * soft-fp/fmatf4.c: Likewise.
15306 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15308 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15309 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
15311 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
15313 (index_Slow_SSE4_2): Likewise.
15314 (index_Prefer_PMINUB_for_stringop): Likewise.
15315 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
15316 bit_Slow_SSE4_2 is set.
15317 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15318 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15320 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15322 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
15323 rtld_global._dl_hwcap2.
15324 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
15326 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
15327 POWER8 feature descriptions defined in _dl_hwcap2.
15328 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
15329 string handling for POWER8 feature bits.
15330 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
15331 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
15332 _dl_powerpc_cap_flags.
15333 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
15334 * sysdeps/powerpc/rtld-global-offsets.sym
15335 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
15336 _dl_hwcap2 in the rtld_global_ro structure.
15338 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15340 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
15341 hardware capabilities in support of AT_HWCAP2.
15342 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
15343 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
15345 (_dl_show_auxv): Add support for calling _dl_procinfo to display
15346 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
15347 explicitly the unknown a_type display mechanism is used.
15348 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
15349 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
15351 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
15352 to macro prototype for AT_HWCAP2 support.
15353 * sysdeps/i386/dl-procinfo.h: Likewise.
15354 * sysdeps/s390/dl-procinfo.h: Likewise.
15355 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
15356 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
15357 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
15358 return -1 for unknown a_type display fallback.
15359 * sysdeps/sparc/dl-procinfo.h: Likewise.
15360 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
15361 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
15363 2013-06-28 Joseph Myers <joseph@codesourcery.com>
15365 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
15366 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
15368 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
15371 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
15372 mprotect making __stack_prot writable.
15374 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
15375 Joseph Myers <joseph@codesourcery.com>
15377 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
15378 as being properly aligned.
15380 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
15382 * dlfcn/modstatic5.c: New file.
15383 * dlfcn/tststatic5.c: New file.
15384 * dlfcn/Makefile (tests): Add tststatic5.
15385 (tests-static): Likewise.
15386 (modules-names): Add modstatic5.
15387 (tststatic5-ENV): New variable.
15388 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
15391 * elf/dl-support.c (_dl_main_map): New variable.
15392 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
15393 (_dl_nns, _dl_load_adds): Set to 1.
15394 (_dl_initial_searchlist): Refer to _dl_main_map.
15395 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
15396 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
15397 call to _dl_get_origin.
15398 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
15400 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
15401 * dlfcn/modstatic3.c: New file.
15402 * dlfcn/tststatic3.c: New file.
15403 * dlfcn/tststatic4.c: New file.
15404 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
15405 (tests-static): Likewise.
15406 (modules-names): Add modstatic3.
15407 (tststatic3-ENV, tststatic4-ENV): New variables.
15408 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
15409 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
15411 2013-06-26 Joseph Myers <joseph@codesourcery.com>
15413 * configure.in (CC): Require GCC version 4.4 or later.
15414 * configure: Regenerated.
15415 * manual/install.texi (Tools for Compilation): Update GCC version
15417 * INSTALL: Regenerated.
15419 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15422 * string/test-memcmp.c (check2): New.
15423 (main): Call check2.
15425 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
15427 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
15430 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
15432 (dl_open_worker) [!SHARED]: ... here.
15434 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15436 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
15438 2013-06-25 Richard Henderson <rth@redhat.com>
15440 * locale/programs/locarchive.c: Include <libc-internal.h>
15442 2013-06-25 Joseph Myers <joseph@codesourcery.com>
15444 * manual/texinfo.tex: Update to version 2013-06-21.17, with
15445 trailing whitespace removed.
15447 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15450 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
15451 * locale/programs/locarchive.c: Include libc-mmap.h.
15452 (prepare_address_space): Take two new outputs (the mmap base and len).
15453 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
15455 (create_archive): Declare new mmap base and len values for
15456 prepare_address_space, and store the result in ah.
15457 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15458 (enlarge_archive): If ah->mmap_base is not NULL, use that and
15459 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15460 Declare new mmap base and len values for
15461 prepare_address_space, and store the result in new_ah.
15462 (open_archive): Declare new mmap base and len values for
15463 prepare_address_space, and store the result in ah.
15464 (close_archive): If ah->mmap_base is not NULL, use that and
15465 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15466 * sysdeps/generic/libc-mmap.h: New file.
15468 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15470 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15471 (ALIGN_UP): Likewise.
15472 (PTR_ALIGN_DOWN): Likewise.
15473 (PTR_ALIGN_UP): Likewise.
15475 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15477 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15478 entry mapped to PPC_PLATFORM_POWER8.
15479 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15481 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15482 (_dl_string_platform): Add case for exporting platform position for
15484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15485 search path to sysdeps/powerpc/powerpc32/power8 directory.
15486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15487 search path to sysdeps/powerpc/powerpc64/power8 directory.
15488 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15489 power7 directories.
15490 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15491 power7 directories.
15493 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15495 * INSTALL: Regenerate.
15497 * nscd/connections.c (nscd_init): Fix comment.
15499 2013-06-22 Joseph Myers <joseph@codesourcery.com>
15501 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15504 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15505 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15507 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15509 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15511 (DL_DST_REQ_STATIC): Remove macro.
15513 2013-06-21 Joseph Myers <joseph@codesourcery.com>
15516 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15517 with a shift of 0 bits.
15519 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15521 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15524 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15527 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15529 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15531 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15532 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15533 accepts -fno-tree-loop-distribute-patterns.
15534 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15535 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15537 * string/memset.c (memset): Likewise.
15538 * string/test-memmove.c (simple_memmove): Disable loop transformation
15540 * string/test-memset.c (simple_memset): Likewise.
15541 * benchtests/bench-memmove.c (simple_memmove): Likewise.
15542 * benchtests/bench-memset.c (simple_memset): Likewise.
15543 * configure: Regenerated.
15545 2013-06-20 Joseph Myers <joseph@codesourcery.com>
15547 * math/test-misc.c (main): Ignore fesetround failure when failures
15548 of subsequent rounding tests would be ignored.
15551 * math/fedisblxcpt.c (fedisableexcept): Return 0.
15552 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15553 * math/fegetenv.c (__fegetenv): Return 0.
15554 * math/fegetexcept.c (fegetexcept): Return 0.
15555 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15557 * math/feholdexcpt.c (feholdexcept): Return 0.
15558 * math/fesetenv.c (__fesetenv): Return 0.
15559 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15560 argument FE_TONEAREST.
15561 * math/feupdateenv.c (__feupdateenv): Return 0.
15562 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15564 2013-06-18 Roland McGrath <roland@hack.frob.com>
15566 * elf/rtld-Rules (rtld-compile-command.S): New variable.
15567 (rtld-compile-command.s, rtld-compile-command.c): New variables.
15568 ($(objpfx)rtld-%.os rules): Use them.
15570 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15572 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15575 2013-06-17 Roland McGrath <roland@hack.frob.com>
15577 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15578 length of target pattern, then descending length of dependency pattern.
15579 * configure.in (AWK): Require gawk 3.1.2 or newer.
15580 * manual/install.texi (Tools for Compilation): Say that we do.
15581 * configure: Regenerated.
15583 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15584 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15585 * scripts/sysd-rules.awk: ... this new script.
15586 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15587 than a glob-style pattern.
15589 2013-06-17 Joseph Myers <joseph@codesourcery.com>
15591 * math/test-misc.c (main): Do not treat incorrectly rounded
15592 conversions as failure unless ROUNDING_TESTS passes.
15594 2013-06-15 Joseph Myers <joseph@codesourcery.com>
15597 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15598 restore exception state around main square root computation, then
15599 check for inexactness explicitly.
15601 * math/libm-test.inc (fma_test_data): Add another test.
15603 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15605 * manual/threads.texi (Non-POSIX Extensions): New document
15606 node. Document pthread_getattr_default_np and
15607 pthread_setattr_default_np.
15609 * Versions.def (libpthread): Add GLIBC_2.18.
15610 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15615 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15619 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15621 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15623 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15625 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15627 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15630 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15632 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15633 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
15635 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15636 H.J. Lu <hjl.tools@gmail.com>
15639 * sysdeps/x86_64/rtld-memset.c: Remove file.
15640 * sysdeps/x86_64/rtld-memset.S: New file.
15642 2013-06-14 Joseph Myers <joseph@codesourcery.com>
15644 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
15645 (test_in_one_mode): Take arguments for whether the rounding mode
15646 is supported for each floating-point type.
15647 (do_test): Pass new arguments to test_in_one_mode using
15650 2013-06-13 Roland McGrath <roland@hack.frob.com>
15652 * posix/tst-waitid.c (do_test): Distinguish different instances of
15653 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
15654 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
15655 before entering the kernel for waitpid.
15657 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15659 * NEWS: Fix note on clock function precision. Text by Roland
15662 2013-06-13 Roland McGrath <roland@hack.frob.com>
15664 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
15665 it into place only when and if the sanity check passes.
15667 2013-06-13 Joseph Myers <joseph@codesourcery.com>
15669 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
15670 output for whether conversion result is exact. Take argument
15671 indicating whether type is IBM long double.
15672 (round_for_all): Change need_exact field to ibm_ld.
15673 * stdlib/tst-strtod-round.c (struct exactness): New type.
15674 (struct test): Change bool ld_ok field to struct exactness exact.
15675 (TEST): Update all definitions for change to field.
15676 (tests): Regenerate array contents.
15677 (test_in_one_mode): Take pointer to new field instead of old ld_ok
15678 field value. Check for IBM long double here.
15679 (do_test): Update calls to test_in_one_mode.
15681 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15684 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
15685 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
15687 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15690 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
15691 generated by the compiler on loop optimizations.
15692 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
15693 general definitions.
15695 2013-06-12 Joseph Myers <joseph@codesourcery.com>
15697 * math/bug-nextafter.c: Include <math-tests.h>.
15698 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15700 * math/bug-nexttoward.c: Include <math-tests.h>.
15701 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15703 * math/test-misc.c: Include <math-tests.h>.
15704 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15707 2013-06-12 Andreas Jaeger <aj@suse.de>
15709 * po/ia.po: Update Interlingua translation from translation
15712 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15714 * include/fenv.h: Include stdbool.h.
15715 (struct rm_ctx): New structure.
15716 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
15718 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
15719 (SET_RESTORE_ROUNDF): Likewise.
15720 (SET_RESTORE_ROUNDL): Likewise.
15721 (SET_RESTORE_ROUND_NOEX): Likewise.
15722 (SET_RESTORE_ROUND_NOEXF): Likewise.
15723 (SET_RESTORE_ROUND_NOEXL): Likewise.
15724 (SET_RESTORE_ROUND_53BIT): Likewise.
15725 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
15726 (libc_feresetround_noexf_ctx): Likewise.
15727 (libc_feresetround_noexl_ctx): Likewise.
15728 (libc_feholdsetround_53bit_ctx): Likewise.
15729 (libc_feresetround_53bit_ctx): Likewise.
15730 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
15731 (libc_feholdexcept_setround_sse_ctx): New function.
15732 (libc_fesetenv_sse_ctx): Likewise.
15733 (libc_feupdateenv_sse_ctx): Likewise.
15734 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
15735 (libc_feholdexcept_setround_387_ctx): Likewise.
15736 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
15737 (libc_feholdsetround_387_prec_ctx): Likewise.
15738 (libc_feholdsetround_387_ctx): Likewise.
15739 (libc_feholdsetround_387_53bit_ctx): Likewise.
15740 (libc_feholdsetround_sse_ctx): Likewise.
15741 (libc_feresetround_sse_ctx): Likewise.
15742 (libc_feresetround_387_ctx): Likewise.
15743 (libc_feupdateenv_387_ctx): Likewise.
15744 (libc_feholdexcept_setroundf_ctx): Define macro.
15745 (libc_fesetenvf_ctx): Likewise.
15746 (libc_feupdateenvf_ctx): Likewise.
15747 (libc_feholdsetroundf_ctx): Likewise.
15748 (libc_feresetroundf_ctx): Likewise.
15749 (libc_feholdexcept_setround_ctx): Likewise.
15750 (libc_fesetenv_ctx): Likewise.
15751 (libc_feupdateenv_ctx): Likewise.
15752 (libc_feholdsetround_ctx): Likewise.
15753 (libc_feresetround_ctx): Likewise.
15754 (libc_feholdexcept_setroundl_ctx): Likewise.
15755 (libc_feupdateenvl_ctx): Likewise.
15756 (libc_feholdsetroundl_ctx): Likewise.
15757 (libc_feresetroundl_ctx): Likewise.
15758 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
15759 (libc_feresetround_53bit_ctx): Likewise.
15761 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15763 * locale/iso-639.def: Convert to UTF-8.
15765 2013-06-11 Joseph Myers <joseph@codesourcery.com>
15767 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
15768 (EXCEPTION_TESTS_double): Likewise.
15769 (EXCEPTION_TESTS_long_double): Likewise.
15770 (EXCEPTION_TESTS): Likewise.
15771 * math/libm-test.inc (test_exceptions): Only test exceptions if
15772 EXCEPTION_TESTS (FLOAT).
15774 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15776 * benchtests/Makefile (string-bench): Add strcpy_chk and
15778 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
15779 * benchtests/bench-stpcpy_chk.c: New file.
15780 * benchtests/bench-strcpy_chk-ifunc.c: New file.
15781 * benchtests/bench-strcpy_chk.c: New file.
15782 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
15784 (do_test): Likewise.
15786 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15788 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
15789 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
15790 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
15791 with tabs where appropriate.
15792 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
15794 [PPC_PLATFORM_PPC440]: Likewise.
15795 [PPC_PLATFORM_PPC464]: Likewise.
15796 [PPC_PLATFORM_PPC476]: Likewise.
15797 (_dl_string_platform): Add support for detecting ppc405, ppc440,
15798 ppc464, and ppc476 platform strings merging from ports/
15801 2013-06-11 Andreas Schwab <schwab@suse.de>
15804 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
15805 (from_ucs4_idx): Regenerate.
15806 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
15807 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
15808 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
15809 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
15810 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
15811 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
15812 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
15813 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
15814 from FROM_LOOP and TO_LOOP specific macros.
15815 (BODY): Handle combining characters.
15816 * iconvdata/BIG5HKSCS.irreversible: Update.
15817 * iconvdata/BIG5HKSCS.precomposed: New file.
15818 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
15820 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
15822 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15824 * include/sys/time.h: Fix indentation and add copyright header.
15826 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
15827 (do_test): Likewise.
15828 * string/test-memchr.c (do_one_test): Likewise.
15829 (do_test): Likewise.
15830 * string/test-memcmp.c (do_one_test): Likewise.
15831 (do_test): Likewise.
15832 * string/test-memcpy.c (do_one_test): Likewise.
15833 (do_test): Likewise.
15834 * string/test-memmem.c (do_one_test): Likewise.
15835 (do_test): Likewise.
15836 (do_random_tests): Likewise.
15837 * string/test-memmove.c (do_one_test): Likewise.
15838 (do_test): Likewise.
15839 * string/test-memset.c (do_one_test): Likewise.
15840 (do_test): Likewise.
15841 * string/test-rawmemchr.c (do_one_test): Likewise.
15842 (do_test): Likewise.
15843 * string/test-strcasecmp.c (do_one_test): Likewise.
15844 (do_test): Likewise.
15845 * string/test-strcasestr.c (do_one_test): Likewise.
15846 (do_test): Likewise.
15847 * string/test-strcat.c (do_one_test): Likewise.
15848 (do_test): Likewise.
15849 * string/test-strchr.c (do_one_test): Likewise.
15850 (do_test): Likewise.
15851 * string/test-strcmp.c (do_one_test): Likewise.
15852 (do_test): Likewise.
15853 * string/test-strcpy.c (do_one_test): Likewise.
15854 (do_test): Likewise.
15855 * string/test-string.h: Likewise.
15856 (test_init): Likewise.
15857 * string/test-strlen.c (do_one_test): Likewise.
15858 (do_test): Likewise.
15859 * string/test-strncasecmp.c (do_one_test): Likewise.
15860 (do_test): Likewise.
15861 * string/test-strncat.c (do_one_test): Likewise.
15862 (do_test): Likewise.
15863 * string/test-strncmp.c (do_one_test): Likewise.
15864 (do_test_limit): Likewise.
15865 (do_test): Likewise.
15866 * string/test-strncpy.c (do_one_test): Likewise.
15867 (do_test): Likewise.
15868 * string/test-strnlen.c (do_one_test): Likewise.
15869 (do_test): Likewise.
15870 * string/test-strpbrk.c (do_one_test): Likewise.
15871 (do_test): Likewise.
15872 * string/test-strrchr.c (do_one_test): Likewise.
15873 (do_test): Likewise.
15874 * string/test-strspn.c (do_one_test): Likewise.
15875 (do_test): Likewise.
15876 * string/test-strstr.c (do_one_test): Likewise.
15877 (do_test): Likewise.
15879 * benchtests/Makefile (string-bench): Add string benchmarks.
15880 * benchtests/bench-bcopy-ifunc.c: New file.
15881 * benchtests/bench-bcopy.c: New file.
15882 * benchtests/bench-bzero-ifunc.c: New file.
15883 * benchtests/bench-bzero.c: New file.
15884 * benchtests/bench-memccpy-ifunc.c: New file.
15885 * benchtests/bench-memccpy.c: New file.
15886 * benchtests/bench-memchr-ifunc.c: New file.
15887 * benchtests/bench-memchr.c: New file.
15888 * benchtests/bench-memcmp-ifunc.c: New file.
15889 * benchtests/bench-memcmp.c: New file.
15890 * benchtests/bench-memmem-ifunc.c: New file.
15891 * benchtests/bench-memmem.c: New file.
15892 * benchtests/bench-memmove-ifunc.c: New file.
15893 * benchtests/bench-memmove.c: New file.
15894 * benchtests/bench-mempcpy-ifunc.c: New file.
15895 * benchtests/bench-mempcpy.c: New file.
15896 * benchtests/bench-memset-ifunc.c: New file.
15897 * benchtests/bench-memset.c: New file.
15898 * benchtests/bench-rawmemchr-ifunc.c: New file.
15899 * benchtests/bench-rawmemchr.c: New file.
15900 * benchtests/bench-stpcpy-ifunc.c: New file.
15901 * benchtests/bench-stpcpy.c: New file.
15902 * benchtests/bench-stpncpy-ifunc.c: New file.
15903 * benchtests/bench-stpncpy.c: New file.
15904 * benchtests/bench-strcasecmp-ifunc.c: New file.
15905 * benchtests/bench-strcasecmp.c: New file.
15906 * benchtests/bench-strcasestr-ifunc.c: New file.
15907 * benchtests/bench-strcasestr.c: New file.
15908 * benchtests/bench-strcat-ifunc.c: New file.
15909 * benchtests/bench-strcat.c: New file.
15910 * benchtests/bench-strchr-ifunc.c: New file.
15911 * benchtests/bench-strchr.c: New file.
15912 * benchtests/bench-strchrnul-ifunc.c: New file.
15913 * benchtests/bench-strchrnul.c: New file.
15914 * benchtests/bench-strcmp-ifunc.c: New file.
15915 * benchtests/bench-strcmp.c: New file.
15916 * benchtests/bench-strcpy-ifunc.c: New file.
15917 * benchtests/bench-strcpy.c: New file.
15918 * benchtests/bench-strcspn-ifunc.c: New file.
15919 * benchtests/bench-strcspn.c: New file.
15920 * benchtests/bench-strlen-ifunc.c: New file.
15921 * benchtests/bench-strlen.c: New file.
15922 * benchtests/bench-strncasecmp-ifunc.c: New file.
15923 * benchtests/bench-strncasecmp.c: New file.
15924 * benchtests/bench-strncat-ifunc.c: New file.
15925 * benchtests/bench-strncat.c: New file.
15926 * benchtests/bench-strncmp-ifunc.c: New file.
15927 * benchtests/bench-strncmp.c: New file.
15928 * benchtests/bench-strncpy-ifunc.c: New file.
15929 * benchtests/bench-strncpy.c: New file.
15930 * benchtests/bench-strnlen-ifunc.c: New file.
15931 * benchtests/bench-strnlen.c: New file.
15932 * benchtests/bench-strpbrk-ifunc.c: New file.
15933 * benchtests/bench-strpbrk.c: New file.
15934 * benchtests/bench-strrchr-ifunc.c: New file.
15935 * benchtests/bench-strrchr.c: New file.
15936 * benchtests/bench-strspn-ifunc.c: New file.
15937 * benchtests/bench-strspn.c: New file.
15938 * benchtests/bench-strstr-ifunc.c: New file.
15939 * benchtests/bench-strstr.c: New file.
15941 * benchtests/Makefile: Disable parallel execution of targets.
15942 (string-bench): Add memcpy.
15943 (benchset): New variable to store a list of benchmark sets.
15944 (bench-func): Renamed from bench.
15945 (bench-set): New target.
15946 (bench): Depend on bench-func and bench-set.
15947 * benchtests/README: Add section on benchmark sets.
15948 * benchtests/bench-memcpy-ifunc.c: New file.
15949 * benchtests/bench-memcpy.c: New file.
15950 * benchtests/bench-string.h: New file.
15952 2013-06-11 Andreas Schwab <schwab@suse.de>
15955 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
15956 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
15957 values in the triple.
15958 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
15959 terminator in the group key.
15961 2013-06-11 Andreas Jaeger <aj@suse.de>
15963 * po/zh_TW.po: Update Chinese (traditional) translation from
15964 translation project.
15966 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15968 * include/time.h (__clock_gettime): Add libc_hidden_proto.
15969 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15970 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
15971 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15972 (clock_getcpuclockid): Likewise.
15973 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15974 Add weak_alias and libc_hidden_def.
15975 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15976 * rt/clock_gettime.c (clock_gettime): Rename to
15977 __clock_gettime. Add weak_alias and libc_hidden_def.
15978 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15979 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15980 __clock_nanosleep. Add weak_alias and libc_hidden_def.
15981 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15982 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15984 * rt/clock_settime.c (clock_settime): Rename to
15985 __clock_settime. Add weak_alias and libc_hidden_def.
15986 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
15988 2013-06-10 Joseph Myers <joseph@codesourcery.com>
15990 * mach/err_boot.sub: Remove trailing whitespace.
15991 * mach/err_ipc.sub: Likewise.
15992 * mach/err_mach.sub: Likewise.
15994 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15995 (ROUNDING_TESTS_double): Likewise.
15996 (ROUNDING_TESTS_long_double): Likewise.
15997 (ROUNDING_TESTS): Likewise.
15998 * math/libm-test.inc: Include <math-tests.h>.
15999 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16000 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16001 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16002 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16004 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16006 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16009 2013-06-08 Joseph Myers <joseph@codesourcery.com>
16011 * sysdeps/gnu/errlist.awk: Do not generate space at end of
16012 otherwise empty TRANS lines.
16013 * sysdeps/gnu/errlist.c: Regenerated.
16015 * catgets/gencat.c (error_print): Use (void) in function
16017 * crypt/crypt_util.c (__init_des): Likewise.
16018 * crypt/speeds.c (Stop): Likewise.
16020 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16021 * inet/ruserpass.c (token): Likewise.
16022 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16023 * intl/localealias.c (extend_alias_table): Likewise.
16024 * intl/plural-exp.c (init_germanic_plural): Likewise.
16025 * libio/fcloseall.c (__fcloseall): Likewise.
16026 * libio/genops.c (_IO_flush_all): Likewise.
16027 (_IO_flush_all_linebuffered): Likewise.
16028 (_IO_cleanup): Likewise.
16029 (_IO_iter_begin): Likewise.
16030 (_IO_iter_end): Likewise.
16031 (_IO_list_lock): Likewise.
16032 (_IO_list_unlock): Likewise.
16033 (_IO_list_resetlock): Likewise.
16034 * libio/getchar.c (getchar): Likewise.
16035 * libio/getchar_u.c (getchar_unlocked): Likewise.
16036 * libio/getwchar.c (getwchar): Likewise.
16037 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16038 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16039 * login/getpt.c (__getpt): Likewise.
16040 * login/tst-utmp.c (main): Likewise.
16041 * malloc/hooks.c (__malloc_check_init): Likewise.
16042 * malloc/malloc.c (__malloc_stats): Likewise.
16043 * malloc/mtrace.c (tr_break): Likewise.
16044 (mtrace): Likewise.
16045 (muntrace): Likewise.
16046 * misc/fstab.c (endfsent): Likewise.
16047 * misc/getclktck.c (__getclktck): Likewise.
16048 * misc/getdtsz.c (__getdtablesize): Likewise.
16049 * misc/gethostid.c (gethostid): Likewise.
16050 * misc/getpagesize.c (__getpagesize): Likewise.
16051 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16052 (__get_nprocs): Likewise.
16053 (__get_phys_pages): Likewise.
16054 (__get_avphys_pages): Likewise.
16055 * misc/getttyent.c (getttyent): Likewise.
16056 (setttyent): Likewise.
16057 (endttyent): Likewise.
16058 * misc/getusershell.c (getusershell): Likewise.
16059 (endusershell): Likewise.
16060 (setusershell): Likewise.
16061 (initshells): Likewise.
16062 * misc/hsearch.c (__hdestroy): Likewise.
16063 * misc/sync.c (sync): Likewise.
16064 * misc/syslog.c (closelog_internal): Likewise.
16065 (closelog): Likewise.
16066 * misc/ttyslot.c (ttyslot): Likewise.
16067 * misc/vhangup.c (vhangup): Likewise.
16068 * posix/fork.c (__fork): Likewise.
16069 * posix/getegid.c (__getegid): Likewise.
16070 * posix/geteuid.c (__geteuid): Likewise.
16071 * posix/getgid.c (__getgid): Likewise.
16072 * posix/getpid.c (__getpid): Likewise.
16073 * posix/getppid.c (__getppid): Likewise.
16074 * posix/getuid.c (__getuid): Likewise.
16075 * posix/pause.c (pause): Likewise.
16076 * posix/setpgrp.c (setpgrp): Likewise.
16077 * posix/setsid.c (__setsid): Likewise.
16078 * posix/test-vfork.c (noop): Likewise.
16079 * resolv/gethnamaddr.c (_endhtent): Likewise.
16080 (_gethtent): Likewise.
16081 (ht_endhostent): Likewise.
16082 (gethostent): Likewise.
16083 (dns_service): Likewise.
16084 * stdlib/drand48.c (drand48): Likewise.
16085 * stdlib/lrand48.c (lrand48): Likewise.
16086 * stdlib/mrand48.c (mrand48): Likewise.
16087 * stdlib/rand.c (rand): Likewise.
16088 * stdlib/random.c (__random): Likewise.
16089 * stdlib/setenv.c (clearenv): Likewise.
16090 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16091 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16092 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16093 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16094 (__get_nprocs): Likewise.
16095 (__get_phys_pages): Likewise.
16096 (__get_avphys_pages): Likewise.
16097 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16098 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16099 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16100 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16101 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16102 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16103 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16104 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16105 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16106 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16107 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16108 * sysdeps/mach/hurd/sync.c (sync): Likewise.
16109 * sysdeps/posix/clock.c (clock): Likewise.
16110 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16111 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16112 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16113 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16114 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16115 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16116 (__get_nprocs_conf): Likewise.
16117 (__get_phys_pages): Likewise.
16118 (__get_avphys_pages): Likewise.
16119 * time/clock.c (clock): Likewise.
16120 * time/tzset.c (__tzname_max): Likewise.
16122 2013-06-07 Joseph Myers <joseph@codesourcery.com>
16124 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16125 (__bswap_32): Do not use "register".
16126 * crypt/crypt.c (_ufc_doit_r): Likewise.
16127 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16128 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16129 * gmon/gmon.c (__monstartup): Likewise.
16130 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
16131 * hurd/hurdmalloc.c (more_memory): Likewise.
16132 (malloc): Likewise.
16134 (realloc): Likewise.
16135 (malloc_fork_prepare): Likewise.
16136 (malloc_fork_parent): Likewise.
16137 (malloc_fork_child): Likewise.
16138 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
16139 (_svcauth_des): Likewise.
16140 * inet/inet_lnaof.c (inet_lnaof): Likewise.
16141 * inet/inet_net.c (inet_network): Likewise.
16142 * inet/inet_netof.c (inet_netof): Likewise.
16143 * inet/rcmd.c (__validuser2_sa): Likewise.
16144 * io/fts.c (fts_open): Likewise.
16145 (fts_load): Likewise.
16146 (fts_close): Likewise.
16147 (fts_read): Likewise.
16148 (fts_children): Likewise.
16149 (fts_build): Likewise.
16150 (fts_stat): Likewise.
16151 (fts_sort): Likewise.
16152 (fts_alloc): Likewise.
16153 (fts_lfree): Likewise.
16154 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
16155 (_IO_file_xsgetn): Likewise.
16156 (_IO_file_xsgetn_mmap): Likewise.
16157 * libio/iofopncook.c (_IO_cookie_read): Likewise.
16158 (_IO_cookie_write): Likewise.
16159 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
16160 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
16161 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
16162 * malloc/obstack.c (_obstack_begin): Likewise.
16163 (_obstack_begin_1): Likewise.
16164 (_obstack_newchunk): Likewise.
16165 (_obstack_allocated_p): Likewise.
16166 (obstack_free): Likewise.
16167 (_obstack_memory_used): Likewise.
16168 * misc/getttyent.c (getttynam): Likewise.
16169 (getttyent): Likewise.
16172 * misc/getusershell.c (initshells): Likewise.
16173 * misc/syslog.c (__vsyslog_chk): Likewise.
16174 * misc/ttyslot.c (ttyslot): Likewise.
16175 * nis/nis_hash.c (__nis_hash): Likewise.
16176 * posix/fnmatch_loop.c (FCT): Likewise.
16177 * posix/getconf.c (print_all): Likewise.
16179 * posix/getopt.c (exchange): Likewise.
16180 * posix/glob.c (globfree): Likewise.
16181 (prefix_array): Likewise.
16182 (__glob_pattern_type): Likewise.
16183 * resolv/arpa/nameser.h (NS_GET16): Likewise.
16184 (NS_GET32): Likewise.
16185 (NS_PUT16): Likewise.
16186 (NS_PUT32): Likewise.
16187 * resolv/gethnamaddr.c (getanswer): Likewise.
16188 (gethostbyname2): Likewise.
16189 (gethostbyaddr): Likewise.
16190 (_gethtent): Likewise.
16191 (_gethtbyname2): Likewise.
16192 (_gethtbyaddr): Likewise.
16193 * resolv/ns_print.c (dst_s_get_int16): Likewise.
16194 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16195 * resolv/res_init.c (__res_vinit): Likewise.
16196 (net_mask): Likewise.
16197 * resolv/res_mkquery.c (outchar): Likewise.
16199 * stdio-common/printf_fp.c (outchar): Likewise.
16201 * stdio-common/printf_fphex.c (outchar): Likewise.
16203 * stdio-common/printf_size.c (outchar): Likewise.
16205 * stdio-common/test_rdwr.c (main): Likewise.
16206 * stdio-common/tfformat.c (matches): Likewise.
16207 * stdio-common/vfprintf.c (outchar): Likewise.
16208 (printf_unknown): Likewise.
16209 (buffered_vfprintf): Likewise.
16210 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16211 * stdio-common/xbug.c (AppendToBuffer): Likewise.
16212 (ReadFile): Likewise.
16213 * stdlib/qsort.c (SWAP): Likewise.
16214 (_quicksort): Likewise.
16215 * stdlib/setenv.c (__add_to_environ): Likewise.
16216 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16217 * stdlib/strtol_l.c (__strtol_l): Likewise.
16218 * stdlib/tst-strtod.c (main): Likewise.
16219 * stdlib/tst-strtol.c (main): Likewise.
16220 * stdlib/tst-strtoll.c (main): Likewise.
16221 * string/bits/string2.h (__strcmp_cc): Likewise.
16222 (__strcmp_cg): Likewise.
16223 (__strcspn_c1): Likewise.
16224 (__strcspn_c2): Likewise.
16225 (__strcspn_c3): Likewise.
16226 (__strspn_c1): Likewise.
16227 (__strspn_c2): Likewise.
16228 (__strspn_c3): Likewise.
16229 (__strsep_1c): Likewise.
16230 (__strsep_2c): Likewise.
16231 (__strsep_3c): Likewise.
16232 * string/memccpy.c (__memccpy): Likewise.
16233 * string/stpcpy.c (__stpcpy): Likewise.
16234 * string/strcmp.c (strcmp): Likewise.
16235 * string/strrchr.c (strrchr): Likewise.
16236 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
16238 * sysdeps/mach/hurd/getcwd.c
16239 (_hurd_canonicalize_directory_name_internal): Likewise.
16240 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
16241 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
16242 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
16243 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
16244 Likewise, in both definitions.
16245 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
16247 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
16248 64] (__bswap_64): Likewise.
16249 * time/test_time.c (main): Likewise.
16250 * time/tzfile.c (__tzfile_read): Likewise.
16251 (__tzfile_compute): Likewise.
16252 * time/tzset.c (__tzset_parse_tz): Likewise.
16253 (tzset_internal): Likewise.
16254 (compute_change): Likewise.
16255 * wcsmbs/wcscat.c (__wcscat): Likewise.
16256 * wcsmbs/wcschr.c (wcschr): Likewise.
16257 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16258 * wcsmbs/wcscspn.c (wcscspn): Likewise.
16259 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16260 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
16261 * wcsmbs/wcsspn.c (wcsspn): Likewise.
16262 * wcsmbs/wcsstr.c (wcsstr): Likewise.
16263 * wcsmbs/wmemchr.c (wmemchr): Likewise.
16264 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16265 * wcsmbs/wmemset.c (wmemset): Likewise.
16267 2013-06-06 Joseph Myers <joseph@codesourcery.com>
16269 * scripts/config.guess: Update to version 2013-05-16.
16270 * scripts/config.sub: Update to version 2013-04-24.
16271 * scripts/install-sh: Update to version 2011-11-20.07.
16272 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
16273 * scripts/move-if-change: Update to version 2012-01-06 07:23.
16275 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
16277 * debug/fgetws_u_chk.c: Fix leading whitespaces.
16278 * elf/sln.c: Likewise.
16279 * hurd/hurd/ioctl.h: Likewise.
16280 * hurd/hurdmalloc.c: Likewise.
16281 * hurd/xattr.c: Likewise.
16282 * include/shlib-compat.h: Likewise.
16283 * inet/ruserpass.c: Likewise.
16284 * libio/iofgets_u.c: Likewise.
16285 * libio/iofgetws_u.c: Likewise.
16286 * locale/programs/ld-identification.c: Likewise.
16287 * locale/programs/ld-time.c: Likewise.
16288 * mach/msg-destroy.c: Likewise.
16289 * nss/nss_files/files-netgrp.c: Likewise.
16290 * resolv/res_data.c: Likewise.
16291 * soft-fp/op-1.h: Likewise.
16292 * soft-fp/op-2.h: Likewise.
16293 * soft-fp/op-4.h: Likewise.
16294 * soft-fp/op-common.h: Likewise.
16295 * stdio-common/printf_fphex.c: Likewise.
16296 * stdlib/strtod_l.c: Likewise.
16297 * sunrpc/rpc/clnt.h: Likewise.
16298 * sysdeps/generic/framestate.c: Likewise.
16299 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16300 * sysdeps/i386/bsd-setjmp.S: Likewise.
16301 * sysdeps/i386/__longjmp.S: Likewise.
16302 * sysdeps/i386/setjmp.S: Likewise.
16303 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16304 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16305 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16306 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16307 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16308 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16309 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16310 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16311 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16312 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16313 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16314 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16315 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16316 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16317 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16318 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16319 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16320 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
16321 * sysdeps/ieee754/support.c: Likewise.
16322 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16323 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
16324 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
16325 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
16326 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
16327 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
16328 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
16329 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
16330 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
16331 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
16332 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
16333 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
16334 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
16335 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
16336 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
16337 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
16338 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16341 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
16343 * posix/transbug.c: Remove executable mode.
16345 2013-06-05 Joseph Myers <joseph@codesourcery.com>
16347 * crypt/speeds.c: Remove trailing whitespace.
16348 * dlfcn/default.c: Likewise.
16349 * elf/ifuncdep2.c: Likewise.
16350 * elf/ifuncmain1.c: Likewise.
16351 * elf/ifuncmain1vis.c: Likewise.
16352 * elf/testobj.h: Likewise.
16353 * elf/tst-stackguard1.c: Likewise.
16354 * gmon/sys/gmon.h: Likewise.
16355 * hurd/hurdmsg.c: Likewise.
16356 * hurd/new-fd.c: Likewise.
16357 * hurd/ports-get.c: Likewise.
16358 * iconvdata/ibm1008_420.c: Likewise.
16359 * inet/tst-getni1.c: Likewise.
16360 * inet/tst-getni2.c: Likewise.
16361 * libio/ioungetc.c: Likewise.
16362 * libio/wfiledoalloc.c: Likewise.
16363 * manual/libm-err-tab.pl: Likewise.
16364 * math/w_dremf.c: Likewise.
16365 * misc/ftruncate.c: Likewise.
16366 * posix/bug-glob2.c: Likewise.
16367 * posix/tst-pcre.c: Likewise.
16368 * posix/wait4.c: Likewise.
16369 * resolv/README: Likewise.
16370 * resolv/res_debug.h: Likewise.
16371 * resolv/tst-inet_ntop.c: Likewise.
16372 * setjmp/bug269-setjmp.c: Likewise.
16373 * soft-fp/extended.h: Likewise.
16374 * soft-fp/op-1.h: Likewise.
16375 * soft-fp/op-2.h: Likewise.
16376 * soft-fp/op-4.h: Likewise.
16377 * soft-fp/op-8.h: Likewise.
16378 * soft-fp/testit.c: Likewise.
16379 * stdio-common/bug16.c: Likewise.
16380 * stdlib/random.c: Likewise.
16381 * sunrpc/rpcsvc/rquota.x: Likewise.
16382 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
16383 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16384 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16385 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16386 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16387 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16388 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16389 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16390 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16391 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16392 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16393 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16394 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16395 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16396 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16397 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16398 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16399 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16400 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16401 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16402 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16403 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16404 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16405 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16406 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16407 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16408 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16409 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16410 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16411 * sysdeps/ieee754/s_lib_version.c: Likewise.
16412 * sysdeps/mach/hurd/check_fds.c: Likewise.
16413 * sysdeps/mach/hurd/getsockname.c: Likewise.
16414 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
16415 * sysdeps/mach/hurd/recvfrom.c: Likewise.
16416 * sysdeps/powerpc/bits/link.h: Likewise.
16417 * sysdeps/powerpc/dl-procinfo.c: Likewise.
16418 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
16419 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
16420 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
16421 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16422 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16423 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
16424 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16425 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
16426 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16427 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16428 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16429 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
16430 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16431 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16432 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16433 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16434 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16435 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16436 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16437 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16438 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
16439 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16440 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16441 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
16442 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16443 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16444 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16445 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16446 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16447 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16448 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16449 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16450 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16451 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
16452 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16453 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
16454 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16455 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16456 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16457 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16458 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16459 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16460 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16461 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16462 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16463 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16464 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16465 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16466 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16467 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16468 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16469 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16470 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16471 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16472 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16473 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16474 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16475 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16476 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16477 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16478 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16479 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16480 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16481 * sysdeps/powerpc/sysdep.h: Likewise.
16482 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16483 * sysdeps/s390/s390-64/sub_n.S: Likewise.
16484 * sysdeps/sh/dl-trampoline.S: Likewise.
16485 * sysdeps/sh/memset.S: Likewise.
16486 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16487 * sysdeps/sh/strlen.S: Likewise.
16488 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16489 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16490 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16491 * sysdeps/sparc/sparc32/rem.S: Likewise.
16492 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16493 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16494 * sysdeps/sparc/sparc32/strchr.S: Likewise.
16495 * sysdeps/sparc/sparc32/udiv.S: Likewise.
16496 * sysdeps/sparc/sparc32/urem.S: Likewise.
16497 * sysdeps/sparc/sparc64/add_n.S: Likewise.
16498 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16499 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16500 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16501 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16502 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16503 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16504 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16505 * sysdeps/unix/bsd/times.c: Likewise.
16506 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16507 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16511 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16512 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16513 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16514 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16515 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16516 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16517 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16518 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16519 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16520 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16521 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16522 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16523 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16524 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16525 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16526 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16527 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16528 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16529 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16530 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16531 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16532 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16533 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16534 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16535 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16536 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16537 * sysdeps/x86_64/strcspn.S: Likewise.
16539 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16541 * locale/C-translit.h: Revert #include <stdint.h> because this is a
16542 generated file. Regenerate properly from gen-translit.pl.
16543 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
16544 locale/C-translit.h.
16546 2013-06-05 Andreas Schwab <schwab@suse.de>
16549 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16550 week as 6 instead of -1.
16551 * time/tst-strptime.c (day_tests): Add test case.
16553 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16555 * sysdeps/generic/math_private.h
16556 (libc_feholdexcept_setround_53bit): Replace with
16557 libc_feholdsetround_53bit.
16558 (libc_feupdateenv_53bit): Replace with
16559 libc_feresetround_53bit.
16560 (SET_RESTORE_ROUND_53BIT): Adjust.
16562 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16564 * string/test-strchrnul.c: Add copyright header.
16566 * posix/tst-getaddrinfo4.c: Increase test timeout.
16568 2013-06-03 Carlos O'Donell <carlos@redhat.com>
16571 * math/libm-test.inc (MAX_EXP): Remove
16573 (ulp): Use MIN_EXP - MANT_DIG.
16574 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16576 2013-05-31 Carlos O'Donell <carlos@redhat.com>
16578 * po/be.po: Revert last change.
16579 * po/zh_CN.po: Likewise.
16580 * po/header.pot: Likewise.
16582 2013-05-31 Joseph Myers <joseph@codesourcery.com>
16584 * Makefile ($(common-objpfx)linkobj/libc.so): Define
16585 link-libc-deps to empty as target-specific variable.
16586 * Makerules (link-libc-args): New variable.
16587 (libc-for-link): Likewise.
16588 (link-libc-deps): Likewise.
16589 (lib%.so): Depend on $(link-libc-deps). Link with
16591 (build-module): Link with $(link-libc-args).
16592 (build-module-asneeded): Likewise.
16593 (build-module-helper-objlist): Filter out $(link-libc-deps) from
16595 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16596 target-specific variable.
16597 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16598 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16599 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16601 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16603 ($(objpfx)libpcprofile.so): Likewise.
16604 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16606 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16607 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16608 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16610 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16611 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16612 * login/Makefile ($(objpfx)libutil.so): Likewise.
16613 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16614 * math/Makefile ($(objpfx)libm.so): Likewise.
16615 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16616 $(objpfx)libnsl.so): Define libc-for-link as target-specific
16617 variable instead of depending directly on libc.
16618 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16619 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16621 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16623 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16624 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16625 ($(objpfx)libanl.so): Likewise.
16626 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16628 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16630 * sysdeps/i386/fpu/Makefile: Remove file.
16631 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16632 ($(objpfx)libm.so): Remove dependency on ld.so.
16634 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
16637 * nis/yp_xdr.c (XDRMAXNAME): Define.
16638 (XDRMAXRECORD): Define.
16639 (xdr_domainname): Use XDRMAXNAME.
16640 (xdr_mapname): Likewise.
16641 (xdr_peername): Likewise.
16642 (xdr_keydat): Use XDRMAXRECORD.
16643 (xdr_valdat): Likewise.
16645 2013-05-30 Jeff Law <law@redhat.com>
16648 * manual/errno.texi (ESTALE): Update to account for more than
16649 just NFS file systems.
16650 * sysdeps/gnu/errlist.c: Regenerated.
16652 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16655 * elf/Makefile (tests): Add tst-null-argv.
16656 (modules-names): Add tst-null-argv-lib.
16657 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
16658 (tst-null-argv-ENV): Set environment for tst-null-argv.
16659 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16660 (RTLD_PROGNAME): New macro.
16661 * elf/tst-null-argv.c: New test case.
16662 * elf/tst-null-argv-lib.c: Library for test case.
16663 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
16664 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
16665 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
16666 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
16667 * elf/dl-init.c (call_init): Likewise.
16668 (_dl_init): Likewise.
16669 * elf/dl-load.c (print_search_path): Likewise.
16670 (_dl_map_object): Likewise.
16671 * elf/dl-lookup.c (do_lookup_x): Likewise.
16672 (add_dependency): Likewise.
16673 (_dl_lookup_symbol_x): Likewise.
16674 (_dl_debug_bindings): Likewise.
16675 * elf/dl-open.c (_dl_show_scope): Likewise.
16676 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16677 * elf/dl-version.c (match_symbol): Likewise.
16678 (_dl_check_map_versions): Likewise.
16679 * elf/rtld.c (dl_main): Likewise.
16680 (print_unresolved): Use RTLD_PROGNAME.
16681 (print_missing_version): Likewise.
16682 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16683 (elf_machine_rela): Likewise.
16684 * sysdeps/powerpc/powerpc32/dl-machine.c
16685 (__process_machine_rela): Likewise.
16686 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16688 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16690 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16692 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16693 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16695 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16697 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16699 2013-05-28 Carlos O'Donell <carlos@redhat.com>
16701 * po/be.po: Add descriptive title.
16702 * po/zh_CN.po: Likewise.
16703 * po/header.pot: Likewise.
16705 2013-05-28 Mike Frysinger <vapier@gentoo.org>
16707 * locale/programs/locarchive.c (create_archive): Inlucde fname in
16709 (enlarge_archive): Likewise.
16711 2013-05-28 Ben North <ben@redfrontdoor.org>
16713 * manual/arith.texi (frexp): It is the magnitude of the return
16714 value which lies in [0.5, 1), not the return value itself.
16716 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16718 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16720 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
16722 * stdio-common/bug26.c (main): Correct fscanf template.
16724 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
16725 declare _dl_skip_args.
16727 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
16730 * manual/platform.texi: Add missing @end deftypefun.
16732 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16735 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
16736 bit of mantissa of 2^16382.
16737 * math/libm-test.inc (hypot_test_data): Add more tests.
16739 * math/libm-test.inc: Add drem and pow10 to list of tested
16741 (pow10_test): New function.
16742 (drem_test): Likewise.
16743 (drem_test_tonearest): Likewise.
16744 (drem_test_towardzero): Likewise.
16745 (drem_test_downward): Likewise.
16746 (drem_test_upward): Likewise.
16747 (main): Call the new functions.
16749 * math/libm-test.inc (finite_test_data): Remove.
16750 (finite_test): Run tests from isfinite_test_data.
16751 (gamma_test_data): Remove.
16752 (gamma_test): Run tests from lgamma_test_data.
16753 * sysdeps/i386/fpu/libm-test-ulps: Update.
16754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16756 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16758 * manual/platform.texi: Add PowerPC PPR function set documentation.
16759 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
16762 2013-05-24 Carlos O'Donell <carlos@redhat.com>
16764 * math/libm-test.inc (MAX_EXP): Define.
16766 (ulp): New function.
16767 (check_float_internal): Use ULPDIFF.
16768 (cpow_test): Disable failing test.
16769 (check_ulp): Test ulp() implemetnation.
16770 (main): Call check_ulp before starting tests.
16772 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16774 * math/gen-libm-test.pl (generate_testfile): Do not handle
16775 START_DATA and END_DATA.
16776 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
16778 (acos_tonearest_test_data): Likewise.
16779 (acos_towardzero_test_data): Likewise.
16780 (acos_downward_test_data): Likewise.
16781 (acos_upward_test_data): Likewise.
16782 (acosh_test_data): Likewise.
16783 (asin_test_data): Likewise.
16784 (asin_tonearest_test_data): Likewise.
16785 (asin_towardzero_test_data): Likewise.
16786 (asin_downward_test_data): Likewise.
16787 (asin_upward_test_data): Likewise.
16788 (asinh_test_data): Likewise.
16789 (atan_test_data): Likewise.
16790 (atanh_test_data): Likewise.
16791 (atan2_test_data): Likewise.
16792 (cabs_test_data): Likewise.
16793 (cacos_test_data): Likewise.
16794 (cacosh_test_data): Likewise.
16795 (carg_test_data): Likewise.
16796 (casin_test_data): Likewise.
16797 (casinh_test_data): Likewise.
16798 (catan_test_data): Likewise.
16799 (catanh_test_data): Likewise.
16800 (cbrt_test_data): Likewise.
16801 (ccos_test_data): Likewise.
16802 (ccosh_test_data): Likewise.
16803 (ceil_test_data): Likewise.
16804 (cexp_test_data): Likewise.
16805 (cimag_test_data): Likewise.
16806 (clog_test_data): Likewise.
16807 (clog10_test_data): Likewise.
16808 (conj_test_data): Likewise.
16809 (copysign_test_data): Likewise.
16810 (cos_test_data): Likewise.
16811 (cos_tonearest_test_data): Likewise.
16812 (cos_towardzero_test_data): Likewise.
16813 (cos_downward_test_data): Likewise.
16814 (cos_upward_test_data): Likewise.
16815 (cosh_test_data): Likewise.
16816 (cosh_tonearest_test_data): Likewise.
16817 (cosh_towardzero_test_data): Likewise.
16818 (cosh_downward_test_data): Likewise.
16819 (cosh_upward_test_data): Likewise.
16820 (cpow_test_data): Likewise.
16821 (cproj_test_data): Likewise.
16822 (creal_test_data): Likewise.
16823 (csin_test_data): Likewise.
16824 (csinh_test_data): Likewise.
16825 (csqrt_test_data): Likewise.
16826 (ctan_test_data): Likewise.
16827 (ctan_tonearest_test_data): Likewise.
16828 (ctan_towardzero_test_data): Likewise.
16829 (ctan_downward_test_data): Likewise.
16830 (ctan_upward_test_data): Likewise.
16831 (ctanh_test_data): Likewise.
16832 (ctanh_tonearest_test_data): Likewise.
16833 (ctanh_towardzero_test_data): Likewise.
16834 (ctanh_downward_test_data): Likewise.
16835 (ctanh_upward_test_data): Likewise.
16836 (erf_test_data): Likewise.
16837 (erfc_test_data): Likewise.
16838 (exp_test_data): Likewise.
16839 (exp_tonearest_test_data): Likewise.
16840 (exp_towardzero_test_data): Likewise.
16841 (exp_downward_test_data): Likewise.
16842 (exp_upward_test_data): Likewise.
16843 (exp10_test_data): Likewise.
16844 (exp2_test_data): Likewise.
16845 (expm1_test_data): Likewise.
16846 (fabs_test_data): Likewise.
16847 (fdim_test_data): Likewise.
16848 (finite_test_data): Likewise.
16849 (floor_test_data): Likewise.
16850 (fma_test_data): Likewise.
16851 (fma_towardzero_test_data): Likewise.
16852 (fma_downward_test_data): Likewise.
16853 (fma_upward_test_data): Likewise.
16854 (fmax_test_data): Likewise.
16855 (fmin_test_data): Likewise.
16856 (fmod_test_data): Likewise.
16857 (fpclassify_test_data): Likewise.
16858 (frexp_test_data): Likewise.
16859 (gamma_test_data): Likewise.
16860 (hypot_test_data): Likewise.
16861 (ilogb_test_data): Likewise.
16862 (isfinite_test_data): Likewise.
16863 (isgreater_test_data): Likewise.
16864 (isgreaterequal_test_data): Likewise.
16865 (isinf_test_data): Likewise.
16866 (isless_test_data): Likewise.
16867 (islessequal_test_data): Likewise.
16868 (islessgreater_test_data): Likewise.
16869 (isnan_test_data): Likewise.
16870 (isnormal_test_data): Likewise.
16871 (issignaling_test_data): Likewise.
16872 (isunordered_test_data): Likewise.
16873 (j0_test_data): Likewise.
16874 (j1_test_data): Likewise.
16875 (jn_test_data): Likewise.
16876 (ldexp_test_data): Likewise.
16877 (lgamma_test_data): Likewise.
16878 (lrint_test_data): Likewise.
16879 (lrint_tonearest_test_data): Likewise.
16880 (lrint_towardzero_test_data): Likewise.
16881 (lrint_downward_test_data): Likewise.
16882 (lrint_upward_test_data): Likewise.
16883 (llrint_test_data): Likewise.
16884 (llrint_tonearest_test_data): Likewise.
16885 (llrint_towardzero_test_data): Likewise.
16886 (llrint_downward_test_data): Likewise.
16887 (llrint_upward_test_data): Likewise.
16888 (log_test_data): Likewise.
16889 (log10_test_data): Likewise.
16890 (log1p_test_data): Likewise.
16891 (log2_test_data): Likewise.
16892 (logb_test_data): Likewise.
16893 (logb_downward_test_data): Likewise.
16894 (lround_test_data): Likewise.
16895 (llround_test_data): Likewise.
16896 (modf_test_data): Likewise.
16897 (nearbyint_test_data): Likewise.
16898 (nextafter_test_data): Likewise.
16899 (nexttoward_test_data): Likewise.
16900 (pow_test_data): Likewise.
16901 (pow_tonearest_test_data): Likewise.
16902 (pow_towardzero_test_data): Likewise.
16903 (pow_downward_test_data): Likewise.
16904 (pow_upward_test_data): Likewise.
16905 (remainder_test_data): Likewise.
16906 (remainder_tonearest_test_data): Likewise.
16907 (remainder_towardzero_test_data): Likewise.
16908 (remainder_downward_test_data): Likewise.
16909 (remainder_upward_test_data): Likewise.
16910 (remquo_test_data): Likewise.
16911 (rint_test_data): Likewise.
16912 (rint_tonearest_test_data): Likewise.
16913 (rint_towardzero_test_data): Likewise.
16914 (rint_downward_test_data): Likewise.
16915 (rint_upward_test_data): Likewise.
16916 (round_test_data): Likewise.
16917 (scalb_test_data): Likewise.
16918 (scalbn_test_data): Likewise.
16919 (scalbln_test_data): Likewise.
16920 (signbit_test_data): Likewise.
16921 (sin_test_data): Likewise.
16922 (sin_tonearest_test_data): Likewise.
16923 (sin_towardzero_test_data): Likewise.
16924 (sin_downward_test_data): Likewise.
16925 (sin_upward_test_data): Likewise.
16926 (sincos_test_data): Likewise.
16927 (sinh_test_data): Likewise.
16928 (sinh_tonearest_test_data): Likewise.
16929 (sinh_towardzero_test_data): Likewise.
16930 (sinh_downward_test_data): Likewise.
16931 (sinh_upward_test_data): Likewise.
16932 (sqrt_test_data): Likewise.
16933 (tan_test_data): Likewise.
16934 (tan_tonearest_test_data): Likewise.
16935 (tan_towardzero_test_data): Likewise.
16936 (tan_downward_test_data): Likewise.
16937 (tan_upward_test_data): Likewise.
16938 (tanh_test_data): Likewise.
16939 (tgamma_test_data): Likewise.
16940 (trunc_test_data): Likewise.
16941 (y0_test_data): Likewise.
16942 (y1_test_data): Likewise.
16943 (yn_test_data): Likewise.
16944 (significand_test_data): Likewise.
16946 * math/gen-libm-test.pl (@functions): Remove variable.
16947 (generate_testfile): Don't handle START and END lines.
16948 * math/libm-test.inc (START): New macro.
16950 (END_COMPLEX): Likewise.
16951 (acos_test): Use END macro without arguments.
16952 (acos_test_tonearest): Likewise.
16953 (acos_test_towardzero): Likewise.
16954 (acos_test_downward): Likewise.
16955 (acos_test_upward): Likewise.
16956 (acosh_test): Likewise.
16957 (asin_test): Likewise.
16958 (asin_test_tonearest): Likewise.
16959 (asin_test_towardzero): Likewise.
16960 (asin_test_downward): Likewise.
16961 (asin_test_upward): Likewise.
16962 (asinh_test): Likewise.
16963 (atan_test): Likewise.
16964 (atanh_test): Likewise.
16965 (atan2_test): Likewise.
16966 (cabs_test): Likewise.
16967 (cacos_test): Use END_COMPLEX macro without arguments.
16968 (cacosh_test): Likewise.
16969 (carg_test): Use END macro without arguments.
16970 (casin_test): Use END_COMPLEX macro without arguments.
16971 (casinh_test): Likewise.
16972 (catan_test): Likewise.
16973 (catanh_test): Likewise.
16974 (cbrt_test): Use END macro without arguments.
16975 (ccos_test): Use END_COMPLEX macro without arguments.
16976 (ccosh_test): Likewise.
16977 (ceil_test): Use END macro without arguments.
16978 (cexp_test): Use END_COMPLEX macro without arguments.
16979 (cimag_test): Use END macro without arguments.
16980 (clog_test): Use END_COMPLEX macro without arguments.
16981 (clog10_test): Likewise.
16982 (conj_test): Likewise.
16983 (copysign_test): Use END macro without arguments.
16984 (cos_test): Likewise.
16985 (cos_test_tonearest): Likewise.
16986 (cos_test_towardzero): Likewise.
16987 (cos_test_downward): Likewise.
16988 (cos_test_upward): Likewise.
16989 (cosh_test): Likewise.
16990 (cosh_test_tonearest): Likewise.
16991 (cosh_test_towardzero): Likewise.
16992 (cosh_test_downward): Likewise.
16993 (cosh_test_upward): Likewise.
16994 (cpow_test): Use END_COMPLEX macro without arguments.
16995 (cproj_test): Likewise.
16996 (creal_test): Use END macro without arguments.
16997 (csin_test): Use END_COMPLEX macro without arguments.
16998 (csinh_test): Likewise.
16999 (csqrt_test): Likewise.
17000 (ctan_test): Likewise.
17001 (ctan_test_tonearest): Likewise.
17002 (ctan_test_towardzero): Likewise.
17003 (ctan_test_downward): Likewise.
17004 (ctan_test_upward): Likewise.
17005 (ctanh_test): Likewise.
17006 (ctanh_test_tonearest): Likewise.
17007 (ctanh_test_towardzero): Likewise.
17008 (ctanh_test_downward): Likewise.
17009 (ctanh_test_upward): Likewise.
17010 (erf_test): Use END macro without arguments.
17011 (erfc_test): Likewise.
17012 (exp_test): Likewise.
17013 (exp_test_tonearest): Likewise.
17014 (exp_test_towardzero): Likewise.
17015 (exp_test_downward): Likewise.
17016 (exp_test_upward): Likewise.
17017 (exp10_test): Likewise.
17018 (exp2_test): Likewise.
17019 (expm1_test): Likewise.
17020 (fabs_test): Likewise.
17021 (fdim_test): Likewise.
17022 (finite_test): Likewise.
17023 (floor_test): Likewise.
17024 (fma_test): Likewise.
17025 (fma_test_towardzero): Likewise.
17026 (fma_test_downward): Likewise.
17027 (fma_test_upward): Likewise.
17028 (fmax_test): Likewise.
17029 (fmin_test): Likewise.
17030 (fmod_test): Likewise.
17031 (fpclassify_test): Likewise.
17032 (frexp_test): Likewise.
17033 (gamma_test): Likewise.
17034 (hypot_test): Likewise.
17035 (ilogb_test): Likewise.
17036 (isfinite_test): Likewise.
17037 (isgreater_test): Likewise.
17038 (isgreaterequal_test): Likewise.
17039 (isinf_test): Likewise.
17040 (isless_test): Likewise.
17041 (islessequal_test): Likewise.
17042 (islessgreater_test): Likewise.
17043 (isnan_test): Likewise.
17044 (isnormal_test): Likewise.
17045 (issignaling_test): Likewise.
17046 (isunordered_test): Likewise.
17047 (j0_test): Likewise.
17048 (j1_test): Likewise.
17049 (jn_test): Likewise.
17050 (ldexp_test): Likewise.
17051 (lgamma_test): Likewise.
17052 (lrint_test): Likewise.
17053 (lrint_test_tonearest): Likewise.
17054 (lrint_test_towardzero): Likewise.
17055 (lrint_test_downward): Likewise.
17056 (lrint_test_upward): Likewise.
17057 (llrint_test): Likewise.
17058 (llrint_test_tonearest): Likewise.
17059 (llrint_test_towardzero): Likewise.
17060 (llrint_test_downward): Likewise.
17061 (llrint_test_upward): Likewise.
17062 (log_test): Likewise.
17063 (log10_test): Likewise.
17064 (log1p_test): Likewise.
17065 (log2_test): Likewise.
17066 (logb_test): Likewise.
17067 (logb_test_downward): Likewise.
17068 (lround_test): Likewise.
17069 (llround_test): Likewise.
17070 (modf_test): Likewise.
17071 (nearbyint_test): Likewise.
17072 (nextafter_test): Likewise.
17073 (nexttoward_test): Likewise.
17074 (pow_test): Likewise.
17075 (pow_test_tonearest): Likewise.
17076 (pow_test_towardzero): Likewise.
17077 (pow_test_downward): Likewise.
17078 (pow_test_upward): Likewise.
17079 (remainder_test): Likewise.
17080 (remainder_test_tonearest): Likewise.
17081 (remainder_test_towardzero): Likewise.
17082 (remainder_test_downward): Likewise.
17083 (remainder_test_upward): Likewise.
17084 (remquo_test): Likewise.
17085 (rint_test): Likewise.
17086 (rint_test_tonearest): Likewise.
17087 (rint_test_towardzero): Likewise.
17088 (rint_test_downward): Likewise.
17089 (rint_test_upward): Likewise.
17090 (round_test): Likewise.
17091 (scalb_test): Likewise.
17092 (scalbn_test): Likewise.
17093 (scalbln_test): Likewise.
17094 (signbit_test): Likewise.
17095 (sin_test): Likewise.
17096 (sin_test_tonearest): Likewise.
17097 (sin_test_towardzero): Likewise.
17098 (sin_test_downward): Likewise.
17099 (sin_test_upward): Likewise.
17100 (sincos_test): Likewise.
17101 (sinh_test): Likewise.
17102 (sinh_test_tonearest): Likewise.
17103 (sinh_test_towardzero): Likewise.
17104 (sinh_test_downward): Likewise.
17105 (sinh_test_upward): Likewise.
17106 (sqrt_test): Likewise.
17107 (tan_test): Likewise.
17108 (tan_test_tonearest): Likewise.
17109 (tan_test_towardzero): Likewise.
17110 (tan_test_downward): Likewise.
17111 (tan_test_upward): Likewise.
17112 (tanh_test): Likewise.
17113 (tgamma_test): Likewise.
17114 (trunc_test): Likewise.
17115 (y0_test): Likewise.
17116 (y1_test): Likewise.
17117 (yn_test): Likewise.
17118 (significand_test): Likewise.
17120 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
17123 * libio/genops.c (_IO_no_init): Initialize wide struct info.
17125 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
17128 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
17129 __ppc_mdoio and __ppc_mdoom.
17130 * manual/platform.texi: Document new functions __ppc_yield,
17131 __ppc_mdoio and __ppc_mdoom.
17133 2013-05-22 Carlos O'Donell <carlos@redhat.com>
17135 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
17136 (main): Mention "tls" pseudo-hwcap is legacy.
17137 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
17139 2013-05-22 Joseph Myers <joseph@codesourcery.com>
17141 * math/gen-libm-test.pl (parse_args): Output only string of
17142 arguments as text for test name, not full call or descriptions of
17143 tests for extra outputs.
17144 (generate_testfile): Do not pass function name to parse_args.
17145 Generate this_func variable from START.
17146 * math/libm-test.inc (struct test_f_f_data): Rename test_name
17148 (struct test_ff_f_data): Likewise.
17149 (test_ff_f_data_nexttoward): Likewise.
17150 (struct test_fi_f_data): Likewise.
17151 (struct test_fl_f_data): Likewise.
17152 (struct test_if_f_data): Likewise.
17153 (struct test_fff_f_data): Likewise.
17154 (struct test_c_f_data): Likewise.
17155 (struct test_f_f1_data): Likewise. Remove field extra_name.
17156 (struct test_fF_f1_data): Likewise.
17157 (struct test_ffI_f1_data): Likewise.
17158 (struct test_c_c_data): Rename test_name field to arg_str.
17159 (struct test_cc_c_data): Likewise.
17160 (struct test_f_i_data): Likewise.
17161 (struct test_ff_i_data): Likewise.
17162 (struct test_f_l_data): Likewise.
17163 (struct test_f_L_data): Likewise.
17164 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
17166 (COMMON_TEST_SETUP): New macro.
17167 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
17168 (COMMON_TEST_CLEANUP): Likewise.
17169 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
17170 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
17172 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
17173 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
17175 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
17176 (RUN_TEST_fff_f): Take argument string. Call new setup and
17178 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
17179 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
17181 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
17182 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
17184 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17185 (RUN_TEST_fF_f1): Take argument string. Call new setup and
17187 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17188 (RUN_TEST_fI_f1): Take argument string. Call new setup and
17190 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17191 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
17193 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17194 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
17196 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
17197 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
17199 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
17200 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
17202 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
17203 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
17205 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
17206 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
17208 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
17209 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
17211 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
17212 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
17214 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
17215 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
17217 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
17218 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
17220 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
17221 (RUN_TEST_fFF_11): Take argument string. Call new setup and
17223 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
17225 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17227 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
17228 to _sifields.sigfault.
17229 (si_addr_lsb): Define new macro.
17230 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17231 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17232 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
17234 2013-05-03 Carlos O'Donell <carlos at redhat.com>
17237 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
17239 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
17241 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
17242 loading the domain.
17244 2013-05-22 Joseph Myers <joseph@codesourcery.com>
17246 * math/gen-libm-test.pl (parse_args): Do not include expected
17247 result in test name.
17248 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
17249 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17250 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17251 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17252 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17255 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17257 * benchtests/Makefile: Sort function entries.
17259 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
17260 tanh, asinh, acosh, atanh.
17261 * benchtests/acos-inputs: New file.
17262 * benchtests/acosh-inputs: New file.
17263 * benchtests/asin-inputs: New file.
17264 * benchtests/asinh-inputs: New file.
17265 * benchtests/atanh-inputs: New file.
17266 * benchtests/cosh-inputs: New file.
17267 * benchtests/log-inputs: New file.
17268 * benchtests/sinh-inputs: New file.
17269 * benchtests/tanh-inputs: New file.
17271 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
17274 * posix/tst-getaddrinfo4.c: New test.
17275 * posix/Makefile (tests): Add it.
17277 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17280 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
17281 when no services were used.
17282 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
17283 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
17285 2013-05-21 Andreas Schwab <schwab@suse.de>
17288 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
17289 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
17291 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
17292 redundant variable declarations and reallocation of buffer when
17293 parsing as IPv6 address. Always set NSS status when called from
17294 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
17295 buffer too small. Correct computation of needed size.
17296 * nss/Makefile (tests): Add test-digits-dots.
17297 * nss/test-digits-dots.c: New test.
17299 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17301 * benchtests/Makefile: Remove instructions for adding
17303 * benchtests/README: New file to explain how to execute and
17304 enhance the benchmark tests.
17306 2013-05-21 Andreas Schwab <schwab@suse.de>
17309 * setjmp/Makefile (tests): Add tst-sigsetjmp.
17310 * setjmp/tst-sigsetjmp.c: New test.
17312 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
17314 * sysdeps/x86_64/memset.S (memset): New implementation.
17315 (__bzero): Likewise.
17316 (__memset_tail): New function.
17318 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
17320 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
17321 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
17322 __memcpy_sse2_unaligned ifunc selection.
17323 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17324 Add memcpy-sse2-unaligned.S.
17325 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17326 Add: __memcpy_sse2_unaligned.
17328 2013-05-19 Joseph Myers <joseph@codesourcery.com>
17331 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17332 math_force_eval before restoring floating-point envrionment.
17333 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
17334 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
17336 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
17338 (__nearbyintl): Use math_force_eval before restoring
17339 floating-point environment.
17340 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
17342 * math/gen-libm-test.pl (special_functions): Remove.
17343 (parse_args): Don't handle TEST_extra. Handle functions with no
17345 * math/libm-test.inc (struct test_sincos_data): Replace with
17346 struct test_fFF_11_data.
17347 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
17348 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
17349 (sincos_test_data): Change element type to struct
17350 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
17351 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
17352 RUN_TEST_LOOP_sincos.
17353 * math/README.libm-test: Don't mention special handling of
17354 individual functions.
17355 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
17356 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17357 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17358 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17359 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17362 * math/gen-libm-test.pl (get_variable): Remove function.
17363 (parse_args): Don't show pointer parameters to call in test
17364 names. Use "extra output N" in test names for extra outputs
17365 rather than naming variables.
17367 2013-05-18 Joseph Myers <joseph@codesourcery.com>
17370 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
17371 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
17372 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
17374 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
17376 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
17379 * math/gen-libm-test.pl (@tests): Remove variable.
17380 ($count): Likewise.
17381 (new_test): Remove function.
17382 (show_exceptions): New function.
17383 (special_functions): Use show_exceptions instead of new_test.
17384 (parse_args): Likewise.
17385 (generate_testfile): Pass only function name in generated call to
17386 print_max_error or print_complex_max_error.
17387 (get_ulps): Do not handle complex tests specially.
17388 (output_test): Rename to ...
17389 (get_all_ulps_for_test): ... this. Return a string rather than
17390 printing to a file. Require ulps to be present.
17391 (output_ulps): Generate arrays rather than #defines.
17392 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
17393 (struct ulp_data): New type.
17394 (BUILD_COMPLEX_ULP): Remove macro.
17395 (compare_ulp_data): New function.
17396 (find_ulps): Likewise.
17397 (find_test_ulps): Likewise.
17398 (find_function_ulps): Likewise.
17399 (find_complex_function_ulps): Likewise.
17400 (print_max_error): Determine allowed ulps using
17401 find_function_ulps.
17402 (print_complex_max_error): Determine allowed ulps using
17403 find_complex_function_ulps.
17404 (check_float_internal): Determine max ulps using find_test_ulps.
17405 (check_float): Do not take max_ulp parameter. Update call to
17406 check_float_internal.
17407 (check_complex): Likewise.
17408 (check_int): Do not take max_ulp parameter.
17409 (check_long): Likewise.
17410 (check_bool): Likewise.
17411 (check_longlong): Likewise.
17412 (struct test_f_f_data): Remove max_ulp field.
17413 (struct test_ff_f_data): Likewise.
17414 (struct test_ff_f_data_nexttoward): Likewise.
17415 (struct test_fi_f_data): Likewise.
17416 (struct test_fl_f_data): Likewise.
17417 (struct test_if_f_data): Likewise.
17418 (struct test_fff_f_data): Likewise.
17419 (struct test_c_f_data): Likewise.
17420 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
17421 (struct test_fF_f1_data): Likewise.
17422 (struct test_ffI_f1_data): Likewise.
17423 (struct test_c_c_data): Remove max_ulp field.
17424 (struct test_cc_c_data): Likewise.
17425 (struct test_f_i_data): Likewise.
17426 (struct test_ff_i_data): Likewise.
17427 (struct test_f_l_data): Likewise.
17428 (struct test_f_L_data): Likewise.
17429 (struct test_sincos_data): Likewise.
17430 (RUN_TEST_f_f): Do not handle ulps.
17431 (RUN_TEST_LOOP_f_f): Likewise.
17432 (RUN_TEST_2_f): Likewise.
17433 (RUN_TEST_LOOP_2_f): Likewise.
17434 (RUN_TEST_fff_f): Likewise.
17435 (RUN_TEST_LOOP_fff_f): Likewise.
17436 (RUN_TEST_c_f): Likewise.
17437 (RUN_TEST_LOOP_c_f): Likewise.
17438 (RUN_TEST_f_f1): Likewise.
17439 (RUN_TEST_LOOP_f_f1): Likewise.
17440 (RUN_TEST_fF_f1): Likewise.
17441 (RUN_TEST_LOOP_fF_f1): Likewise.
17442 (RUN_TEST_fI_f1): Likewise.
17443 (RUN_TEST_LOOP_fI_f1): Likewise.
17444 (RUN_TEST_ffI_f1): Likewise.
17445 (RUN_TEST_LOOP_ffI_f1): Likewise.
17446 (RUN_TEST_c_c): Likewise.
17447 (RUN_TEST_LOOP_c_c): Likewise.
17448 (RUN_TEST_cc_c): Likewise.
17449 (RUN_TEST_LOOP_cc_c): Likewise.
17450 (RUN_TEST_f_i): Likewise.
17451 (RUN_TEST_LOOP_f_i): Likewise.
17452 (RUN_TEST_f_i_tg): Likewise.
17453 (RUN_TEST_LOOP_f_i_tg): Likewise.
17454 (RUN_TEST_ff_i_tg): Likewise.
17455 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17456 (RUN_TEST_f_b): Likewise.
17457 (RUN_TEST_LOOP_f_b): Likewise.
17458 (RUN_TEST_f_b_tg): Likewise.
17459 (RUN_TEST_LOOP_f_b_tg): Likewise.
17460 (RUN_TEST_f_l): Likewise.
17461 (RUN_TEST_LOOP_f_l): Likewise.
17462 (RUN_TEST_f_L): Likewise.
17463 (RUN_TEST_LOOP_f_L): Likewise.
17464 (RUN_TEST_sincos): Likewise.
17465 (RUN_TEST_LOOP_sincos): Likewise.
17467 2013-05-17 Joseph Myers <joseph@codesourcery.com>
17471 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17472 main case of finite arguments, set rounding mode to FE_TONEAREST
17473 and discard exceptions.
17474 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17476 (remainder_tonearest_test_data): New variable.
17477 (remainder_test_tonearest): New function.
17478 (remainder_towardzero_test_data): New variable.
17479 (remainder_test_towardzero): New function.
17480 (remainder_downward_test_data): New variable.
17481 (remainder_test_downward): New function.
17482 (remainder_upward_test_data): New variable.
17483 (remainder_test_upward): New function.
17484 (main): Call the new test functions.
17486 * math/libm-test.inc (struct test_f_f1_data): Remove field
17488 (struct test_fF_f1_data): Likewise.
17489 (struct test_ffI_f1_data): Likewise.
17490 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
17491 based on value of EXTRA_EXPECTED.
17492 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17493 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
17494 EXTRA_VAR based on value of EXTRA_EXPECTED.
17495 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17496 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
17497 EXTRA_VAR based on value of EXTRA_EXPECTED.
17498 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17499 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
17500 EXTRA_VAR based on value of EXTRA_EXPECTED.
17501 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17502 * math/gen-libm-test.pl (parse_args): Don't output initializers
17503 for extra output values.
17505 * math/libm-test.inc (check_int): Expect result to be exactly
17506 equal to expected value and do not handle ulps.
17507 (check_long): Likewise.
17508 (check_longlong): Likewise.
17510 * math/libm-test.inc (ceil_test_data): Test for "inexact"
17512 (cimag_test_data): Likewise.
17513 (conj_test_data): Likewise.
17514 (copysign_test_data): Likewise.
17515 (cproj_test_data): Likewise.
17516 (creal_test_data): Likewise.
17517 (fabs_test_data): Likewise.
17518 (fdim_test_data): Likewise.
17519 (finite_test_data): Likewise.
17520 (floor_test_data): Likewise.
17521 (fmax_test_data): Likewise.
17522 (fmin_test_data): Likewise.
17523 (fmod_test_data): Likewise.
17524 (fpclassify_test_data): Likewise.
17525 (frexp_test_data): Likewise.
17526 (ilogb_test_data): Likewise.
17527 (isfinite_test_data): Likewise.
17528 (isgreater_test_data): Likewise.
17529 (isgreaterequal_test_data): Likewise.
17530 (isinf_test_data): Likewise.
17531 (isless_test_data): Likewise.
17532 (islessequal_test_data): Likewise.
17533 (islessgreater_test_data): Likewise.
17534 (isnan_test_data): Likewise.
17535 (isnormal_test_data): Likewise.
17536 (issignaling_test_data): Likewise.
17537 (isunordered_test_data): Likewise.
17538 (ldexp_test_data): Likewise.
17539 (lrint_test_data): Likewise.
17540 (lrint_test_data) [TEST_FLOAT]: Disable one test.
17541 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17542 (lrint_tonearest_test_data): Test for "inexact" exceptions.
17543 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17544 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17545 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17547 (lrint_towardzero_test_data): Test for "inexact" exceptions.
17548 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17549 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17550 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17552 (lrint_downward_test_data): Test for "inexact" exceptions.
17553 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17554 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17555 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17557 (lrint_upward_test_data): Test for "inexact" exceptions.
17558 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17560 (llrint_test_data): Test for "inexact" exceptions.
17561 (llrint_test_data) [TEST_FLOAT]: Disable one test.
17562 (llrint_tonearest_test_data): Test for "inexact" exceptions.
17563 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17564 (llrint_towardzero_test_data): Test for "inexact" exceptions.
17565 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17566 (llrint_downward_test_data): Test for "inexact" exceptions.
17567 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17568 (llrint_upward_test_data): Test for "inexact" exceptions.
17569 (logb_test_data): Likewise.
17570 (logb_downward_test_data): Likewise.
17571 (nextafter_test_data): Likewise.
17572 (nexttoward_test_data): Likewise.
17573 (remainder_test_data): Likewise.
17574 (remquo_test_data): Likewise.
17575 (scalbn_test_data): Likewise.
17576 (scalbln_test_data): Likewise.
17577 (signbit_test_data): Likewise.
17578 (sqrt_test_data): Likewise.
17579 (significand_test_data): Likewise.
17581 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17584 * benchtests/bench-modf.c (struct args): Mark arg0 as
17586 * scripts/bench.pl: Mark members of struct args as volatile.
17588 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17591 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17592 negative infinity on POWER6 or lower.
17593 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17595 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17598 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17599 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17600 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17601 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17602 (_FP_SETQNAN): New macro.
17603 (_FP_SETQNAN_SEMIRAW): Likewise.
17604 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17605 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17606 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17607 (FP_EXTEND): Use _FP_FRAC_SNANP.
17608 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17609 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17611 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17613 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17616 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17618 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17619 with DIVIDE_BY_ZERO_EXCEPTION.
17620 (gamma_test_data): Likewise.
17621 (lgamma_test_data): Likewise.
17622 (log_test_data): Likewise.
17623 (log10_test_data): Likewise.
17624 (log2_test_data): Likewise.
17625 (tgamma_test_data): Likewise.
17627 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17628 (acos_test_tonearest): Likewise.
17629 (acos_test_towardzero): Likewise.
17630 (acos_test_downward): Likewise.
17631 (acos_test_upward): Likewise.
17632 (acosh_test): Likewise.
17633 (asin_test): Likewise.
17634 (asin_test_tonearest): Likewise.
17635 (asin_test_towardzero): Likewise.
17636 (asin_test_downward): Likewise.
17637 (asin_test_upward): Likewise.
17638 (asinh_test): Likewise.
17639 (atan_test): Likewise.
17640 (atanh_test): Likewise.
17641 (atan2_test): Likewise.
17642 (cabs_test): Likewise.
17643 (cacos_test): Likewise.
17644 (cacosh_test): Likewise.
17645 (casin_test): Likewise.
17646 (casinh_test): Likewise.
17647 (catan_test): Likewise.
17648 (catanh_test): Likewise.
17649 (cbrt_test): Likewise.
17650 (ccos_test): Likewise.
17651 (ccosh_test): Likewise.
17652 (cexp_test): Likewise.
17653 (clog_test): Likewise.
17654 (clog10_test): Likewise.
17655 (cos_test): Likewise.
17656 (cos_test_tonearest): Likewise.
17657 (cos_test_towardzero): Likewise.
17658 (cos_test_downward): Likewise.
17659 (cos_test_upward): Likewise.
17660 (cosh_test): Likewise.
17661 (cosh_test_tonearest): Likewise.
17662 (cosh_test_towardzero): Likewise.
17663 (cosh_test_downward): Likewise.
17664 (cosh_test_upward): Likewise.
17665 (cpow_test): Likewise.
17666 (csin_test): Likewise.
17667 (csinh_test): Likewise.
17668 (csqrt_test): Likewise.
17669 (ctan_test): Likewise.
17670 (ctan_test_tonearest): Likewise.
17671 (ctan_test_towardzero): Likewise.
17672 (ctan_test_downward): Likewise.
17673 (ctan_test_upward): Likewise.
17674 (ctanh_test): Likewise.
17675 (ctanh_test_tonearest): Likewise.
17676 (ctanh_test_towardzero): Likewise.
17677 (ctanh_test_downward): Likewise.
17678 (ctanh_test_upward): Likewise.
17679 (erf_test): Likewise.
17680 (erfc_test): Likewise.
17681 (exp_test): Likewise.
17682 (exp_test_tonearest): Likewise.
17683 (exp_test_towardzero): Likewise.
17684 (exp_test_downward): Likewise.
17685 (exp_test_upward): Likewise.
17686 (exp10_test): Likewise.
17687 (exp2_test): Likewise.
17688 (expm1_test): Likewise.
17689 (fmod_test): Likewise.
17690 (gamma_test): Likewise.
17691 (hypot_test): Likewise.
17692 (j0_test): Likewise.
17693 (j1_test): Likewise.
17694 (jn_test): Likewise.
17695 (lgamma_test): Likewise.
17696 (log_test): Likewise.
17697 (log10_test): Likewise.
17698 (log1p_test): Likewise.
17699 (log2_test): Likewise.
17700 (logb_test_downward): Likewise.
17701 (pow_test): Likewise.
17702 (pow_test_tonearest): Likewise.
17703 (pow_test_towardzero): Likewise.
17704 (pow_test_downward): Likewise.
17705 (pow_test_upward): Likewise.
17706 (remainder_test): Likewise.
17707 (remquo_test): Likewise.
17708 (sin_test): Likewise.
17709 (sin_test_tonearest): Likewise.
17710 (sin_test_towardzero): Likewise.
17711 (sin_test_downward): Likewise.
17712 (sin_test_upward): Likewise.
17713 (sincos_test): Likewise.
17714 (sinh_test): Likewise.
17715 (sinh_test_tonearest): Likewise.
17716 (sinh_test_towardzero): Likewise.
17717 (sinh_test_downward): Likewise.
17718 (sinh_test_upward): Likewise.
17719 (sqrt_test): Likewise.
17720 (tan_test): Likewise.
17721 (tan_test_tonearest): Likewise.
17722 (tan_test_towardzero): Likewise.
17723 (tan_test_downward): Likewise.
17724 (tan_test_upward): Likewise.
17725 (tanh_test): Likewise.
17726 (tgamma_test): Likewise.
17727 (y0_test): Likewise.
17728 (y1_test): Likewise.
17729 (yn_test): Likewise.
17731 * math/gen-libm-test.pl (adjust_arg): Remove function.
17732 (special_function): Remove argument $in_func. Only handle
17733 generating output for tables of tests, not inside functions.
17734 (parse_args): Likewise.
17735 (generate_testfile): Remove variable $in_func. Update call to
17737 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
17738 (MINUS_ZERO_INIT): Rename macro to minus_zero.
17739 (PLUS_INFTY_INIT): Rename macro to plus_infty.
17740 (MINUS_INFTY_INIT): Rename macro to minus_infty.
17741 (QNAN_VALUE_INIT): Rename macro to qnan_value.
17742 (MAX_VALUE_INIT): Rename macro to max_value.
17743 (MIN_VALUE_INIT): Rename macro to min_value.
17744 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
17745 (plus_zero): Remove variable.
17746 (minus_zero): Likewise.
17747 (plus_infty): Likewise.
17748 (minus_infty): Likewise.
17749 (qnan_value): Likewise.
17750 (max_value): Likewise.
17751 (min_value): Likewise.
17752 (min_subnorm_value): Likewise.
17754 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17756 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
17757 uint64_t or uint32_t usage.
17758 * crypt/sha256-block.c: Likewise.
17759 * crypt/sha256-crypt.c: Likewise.
17760 * crypt/sha256.c: Likewise.
17761 * crypt/sha512-block.c: Likewise.
17762 * crypt/sha512-crypt.c: Likewise.
17763 * crypt/sha512.c: Likewise.
17764 * debug/backtrace-tst.c: Likewise.
17765 * debug/pcprofiledump.c: Likewise.
17766 * elf/cache.c: Likewise.
17767 * elf/dl-cache.c: Likewise.
17768 * elf/dl-misc.c: Likewise.
17769 * elf/dl-profile.c: Likewise.
17770 * elf/dl-support.c: Likewise.
17771 * elf/ldconfig.c: Likewise.
17772 * elf/sprof.c: Likewise.
17773 * iconv/dummy-repertoire.c: Likewise.
17774 * iconv/iconv_charmap.c: Likewise.
17775 * iconv/skeleton.c: Likewise.
17776 * iconvdata/8bit-generic.c: Likewise.
17777 * iconvdata/cp737.h: Likewise.
17778 * iconvdata/cp775.h: Likewise.
17779 * iconvdata/ibm1008.h: Likewise.
17780 * iconvdata/ibm1025.h: Likewise.
17781 * iconvdata/ibm1046.h: Likewise.
17782 * iconvdata/ibm1097.h: Likewise.
17783 * iconvdata/ibm1112.h: Likewise.
17784 * iconvdata/ibm1122.h: Likewise.
17785 * iconvdata/ibm1123.h: Likewise.
17786 * iconvdata/ibm1124.h: Likewise.
17787 * iconvdata/ibm1129.h: Likewise.
17788 * iconvdata/ibm1130.h: Likewise.
17789 * iconvdata/ibm1132.h: Likewise.
17790 * iconvdata/ibm1133.h: Likewise.
17791 * iconvdata/ibm1137.h: Likewise.
17792 * iconvdata/ibm1140.h: Likewise.
17793 * iconvdata/ibm1141.h: Likewise.
17794 * iconvdata/ibm1142.h: Likewise.
17795 * iconvdata/ibm1143.h: Likewise.
17796 * iconvdata/ibm1144.h: Likewise.
17797 * iconvdata/ibm1145.h: Likewise.
17798 * iconvdata/ibm1146.h: Likewise.
17799 * iconvdata/ibm1147.h: Likewise.
17800 * iconvdata/ibm1148.h: Likewise.
17801 * iconvdata/ibm1149.h: Likewise.
17802 * iconvdata/ibm1153.h: Likewise.
17803 * iconvdata/ibm1154.h: Likewise.
17804 * iconvdata/ibm1155.h: Likewise.
17805 * iconvdata/ibm1156.h: Likewise.
17806 * iconvdata/ibm1157.h: Likewise.
17807 * iconvdata/ibm1158.h: Likewise.
17808 * iconvdata/ibm1160.h: Likewise.
17809 * iconvdata/ibm1161.h: Likewise.
17810 * iconvdata/ibm1162.h: Likewise.
17811 * iconvdata/ibm1163.h: Likewise.
17812 * iconvdata/ibm1164.h: Likewise.
17813 * iconvdata/ibm1166.h: Likewise.
17814 * iconvdata/ibm1167.h: Likewise.
17815 * iconvdata/ibm12712.h: Likewise.
17816 * iconvdata/ibm1390.h: Likewise.
17817 * iconvdata/ibm1399.h: Likewise.
17818 * iconvdata/ibm16804.h: Likewise.
17819 * iconvdata/ibm4517.h: Likewise.
17820 * iconvdata/ibm4899.h: Likewise.
17821 * iconvdata/ibm4909.h: Likewise.
17822 * iconvdata/ibm4971.h: Likewise.
17823 * iconvdata/ibm5347.h: Likewise.
17824 * iconvdata/ibm803.h: Likewise.
17825 * iconvdata/ibm856.h: Likewise.
17826 * iconvdata/ibm901.h: Likewise.
17827 * iconvdata/ibm902.h: Likewise.
17828 * iconvdata/ibm9030.h: Likewise.
17829 * iconvdata/ibm9066.h: Likewise.
17830 * iconvdata/ibm921.h: Likewise.
17831 * iconvdata/ibm922.h: Likewise.
17832 * iconvdata/ibm9448.h: Likewise.
17833 * iconvdata/isiri-3342.h: Likewise.
17834 * iconvdata/jis0201.h: Likewise.
17835 * include/link.h: Likewise.
17836 * include/netdb.h: Likewise.
17837 * inet/check_native.c: Likewise.
17838 * inet/check_pf.c: Likewise.
17839 * inet/getipv4sourcefilter.c: Likewise.
17840 * inet/getnameinfo.c: Likewise.
17841 * inet/getsourcefilter.c: Likewise.
17842 * inet/htonl.c: Likewise.
17843 * inet/setipv4sourcefilter.c: Likewise.
17844 * inet/setsourcefilter.c: Likewise.
17845 * inet/test-inet6_opt.c: Likewise.
17846 * inet/tst-network.c: Likewise.
17847 * locale/C-collate.c: Likewise.
17848 * locale/C-ctype.c: Likewise.
17849 * locale/C-time.c: Likewise.
17850 * locale/C-translit.h: Likewise.
17851 * locale/loadarchive.c: Likewise.
17852 * locale/programs/3level.h: Likewise.
17853 * locale/programs/charmap.c: Likewise.
17854 * locale/programs/charmap.h: Likewise.
17855 * locale/programs/ld-address.c: Likewise.
17856 * locale/programs/ld-collate.c: Likewise.
17857 * locale/programs/ld-ctype.c: Likewise.
17858 * locale/programs/ld-identification.c: Likewise.
17859 * locale/programs/ld-measurement.c: Likewise.
17860 * locale/programs/ld-messages.c: Likewise.
17861 * locale/programs/ld-monetary.c: Likewise.
17862 * locale/programs/ld-name.c: Likewise.
17863 * locale/programs/ld-numeric.c: Likewise.
17864 * locale/programs/ld-paper.c: Likewise.
17865 * locale/programs/ld-telephone.c: Likewise.
17866 * locale/programs/ld-time.c: Likewise.
17867 * locale/programs/linereader.c: Likewise.
17868 * locale/programs/locale.c: Likewise.
17869 * locale/programs/locarchive.c: Likewise.
17870 * locale/programs/locfile.h: Likewise.
17871 * locale/programs/repertoire.c: Likewise.
17872 * locale/programs/simple-hash.c: Likewise.
17873 * locale/programs/simple-hash.h: Likewise.
17874 * malloc/memusage.c: Likewise.
17875 * malloc/memusagestat.c: Likewise.
17876 * nis/nis_defaults.c: Likewise.
17877 * nis/nis_hash.c: Likewise.
17878 * nis/nis_print.c: Likewise.
17879 * nis/nis_xdr.c: Likewise.
17880 * nscd/connections.c: Likewise.
17881 * nscd/hstcache.c: Likewise.
17882 * nscd/nscd_gethst_r.c: Likewise.
17883 * nscd/nscd_getserv_r.c: Likewise.
17884 * nscd/nscd_helper.c: Likewise.
17885 * nscd/servicescache.c: Likewise.
17886 * nss/makedb.c: Likewise.
17887 * nss/nss_db/db-XXX.c: Likewise.
17888 * nss/nss_db/db-initgroups.c: Likewise.
17889 * nss/nss_db/db-netgrp.c: Likewise.
17890 * nss/nss_files/files-network.c: Likewise.
17891 * nss/nss_files/files-parse.c: Likewise.
17892 * posix/bug-regex5.c: Likewise.
17893 * posix/fnmatch_loop.c: Likewise.
17894 * posix/regcomp.c: Likewise.
17895 * posix/regexec.c: Likewise.
17896 * posix/tst-rfc3484-2.c: Likewise.
17897 * posix/tst-rfc3484-3.c: Likewise.
17898 * posix/tst-rfc3484.c: Likewise.
17899 * resolv/nss_dns/dns-canon.c: Likewise.
17900 * resolv/nss_dns/dns-network.c: Likewise.
17901 * resolv/res_init.c: Likewise.
17902 * resolv/res_mkquery.c: Likewise.
17903 * resolv/tst-aton.c: Likewise.
17904 * stdlib/cxa_atexit.c: Likewise.
17905 * stdlib/cxa_finalize.c: Likewise.
17906 * stdlib/gen-fpioconst.c: Likewise.
17907 * stdlib/strtol_l.c: Likewise.
17908 * string/tst-endian.c: Likewise.
17909 * sunrpc/auth_des.c: Likewise.
17910 * sunrpc/clnt_udp.c: Likewise.
17911 * sunrpc/rtime.c: Likewise.
17912 * sunrpc/svcauth_des.c: Likewise.
17913 * sunrpc/xdr.c: Likewise.
17914 * sunrpc/xdr_intXX_t.c: Likewise.
17915 * sunrpc/xdr_rec.c: Likewise.
17916 * sysdeps/generic/ldconfig.h: Likewise.
17917 * sysdeps/generic/ldsodefs.h: Likewise.
17918 * sysdeps/generic/memusage.h: Likewise.
17919 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17920 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
17921 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
17922 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17923 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17924 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17925 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17926 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17927 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17928 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17929 * sysdeps/posix/getaddrinfo.c: Likewise.
17930 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17931 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17932 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17933 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17934 * sysdeps/powerpc/test-gettimebase.c: Likewise.
17935 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17936 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
17937 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
17938 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17939 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
17940 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17941 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17942 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
17943 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
17944 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
17945 * sysdeps/x86_64/dl-tls.h: Likewise.
17946 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
17947 * time/alt_digit.c: Likewise.
17948 * time/era.c: Likewise.
17949 * wcsmbs/tst-c16c32-1.c: Likewise.
17951 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17953 * math/libm-test.inc (struct test_sincos_data): New type.
17954 (RUN_TEST_LOOP_sincos): New macro.
17955 (sincos_test_data): New variable.
17956 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
17958 2013-05-16 Richard Henderson <rth@redhat.com>
17960 * math/atest-exp2.c (LIMB64): New macro.
17961 (CONSTSZ): New macro.
17962 (mp_exp1, mp_exp_m1, mp_log2): New variables.
17964 (print_mpn_fp): ... to function scope.
17965 (read_mpn_hex): Remove.
17966 (get_log2): Remove.
17967 (exp2_mpn): Use mp_log2.
17968 (main): Use mp_exp1.
17970 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17972 * math/libm-test.inc: Remove comment about not testing "inexact"
17974 (INEXACT_EXCEPTION): New macro.
17975 (NO_INEXACT_EXCEPTION): Likewise.
17976 (INVALID_EXCEPTION_OK): Update value.
17977 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17978 (OVERFLOW_EXCEPTION_OK): Likewise.
17979 (UNDERFLOW_EXCEPTION_OK): Likewise.
17980 (IGNORE_ZERO_INF_SIGN): Likewise.
17981 (ERRNO_UNCHANGED): Likewise.
17982 (ERRNO_EDOM): Likewise.
17983 (ERRNO_ERANGE): Likewise.
17984 (test_exceptions): Handle testing "inexact" exceptions.
17985 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
17986 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
17987 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
17988 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
17990 (rint_towardzero_test_data): Likewise.
17991 (rint_downward_test_data): Likewise.
17992 (rint_upward_test_data): Likewise.
17994 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17995 with OVERFLOW_EXCEPTION.
17996 (exp10_test_data): Likewise.
17997 (exp2_test_data): Likewise.
17998 (expm1_test_data): Likewise.
17999 (lgamma_test_data): Likewise.
18000 (pow_test_data): Likewise.
18001 (tgamma_test_data): Likewise.
18002 (yn_test_data): Remove duplicate test of overflow.
18004 * math/libm-test.inc (struct test_cc_c_data): New type.
18005 (RUN_TEST_LOOP_cc_c): New macro.
18006 (cpow_test_data): New variable.
18007 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18009 * math/libm-test.inc (struct test_f_L_data): New type.
18010 (RUN_TEST_LOOP_f_L): New macro.
18011 (llrint_test_data): New variable.
18012 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18013 (llrint_tonearest_test_data): New variable.
18014 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18015 (llrint_towardzero_test_data): New variable.
18016 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18017 (llrint_downward_test_data): New variable.
18018 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18019 (llrint_upward_test_data): New variable.
18020 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18021 (llround_test_data): New variable.
18022 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18024 2013-05-13 Peter Collingbourne <pcc@google.com>
18026 * math/atest-exp2.c (get_log2): Remove const attribute.
18028 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18030 * math/libm-test.inc (struct test_f_l_data): New type.
18031 (RUN_TEST_LOOP_f_l): New macro.
18032 (lrint_test_data): New variable.
18033 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18034 (lrint_tonearest_test_data): New variable.
18035 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18036 (lrint_towardzero_test_data): New variable.
18037 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18038 (lrint_downward_test_data): New variable.
18039 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18040 (lrint_upward_test_data): New variable.
18041 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18042 (lround_test_data): New variable.
18043 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18045 2013-05-15 Peter Collingbourne <pcc@google.com>
18047 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18048 (EXTRACT_WORDS64) Use where appropriate.
18049 (INSERT_WORDS64) Likewise.
18051 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18052 constraints with x constraints.
18053 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18055 * malloc/obstack.c (_obstack_compat): Add initializer.
18057 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
18059 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18060 si_trapno and add si_addr_lsb to _sifields.sigfault.
18061 (si_trapno): Remove macro.
18062 (si_addr_lsb): Define new macro.
18063 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18065 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18067 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18068 instead of TEST_f_l.
18069 (llrint_test_tonearest): Likewise.
18070 (llrint_test_towardzero): Likewise.
18071 (llrint_test_downward): Likewise.
18072 (llrint_test_upward): Likewise.
18073 (llround_test): Likewise.
18075 * math/libm-test.inc (struct test_f_i_data): Add comment.
18076 (RUN_TEST_LOOP_f_b): New macro.
18077 (RUN_TEST_LOOP_f_b_tg): Likewise.
18078 (finite_test_data): New variable.
18079 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18080 (isfinite_test_data): New variable.
18081 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18082 (isinf_test_data): New variable.
18083 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18084 (isnan_test_data): New variable.
18085 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18086 (isnormal_test_data): New variable.
18087 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18088 (issignaling_test_data): New variable.
18089 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18090 (signbit_test_data): New variable.
18091 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18093 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18094 with INVALID_EXCEPTION.
18095 (acosh_test_data): Likewise.
18096 (asin_test_data): Likewise.
18097 (atanh_test_data): Likewise.
18098 (fmod_test_data): Likewise.
18099 (log_test_data): Likewise.
18100 (log10_test_data): Likewise.
18101 (log2_test_data): Likewise.
18102 (pow_test_data): Likewise.
18103 (sqrt_test_data): Likewise.
18104 (y0_test_data): Likewise.
18105 (y1_test_data): Likewise.
18106 (yn_test_data): Likewise.
18108 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18111 * math/libm-test.inc (struct test_ff_i_data): New type.
18112 (RUN_TEST_LOOP_ff_i_tg): New macro.
18113 (isgreater_test_data): New variable.
18114 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18115 (isgreaterequal_test_data): New variable.
18116 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18117 (isless_test_data): New variable.
18118 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18119 (islessequal_test_data): New variable.
18120 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18121 (islessgreater_test_data): New variable.
18122 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18123 (isunordered_test_data): New variable.
18124 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18126 2013-05-14 David S. Miller <davem@davemloft.net>
18128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18130 2013-05-14 Joseph Myers <joseph@codesourcery.com>
18132 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
18134 * math/libm-test.inc (struct test_fF_f1_data): Change type of
18136 (struct test_f_i_data): Change type of max_ulp to int.
18138 * math/libm-test.inc (test_ffI_f1_data): New type.
18139 (RUN_TEST_LOOP_ffI_f1): New macro.
18140 (remquo_test_data): New variable.
18141 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
18143 * setjmp/tst-setjmp-fp.c: New file.
18144 * setjmp/Makefile (tests): Add tst-setjmp-fp.
18145 (link-libm): New variable.
18146 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
18148 * math/libm-test.inc (struct test_f_i_data): New type.
18149 (RUN_TEST_LOOP_f_i): New macro.
18150 (RUN_TEST_LOOP_f_i_tg): Likewise.
18151 (fpclassify_test_data): New variable.
18152 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18153 (ilogb_test_data): New variable.
18154 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
18156 * math/libm-test.inc (scalbln_test): Correct function name in END
18159 * math/libm-test.inc (struct test_f_f1_data): Add comment.
18160 (RUN_TEST_LOOP_fI_f1): New macro.
18161 (frexp_test_data): New variable.
18162 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
18164 * math/libm-test.inc (struct test_fF_f1_data): New type.
18165 (RUN_TEST_LOOP_fF_f1): New macro.
18166 (modf_test_data): New variable.
18167 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
18169 * math/libm-test.inc (struct test_f_f1_data): New type.
18170 (RUN_TEST_LOOP_f_f1): New macro.
18171 (gamma_test_data): New variable.
18172 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18173 (lgamma_test_data): New variable.
18174 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18176 2013-05-13 Carlos O'Donell <carlos@redhat.com>
18178 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
18179 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
18180 (main): Comment "tls" pseudo-hwcap.
18182 2013-05-13 Joseph Myers <joseph@codesourcery.com>
18184 * math/libm-test.inc (struct test_fl_f_data): New type.
18185 (RUN_TEST_LOOP_fl_f): New variable.
18186 (scalbln_test_data): New variable.
18187 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
18189 * math/libm-test.inc (struct test_fi_f_data): New type.
18190 (RUN_TEST_LOOP_fi_f): New macro.
18191 (ldexp_test_data): New variable.
18192 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
18193 (scalbn_test_data): New variable.
18194 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
18196 * math/libm-test.inc (struct test_c_f_data): New type.
18197 (RUN_TEST_LOOP_c_f): New macro.
18198 (cabs_test_data): New variable.
18199 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
18200 (carg_test_data): New variable.
18201 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
18202 (cimag_test_data): New variable.
18203 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
18204 (creal_test_data): New variable.
18205 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
18207 * math/libm-test.inc (struct test_if_f_data): New type.
18208 (RUN_TEST_LOOP_if_f): New macro.
18209 (jn_test_data): New variable.
18210 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
18211 (yn_test_data): New variable.
18212 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
18214 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
18216 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18218 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
18219 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
18221 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18223 * benchtests/Makefile (CPPFLAGS-nonlib): Add
18224 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
18225 (bench-deps): Add bench-timing.h.
18226 * benchtests-bench-skeleton.c: Include bench-timing.h.
18227 (main): Use TIMING_* macros instead of clock_gettime.
18228 * benchtests/bench-timing.h: New file.
18231 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
18232 Renamed from _LIB_VERSION.
18233 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
18235 2013-05-12 Joseph Myers <joseph@codesourcery.com>
18237 * math/libm-test.inc (struct test_fff_f_data): New type.
18238 (RUN_TEST_LOOP_fff_f): New macro.
18239 (fma_test_data): New variable.
18240 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
18241 (fma_towardzero_test_data): New variable.
18242 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
18243 (fma_downward_test_data): New variable.
18244 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
18245 (fma_upward_test_data): New variable.
18246 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
18248 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
18249 (struct test_c_c_data): New type.
18250 (RUN_TEST_LOOP_c_c): New macro.
18251 (cacos_test_data): New variable.
18252 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
18253 (cacosh_test_data): New variable.
18254 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
18255 (casin_test_data): New variable.
18256 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
18257 (casinh_test_data): New variable.
18258 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
18259 (catan_test_data): New variable.
18260 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
18261 (catanh_test_data): New variable.
18262 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
18263 (ccos_test_data): New variable.
18264 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
18265 (ccosh_test_data): New variable.
18266 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
18267 (cexp_test_data): New variable.
18268 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
18269 (clog_test_data): New variable.
18270 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
18271 (clog10_test_data): New variable.
18272 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
18273 (conj_test_data): New variable.
18274 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
18275 (cproj_test_data): New variable.
18276 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
18277 (csin_test_data): New variable.
18278 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
18279 (csinh_test_data): New variable.
18280 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
18281 (csqrt_test_data): New variable.
18282 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
18283 (ctan_test_data): New variable.
18284 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
18285 (ctan_tonearest_test_data): New variable.
18286 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18287 (ctan_towardzero_test_data): New variable.
18288 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18289 (ctan_downward_test_data): New variable.
18290 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18291 (ctan_upward_test_data): New variable.
18292 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18293 (ctanh_test_data): New variable.
18294 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
18295 (ctanh_tonearest_test_data): New variable.
18296 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18297 (ctanh_towardzero_test_data): New variable.
18298 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18299 (ctanh_downward_test_data): New variable.
18300 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18301 (ctanh_upward_test_data): New variable.
18302 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18303 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
18306 * math/libm-test.inc (struct test_ff_f_data): New type.
18307 (struct test_ff_f_data_nexttoward): Likewise.
18308 (RUN_TEST_LOOP_2_f): New macro.
18309 (RUN_TEST_LOOP_ff_f): Likewise.
18310 (atan2_test_data): New variable.
18311 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
18312 (copysign_test_data): New variable.
18313 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
18314 (fdim_test_data): New variable.
18315 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
18316 (fmax_test_data): New variable.
18317 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
18318 (fmin_test_data): New variable.
18319 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
18320 (fmod_test_data): New variable.
18321 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
18322 (hypot_test_data): New variable.
18323 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
18324 (nextafter_test_data): New variable.
18325 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
18326 (nexttoward_test_data): New variable.
18327 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
18328 (pow_test_data): New variable.
18329 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
18330 (pow_tonearest_test_data): New variable.
18331 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
18332 (pow_towardzero_test_data): New variable.
18333 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
18334 (pow_downward_test_data): New variable.
18335 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
18336 (pow_upward_test_data): New variable.
18337 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
18338 (remainder_test_data): New variable.
18339 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
18340 (scalb_test_data): New variable.
18341 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
18342 * sysdeps/i386/fpu/libm-test-ulps: Update.
18344 2013-05-11 Joseph Myers <joseph@codesourcery.com>
18346 * math/libm-test.inc (fma_test): Use max_value instead of local
18348 (nextafter_test): Likewise.
18350 * math/libm-test.inc (acos_towardzero_test_data): New variable.
18351 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18352 (acos_downward_test_data): New variable.
18353 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18354 (acos_upward_test_data): New variable.
18355 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18356 (acosh_test_data): New variable.
18357 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
18358 (asin_test_data): New variable.
18359 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
18360 (asin_tonearest_test_data): New variable.
18361 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18362 (asin_towardzero_test_data): New variable.
18363 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18364 (asin_downward_test_data): New variable.
18365 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18366 (asin_upward_test_data): New variable.
18367 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18368 (asinh_test_data): New variable.
18369 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
18370 (atan_test_data): New variable.
18371 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
18372 (atanh_test_data): New variable.
18373 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
18374 (cbrt_test_data): New variable.
18375 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
18376 (ceil_test_data): New variable.
18377 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
18378 (cos_test_data): New variable.
18379 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
18380 (cos_tonearest_test_data): New variable.
18381 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18382 (cos_towardzero_test_data): New variable.
18383 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18384 (cos_downward_test_data): New variable.
18385 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18386 (cos_upward_test_data): New variable.
18387 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18388 (cosh_test_data): New variable.
18389 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
18390 (cosh_tonearest_test_data): New variable.
18391 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18392 (cosh_towardzero_test_data): New variable.
18393 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18394 (cosh_downward_test_data): New variable.
18395 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18396 (cosh_upward_test_data): New variable.
18397 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18398 (erf_test_data): New variable.
18399 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
18400 (erfc_test_data): New variable.
18401 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
18402 (exp_test_data): New variable.
18403 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
18404 (exp_tonearest_test_data): New variable.
18405 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18406 (exp_towardzero_test_data): New variable.
18407 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18408 (exp_downward_test_data): New variable.
18409 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18410 (exp_upward_test_data): New variable.
18411 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18412 (exp10_test_data): New variable.
18413 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
18414 (exp2_test_data): New variable.
18415 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
18416 (expm1_test_data): New variable.
18417 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
18418 (fabs_test_data): New variable.
18419 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
18420 (floor_test_data): New variable.
18421 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
18422 (j0_test_data): New variable.
18423 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
18424 (j1_test_data): New variable.
18425 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
18426 (log_test_data): New variable.
18427 (log_test): Run tests with RUN_TEST_LOOP_f_f.
18428 (log10_test_data): New variable.
18429 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
18430 (log1p_test_data): New variable.
18431 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
18432 (log2_test_data): New variable.
18433 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
18434 (logb_test_data): New variable.
18435 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
18436 (logb_downward_test_data): New variable.
18437 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18438 (nearbyint_test_data): New variable.
18439 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
18440 (rint_test_data): New variable.
18441 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
18442 (rint_tonearest_test_data): New variable.
18443 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18444 (rint_towardzero_test_data): New variable.
18445 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18446 (rint_downward_test_data): New variable.
18447 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18448 (rint_upward_test_data): New variable.
18449 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18450 (round_test_data): New variable.
18451 (round_test): Run tests with RUN_TEST_LOOP_f_f.
18452 (sin_test_data): New variable.
18453 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
18454 (sin_tonearest_test_data): New variable.
18455 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18456 (sin_towardzero_test_data): New variable.
18457 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18458 (sin_downward_test_data): New variable.
18459 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18460 (sin_upward_test_data): New variable.
18461 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18462 (sinh_test_data): New variable.
18463 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18464 (sinh_tonearest_test_data): New variable.
18465 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18466 (sinh_towardzero_test_data): New variable.
18467 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18468 (sinh_downward_test_data): New variable.
18469 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18470 (sinh_upward_test_data): New variable.
18471 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18472 (sqrt_test_data): New variable.
18473 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18474 (tan_test_data): New variable.
18475 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18476 (tan_tonearest_test_data): New variable.
18477 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18478 (tan_towardzero_test_data): New variable.
18479 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18480 (tan_downward_test_data): New variable.
18481 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18482 (tan_upward_test_data): New variable.
18483 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18484 (tanh_test_data): New variable.
18485 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18486 (tgamma_test_data): New variable.
18487 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18488 (trunc_test_data): New variable.
18489 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18490 (y0_test_data): New variable.
18491 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18492 (y1_test_data): New variable.
18493 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18494 (significand_test_data): New variable.
18495 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18497 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
18500 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18502 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
18504 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18506 2013-05-10 Andreas Jaeger <aj@suse.de>
18509 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18510 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18512 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18514 * math/gen-libm-test.pl (adjust_arg): New function.
18515 (special_functions): Handle generating output in both functions
18517 (parse_args): Likewise.
18518 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
18519 $in_func argument to parse_args.
18520 * math/libm-test.inc (struct test_f_f_data): New type.
18521 (IF_ROUND_INIT_): New macro.
18522 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18523 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18524 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18525 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18526 (ROUND_RESTORE_): Likewise.
18527 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18528 (ROUND_RESTORE_FE_TONEAREST): Likewise.
18529 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18530 (ROUND_RESTORE_FE_UPWARD): Likewise.
18531 (RUN_TEST_LOOP_f_f): New macro.
18532 (acos_test_data): New variable.
18533 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18534 (acos_tonearest_test_data): New variable.
18535 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18537 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18539 * benchtests/bench-skeleton.c (startup): Fix coding style.
18541 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18544 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18545 negative infinity argument.
18546 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18547 negative infinity argument.
18548 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18549 negative infinity argument.
18550 * math/libm-test.inc (tgamma_test): Expect errno to be set for
18553 2013-05-10 Florian Weimer <fweimer@redhat.com>
18555 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18556 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18557 * iconv/iconv_prog.c (main): Likewise.
18558 * locale/programs/charmap-dir.c (charmap_readdir)
18559 (fopen_uncompressed): Likewise.
18560 * locale/programs/locfile.c (siblings_uncached)
18561 (write_locale_data): Use lstat64 instead of lstat.
18562 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18565 2013-05-10 Andreas Jaeger <aj@suse.de>
18568 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18570 Include <locale.h>.
18572 2013-05-09 Carlos O'Donell <carlos@redhat.com>
18574 * elf/dl-close.c (_dl_close_worker): Add comments.
18576 2013-05-09 Joseph Myers <joseph@codesourcery.com>
18579 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18581 (__ieee754_rem_pio2l): Update comments.
18584 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18586 (__ieee754_rem_pio2l): Update comments.
18588 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18589 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18591 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18594 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18595 (M_PI_34_LOG10El): Likewise.
18596 (M_PI2_LOG10El): Likewise.
18597 (M_PI4_LOG10El): Likewise.
18598 (M_PI_LOG10El): Likewise.
18600 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18602 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18604 2013-05-08 Joseph Myers <joseph@codesourcery.com>
18606 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18607 (MINUS_ZERO_INIT): Likewise.
18608 (PLUS_INFTY_INIT): Likewise.
18609 (MINUS_INFTY_INIT): Likewise.
18610 (QNAN_VALUE_INIT): Likewise.
18611 (MAX_VALUE_INIT): Likewise.
18612 (MIN_VALUE_INIT): Likewise.
18613 (MIN_SUBNORM_VALUE_INIT): Likewise.
18614 (plus_zero): Initialize with PLUS_ZERO_INIT.
18615 (minus_zero): Initialize with MINUS_ZERO_INIT.
18616 (plus_infty): Initialize with PLUS_INFTY_INIT.
18617 (minus_infty): Initialize with MINUS_INFTY_INIT.
18618 (qnan_value): Initialize with QNAN_VALUE_INIT.
18619 (max_value): Initialize with MAX_VALUE_INIT.
18620 (min_value): Initialize with MIN_VALUE_INIT.
18621 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18623 * math/libm-test.inc (RUN_TEST_if_f): New macro.
18624 (jn_test): Use TEST_if_f instead of TEST_ff_f.
18625 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18626 (yn_test): Use TEST_if_f instead of TEST_ff_f.
18628 * math/libm-test.inc (RUN_TEST_f_f): New macro.
18629 (RUN_TEST_2_f): Likewise.
18630 (RUN_TEST_ff_f): Likewise.
18631 (RUN_TEST_fi_f): Likewise.
18632 (RUN_TEST_fl_f): Likewise.
18633 (RUN_TEST_fff_f): Likewise.
18634 (RUN_TEST_c_f): Likewise.
18635 (RUN_TEST_f_f1): Likewise.
18636 (RUN_TEST_fF_f1): Likewise.
18637 (RUN_TEST_fI_f1): Likewise.
18638 (RUN_TEST_ffI_f1): Likewise.
18639 (RUN_TEST_c_c): Likewise.
18640 (RUN_TEST_cc_c): Likewise.
18641 (RUN_TEST_f_i): Likewise.
18642 (RUN_TEST_f_i_tg): Likewise.
18643 (RUN_TEST_ff_i_tg): Likewise.
18644 (RUN_TEST_f_b): Likewise.
18645 (RUN_TEST_f_b_tg): Likewise.
18646 (RUN_TEST_f_l): Likewise.
18647 (RUN_TEST_f_L): Likewise.
18648 (RUN_TEST_sincos): Likewise.
18649 * math/gen-libm-test.pl (new_test): Take new argument to indicate
18650 whether to show exceptions. Do not include ");\n" in return
18652 (special_functions): Output call to RUN_TEST_sincos instead of
18653 check_float calls. Update calls to new_test.
18654 (parse_args): Output call to single RUN_TEST_* macro instead of
18655 check_* calls and other assignments. Update calls to new_test.
18661 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
18662 input to result for tgamma overflow.
18663 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
18664 (gamma_coeff): New variable.
18665 (NCOEFF): New macro.
18666 (gamma_positive): New function.
18667 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
18668 underflow here. Use gamma_positive instead of exp (lgamma) for
18670 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
18671 (gamma_coeff): New variable.
18672 (NCOEFF): New macro.
18673 (gammaf_positive): New function.
18674 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
18675 underflow here. Use gamma_positive instead of exp (lgamma) for
18677 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
18678 (gamma_coeff): New variable.
18679 (NCOEFF): New macro.
18680 (gammal_positive): New function.
18681 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
18682 underflow here. Use gamma_positive instead of exp (lgamma) for
18684 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
18685 (gamma_coeff): New variable.
18686 (NCOEFF): New macro.
18687 (gammal_positive): New function.
18688 (__ieee754_gammal_r): Handle positive infinity, overflow and
18689 underflow here. Handle NaN the same as positive infinity. Remove
18690 check x < 0xffffffff for negative integers. Use gamma_positive
18691 instead of exp (lgamma) for other arguments.
18692 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
18693 (gamma_coeff): New variable.
18694 (NCOEFF): New macro.
18695 (gammal_positive): New function.
18696 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
18697 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18698 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
18699 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
18700 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18701 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
18702 * sysdeps/generic/math_private.h (__gamma_productf): New
18704 (__gamma_product): Likewise.
18705 (__gamma_productl): Likewise.
18706 * math/Makefile (libm-calls): Add gamma_product.
18707 * math/libm-test.inc (tgamma_test): Add more tests.
18708 * sysdeps/i386/fpu/libm-test-ulps: Update.
18709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18711 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
18713 * benchtests/bench-skeleton.c (main): Preheat CPU.
18715 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
18717 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
18719 2013-05-07 Roland McGrath <roland@hack.frob.com>
18721 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
18722 and _dl_skip_args_internal.
18724 2013-05-07 Carlos O'Donell <carlos@redhat.com>
18726 * manual/message.texi (Message Translation): Talk about users.
18727 Message to key mapping impacts design.
18729 2013-05-06 Roland McGrath <roland@hack.frob.com>
18731 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
18733 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
18735 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
18736 * sysdeps/wordsize-64/glob64.c: ... here.
18738 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
18739 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
18742 * debug/getlogin_r_chk.c: Moved to ...
18743 * login/getlogin_r_chk.c: ... here.
18744 * debug/Makefile (routines): Move getlogin_r_chk to ...
18745 * login/Makefile (routines): ... here.
18746 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
18747 * login/Versions (libc: GLIBC_2.4): ... here.
18749 * io/poll.c (__poll): Renamed from poll.
18750 Add libc_hidden_def.
18751 (poll): Define as weak alias.
18753 * debug/ptsname_r_chk.c: Moved to ...
18754 * login/ptsname_r_chk.c: ... here.
18755 * debug/Makefile (routines): Move ptsname_r_chk to ...
18756 * login/Makefile (routines): ... here.
18757 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
18758 * login/Versions (libc: GLIBC_2.4): ... here.
18760 * posix/getlogin.c: Moved to ...
18761 * login/getlogin.c: ... here.
18762 * posix/getlogin_r.c: Moved to ...
18763 * login/getlogin_r.c: ... here.
18764 * posix/getlogin_r.c: Moved to ...
18765 * login/getlogin_r.c: ... here.
18766 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
18767 * login/Makefile (routines): ... here.
18768 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
18769 * login/Versions (libc: GLIBC_2.0): ... here.
18771 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
18772 (setrlimit): Define as weak alias.
18774 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
18775 Call __ names for open, ftruncate, and close.
18776 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
18777 (truncate): Define as weak alias.
18779 2013-05-06 Joseph Myers <joseph@codesourcery.com>
18781 * math/gen-libm-test.pl (parse_args): Initialize x before each
18782 test of frexp, modf and remquo.
18784 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
18785 test signgam value.
18787 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18791 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
18793 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18795 2013-05-06 Roland McGrath <roland@hack.frob.com>
18797 * elf/dl-writev.h: New file.
18798 * elf/dl-misc.c: Include it.
18799 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
18800 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
18802 2013-05-04 Joseph Myers <joseph@codesourcery.com>
18804 * math/libm-test.inc (noXFails): Remove variable.
18805 (noXPasses): Likewise.
18806 (BUILD_COMPLEX_INT): Remove macro.
18807 (print_screen): Remove xfail argument.
18808 (print_screen_max_error): Likewise.
18809 (update_stats): Likewise.
18810 (print_max_error): Likewise. Update calls to other affected
18812 (print_complex_max_error): Likewise.
18813 (test_single_exception): Update calls to print_screen.
18814 (test_single_errno): Likewise.
18815 (check_float_internal): Remove xfail argument. Update calls to
18816 other affected functions.
18817 (check_float): Likewise.
18818 (check_complex): Likewise.
18819 (check_int): Likewise.
18820 (check_long): Likewise.
18821 (check_bool): Likewise.
18822 (check_longlong): Likewise.
18823 (main): Don't print noXFails and noXPasses.
18824 * math/gen-libm-test.pl (top level): Don't mention expected
18825 failure handling in comment.
18826 (new_test): Don't handle expected failures.
18827 (parse_args): Don't mention expected failure handling in comment.
18828 (generate_testfile): Don't handle expected failures.
18829 (parse_ulps): Likewise.
18830 (print_ulps_file): Likewise.
18831 (get_failure): Remove function.
18832 (output_test): Don't handle expected failures.
18833 * make/README.libm-test: Don't mention expected failure handling.
18835 * math/libm-test.inc (plus_zero): Make const. Add initializer.
18836 (minus_zero): Likewise.
18837 (plus_infty): Likewise.
18838 (minus_infty): Likewise.
18839 (qnan_value): Likewise.
18840 (max_value): Likewise.
18841 (min_value): Likewise.
18842 (min_subnorm_value): Likewise.
18843 (initialize): Do not initialize those variables dynamically.
18845 2013-05-03 Roland McGrath <roland@hack.frob.com>
18847 * io/open.c (__open_2): Moved to ...
18848 * io/open_2.c: ... this new file.
18849 * io/open64.c (__open64_2): Moved to ...
18850 * io/open64_2.c: ... this new file.
18851 * io/openat.c (__openat_2): Moved to ...
18852 * io/openat_2.c: ... this new file.
18853 * io/openat64.c (__openat64_2): Moved to ...
18854 * io/openat64_2.c: ... this new file.
18855 * io/Makefile (routines): Add them.
18856 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
18857 * sysdeps/unix/sysv/linux/open_2.c: File removed.
18858 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
18859 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
18860 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
18861 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
18862 (__openat64): Add hidden_ver.
18863 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
18864 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
18866 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
18867 Separately conditionalize setting of GLRO(dl_sysinfo) so
18868 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
18869 as well, but the actual setting is only under [NEED_DL_SYSINFO].
18871 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18873 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
18874 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
18876 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
18877 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18878 (_libc_vdso_platform_setup): Add __vdso_time initialization.
18879 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
18880 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
18882 2013-05-03 Joseph Myers <joseph@codesourcery.com>
18884 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
18885 test signgam value.
18887 * math/libm-test.inc (hypot_test): Do not use
18888 IGNORE_ZERO_INF_SIGN.
18890 2013-05-03 Andreas Jaeger <aj@suse.de>
18892 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
18894 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
18895 (PF_MAX): Adjust for VSOCK change.
18897 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18899 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18901 2013-05-02 Carlos O'Donell <carlos@redhat.com>
18904 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
18905 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
18906 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
18908 2013-05-02 David S. Miller <davem@davemloft.net>
18910 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18912 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
18914 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
18916 2013-05-01 Roland McGrath <roland@hack.frob.com>
18918 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
18920 2013-05-01 Richard Smith <richard@metafoo.co.uk>
18923 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
18924 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18925 Use __attribute__ ((__gnu_inline__)).
18926 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18927 Don't use __attribute__ ((__gnu_inline__)).
18929 2013-05-01 Joseph Myers <joseph@codesourcery.com>
18932 * math/s_catan.c (__catan): Handle small real or imaginary part of
18933 input specially to avoid spurious underflow.
18934 * math/s_catanf.c (__catanf): Likewise.
18935 * math/s_catanh.c (__catanh): Likewise.
18936 * math/s_catanhf.c (__catanhf): Likewise.
18937 * math/s_catanhl.c (__catanhl): Likewise.
18938 * math/s_catanl.c (__catanl): Likewise.
18939 * math/libm-test.inc (catan_test): Add more tests.
18940 (catanh_test): Likewise.
18941 * sysdeps/i386/fpu/libm-test-ulps: Update.
18942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18944 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18948 2013-04-30 Joseph Myers <joseph@codesourcery.com>
18951 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
18952 accurately for denominator in atan2.
18953 * math/s_catanf.c (__catanf): Likewise.
18954 * math/s_catanh.c (__catanh): Likewise.
18955 * math/s_catanhf.c (__catanhf): Likewise.
18956 * math/s_catanhl.c (__catanhl): Likewise.
18957 * math/s_catanl.c (__catanl): Likewise.
18958 * math/libm-test.inc (catan_test): Add more tests.
18959 (catanh_test): Likewise.
18960 * sysdeps/i386/fpu/libm-test-ulps: Update.
18961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18963 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18965 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18967 * benchtests/Makefile (bench): Remove slow benchmarks.
18968 * benchtests/atan-inputs: Add slow benchmark inputs.
18969 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18970 (BENCH_FUNC): Accept variant offset.
18972 * benchtests/bench-skeleton.c (main): Run benchmark for each
18974 * benchtests/cos-inputs: Add slow benchmark inputs.
18975 * benchtests/exp-inputs: Likewise.
18976 * benchtests/pow-inputs: Likewise.
18977 * benchtests/sin-inputs: Likewise.
18978 * benchtests/slowatan-inputs: Remove.
18979 * benchtests/slowatan.c: Remove.
18980 * benchtests/slowcos-inputs: Remove.
18981 * benchtests/slowcos.c: Remove.
18982 * benchtests/slowexp-inputs: Remove.
18983 * benchtests/slowexp.c: Remove.
18984 * benchtests/slowpow-inputs: Remove.
18985 * benchtests/slowpow.c: Remove.
18986 * benchtests/slowsin-inputs: Remove.
18987 * benchtests/slowsin.c: Remove.
18988 * benchtests/slowtan-inputs: Remove.
18989 * benchtests/slowtan.c: Remove.
18990 * benchtests/tan-inputs: Add slow benchmark inputs.
18991 * scripts/bench.pl: Parse comments and directives.
18993 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
18995 ($(objpfx)bench-%.c): Remove *-ITER.
18996 * benchtests/bench-modf.c: Remove definition of ITER.
18997 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18998 (main): Loop for DURATION seconds instead of fixed number of
19000 * scripts/bench.pl: Don't expect iterations in parameters.
19002 2013-04-29 Roland McGrath <roland@hack.frob.com>
19004 * io/fchdir.c (__fchdir): Renamed from fchdir.
19005 (fchdir): Define as weak alias.
19007 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19009 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19010 (ERRNO_EDOM): Likewise.
19011 (ERRNO_ERANGE): Likewise.
19012 (noErrnoTests): New variable.
19013 (init_max_error): Set errno to 0.
19014 (test_single_errno): New function.
19015 (test_errno): Likewise.
19016 (check_float_internal): Call test_errno. Set errno to 0.
19017 (check_complex): Refer to errno tests in comment.
19018 (check_int): Call test_errno. Set errno to 0.
19019 (check_long): Likewise.
19020 (check_bool): Likewise.
19021 (check_longlong): Likewise.
19022 (cos_test): Use ERRNO_* flags for errno tests instead of
19024 (expm1_test): Likewise.
19025 (fmod_test): Likewise.
19026 (ilogb_test): Likewise.
19027 (lgamma_test): Likewise.
19028 (pow_test): Likewise.
19029 (remainder_test): Likewise.
19030 (sin_test): Likewise.
19031 (tan_test): Likewise.
19032 (yn_test): Likewise.
19033 (initialize): Set errno to 0.
19034 (main): Print number of errno tests.
19035 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19037 2013-04-29 Andreas Jaeger <aj@suse.de>
19040 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19044 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19045 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19049 * stdlib/random.c (__initstate): Return NULL if
19053 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19054 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19057 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19059 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19061 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19063 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19064 of individual tests.
19065 (casin_test): Likewise.
19066 (casinh_test): Likewise.
19068 2013-04-27 Joseph Myers <joseph@codesourcery.com>
19071 * math/s_catan.c (__catan): Handle arguments with large real or
19072 imaginary part separately without squaring.
19073 * math/s_catanf.c (__catanf): Likewise.
19074 * math/s_catanh.c (__catanh): Likewise.
19075 * math/s_catanhf.c (__catanhf): Likewise.
19076 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19078 (__catanhl): Handle arguments with large real or imaginary part
19079 separately without squaring.
19080 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19082 (__catanl): Handle arguments with large real or imaginary part
19083 separately without squaring.
19084 * math/libm-test.inc (catan_test): Add more tests.
19085 (catanh_test): Likewise.
19086 * sysdeps/i386/fpu/libm-test-ulps: Update.
19087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19089 2013-04-27 Andreas Jaeger <aj@suse.de>
19092 * stdlib/stdlib.h: Update guards for qecvt.
19093 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19096 2013-04-27 Allan McRae <allan@archlinux.org>
19098 * sysdeps/i386/fpu/libm-test-ulps: Update.
19100 2013-04-26 Joseph Myers <joseph@codesourcery.com>
19103 * math/s_catan.c: Include <float.h>.
19104 (__catan): Ensure underflow exception occurs for underflowed
19106 * math/s_catanf.c: Include <float.h>.
19107 (__catanf): Ensure underflow exception occurs for underflowed
19109 * math/s_catanh.c: Include <float.h>.
19110 (__catanh): Ensure underflow exception occurs for underflowed
19112 * math/s_catanhf.c: Include <float.h>.
19113 (__catanhf): Ensure underflow exception occurs for underflowed
19115 * math/s_catanhl.c: Include <float.h>.
19116 (__catanhl): Ensure underflow exception occurs for underflowed
19118 * math/s_catanl.c: Include <float.h>.
19119 (__catanl): Ensure underflow exception occurs for underflowed
19121 * math/libm-test.inc (catan_test): Add more tests.
19122 (catanh_test): Likewise.
19125 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
19126 underflowed result.
19127 * math/s_ccoshf.c (__ccoshf): Likewise.
19128 * math/s_ccoshl.c (__ccoshl): Likewise.
19129 * math/s_csin.c (__csin): Likewise.
19130 * math/s_csinf.c (__csinf): Likewise.
19131 * math/s_csinh.c (__csinh): Likewise.
19132 * math/s_csinhf.c (__csinhf): Likewise.
19133 * math/s_csinhl.c (__csinhl): Likewise.
19134 * math/s_csinl.c (__csinl): Likewise.
19135 * math/libm-test.inc (ccos_test): Add more tests.
19136 (ccosh_test): Likewise.
19137 (csin_test): Likewise.
19138 (csinh_test): Likewise.
19140 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19142 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
19143 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
19144 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
19145 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
19146 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
19147 powerpc/power5+/fpu folders.
19148 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
19151 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19153 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19155 2013-04-25 Joseph Myers <joseph@codesourcery.com>
19157 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
19158 additions to variable.
19159 [$(config-machine) = x86_64] (modules-names): Likewise.
19160 ($(objpfx)tst-audit3): Remove dependency.
19161 ($(objpfx)tst-audit3.out): Likewise.
19162 ($(objpfx)tst-audit4): Likewise.
19163 ($(objpfx)tst-audit4.out): Likewise.
19164 ($(objpfx)tst-audit5): Likewise.
19165 ($(objpfx)tst-audit5.out): Likewise.
19166 ($(objpfx)tst-audit6): Likewise.
19167 ($(objpfx)tst-audit6.out): Likewise.
19168 ($(objpfx)tst-audit7): Likewise.
19169 ($(objpfx)tst-audit7.out): Likewise.
19170 (tst-audit3-ENV): Remove variable.
19171 (tst-audit4-ENV): Likewise.
19172 (tst-audit5-ENV): Likewise.
19173 (tst-audit6-ENV): Likewise.
19174 (tst-audit7-ENV): Likewise.
19175 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
19176 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
19177 addition to variable.
19178 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
19179 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
19180 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
19181 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
19182 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
19183 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
19184 tst-audit3, tst-audit4 and tst-audit5.
19185 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
19186 tst-audit6 and tst-audit7.
19187 [$(subdir) = elf] (modules-names): Add audit modules for those
19189 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
19190 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
19191 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
19192 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
19193 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
19194 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
19195 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
19196 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
19197 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
19198 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
19199 [$(subdir) = elf] (tst-audit3-ENV): New variable.
19200 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
19201 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
19202 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
19203 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
19204 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
19206 [$(subdir) = elf && $(config-cflags-avx) = yes]
19207 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
19208 [$(subdir) = elf && $(config-cflags-avx) = yes]
19209 (CFLAGS-tst-auditmod4a.c): Likewise.
19210 [$(subdir) = elf && $(config-cflags-avx) = yes]
19211 (CFLAGS-tst-auditmod4b.c): Likewise.
19212 [$(subdir) = elf && $(config-cflags-avx) = yes]
19213 (CFLAGS-tst-auditmod6b.c): Likewise.
19214 [$(subdir) = elf && $(config-cflags-avx) = yes]
19215 (CFLAGS-tst-auditmod6c.c): Likewise.
19216 [$(subdir) = elf && $(config-cflags-avx) = yes]
19217 (CFLAGS-tst-auditmod7b.c): Likewise.
19218 * elf/tst-audit3.c: Move to ...
19219 * sysdeps/x86_64/tst-audit3.c: ... here.
19220 * elf/tst-audit4.c: Move to ...
19221 * sysdeps/x86_64/tst-audit4.c: ... here.
19222 * elf/tst-audit5.c: Move to ...
19223 * sysdeps/x86_64/tst-audit5.c: ... here.
19224 * elf/tst-audit6.c: Move to ...
19225 * sysdeps/x86_64/tst-audit6.c: ... here.
19226 * elf/tst-audit7.c: Move to ...
19227 * sysdeps/x86_64/tst-audit7.c: ... here.
19228 * elf/tst-auditmod3a.c: Move to ...
19229 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
19230 * elf/tst-auditmod3b.c: Move to ...
19231 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
19232 * elf/tst-auditmod4a.c: Move to ...
19233 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
19234 * elf/tst-auditmod4b.c: Move to ...
19235 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
19236 * elf/tst-auditmod5a.c: Move to ...
19237 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
19238 * elf/tst-auditmod5b.c: Move to ...
19239 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
19240 * elf/tst-auditmod6a.c: Move to ...
19241 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
19242 * elf/tst-auditmod6b.c: Move to ...
19243 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
19244 * elf/tst-auditmod6c.c: Move to ...
19245 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
19246 * elf/tst-auditmod7a.c: Move to ...
19247 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
19248 * elf/tst-auditmod7b.c: Move to ...
19249 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
19251 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
19254 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
19255 define unconditionally.
19256 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
19257 define unconditionally.
19258 (INT8_C, INT16_C, etc.): Likewise.
19260 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
19262 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
19263 __ehdr_start with hidden visibility.
19265 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
19267 2013-04-24 Carlos O'Donell <carlos@redhat.com>
19269 * math/libm-test.inc (cos_test): Use accurate hex constants.
19270 (sincost_test): Likewise.
19272 2013-04-24 Joseph Myers <joseph@codesourcery.com>
19274 * math/libm-test.inc (catan_test): Add more tests.
19275 (catanh_test): Likewise.
19277 * math/s_catanf.c (__catanf): Use suffixed floating-point
19279 * math/s_catanhf.c (__catanhf): Likewise.
19280 * math/s_catanhl.c (__catanhl): Likewise.
19281 * math/s_catanl.c (__catanl): Likewise.
19284 * math/s_catan.c (__catan): Calculate imaginary part of result
19285 with log1p not log unless computing log of number close to 0.
19286 * math/s_catanf.c (__catanf): Likewise.
19287 * math/s_catanl.c (__catanl): Likewise.
19288 * math/s_catanh.c (__catanh): Calculate real part of result with
19289 log1p not log unless computing log of number close to 0.
19290 * math/s_catanhf.c (__catanhf): Likewise.
19291 * math/s_catanhl.c (__catanhl): Likewise.
19292 * math/libm-test.inc (catan_test): Add more tests.
19293 (catanh_test): Likewise.
19294 * sysdeps/i386/fpu/libm-test-ulps: Update.
19295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19297 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19299 * benchtests/Makefile: Mention files in which fast and slow
19300 paths of math functions are implemented.
19302 2013-04-23 Roland McGrath <roland@hack.frob.com>
19304 * sysdeps/posix/timespec_get.c: New file.
19306 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19308 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
19310 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
19312 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
19313 powerpc/power5/fpu folders.
19314 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
19315 * benchtests/Makefile: Add modf testcase.
19316 * benchtests/bench-modf.c: New file: Benchmark test for mo
19318 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19321 * time/Makefile (tests): Add tst-strptime-whitespace.
19322 * time/strptime_l.c (get_number): Use ISSPACE.
19323 (__strptime_internal): Likewise.
19324 * time/tst-strptime-whitespace.c: New test case.
19326 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
19328 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
19330 (_nss_files_init): Set it here.
19332 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
19334 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
19335 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
19338 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
19340 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
19342 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19344 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
19347 2013-04-21 David S. Miller <davem@davemloft.net>
19349 * po/ru.po: Update Russion translation from translation project.
19351 2013-04-17 Adam Conrad <adconrad@0c3.net>
19353 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
19356 2013-04-17 Carlos O'Donell <carlos@redhat.com>
19358 * configure.in: Remove i386 configure warning. Remove i386 case.
19359 * configure: Regenerate.
19360 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
19361 Add example to error message.
19362 * sysdeps/i386/configure: Regenerate.
19364 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19366 * benchtests/Makefile (bench): Add cos, tan, slowcos and
19368 * benchtests/cos-inputs: New file.
19369 * benchtests/slowcos-inputs: New file.
19370 * benchtests/slowcos.c: New file.
19371 * benchtests/slowtan-inputs: New file.
19372 * benchtests/slowtan.c: New file.
19373 * benchtests/tan-inputs: New file.
19375 2013-04-16 Roland McGrath <roland@hack.frob.com>
19377 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
19380 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19382 * benchtests/Makefile: Include cppflags-iterator.mk to add
19383 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
19385 * Makefile.in (bench-clean): New target.
19386 * benchtests/Makefile (bench-clean): Likewise.
19388 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
19390 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
19392 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
19394 * stdio-common/tstdiomisc.c: Fix coding-style violation.
19396 2013-04-15 Andreas Schwab <schwab@suse.de>
19398 * nscd/grpcache.c (cache_addgr): Properly check for short write.
19399 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19400 * nscd/pwdcache.c (cache_addpw): Likewise.
19401 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
19404 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19406 * benchtests/Makefile (bench): Write all output to
19407 bench-out.tmp together.
19409 2013-04-15 Andreas Schwab <schwab@suse.de>
19411 * nscd/nscd.c (main): Don't fork again after closing files.
19413 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19415 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
19417 * benchtests/Rules (bench-deps): Collect dependencies into a
19418 single variable. Add Makefile to dependencies.
19419 ($(objpfx)bench-%.c): Depend on bench-deps.
19421 2013-04-12 Roland McGrath <roland@hack.frob.com>
19422 Xavier Roche <roche+kml2@exalead.com>
19425 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
19426 just that it's a file descriptor.
19427 * manual/llio.texi (Synchronizing AIO Operations): Update description
19428 for EBADF error from aio_fsync.
19430 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19432 * Rules (bench): Move target definition...
19433 * benchtests/Makefile: ... here.
19435 2013-04-11 Carlos O'Donell <carlos@redhat.com>
19437 * math/libm-test.inc (cos_test): Fix PI/2 test.
19438 (sincos_test): Likewise.
19439 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19440 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19442 2013-04-11 Andreas Schwab <schwab@suse.de>
19445 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
19446 accept exponent character only when digits were seen.
19447 * stdio-common/Makefile (tests): Add bug26.
19448 * stdio-common/bug26.c: New file.
19451 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
19454 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19456 * Makeconfig (rtld-prefix): Define built linker prefix.
19457 * Rules (run-bench): Use it.
19458 * math/Makefile (run-regen-ulps): Likewise.
19460 * Rules (bench): Remove eval.
19462 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19463 Roland McGrath <roland@hack.frob.com>
19464 Ondrej Bilka <neleai@seznam.cz>
19467 * time/getdate.c: Include ctype.h and alloca.h.
19468 (__getdate_r): Trim leading and trailing spaces of input.
19469 * time/tst-getdate.c (tests): Add tests with leading and
19472 2013-04-08 Roland McGrath <roland@hack.frob.com>
19475 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19476 when computing value.
19478 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19480 * math/README.libm-test (How can I generate "libm-test-ulps"?):
19481 Use testrun.sh to run libm tests.
19484 * elf/dl-open.c (dl_open_worker): memset all of seen array.
19486 2013-04-06 Marko Myllynen <myllynen@redhat.com>
19489 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19491 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19493 * Makefile.in (regen-ulps): New target.
19494 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19495 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19496 [ifneq (no,$(PERL)] (regen-ulps): New target.
19497 [ifeq (no,$(PERL)] (regen-ulps): New target.
19498 * math/libm-test.inc (ulps_file_name): Define.
19499 (output_dir): New variable.
19500 (options): Add "output-dir" option.
19501 (parse_opt): Handle 'o' case.
19502 (main): If output_dir is non-NULL use it as a prefix
19504 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19506 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19508 [BZ #10060, #10062]
19509 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19510 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19511 fail configure if __sync_val_compare_and_swap is not inlined.
19512 * sysdeps/i386/configure: Regenerate.
19513 * configure.in: Build for i686 when configured for i386.
19514 * configure: Regenerate.
19515 * README: Remove i386 reference.
19517 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19519 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19520 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19522 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
19524 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19525 (lmsnanval): New variables.
19526 (F): Add conversion tests.
19527 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19528 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19530 * stdio-common/tstdiomisc.c (F): Properly collect individual
19533 [BZ #14686, #15336]
19534 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19535 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19536 Instead, use input NaN values or generate a qNaN by arithmetic
19537 operation. Also fix bugs to comply with the standard.
19538 * math/libm-test.inc (remainder_test): Add more tests.
19540 [BZ #15335, #15342]
19541 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19542 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19543 input NaN values or generate a qNaN by arithmetic operation.
19545 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19548 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19551 2013-04-03 Joseph Myers <joseph@codesourcery.com>
19554 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19555 underflowed result.
19556 * math/s_cexpf.c (__cexpf): Likewise.
19557 * math/s_cexpl.c (__cexpl): Likewise.
19558 * math/libm-test.inc (cexp_test): Add more tests.
19560 2013-04-03 Andreas Schwab <schwab@suse.de>
19563 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19564 order arrays from heap if bigger than alloca cutoff.
19566 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
19568 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19569 (SNAN_TESTS_double): Refer to GCC PR56831.
19570 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19573 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19575 * Rules (bench): Move bench.out after the run is complete.
19577 * Rules (bench): Echo currently running benchmark.
19579 * benchtests/Makefile (bench): Add atan and slowatan.
19580 * benchtests/atan-inputs: New file.
19581 * benchtests/slowatan-inputs: New file.
19582 * benchtests/slowatan.c: New file.
19584 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19585 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19589 * sysdeps/unix/sysv/linux/kernel-features.h
19590 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19591 __ASSUME_XFS_RESTRICTED_CHOWN.
19592 * sysdeps/unix/sysv/linux/pathconf.c
19593 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19594 Save and restore errno.
19596 2013-04-02 Joseph Myers <joseph@codesourcery.com>
19599 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19600 arguments using __kernel_casinh.
19601 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19602 arguments using __kernel_casinhf.
19603 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19604 arguments using __kernel_casinhl.
19605 * math/libm-test.inc (cacosh_test): Add more tests.
19606 * sysdeps/i386/fpu/libm-test-ulps: Update.
19607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19609 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19611 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19612 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19614 * bench/Makefile (bench): Add sin and slowsin.
19615 * benchtests/sin-inputs: New file.
19616 * benchtests/slowsin-inputs: New file.
19617 * benchtests/slowsin.c: New file.
19619 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19620 (bench): Add slowexp and slowpow.
19621 (exp-ITER): Increase iterations.
19622 (pow-ITER): Likewise.
19623 * benchtests/exp-inputs: Change input.
19624 * benchtests/pow-inputs: Likewise.
19625 * benchtests/slowexp-inputs: New file.
19626 * benchtests/slowexp.c: New file.
19627 * benchtests/slowpow-inputs: New file.
19628 * benchtests/slowpow.c: New file.
19630 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19632 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
19634 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19635 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
19636 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19637 * benchtests/Makefile: Add rint benchtest.
19638 * benchtests/rint-inputs: Input for rint benchtest.
19640 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
19642 * Versions.def (libm): Add GLIBC_2.18.
19643 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
19644 hidden libm prototypes.
19645 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
19646 * math/Makefile (libm-calls): Add s_issignaling.
19647 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
19648 __issignalingf, __issignalingl. Adjust all libm.abilist files.
19649 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
19651 * math/math.h [__USE_GNU] (issignaling): New macro.
19652 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
19653 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
19654 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
19655 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
19656 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
19657 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
19658 * manual/arith.texi (issignaling): New section.
19659 * manual/libm-err-tab.pl (@all_functions): Update comment.
19660 * math/gen-libm-test.pl (parse_args): Apply special handling for
19662 * math/libm-test.inc (print_float, issignaling_test): New
19664 (check_float_internal): Add issignaling checks.
19665 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
19666 default definition.
19667 * sysdeps/powerpc/math-tests.h: New file.
19668 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
19670 * math/test-snan.c (TEST_FUNC): Likewise.
19672 2013-03-30 David S. Miller <davem@davemloft.net>
19674 * po/de.po: Update from translation team.
19676 2013-03-30 Joseph Myers <joseph@codesourcery.com>
19679 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19680 imaginary part less than 1.0 and real part less than 0.5
19682 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19683 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19684 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
19685 (cacos_test): Add more tests.
19686 (casin_test): Likewise.
19687 (casinh_test): Likewise.
19688 * sysdeps/i386/fpu/libm-test-ulps: Update.
19689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19691 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19693 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19694 ONE with its value.
19696 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
19697 (__pow_mp): Replace ONE and MONE with their values.
19698 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19699 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
19700 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19701 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
19702 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19703 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19705 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
19707 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
19708 (__pow_mp): Replace ZERO and MZERO with their values.
19709 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19710 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19711 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19712 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19713 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19714 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
19717 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
19719 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
19721 2013-03-28 Roland McGrath <roland@hack.frob.com>
19723 * include/stdlib.h [!SHARED] (__call_tls_dtors):
19724 Declare with __attribute__ ((weak)).
19725 * stdlib/exit.c (__libc_atexit) [!SHARED]:
19726 Call __call_tls_dtors only if it's not NULL.
19728 2013-03-28 Roland McGrath <roland@hack.frob.com>
19730 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
19731 didn't do it already, then set _dl_phdr and _dl_phnum based on the
19732 magic __ehdr_start linker symbol if it's defined.
19733 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
19734 them up here if it was already done.
19736 * elf/dl-support.c (_dl_phdr): Make pointer to const.
19737 (_dl_aux_init): Use const in cast when setting it.
19738 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
19739 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
19740 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
19742 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
19744 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
19745 * csu/libc-tls.c: Nor here.
19746 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
19748 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
19749 (__libc_message): Never call vsyslog.
19751 2013-03-28 Alan Modra <amodra@gmail.com>
19753 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
19755 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
19758 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19761 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
19763 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19765 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19768 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19769 Don't add gid passed as argument.
19771 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
19773 2013-03-27 Joseph Myers <joseph@codesourcery.com>
19776 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19777 imaginary part between 1.0 and 1.5 and real part less than 0.5
19779 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19780 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19781 * math/libm-test.inc (cacos_test): Add more tests.
19782 (casin_test): Likewise.
19783 (casinh_test): Likewise.
19784 * sysdeps/i386/fpu/libm-test-ulps: Update.
19785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19787 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19789 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
19792 (denorm): Likewise.
19793 (__dbl_mp): Likewise.
19794 (add_magnitudes): Likewise.
19795 (sub_magnitudes): Likewise.
19803 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
19805 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
19806 (__dubcos): Likewise.
19807 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
19808 (__ieee754_acos): Likewise.
19809 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19810 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
19811 (__exp1): Likewise.
19812 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19813 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19815 (my_log2): Likewise.
19816 (checkint): Likewise.
19817 * sysdeps/ieee754/dbl-64/e_remainder.c
19818 (__ieee754_remainder): Likewise.
19819 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19820 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19821 (bsloww): Likewise.
19822 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19824 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19825 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
19826 MANTISSA_STORE_T to store computations on mantissa. Use
19827 macros for rounding and division.
19828 (denorm): Likewise.
19829 (__dbl_mp): Likewise.
19830 (add_magnitudes): Likewise.
19831 (sub_magnitudes): Likewise.
19834 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19835 powers of two in terms of TWOPOW macro.
19836 (mp_no): Make type of mantissa as MANTISSA_T.
19837 [!RADIXI]: Define RADIXI.
19838 [!TWO52]: Define TWO52.
19839 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19841 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19843 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
19844 llroundl symbol when building for PPC32.
19846 2013-03-24 Mark H Weaver <mhw@netris.org>
19848 * manual/arith.texi (Normalization Functions): Fix prototypes for
19849 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
19851 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19854 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
19855 high value to check if expl overflow.
19856 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
19857 to check for underflow and overflow.
19858 * math/libm-test.inc: Add exp test.
19860 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
19863 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
19866 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19868 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
19871 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
19873 * math/gen-libm-test.pl (parse_args, special_functions): Properly
19874 wrap blocks consisting of several statements.
19876 * sysdeps/generic/math-tests.h: New file.
19877 * sysdeps/i386/fpu/math-tests.h: Likewise.
19878 * math/test-snan.c: Include it.
19879 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
19881 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19884 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
19885 (__ieee754_j0l): Do not improve calculations using cos of twice
19886 input for inputs above LDBL_MAX / 2.0L.
19887 (__ieee754_y0l): Likewise.
19888 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
19889 (__ieee754_j1l): Do not improve calculations using cos of twice
19890 input for inputs above LDBL_MAX / 2.0L.
19891 (__ieee754_y1l): Likewise.
19892 * math/libm-test.inc (j0_test): Add another test.
19893 (j1_test): Likewise.
19894 (y0_test): Likewise.
19895 (y1_test): Likewise.
19896 * sysdeps/i386/fpu/libm-test-ulps: Update.
19898 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19900 * Rules ($(objpfx)bench-%.c): Include code from a C source
19903 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19906 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19907 imaginary part 1.0 and real part less than 0.5 specially.
19908 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19909 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19910 * math/libm-test.inc (cacos_test): Add more tests.
19911 (casin_test): Likewise.
19912 (casinh_test): Likewise.
19913 * sysdeps/i386/fpu/libm-test-ulps: Update.
19914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19916 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19918 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
19919 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
19921 2013-03-20 Joseph Myers <joseph@codesourcery.com>
19923 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
19924 * config.make.in (config-cflags-sse4): Remove variable.
19925 (config-cflags-avx): Likewise.
19926 (config-cflags-sse2avx): Likewise.
19927 (config-cflags-novzeroupper): Likewise.
19928 (config-asflags-i686): Likewise.
19929 (have-mfma4): Likewise.
19930 (have-as-vis3): Likewise.
19932 * configure.in (MIG): Do not AC_SUBST.
19933 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
19934 (libc_cv_cc_sse4): Do not AC_SUBST.
19935 (libc_cv_cc_avx): Likewise.
19936 (libc_cv_cc_sse2avx): Likewise.
19937 (libc_cv_cc_novzeroupper): Likewise.
19938 (libc_cv_cc_fma4): Likewise.
19939 (libc_cv_as_i686): Likewise.
19940 (libc_cv_sparc_as_vis3): Likewise.
19941 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
19943 (config-asflags-i686): Likewise.
19944 (config-cflags-avx): Likewise.
19945 (config-cflags-sse2avx): Likewise.
19946 (have-mfma4): Likewise.
19947 (config-cflags-novzeroupper): Likewise.
19948 * sysdeps/mach/configure.in (MIG): Likewise.
19949 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
19950 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
19952 (config-cflags-avx): Likewise.
19953 (config-cflags-sse2avx): Likewise.
19954 (have-mfma4): Likewise.
19955 (config-cflags-novzeroupper): Likewise.
19956 * configure: Regenerated.
19957 * sysdeps/i386/configure: Likewise.
19958 * sysdeps/mach/configure: Likewise.
19959 * sysdeps/sparc/configure: Likewise.
19960 * sysdeps/x86_64/configure: Likewise.
19962 2013-03-20 Roland McGrath <roland@hack.frob.com>
19965 * locale/programs/localedef.c (options): Put N_ translation marker
19966 on argument names, not just descriptions.
19968 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19970 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19972 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
19975 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19977 2013-03-19 Roland McGrath <roland@hack.frob.com>
19979 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19980 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19981 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19982 [!BEFORE_ABORT] (before_abort): New function.
19983 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19984 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19985 (writev_for_fatal): New function.
19986 (WRITEV_FOR_FATAL): New macro; call that.
19987 (backtrace_and_maps): New function.
19988 (BEFORE_ABORT): New macro; call that.
19989 (struct str_list): Type removed.
19990 (__libc_message, __libc_fatal): Functions removed.
19991 Include <sysdeps/posix/libc_fatal.c> instead.
19993 2013-03-19 Joseph Myers <joseph@codesourcery.com>
19995 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19997 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20000 2013-03-19 Andreas Schwab <schwab@suse.de>
20002 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20003 * sysdeps/gnu/configure: Regenerate.
20005 * configure.in: Substitute libc_cv_rtlddir.
20006 * configure: Regenerate.
20007 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20008 * Makeconfig (rtlddir, inst_rtlddir): New variables.
20009 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20010 * elf/Makefile (install-others, CFLAGS-interp.c)
20011 (ldso_install, common-ldd-rewrite): Likewise.
20012 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20013 $(inst_slibdir)/$(rtld-installed-name).
20014 * scripts/rellns-sh: Add -p option.
20015 * Makerules (make-shlib-link): Use rellns-sh to get relative name
20018 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20020 * manual/nptl.texi: Renamed to ...
20021 * manual/threads.texi: ... this.
20022 * manual/Makefile (chapters): Update.
20024 2013-03-18 Roland McGrath <roland@hack.frob.com>
20027 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20028 on argument names, not just descriptions.
20029 * malloc/memusagestat.c (options): Likewise.
20030 * nss/getent.c (options): Likewise.
20032 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
20035 * iconv/iconv_prog.c (options): Put N_ translation marker
20036 on argument names, not just descriptions.
20037 * iconv/iconvconfig.c (options): Likewise.
20039 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
20041 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20042 implementation which is faster on all x86_64 architectures.
20043 Tested on AMD, Intel Nehalem, SNB, IVB.
20044 * sysdeps/x86_64/strnlen.S: Likewise.
20046 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20047 Remove all multiarch strlen and strnlen versions.
20048 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20049 Remove strlen and strnlen related parts.
20051 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20052 Inline strlen part.
20053 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20055 * sysdeps/x86_64/multiarch/strlen.S: Remove.
20056 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20057 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20058 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20059 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20060 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20062 2013-03-17 Carlos O'Donell <carlos@redhat.com>
20064 * manual/memory.texi (Malloc Tunable Parameters):
20065 Sort parameters alphabetically. Add comments for missing entries.
20067 2013-03-17 David S. Miller <davem@davemloft.net>
20069 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20071 2013-03-16 Joseph Myers <joseph@codesourcery.com>
20074 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20075 for arguments at most half maximum finite value.
20076 * math/libm-test.inc (j0_test): Add more tests.
20077 (j1_test): Likewise.
20078 (y0_test): Likewise.
20079 (y1_test): Likewise.
20080 * sysdeps/i386/fpu/libm-test-ulps: Update.
20081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20084 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20085 1 / x and functions P and Q for arguments above 0x1p256L.
20086 (__ieee754_y0l): Likewise.
20087 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20088 (__ieee754_y1l): Likewise.
20089 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20090 (j1_test): Likewise.
20091 (y0_test): Likewise.
20092 (y1_test): Likewise.
20094 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
20096 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20099 2013-03-15 Roland McGrath <roland@hack.frob.com>
20101 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20102 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20103 zero since it's initialized to EXEC_PAGESIZE.
20105 * sysdeps/unix/sysv/linux/ldsodefs.h
20106 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20107 * sysdeps/generic/ldsodefs.h: ... here.
20109 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
20111 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20113 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20115 * math/test-snan.c: Renamed from
20116 sysdeps/powerpc/fpu/test-powerpc-snan.c.
20117 * math/Makefile (tests): Add test-snan.
20118 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20121 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20122 SUFFIX. Initialize qNaN_var with __builtin_nan family of
20124 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
20125 __builtin_nan family of functions.
20126 * math/libm-test.inc (initialize): Initialize qnan_value with
20127 __builtin_nan family of functions.
20128 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
20130 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
20132 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
20133 storage class. Initialize qNaN_var and sNaN_var with
20134 __builtin_nan and __builtin_nans families of functions,
20137 * math/libm-test.inc (acosh_test): Also test with qNaN input.
20138 (sqrt_test): Remove duplicate test with qNaN input.
20139 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
20140 (round_test, signbit_test, significand_test): Note missing +/-Inf
20141 as well as qNaN tests.
20143 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
20144 qNaN_var. Fix a few strings, too.
20145 * math/libm-test.inc (nan_value): Rename to qnan_value.
20146 * math/gen-libm-test.pl (%beautify): Adjust to that.
20147 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
20148 * math/test-misc.c (main): Likewise.
20149 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
20150 to __qnan_bytes, and __qnan_union, respectively.
20151 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
20153 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
20154 and lqnanval, respectively.
20155 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
20156 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
20157 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
20158 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
20160 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
20161 * math/test-misc.c (main) [__x86_64__]: Enable test for long
20164 * math/test-misc.c (main): Fix copy'n'pastos.
20165 * misc/tst-efgcvt.c (special): Likewise.
20167 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
20168 Remove declarations.
20170 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20172 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
20173 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
20174 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
20175 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
20177 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20179 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
20180 macro to return vdso values correctly in IFUNC implementations.
20181 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20182 Optimization by using IFUNC.
20184 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20185 Richard Henderson <rth@redhat.com>
20186 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20188 * Makefile.in (bench): New target.
20189 * NEWS: Mention the benchmark framework.
20190 * Rules (bench): Likewise.
20191 (binaries-bench): Generate binaries for functions to
20193 * benchtests/Makefile: New makefile for benchmark tests.
20194 * benchtests/bench-skeleton.c: New skeleton file for benchmark
20196 * benchtests/exp-inputs: New input file for EXP function.
20197 * benchtests/pow-inputs: New input file for POW function.
20198 * scripts/bench.pl: New script to generate source files for
20199 benchmark programs.
20201 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20203 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20204 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
20205 computations on mantissa. Use macros for rounding and
20207 (denorm): Likewise.
20208 (__dbl_mp): Likewise.
20209 (add_magnitudes): Likewise.
20210 (sub_magnitudes): Likewise.
20213 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20214 powers of two in terms of TWOPOW macro.
20215 (mp_no): Make type of mantissa as MANTISSA_T.
20216 [!RADIXI]: Define RADIXI.
20217 [!TWO52]: Define TWO52.
20218 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20220 * manual/nptl.texi (cindex): Modify threads to pthreads.
20222 2013-03-15 Joseph Myers <joseph@codesourcery.com>
20224 * sysdeps/x86_64/preconfigure: Regenerated.
20226 2013-03-14 Joseph Myers <joseph@codesourcery.com>
20229 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
20231 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
20232 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
20234 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
20235 * math/libm-test.inc (j0_test): Do not allow one spurious
20236 underflow exception.
20237 (y1_test): Likewise.
20239 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20241 * manual/Makefile (chapters): Add nptl.
20242 * manual/debug.texi (Debugging Support): Add link to Threads
20244 * manual/nptl.texi: New file.
20246 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
20248 2013-03-14 Petr Baudis <pasky@ucw.cz>
20250 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
20251 for non-NULL pointer before the memory validity test. Pointed
20252 out by Holger Brunck <holger.brunck@keymile.com>.
20254 2013-03-13 Andreas Schwab <schwab@suse.de>
20256 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
20259 2013-03-13 Joseph Myers <joseph@codesourcery.com>
20261 * timezone/zic.c: Update from tzcode 2013b.
20263 2013-03-12 Carlos O'Donell <carlos@redhat.com>
20265 * manual/install.texi (Configuring and compiling):
20266 Mention i686 and i586.
20267 * INSTALL: Regenerate.
20269 2013-03-12 Roland McGrath <roland@hack.frob.com>
20271 * sysdeps/init_array/elf-init.c: New file.
20273 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
20274 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
20276 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
20277 __gmon_start__ as global, but as static with a .preinit_array pointer.
20278 * sysdeps/init_array/gmon-start.c: New file. Use that.
20279 * sysdeps/init_array/crti.S: New file, empty except for comments.
20280 * sysdeps/init_array/crtn.S: Likewise.
20282 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
20284 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
20286 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20287 Remove Prefer_SSE_for_memop.
20288 * sysdeps/x86_64/multiarch/init-arch.h: Remove
20289 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
20290 HAS_PREFER_SSE_FOR_MEMOP.
20291 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20293 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20294 Remove bzero, memset ifunc support.
20295 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
20296 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
20297 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20298 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20300 2013-03-11 Andreas Schwab <schwab@suse.de>
20303 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
20305 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
20306 (GLIBC_2.16): Remove pthread_atfork.
20308 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
20310 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
20311 (ptestcases.h): Likewise.
20313 2013-03-08 Roland McGrath <roland@hack.frob.com>
20315 * Makeconfig ($(common-objpfx)config.status): Depend on
20316 sysdeps/*/preconfigure{,.in} too.
20318 2013-03-08 Joseph Myers <joseph@codesourcery.com>
20320 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
20321 (__free_hook): Use void * instead of __malloc_ptr_t.
20322 (__malloc_hook): Likewise.
20323 (__realloc_hook): Likewise.
20324 (__memalign_hook): Likewise.
20325 (__after_morecore_hook): Likewise.
20326 * malloc/arena.c (save_malloc_hook): Likewise.
20327 (save_free_hook): Likewise.
20328 * malloc/hooks.c (malloc_hook_ini): Likewise.
20329 (realloc_hook_ini): Likewise.
20330 (memalign_hook_ini): Likewise.
20331 * malloc/malloc.c (malloc_hook_ini): Likewise.
20332 (realloc_hook_ini): Likewise.
20333 (memalign_hook_ini): Likewise.
20334 (__free_hook): Likewise.
20335 (__malloc_hook): Likewise.
20336 (__realloc_hook): Likewise.
20337 (__memalign_hook): Likewise.
20338 (__libc_malloc): Likewise.
20339 (__libc_free): Likewise.
20340 (__libc_realloc): Likewise.
20341 (__libc_memalign): Likewise.
20342 (__libc_valloc): Likewise.
20343 (__libc_pvalloc): Likewise.
20344 (__libc_calloc): Likewise.
20345 (__posix_memalign): Likewise.
20346 * malloc/morecore.c (__sbrk): Likewise.
20347 (__default_morecore): Likewise.
20349 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
20351 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
20352 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
20353 __malloc_ptrdiff_t.
20355 * malloc/malloc.h (__malloc_size_t): Remove macro.
20356 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
20358 (old_memalign_hook): Likewise.
20359 (old_realloc_hook): Likewise.
20360 (struct hdr): Likewise.
20362 (mallochook): Likewise.
20363 (memalignhook): Likewise.
20364 (reallochook): Likewise.
20365 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
20366 (tr_old_realloc_hook): Likewise.
20367 (tr_old_memalign_hook): Likewise.
20368 (tr_mallochook): Likewise.
20369 (tr_reallochook): Likewise.
20370 (tr_memalignhook): Likewise.
20372 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20374 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
20375 default_ldbl_pack and using as default implementation.
20376 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
20378 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
20379 redundant definition.
20380 (ldbl_insert_mantissa): Likewise.
20381 (ldbl_canonicalize): Likewise.
20382 (ldbl_nearbyint): Likewise.
20383 (ldbl_pack): Rename to ldbl_pack_ppc.
20384 (ldbl_unpack): Rename to ldbl_unpack_ppc.
20385 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
20386 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
20388 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20390 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
20391 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
20392 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
20393 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
20394 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
20395 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
20396 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
20397 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
20399 2013-03-07 Andreas Jaeger <aj@suse.de>
20401 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20404 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20406 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
20407 Include mpa.h and declare __MPEXP.
20408 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
20409 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20410 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20411 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
20412 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20413 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20414 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
20416 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
20417 (__slowpow): Use long double EXPL and LOGL functions to
20419 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20420 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20421 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
20422 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20423 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20424 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
20426 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
20427 intermediate variable to calculate exponent.
20429 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20433 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
20434 [!NO__SQR]: Define __sqr.
20435 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
20436 and NO__SQR. Remove all code except __mul and __sqr. Include
20437 sysdeps/ieee754/dbl-64/mpa.c.
20438 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20441 * posix/Makefile (tests): Add tst-pathconf.
20442 * posix/tst-pathconf.c: New test case.
20443 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
20445 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
20447 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
20449 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
20451 2013-03-06 Andreas Jaeger <aj@suse.de>
20453 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
20454 definition via __MAP_ANONYMOUS.
20456 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20457 it's not part of Linux headers.
20459 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20460 (MAP_HUGE_MASK): Define.
20462 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20464 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20465 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20467 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20468 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20470 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20471 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20473 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20475 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20476 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20477 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20478 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20479 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20480 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20482 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20485 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20486 Handle f2fs and efivarfs.
20488 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20491 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20492 (EFIVARFS_MAGIC): Add.
20493 (F2FS_LINK_MAX): Add.
20495 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20497 * stdio-common/vfprintf.c: Replace __builtin_expect with
20500 2013-03-06 Joseph Myers <joseph@codesourcery.com>
20503 * sysdeps/generic/bp-sym.h: Remove file.
20504 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20505 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20506 <bp-sym.h> and <bp-asm.h>.
20507 (__longjmp): Don't use BP_SYM.
20508 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20510 (memcpy): Don't use BP_SYM.
20511 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20512 <bp-sym.h> and <bp-asm.h>.
20513 (memcpy): Don't use BP_SYM.
20514 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20516 (memcpy): Don't use BP_SYM.
20517 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20519 (memset): Don't use BP_SYM.
20520 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20521 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20522 (__bzero): Don't use BP_SYM.
20523 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20524 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20525 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20526 <bp-sym.h> and <bp-asm.h>.
20527 (memcmp): Don't use BP_SYM. Remove comment about bounded
20529 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20530 <bp-sym.h> and <bp-asm.h>.
20531 (memcpy): Don't use BP_SYM.
20532 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20533 <bp-sym.h> and <bp-asm.h>.
20534 (memset): Don't use BP_SYM.
20535 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20536 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20537 (__bzero): Don't use BP_SYM.
20538 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20539 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20540 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20541 <bp-sym.h> and <bp-asm.h>.
20542 (strncmp): Don't use BP_SYM. Remove comment about bounded
20544 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20545 <bp-sym.h> and <bp-asm.h>.
20546 (memcpy): Don't use BP_SYM.
20547 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20548 <bp-sym.h> and <bp-asm.h>.
20549 (memset): Don't use BP_SYM.
20550 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20551 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20552 (__bzero): Don't use BP_SYM.
20553 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20554 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20555 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20556 <bp-sym.h> and <bp-asm.h>.
20557 (__memchr): Don't use BP_SYM.
20558 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20559 <bp-sym.h> and <bp-asm.h>.
20560 (memcmp): Don't use BP_SYM. Remove comment about bounded
20562 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20563 <bp-sym.h> and <bp-asm.h>.
20564 (memcpy): Don't use BP_SYM.
20565 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20566 <bp-sym.h> and <bp-asm.h>.
20567 (__mempcpy): Don't use BP_SYM.
20568 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20569 <bp-sym.h> and <bp-asm.h>.
20570 (__memrchr): Don't use BP_SYM.
20571 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20572 <bp-sym.h> and <bp-asm.h>.
20573 (memset): Don't use BP_SYM.
20574 (__bzero): Likewise.
20575 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20576 <bp-sym.h> and <bp-asm.h>.
20577 (__rawmemchr): Don't use BP_SYM.
20578 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20579 <bp-sym.h> and <bp-asm.h>.
20580 (__STRCMP): Don't use BP_SYM.
20581 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20582 <bp-sym.h> and <bp-asm.h>.
20583 (strchr): Don't use BP_SYM.
20584 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20585 <bp-sym.h> and <bp-asm.h>.
20586 (__strchrnul): Don't use BP_SYM.
20587 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20588 <bp-sym.h> and <bp-asm.h>.
20589 (strlen): Don't use BP_SYM.
20590 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20591 <bp-sym.h> and <bp-asm.h>.
20592 (strncmp): Don't use BP_SYM. Remove comment about bounded
20594 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20595 <bp-sym.h> and <bp-asm.h>.
20596 (__strnlen): Don't use BP_SYM.
20597 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20598 <bp-sym.h> and <bp-asm.h>.
20599 (__GI__setjmp): Don't use BP_SYM.
20600 (_setjmp): Likewise.
20601 (__sigsetjmp): Likewise.
20602 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20603 (L(start_addresses)): Don't use BP_SYM.
20604 (_start): Likewise.
20605 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20607 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20608 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20609 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20610 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20611 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20613 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20614 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
20615 about bounded pointers.
20616 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20617 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20618 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20620 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20621 about bounded pointers. Remove GKM FIXME comments.
20622 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20623 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20625 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20626 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
20627 Remove GKM FIXME comments.
20628 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20629 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20630 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20632 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20633 about bounded pointers. Remove GKM FIXME comment.
20634 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
20636 (strncmp): Don't use BP_SYM. Remove comment about bounded
20638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
20639 <bp-sym.h> and <bp-asm.h>.
20640 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
20642 <bp-sym.h> and <bp-asm.h>.
20643 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20646 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20648 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
20651 2013-03-05 David S. Miller <davem@davemloft.net>
20653 * po/es.po: Update from translation team.
20655 2013-03-05 Andreas Jaeger <aj@suse.de>
20657 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
20658 <bits/mman-linux.h>.
20659 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20661 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
20662 <bits/mman-linux.h> to end of file.
20663 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20665 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
20666 <bits/mman-linux.h> to end of file.
20667 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20669 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
20670 <bits/mman-linux.h> to end of file.
20672 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
20673 (MCL_CURRENT, MCL_FUTURE): Define here.
20675 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20678 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
20680 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20682 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20684 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
20685 fourth parameter needed for rt_sigprocmask syscall.
20686 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20687 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20688 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20689 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20690 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20691 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
20693 2013-03-04 Joseph Myers <joseph@codesourcery.com>
20696 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
20697 comment about bounded pointers.
20698 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
20699 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
20701 2013-03-04 Andreas Jaeger <aj@suse.de>
20703 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
20704 common definitions.
20706 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
20707 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
20708 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
20709 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20710 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20711 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20713 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20716 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20717 __ieee754_sqrl instead of __sqrl.
20719 2013-03-01 Joseph Myers <joseph@codesourcery.com>
20721 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
20722 * sysdeps/powerpc/fpu_control.h: ... here.
20723 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
20724 * sysdeps/powerpc/bits/fenvinline.h: ... here.
20725 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
20726 * sysdeps/powerpc/bits/mathinline.h: ... here.
20728 2013-03-01 Roland McGrath <roland@hack.frob.com>
20730 * elf/dl-hwcaps.c (_dl_important_hwcaps):
20731 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
20732 to just [NEED_DL_SYSINFO_DSO].
20733 * elf/dl-support.c: Likewise.
20734 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20735 * elf/rtld.c (dl_main): Likewise.
20736 * elf/setup-vdso.h (setup_vdso): Likewise.
20737 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
20738 * sysdeps/unix/sysv/linux/dl-sysdep.c
20739 (_dl_discover_osversion): Likewise.
20741 2013-03-01 Carlos O'Donell <carlos@redhat.com>
20743 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
20744 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20746 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
20748 * NEWS: Mention libm performance improvements and non-x86 PI
20751 * csu/libc-start.c (__pthread_initialize_minimal): Change
20752 function arguments.
20753 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20755 2013-02-28 Joseph Myers <joseph@codesourcery.com>
20758 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
20759 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
20760 <bp-sym.h> and <bp-asm.h>.
20761 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20762 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
20764 (memcpy): Don't use BP_SYM.
20765 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
20767 (__mpn_add_n): Don't use BP_SYM.
20768 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
20769 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
20771 (__mpn_addmul_1): Don't use BP_SYM.
20772 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20773 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
20775 (_setjmp): Don't use BP_SYM.
20776 (__novmx_setjmp): Likewise.
20777 (__GI__setjmp): Likewise.
20778 (__vmx_setjmp): Likewise.
20779 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
20781 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
20782 (__bzero): Don't use BP_SYM.
20783 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20784 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20785 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
20786 <bp-sym.h> and <bp-asm.h>.
20787 (memcpy): Don't use BP_SYM.
20788 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
20789 <bp-sym.h> and <bp-asm.h>.
20790 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20791 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
20792 <bp-sym.h> and <bp-asm.h>.
20793 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20794 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
20796 (__mpn_lshift): Don't use BP_SYM.
20797 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20798 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
20800 (memset): Don't use BP_SYM.
20801 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20802 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20803 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
20805 (__mpn_mul_1): Don't use BP_SYM.
20806 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20807 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
20808 <bp-sym.h> and <bp-asm.h>.
20809 (memcmp): Don't use BP_SYM.
20810 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
20811 <bp-sym.h> and <bp-asm.h>.
20812 (memcpy): Don't use BP_SYM.
20813 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
20814 <bp-sym.h> and <bp-asm.h>.
20815 (memset): Don't use BP_SYM.
20816 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
20817 <bp-sym.h> and <bp-asm.h>.
20818 (strncmp): Don't use BP_SYM.
20819 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
20820 <bp-sym.h> and <bp-asm.h>.
20821 (memcpy): Don't use BP_SYM.
20822 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
20823 <bp-sym.h> and <bp-asm.h>.
20824 (memset): Don't use BP_SYM.
20825 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
20826 <bp-sym.h> and <bp-asm.h>.
20827 (__memchr): Don't use BP_SYM.
20828 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
20829 <bp-sym.h> and <bp-asm.h>.
20830 (memcmp): Don't use BP_SYM.
20831 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
20832 <bp-sym.h> and <bp-asm.h>.
20833 (memcpy): Don't use BP_SYM.
20834 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
20835 <bp-sym.h> and <bp-asm.h>.
20836 (__mempcpy): Don't use BP_SYM.
20837 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
20838 <bp-sym.h> and <bp-asm.h>.
20839 (__memrchr): Don't use BP_SYM.
20840 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
20841 <bp-sym.h> and <bp-asm.h>.
20842 (memset): Don't use BP_SYM.
20843 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
20844 <bp-sym.h> and <bp-asm.h>.
20845 (__rawmemchr): Don't use BP_SYM.
20846 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
20847 <bp-sym.h> and <bp-asm.h>.
20848 (__STRCMP): Don't use BP_SYM.
20849 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
20850 <bp-sym.h> and <bp-asm.h>.
20851 (strchr): Don't use BP_SYM.
20852 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
20853 <bp-sym.h> and <bp-asm.h>.
20854 (__strchrnul): Don't use BP_SYM.
20855 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
20856 <bp-sym.h> and <bp-asm.h>.
20857 (strlen): Don't use BP_SYM.
20858 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
20859 <bp-sym.h> and <bp-asm.h>.
20860 (strncmp): Don't use BP_SYM.
20861 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
20862 <bp-sym.h> and <bp-asm.h>.
20863 (__strnlen): Don't use BP_SYM.
20864 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
20866 (__mpn_rshift): Don't use BP_SYM.
20867 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20868 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
20869 <bp-sym.h> and <bp-asm.h>.
20870 (__sigsetjmp): Don't use BP_SYM.
20871 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
20872 (L(start_addresses)): Don't use BP_SYM.
20873 (_start): Likewise.
20874 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
20876 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
20877 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20878 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20879 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
20881 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
20882 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20883 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20884 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
20886 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20888 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20889 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
20891 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
20893 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20894 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20895 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
20897 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20899 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
20901 (strncmp): Don't use BP_SYM,
20902 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
20904 (__mpn_sub_n): Don't use BP_SYM.
20905 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20906 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
20908 (__mpn_submul_1): Don't use BP_SYM.
20909 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
20911 <bp-sym.h> and <bp-asm.h>.
20912 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
20914 <bp-sym.h> and <bp-asm.h>.
20915 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20918 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20920 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
20921 Use ZK to minimize writes to Z.
20922 (sub_magnitudes): Simplify code a bit.
20923 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
20924 Use ZK to minimize writes to Z.
20925 (sub_magnitudes): Simplify code a bit.
20927 2013-02-27 Roland McGrath <roland@hack.frob.com>
20929 * csu/gmon-start.c: Add special exception to license text.
20931 2013-02-27 Richard Henderson <rth@redhat.com>
20933 * scripts/config.guess: Update from config.git.
20934 * scripts/config.sub: Likewise.
20936 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20938 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
20940 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
20942 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
20944 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
20946 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
20948 2013-02-26 Roland McGrath <roland@hack.frob.com>
20950 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
20951 [$(build-shared = yes].
20953 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20955 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
20956 (__mul): Reduce iterations for calculating mantissa.
20958 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
20960 (__mpranred): Likewise.
20963 * malloc/memusagestat.c (main): Draw graphs for heap and stack
20964 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20966 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
20968 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
20969 Define __attribute__.
20971 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20973 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20975 * posix/regex_internal.h (__attribute): Remove.
20976 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20977 (re_string_context_at): Likewise.
20978 (bitset_not): Use __attribute__ and mark function as possibly
20980 (bitset_merge): Likewise.
20981 (bitset_mask): Likewise.
20982 (re_string_char_size_at): Likewise.
20983 (re_string_wchar_at): Likewise.
20984 (re_string_elem_size_at): Likewise.
20986 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20988 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
20992 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20996 (denorm): Likewise.
20997 (__dbl_mp): Likewise.
20998 (add_magnitudes): Likewise.
20999 (sub_magnitudes): Likewise.
21003 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21006 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21009 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21012 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21013 up changes with default code.
21014 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21017 2013-02-24 Allan McRae <allan@archlinux.org>
21019 * manual/socket.texi (The Internet Namespace): Order menu items
21020 to match that in the file.
21022 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21023 node listing of the info page menu.
21025 2013-02-21 Joseph Myers <joseph@codesourcery.com>
21028 * sysdeps/i386/bp-asm.h: Remove file.
21029 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21030 (PARMS): Do not use macros from bp-asm.h.
21034 (__mpn_add_n): Do not use BP_SYM
21035 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21037 (PARMS): Do not use macros from bp-asm.h.
21040 (__mpn_addmul_1): Do not use BP_SYM
21041 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21043 (PARMS): Do not use macros from bp-asm.h.
21044 (SIGMSK): Likewise.
21045 (_setjmp): Likewise. Do not use BP_SYM.
21046 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21048 (PARMS): Do not use macros from bp-asm.h.
21049 (SIGMSK): Likewise.
21050 (setjmp): Likewise. Do not use BP_SYM.
21051 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21053 (PARMS): Do not use macros from bp-asm.h.
21054 (__frexp): Do not use BP_SYM.
21056 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21058 (PARMS): Do not use macros from bp-asm.h.
21059 (__frexpf): Do not use BP_SYM.
21060 (frexpf): Likewise.
21061 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21063 (PARMS): Do not use macros from bp-asm.h.
21064 (__frexpl): Do not use BP_SYM.
21065 (frexpl): Likewise.
21066 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21068 (PARMS): Do not use macros from bp-asm.h.
21069 (__remquo): Do not use BP_SYM.
21070 (remquo): Likewise.
21071 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21073 (PARMS): Do not use macros from bp-asm.h.
21074 (__remquof): Do not use BP_SYM.
21075 (remquof): Likewise.
21076 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21078 (PARMS): Do not use macros from bp-asm.h.
21079 (__remquol): Do not use BP_SYM.
21080 (remquol): Likewise.
21081 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21083 (PARMS): Do not use macros from bp-asm.h.
21086 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
21087 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21089 (PARMS): Do not use macros from bp-asm.h.
21090 (strlen): Do not use BP_SYM.
21091 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21093 (PARMS): Do not use macros from bp-asm.h.
21097 (__mpn_add_n): Do not use BP_SYM.
21098 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21100 (PARMS): Do not use macros from bp-asm.h.
21103 (__mpn_addmul_1): Do not use BP_SYM.
21104 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21107 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21109 (PARMS): Do not use macros from bp-asm.h.
21112 (__mpn_lshift): Do not use BP_SYM.
21113 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21115 (PARMS): Do not use macros from bp-asm.h.
21119 (memcpy): Likewise. Do not use BP_SYM.
21120 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21121 libc_hidden_def and weak_alias.
21122 (mempcpy): Do not use BP_SYM in weak_alias.
21123 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
21125 (PARMS): Do not use macros from bp-asm.h.
21128 [!BZERO_P] (CHR): Likewise.
21129 (memset): Likewise. Do not use BP_SYM.
21130 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
21132 (PARMS): Do not use macros from bp-asm.h.
21135 (__mpn_mul_1): Do not use BP_SYM.
21136 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
21138 (PARMS): Do not use macros from bp-asm.h.
21141 (__mpn_rshift): Do not use BP_SYM.
21142 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
21144 (PARMS): Do not use macros from bp-asm.h.
21147 (strchr): Likewise. Do not use BP_SYM.
21148 (index): Do not use BP_SYM in weak_alias.
21149 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
21151 (PARMS): Do not use macros from bp-asm.h.
21154 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
21155 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
21157 (PARMS): Do not use macros from bp-asm.h.
21158 (strlen): Do not use BP_SYM.
21159 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
21161 (PARMS): Do not use macros from bp-asm.h.
21165 (__mpn_sub_n): Do not use BP_SYM.
21166 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
21168 (PARMS): Do not use macros from bp-asm.h.
21171 (__mpn_submul_1): Do not use BP_SYM.
21172 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
21174 (PARMS): Do not use macros from bp-asm.h.
21178 (__mpn_add_n): Do not use BP_SYM.
21179 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
21182 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
21184 (PARMS): Do not use macros from bp-asm.h.
21187 (memcmp): Do not use BP_SYM.
21188 (bcmp): Do not use BP_SYM in weak_alias.
21189 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
21191 (PARMS): Do not use macros from bp-asm.h.
21195 (memcpy): Likewise. Do not use BP_SYM.
21196 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
21198 (PARMS): Do not use macros from bp-asm.h.
21202 (memmove): Likewise. Do not use BP_SYM.
21203 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
21205 (PARMS): Do not use macros from bp-asm.h.
21209 (__mempcpy): Likewise. Do not use BP_SYM.
21210 (mempcpy): Do not use BP_SYM in weak_alias.
21211 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
21213 (PARMS): Do not use macros from bp-asm.h.
21216 [!BZERO_P] (CHR): Likewise.
21217 (memset): Likewise. Do not use BP_SYM.
21218 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
21220 (PARMS): Do not use macros from bp-asm.h.
21222 (strcmp): Do not use BP_SYM.
21223 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
21225 (PARMS): Do not use macros from bp-asm.h.
21228 [USE_AS_STRTOK_R] (SAVE): Likewise.
21229 (FUNCTION): Likewise. Do not use BP_SYM.
21230 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
21232 (strtok_r): Likewise.
21233 (__GI___strtok_r): Likewise.
21234 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21235 (PARMS): Do not use macros from bp-asm.h.
21238 (__mpn_lshift): Do not use BP_SYM.
21239 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21240 (PARMS): Do not use macros from bp-asm.h.
21243 (__memchr): Do not use BP_SYM.
21244 (memchr): Do not use BP_SYM in weak_alias.
21245 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21246 (PARMS): Do not use macros from bp-asm.h.
21249 (memcmp): Do not use BP_SYM.
21250 (bcmp): Do not use BP_SYM in weak_alias.
21251 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
21252 (PARMS): Do not use macros from bp-asm.h.
21255 (__mpn_mul_1): Do not use BP_SYM.
21256 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
21258 (PARMS): Do not use macros from bp-asm.h.
21261 (__rawmemchr): Do not use BP_SYM.
21262 (rawmemchr): Do not use BP_SYM in weak_alias.
21263 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21264 (PARMS): Do not use macros from bp-asm.h.
21267 (__mpn_rshift): Do not use BP_SYM.
21268 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21269 (PARMS): Do not use macros from bp-asm.h.
21270 (SIGMSK): Likewise.
21271 (__sigsetjmp): Likewise. Do not use BP_SYM.
21272 * sysdeps/i386/start.S: Do not include "bp-sym.h".
21273 (_start): Do not use BP_SYM.
21274 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
21275 (PARMS): Do not use macros from bp-asm.h.
21278 (__stpcpy): Likewise. Do not use BP_SYM.
21279 (stpcpy): Do not use BP_SYM in weak_alias.
21280 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
21282 (PARMS): Do not use macros from bp-asm.h.
21286 (__stpncpy): Likewise. Do not use BP_SYM.
21287 (stpncpy): Do not use BP_SYM in weak_alias.
21288 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21289 (PARMS): Do not use macros from bp-asm.h.
21292 (strchr): Likewise. Do not use BP_SYM.
21293 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
21295 (PARMS): Do not use macros from bp-asm.h.
21298 (__strchrnul): Likewise. Do not use BP_SYM.
21299 (strchrnul): Do not use BP_SYM in weak_alias.
21300 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
21302 (PARMS): Do not use macros from bp-asm.h.
21304 (strcspn): Do not use BP_SYM.
21305 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
21307 (PARMS): Do not use macros from bp-asm.h.
21310 (strpbrk): Likewise. Do not use BP_SYM.
21311 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
21313 (PARMS): Do not use macros from bp-asm.h.
21316 (strrchr): Likewise. Do not use BP_SYM.
21317 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
21318 (PARMS): Do not use macros from bp-asm.h.
21320 (strspn): Do not use BP_SYM.
21321 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
21322 (PARMS): Do not use macros from bp-asm.h.
21326 (FUNCTION): Likewise. Do not use BP_SYM.
21327 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
21329 (strtok_r): Likewise.
21330 (__GI___strtok_r): Likewise.
21331 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21332 (PARMS): Do not use macros from bp-asm.h.
21336 (__mpn_sub_n): Do not use BP_SYM.
21337 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
21339 (PARMS): Do not use macros from bp-asm.h.
21342 (__mpn_submul_1): Do not use BP_SYM.
21343 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
21345 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
21347 (PARMS): Do not use macros from bp-asm.h.
21352 (__clone): Do not use BP_SYM.
21353 (clone): Do not use BP_SYM in weak_alias.
21354 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
21356 (PARMS): Do not use macros from bp-asm.h.
21358 (__mmap64): Do not use BP_SYM.
21359 (mmap64): Do not use BP_SYM in weak_alias.
21360 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21361 <bp-sym.h> and <bp-asm.h>.
21362 (PARMS): Do not use macros from bp-asm.h.
21363 (__posix_fadvise64_l64): Do not use BP_SYM.
21364 * sysdeps/unix/sysv/linux/i386/semtimedop.S
21365 (PARMS): Do not use macros from bp-asm.h.
21367 (semtimedop): Do not use BP_SYM.
21368 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
21371 2013-02-21 Allan McRae <allan@archlinux.org>
21373 * manual/message.texi (Charset conversion in gettext):
21374 Move @end statement to beginning of line.
21376 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21378 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
21380 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21383 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
21384 (denorm): Likewise.
21385 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
21386 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
21388 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21390 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
21391 tail-call to the resolved function if pltexit isn't needed.
21393 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21395 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
21396 or Y being zero as being unlikely.
21397 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21400 2013-02-20 Carlos O'Donell <carlos@redhat.com>
21402 * manual/nss.texi (System Databases and Name Service Switch):
21403 Remove frobnicate @pxref.
21405 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21407 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21408 __attribute__ ((unused)) to __attribute__ ((__unused__)).
21410 2013-02-20 Petr Machata <pmachata@redhat.com>
21412 * elf/elf.h (R_ARM_TARGET1): New macro.
21413 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
21414 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
21415 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
21416 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
21417 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
21418 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
21419 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
21420 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
21421 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
21422 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
21423 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
21424 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
21425 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
21426 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
21427 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
21428 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
21429 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
21430 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
21431 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
21432 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
21433 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
21434 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
21435 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
21436 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
21437 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
21438 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
21439 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
21440 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
21441 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
21442 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
21443 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
21444 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
21445 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
21446 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
21447 (R_ARM_THM_GOT_BREL12): Likewise.
21448 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
21449 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
21450 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
21451 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
21452 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
21453 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
21454 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
21455 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21456 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21458 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21460 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21461 __attribute_used__ to __attribute__ ((unused)).
21463 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21465 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21467 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21468 comment formatting.
21469 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21471 2013-02-19 Joseph Myers <joseph@codesourcery.com>
21474 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21476 (ENTER): Remove both macro definitions.
21478 (CHECK_BOUNDS_LOW): Likewise.
21479 (CHECK_BOUNDS_HIGH): Likewise.
21480 (CHECK_BOUNDS_BOTH): Likewise.
21481 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21482 (RETURN_BOUNDED_POINTER): Likewise.
21483 (RETURN_NULL_BOUNDED_POINTER): Likewise.
21484 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21485 (POP_ERRNO_LOCATION_RETURN): Likewise.
21486 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21487 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21488 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21490 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21491 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21492 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21493 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21494 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21495 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21496 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21497 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21498 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21499 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21500 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21501 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21502 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21503 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21505 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21506 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21508 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21509 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21510 * sysdeps/i386/i586/memset.S (memset): Likewise.
21511 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21512 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21513 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21515 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21516 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21517 Change uses of L(2) to L(out).
21518 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21519 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21520 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21521 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21522 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21524 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21525 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21527 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21528 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21529 (RETURN): Do not use macro LEAVE.
21530 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21531 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21532 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21533 * sysdeps/i386/i686/memset.S (memset): Likewise.
21534 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21535 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21536 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21537 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21539 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21540 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
21541 L(1_2) and L(1_3) into L(1).
21542 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21543 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21544 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21545 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21546 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21547 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21548 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21549 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21550 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21552 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21553 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21554 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21555 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21556 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21557 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21558 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21559 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21560 * sysdeps/i386/strcspn.S (strcspn): Likewise.
21561 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21562 * sysdeps/i386/strrchr.S (strrchr): Likewise.
21563 * sysdeps/i386/strspn.S (strspn): Likewise.
21564 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21566 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21567 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21568 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21569 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
21570 L(1_3) into L(1_1).
21571 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21572 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21573 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21575 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21577 2013-02-19 Jakub Jelinek <jakub@redhat.com>
21579 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21582 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21584 * math/atest-exp.c (exp_mpn): Remove ROUND.
21585 * math/atest-exp2.c (exp_mpn): Likewise.
21586 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21588 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21589 * stdlib/tst-tls-atexit-lib.c: Likewise.
21590 * stdlib/tst-tls-atexit.c: Likewise.
21592 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21594 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21595 and __attribute_alloc_size__.
21597 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21599 * include/programs/xmalloc.h: Change __attribute_alloc_size to
21600 __attribute_alloc_size__.
21601 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21602 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21604 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21606 * include/programs/xmalloc.h: New file.
21607 * catgets/gencat.c: Include it.
21608 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21609 * elf/pldd.c: Likewise.
21610 * iconv/iconv_charmap.c: Likewise.
21611 * iconv/iconvconfig.c: Likewise.
21612 * iconv/strtab.c: Likewise.
21613 * locale/programs/locale.c: Likewise.
21614 * locale/programs/localedef.h: Likewise.
21615 * locale/programs/simple-hash.c: Likewise.
21616 * nscd/nscd.h: Likewise.
21617 * nss/makedb.c: Likewise.
21618 * sysdeps/generic/ldconfig.h: Likewise.
21620 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21622 * Versions.def: Add GLIBC_2.18.
21623 * include/link.h (struct link_map): New member l_tls_dtor_count.
21624 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21625 (__call_tls_dtors): Likewise.
21626 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21627 __cxa_thread_atexit_impl.
21628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21634 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21636 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21637 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
21639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21641 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21642 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21644 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
21645 (tests): Add test case tst-tls-atexit.
21646 (modules-names): Add shared library for tst-tls-atexit.
21647 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
21648 (GLIBC_PRIVATE): Add __call_tls_dtors.
21649 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
21651 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
21652 * stdlib/tst-tls-atexit.c: New test case.
21653 * stdlib/tst-tls-atexit-lib.c: New test case.
21655 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
21657 * elf/Versions (ld): Add _dl_find_dso_for_object.
21658 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
21659 * elf/dl-open.c (_dl_find_dso_for_object): New function.
21660 (dl_open_worker): Use _dl_find_dso_for_object.
21661 * elf/dl-sym.c (do_sym): Likewise.
21662 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
21664 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21666 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
21667 Syntactic changes only.
21668 (_dl_runtime_profile): Do a tail-call to the resolved function.
21670 2013-02-17 Joseph Myers <joseph@codesourcery.com>
21673 * sysdeps/x86_64/bp-asm.h: Remove file.
21674 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21675 <bp-sym.h> and <bp-asm.h>.
21676 (__clone): Do not use BP_SYM.
21677 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
21678 <bp-sym.h> and <bp-asm.h>.
21679 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21680 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
21682 (_setjmp): Do not use BP_SYM.
21683 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
21685 (setjmp): Do not use BP_SYM.
21686 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
21688 (mempcpy): Do not use BP_SYM in weak_alias.
21689 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
21691 (strchr): Do not use BP_SYM.
21692 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
21694 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
21695 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
21696 (_start): Do not use BP_SYM.
21697 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
21699 (strcat): Do not use BP_SYM.
21700 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
21702 (STRCMP): Do not use BP_SYM.
21703 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
21705 (STRCPY): Do not use BP_SYM.
21706 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
21708 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
21710 (FUNCTION): Do not use BP_SYM.
21711 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
21713 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
21715 2013-02-17 Andreas Jaeger <aj@suse.de>
21717 * time/Versions: Sort entries.
21718 * string/Versions: Likewise.
21719 * resolv/Versions: Likewise.
21720 * posix/Versions: Likewise.
21721 * iconv/Versions: Likewise.
21722 * elf/Versions: Likewise.
21723 * wcsmbs/Versions: Likewise.
21725 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21727 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
21728 loop termination condition.
21730 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
21731 variable to calculate EZ.
21734 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21735 the lower precision input.
21737 2013-02-15 Joseph Myers <joseph@codesourcery.com>
21740 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
21741 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
21742 (run-via-rtld-prefix): Do not handle %-bp tests.
21743 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
21744 (all-object-suffixes): Remove .ob.
21745 (bppfx): Remove variable.
21746 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
21747 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
21748 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
21749 [$(build-bounded) = yes] (libtype.ob): Likewise.
21750 * Makerules (elide-routines.ob): Remove variable.
21751 (do-tests-clean): Do not handle *-bp.out.
21752 (common-mostlyclean): Do not handle *-bp and *-bp.out.
21753 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
21754 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
21755 (tests): Do not include $(tests-bp.out).
21756 (xtests): Do not include $(xtests-bp.out).
21757 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
21758 [$(build-bounded) = yes] ($(addprefix
21759 $(objpfx),$(binaries-bounded))): Remove rule.
21760 ($(objpfx)%-bp.out): Remove rule.
21761 * config.make.in (build-bounded): Remove variable.
21762 * crypt/Makefile [$(build-bounded) = yes]
21763 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
21764 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
21765 append to variable.
21766 [$(build-bounded) = yes] (install-lib): Likewise.
21767 [$(build-bounded) = yes] (generated): Likewise.
21768 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
21770 * intl/Makefile [$(build-bounded) = yes]
21771 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
21772 * math/Makefile [$(build-bounded) = yes]
21773 ($(tests:%=$(objpfx)%-bp): Likewise.
21774 * misc/Makefile [$(build-bounded) = yes]
21775 ($(objpfx)tst-tsearch-bp): Likewise.
21776 * nptl/Makeconfig (bounded-thread-library): Remove variable.
21777 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
21779 * string/Makefile (o-objects.ob): Remove variable.
21780 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
21781 (CFLAGS-.ob): Remove variable.
21782 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
21783 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
21784 both definitions of variable.
21785 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
21786 (ASFLAGS-.ob): Remove variable.
21788 2013-02-14 Joseph Myers <joseph@codesourcery.com>
21791 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
21792 Remove __BOUNDED_POINTERS__ from condition.
21793 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
21794 * string/bits/string2.h [!__NO_STRING_INLINES &&
21795 !__BOUNDED_POINTERS__]: Likewise.
21796 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
21798 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
21799 Remove conditional code.
21800 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
21801 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
21802 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
21806 * csu/libc-start.c: Do not include <bp-sym.h>.
21807 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
21808 * elf/dl-open.c: Do not include <bp-sym.h>.
21809 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
21810 * math/fegetenv.c: Do not include <bp-sym.h>.
21811 (fegetenv): Do not use BP_SYM in versioned symbols.
21812 * nptl/sysdeps/pthread/bits/libc-lockP.h
21813 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
21815 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21816 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
21817 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21818 (__pthread_mutex_destroy): Likewise.
21819 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21820 (__pthread_mutex_lock): Likewise.
21821 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21822 (__pthread_mutex_trylock): Likewise.
21823 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21824 (__pthread_mutex_unlock): Likewise.
21825 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21826 (__pthread_mutexattr_init): Likewise.
21827 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21828 (__pthread_mutexattr_destroy): Likewise.
21829 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21830 (__pthread_mutexattr_settype): Likewise.
21831 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21832 (__pthread_rwlock_init): Likewise.
21833 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21834 (__pthread_rwlock_destroy): Likewise.
21835 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21836 (__pthread_rwlock_rdlock): Likewise.
21837 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21838 (__pthread_rwlock_tryrdlock): Likewise.
21839 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21840 (__pthread_rwlock_wrlock): Likewise.
21841 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21842 (__pthread_rwlock_trywrlock): Likewise.
21843 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21844 (__pthread_rwlock_unlock): Likewise.
21845 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21846 (__pthread_key_create): Likewise.
21847 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21848 (__pthread_setspecific): Likewise.
21849 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21850 (__pthread_getspecific): Likewise.
21851 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
21853 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21854 (_pthread_cleanup_push_defer): Likewise.
21855 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21856 (_pthread_cleanup_pop_restore): Likewise.
21857 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21858 (pthread_setcancelstate): Likewise.
21859 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
21861 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
21862 (memchr): Do not use BP_SYM in weak_alias.
21863 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
21864 (fegetenv): Do not use BP_SYM in versioned symbols.
21865 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
21866 (fesetenv): Do not use BP_SYM in versioned symbols.
21867 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21868 (feupdateenv): Do not use BP_SYM in versioned symbols.
21869 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21870 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21871 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
21872 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
21873 (open64): Do not use BP_SYM in weak_alias.
21874 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
21875 (fegetenv): Do not use BP_SYM in versioned symbols.
21876 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
21877 (fesetenv): Do not use BP_SYM in versioned symbols.
21878 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21879 (feupdateenv): Do not use BP_SYM in versioned symbols.
21880 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
21881 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
21882 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
21883 (feraiseexcept): Do not use BP_SYM in versioned symbols.
21884 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21885 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21886 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
21888 (__libc_start_main): Do not use BP_SYM.
21890 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21892 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
21893 redundant return line.
21895 (denorm): Likewise.
21896 (dbl_mp): Likewise.
21897 (sub_magnitudes): Likewise.
21903 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
21905 (denorm): Likewise.
21906 (dbl_mp): Likewise.
21907 (sub_magnitudes): Likewise.
21914 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
21916 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21917 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
21920 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
21921 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
21922 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
21923 of __mul for squares.
21924 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
21926 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
21928 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
21929 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21931 2013-02-13 Joseph Myers <joseph@codesourcery.com>
21934 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
21936 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
21937 prototype or function definition. Rename ubp_* variables and
21938 parameters. Remove argv definitions conditional on
21939 [__BOUNDED_POINTERS__].
21940 * debug/backtrace.c (__backtrace): Do not use __unbounded.
21941 * elf/dl-runtime.c (_dl_fixup): Likewise.
21942 * include/set-hooks.h (RUN_HOOK): Likewise.
21943 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
21945 * string/strcpy.c (strcpy): Do not use __unbounded.
21946 * sysdeps/generic/frame.h (struct layout): Likewise.
21947 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
21948 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
21949 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
21950 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
21951 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
21952 (__backtrace): Likewise.
21953 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
21955 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21956 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21957 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21959 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
21960 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
21961 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21962 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21963 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
21964 Do not use __unbounded.
21965 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21966 Rename __unboundedrlimits parameter to rlimits in prototype.
21967 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
21968 Do not use __unbounded.
21969 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21970 not use __ptrvalue.
21971 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21972 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21973 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21974 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21975 __ptrvalue or __unbounded.
21976 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21977 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21979 (__new_msgctl): Do not use __ptrvalue.
21980 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21982 (__libc_msgrcv): Do not use __ptrvalue.
21983 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21984 startup_info): Do not use __unbounded.
21985 (__libc_start_main): Likewise. Rename ubp_* variables and
21986 parameters. Remove argv definitions conditional on
21987 [__BOUNDED_POINTERS__].
21988 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
21990 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
21992 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21994 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21996 (__new_shmctl): Do not use __ptrvalue.
21997 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21998 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22000 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22001 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22002 (__libc_sigaction): Likewise.
22003 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22004 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22006 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22008 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
22010 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
22012 * string/mempcpy.c: Implement by calling memcpy.
22014 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22016 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22018 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22021 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22022 values in the mantissa.
22024 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22025 minimize writes to Z.
22026 (sub_magnitudes): Simplify code a bit.
22028 2013-02-12 Roland McGrath <roland@hack.frob.com>
22030 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22031 from the message. The linker prefixes all warnings with that already.
22033 2013-02-12 Andreas Schwab <schwab@suse.de>
22036 * posix/regexec.c (extend_buffers): Add parameter min_len.
22037 (check_matching): Pass minimum needed length.
22038 (clean_state_log_if_needed): Likewise.
22039 (get_subexp): Likewise.
22040 * posix/Makefile (tests): Add bug-regex34.
22041 (bug-regex34-ENV): Define.
22042 * posix/bug-regex34.c: New file.
22045 * posix/regcomp.c (parse_bracket_exp): When looking up collating
22046 elements compare against the byte sequence of it, not its name.
22047 * posix/Makefile (tests): Add bug-regex35.
22048 (bug-regex35-ENV): Define.
22049 * posix/bug-regex35.c: New file.
22051 2013-02-11 Tom de Vries <tom@codesourcery.com>
22053 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
22055 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22056 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22057 (CHECK_EOL): Add undef.
22059 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
22061 * bits/stdlib-bsearch.h: New file.
22062 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
22063 * stdlib/stdlib.h: Likewise.
22065 2013-02-11 Roland McGrath <roland@hack.frob.com>
22067 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22068 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22070 * manual/search.texi (Array Search Function): Add missing const in
22072 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22073 declaration to use rlim_t.
22074 (Basic Scheduling Functions): Remove erroneous const from
22075 sched_getparam prototype. Remove erroneous * from
22076 sched_get_priority_max and sched_get_priority_min prototypes.
22077 (Resource Usage): Fix summary @comment on vtimes to refer to
22078 sys/vtimes.h rather than vtimes.h.
22079 Add missing *s in vtimes prototype.
22080 (Limits on Resources): Fix ulimit prototype to return long int.
22081 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22082 prototypes to use long int rather than double.
22083 (BSD Random): Fix initstate and setstate to use char *, not void *.
22084 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22085 prototype to make second argument 'struct aiocb64 *const[]'.
22086 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22087 (Status of AIO Operations): Remove erroneous const in aio_return and
22088 aio_return64 prototypes.
22089 (Synchronizing I/O): Fix sync prototype to return void.
22090 * manual/startup.texi (Suboptions): Remove an erroneous const in
22091 getsubopt prototype.
22092 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22093 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22094 use size_t rather than int.
22095 (Scanning All Users): Likewise for getpwent_r.
22096 (Setting Groups): Add missing const to setgroups prototype.
22097 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22098 * manual/socket.texi (Host Names): Fix gethostbyaddr and
22099 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22100 'const void *' rather than 'const char *'.
22101 (Host Address Functions): Likewise for inet_ntop.
22102 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22103 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22104 ssize_t for return value.
22105 (Sending Data): Likewise for send, sendto, sendmsg.
22106 (Socket Option Functions): Add a missing const in setsockopt prototype.
22107 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22108 use wchar_t for the argument.
22109 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22110 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22112 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22113 double/float/long double for second argument.
22114 Fix return types of significand, significandf, significandl.
22115 * manual/filesys.texi (Setting Permissions): Use mode_t for second
22116 argument in fchmod prototype.
22117 (File Owner): Use uid_t and gid_t in fchown prototype.
22118 (File Times): Add const to utimes, futimes, and lutimes prototypes.
22119 (Making Special Files): Use mode_t and dev_t in mknod prototype.
22120 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22121 use 'const struct dirent **' as argument types to CMP function pointer
22123 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22124 (File Times): Fix summary magic @comment for struct utimbuf and utime
22125 to refer to utime.h, not time.h.
22126 * manual/string.texi (Argz Functions): Add missing const in
22127 argz_extract and argz_next prototypes.
22128 (Finding Tokens in a String): Likewise for basename.
22129 (String/Array Comparison): Fix typo in wcscasecmp prototype.
22130 (Copying and Concatenation): Fix typo in wmemmove prototype.
22131 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
22132 (Signal Stack): Remove erroneous const in sigstack prototype.
22133 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
22135 (Simple Calendar Time): Likewise for stime.
22136 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
22138 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
22139 say sys/sysctl.h instead.
22140 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
22141 and vsyslog prototypes.
22143 2013-02-11 Tom de Vries <tom@codesourcery.com>
22145 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
22148 2013-02-11 Roland McGrath <roland@hack.frob.com>
22150 * misc/sys/mman.h: Fix typo in mremap comment.
22152 2013-02-08 Roland McGrath <roland@hack.frob.com>
22154 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
22155 the '\0' terminator.
22157 2013-02-08 Joseph Myers <joseph@codesourcery.com>
22160 * debug/segfault.c: Don't include <bp-checks.h>.
22161 * sysdeps/generic/bp-checks.h: Remove file.
22162 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
22163 (__GETDENTS): Don't use CHECK_N.
22164 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
22165 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22166 (__getgroups): Don't use CHECK_N.
22167 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
22168 (setgroups): Don't use CHECK_N.
22169 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
22170 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
22171 (__libc_msgrcv): Don't use CHECK_N.
22172 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
22173 (__libc_msgsnd): Don't use CHECK_N.
22174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
22176 (__libc_pread): Don't use CHECK_N.
22177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
22178 include <bp-checks.h>.
22179 (__libc_pread64): Don't use CHECK_N.
22180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
22181 include <bp-checks.h>.
22182 (__libc_pwrite): Don't use CHECK_N.
22183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
22184 include <bp-checks.h>.
22185 (__libc_pwrite64): Don't use CHECK_N.
22186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
22188 (__libc_pread): Don't use CHECK_N.
22189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
22190 include <bp-checks.h>.
22191 (__libc_pread64): Don't use CHECK_N.
22192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
22193 include <bp-checks.h>.
22194 (__libc_pwrite): Don't use CHECK_N.
22195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
22196 include <bp-checks.h>.
22197 (__libc_pwrite64): Don't use CHECK_N.
22198 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
22199 (do_pread): Don't use CHECK_N.
22200 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
22201 (do_pread64): Don't use CHECK_N.
22202 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
22203 (do_pwrite): Don't use CHECK_N.
22204 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
22205 (do_pwrite64): Don't use CHECK_N.
22206 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
22207 (__libc_readv): Don't use CHECK_N.
22208 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
22209 (semop): Don't use CHECK_N.
22210 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
22212 (semtimedop): Don't use CHECK_N.
22213 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
22214 (__libc_pread): Don't use CHECK_N.
22215 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
22217 (__libc_pread64): Don't use CHECK_N.
22218 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
22220 (__libc_pwrite): Don't use CHECK_N.
22221 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
22223 (__libc_pwrite64): Don't use CHECK_N.
22224 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
22226 (__libc_msgrcv): Don't use CHECK_N.
22227 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
22228 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
22229 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
22230 (__libc_writev): Don't use CHECK_N.
22232 2013-02-08 Roland McGrath <roland@hack.frob.com>
22234 * string/strcpy.c: Removed unused variable.
22236 * Makeconfig (+sysdep-includes): Define with := rather than =.
22237 Use an existing include/ subdir of each sysdeps dir before it.
22239 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22241 * nscd/connection.c (register_traced_file): Comment function.
22242 [HAVE_INOTIFY] (union __inev): Define.
22243 [HAVE_INOTIFY] (inotify_check_files): New function.
22244 [HAVE_INOTIFY] (clear_db_cache): Likewise.
22245 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
22247 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
22249 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22251 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
22252 loaded if not already and that a failure is permanent.
22254 2013-02-08 Carlos O'Donell <carlos@redhat.com>
22257 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
22258 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
22260 2013-02-08 Joseph Myers <joseph@codesourcery.com>
22263 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
22264 (CHECK_1_NULL_OK): Likewise.
22265 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
22266 (__fxstat): Do not use CHECK_1.
22267 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
22269 (___fxstat64): Do not use CHECK_1.
22270 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
22272 (__fxstatat): Do not use CHECK_1.
22273 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
22275 (__fxstatat64): Do not use CHECK_1.
22276 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
22278 (__fxstat): Do not use CHECK_1.
22279 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
22281 (__fxstatat): Do not use CHECK_1.
22282 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22284 (__getresgid): Do not use CHECK_1.
22285 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22287 (__getresuid): Do not use CHECK_1.
22288 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
22290 (__lxstat): Do not use CHECK_1.
22291 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22293 (__old_msgctl): Do not use CHECK_1.
22294 (__new_msgctl): Likewise.
22295 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
22297 (__new_setrlimit): Do not use CHECK_1.
22298 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22300 (__old_shmctl): Do not use CHECK_1.
22301 (__new_shmctl): Likewise.
22302 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
22304 (__xstat): Do not use CHECK_1.
22305 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
22306 (__lxstat): Do not use CHECK_1.
22307 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
22309 (___lxstat64): Do not use CHECK_1.
22310 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
22311 (__old_msgctl): Do not use CHECK_1.
22312 (__new_msgctl): Likewise.
22313 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
22315 (__gettimeofday): Do not use CHECK_1.
22316 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
22317 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
22318 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
22320 (__gettimeofday): Do not use CHECK_1.
22321 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
22322 (__old_shmctl): Do not use CHECK_1_NULL_OK.
22323 (__new_shmctl): Do not use CHECK_1.
22324 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
22326 (do_sigtimedwait): Do not use CHECK_1.
22327 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
22329 (do_sigwaitinfo): Do not use CHECK_1.
22330 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
22332 (msgctl): Do not use CHECK_1.
22333 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
22335 (shmctl): Do not use CHECK_1.
22336 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
22337 (ustat): Do not use CHECK_1.
22338 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
22340 (__fxstat): Do not use CHECK_1.
22341 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
22343 (__fxstatat): Do not use CHECK_1.
22344 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
22346 (__lxstat): Do not use CHECK_1.
22347 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
22349 (__xstat): Do not use CHECK_1.
22350 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
22351 (__xstat): Do not use CHECK_1.
22352 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
22353 (___xstat64): Do not use CHECK_1.
22356 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
22358 (CHECK_BOUNDS_HIGH): Likewise.
22359 * string/strcpy.c: Do not include <bp-checks.h>.
22360 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
22362 2013-02-07 Roland McGrath <roland@hack.frob.com>
22364 * nscd/nscd-client.h (__nscd_drop_map_ref):
22365 Add __attribute__ ((unused)).
22366 * nis/nss-nisplus.h (niserr2nss): Likewise.
22368 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
22369 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
22371 * csu/libc-tls.c (init_static_tls, init_slotinfo):
22372 Remove inline keyword.
22373 * include/rounding-mode.h (round_away): Likewise.
22374 * libio/wfileops.c (adjust_wide_data): Likewise.
22375 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
22376 (__m128i_strloadu_tolower): Likewise.
22377 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
22378 (__m128i_strloadu_tolower): Likewise.
22379 * time/mktime.c (ydhms_diff): Likewise.
22380 * locale/elem-hash.h (elem_hash): Likewise.
22381 * locale/setlocale.c (setdata): Likewise.
22382 * posix/regex_internal.h (re_string_char_size_at): Likewise.
22383 (re_string_wchar_at): Likewise.
22384 (bitset_not, bitset_merge, bitset_mask): Likewise.
22385 [!(__GNUC__ > 3)] (inline): Remove macro.
22386 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
22387 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
22388 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22389 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22390 * string/memcmp.c (memcmp_bytes): Likewise.
22391 * locale/programs/locarchive.c (compute_hashval): Likewise.
22392 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
22393 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
22394 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
22395 * nss/getent.c (print_rpc, print_protocols): Likewise.
22396 (print_passwd, print_group, print_aliases): Likewise.
22397 * nis/nss-nisplus.h (niserr2nss): Likewise.
22398 * nscd/connections.c (restart_p): Likewise.
22399 Change return type to bool.
22401 2013-02-05 Roland McGrath <roland@hack.frob.com>
22403 * Makeconfig (all-Depend-files): Add existing
22404 $(sorted-subdirs:=/Depend) files.
22405 (all-subdirs): Remove nss.
22406 * sysdeps/unix/inet/Subdirs: Add it here instead.
22407 * hesiod/Depend: New file.
22409 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
22410 instead of calling alloca.
22412 * io/lseek.c (__lseek): Rename to __libc_lseek.
22413 Define __lseek as an alias.
22415 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
22417 2013-02-04 Carlos O'Donell <carlos@redhat.com>
22419 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
22420 else clause and remove check for non-standard endianness.
22422 2013-02-04 David S. Miller <davem@davemloft.net>
22424 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22426 2013-02-04 Joseph Myers <joseph@codesourcery.com>
22429 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
22430 (__ubp_memchr): Remove prototype.
22431 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
22432 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22433 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
22434 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22435 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
22437 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
22438 (__ubp_memchr): Likewise.
22439 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
22440 (__ubp_memchr): Likewise.
22441 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
22442 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
22443 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
22444 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
22446 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22447 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
22448 (__getcwd): Do not use CHECK_STRING.
22449 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22451 (__real_chown): Do not use CHECK_STRING.
22452 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
22454 (fchownat): Do not use CHECK_STRING.
22455 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22457 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22459 (__lchown): Do not use CHECK_STRING.
22460 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22461 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22462 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22463 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22465 include <bp-checks.h>.
22466 (truncate64): Do not use CHECK_STRING.
22467 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22469 (__real_chown): Do not use CHECK_STRING.
22470 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22472 (__lchown): Do not use CHECK_STRING.
22473 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22475 (__chown): Do not use CHECK_STRING.
22476 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22478 (truncate64): Do not use CHECK_STRING.
22479 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22481 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22482 (__xmknod): Do not use CHECK_STRING.
22483 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22485 (__xmknodat): Do not use CHECK_STRING.
22486 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22487 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22489 2013-02-04 Andreas Schwab <schwab@suse.de>
22492 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22493 * include/netdb.h: Likewise for h_errno.
22494 * elf/tst-stackguard1.c: Include <tls.h>.
22496 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
22498 * elf/link.h (struct link_map): Extend the l_addr comment.
22499 * include/link.h (struct link_map): Likewise.
22501 2013-02-01 Joseph Myers <joseph@codesourcery.com>
22504 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22505 (BOUNDED_1): Remove macro.
22506 * debug/backtrace.c: Don't include <bp-checks.h>.
22507 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22508 (__backtrace): Likewise.
22509 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22511 (__backtrace): Don't use BOUNDED_1.
22512 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22514 (__backtrace): Don't use BOUNDED_1.
22515 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22516 (__backtrace): Don't use BOUNDED_1.
22517 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22518 (shmat): Don't use BOUNDED_N.
22520 2013-01-31 Joseph Myers <joseph@codesourcery.com>
22523 * sysdeps/generic/bp-start.h: Remove file.
22524 * csu/libc-start.c: Don't include <bp-start.h>.
22525 (LIBC_START_MAIN): Set up __environ directly instead of using
22526 INIT_ARGV_and_ENVIRON.
22527 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22531 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22533 (CHECK_FCNTL): Likewise.
22534 (CHECK_N_PAGES): Likewise.
22537 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22539 (CHECK_SIGSET_NULL_OK): Likewise.
22540 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22542 (sigpending): Don't use CHECK_SIGSET.
22543 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22545 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22546 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22548 (do_sigsuspend): Don't use CHECK_SIGSET.
22549 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22551 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22552 (do_sigwait): Don't use CHECK_SIGSET.
22553 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22555 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22556 include <bp-checks.h>.
22557 (sigpending): Don't use CHECK_SIGSET.
22558 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22559 include <bp-checks.h>.
22560 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22561 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22563 (sigpending): Don't use CHECK_SIGSET.
22564 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22566 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22569 * sysdeps/generic/bp-semctl.h: Remove file.
22570 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22571 <bp-checks.h> and <bp-semctl.h>.
22572 (__old_semctl): Don't use CHECK_SEMCTL.
22573 (__new_semctl): Likewise.
22574 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22576 (__old_semctl): Don't use CHECK_SEMCTL.
22577 (__new_semctl): Likewise.
22578 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22579 <bp-checks.h> and <bp-semctl.h>.
22580 (__old_semctl): Don't use CHECK_SEMCTL.
22581 (__new_semctl): Likewise.
22582 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22583 <bp-checks.h> and <bp-semctl.h>.
22584 (semctl): Don't use CHECK_SEMCTL.
22587 * Makerules (elide-bp-thunks): Remove variable.
22588 (elide-routines.oS): Don't use $(elide-bp-thunks).
22589 (elide-routines.os): Likewise.
22590 (elide-routines.o): Likewise.
22591 (elide-routines.op): Likewise.
22592 (elide-routines.og): Likewise.
22593 (objects): Don't use $(bp-thunks).
22594 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22596 (common-generated): Do not add s-proto-bp.d.
22597 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22600 Do not generate makefile rules for bounded-pointer thunks.
22601 * sysdeps/generic/bp-thunks.h: Remove file.
22602 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22603 * sysdeps/unix/s-proto-bp.S: Likewise.
22606 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22607 parts of result separately when argument is not close to line from
22608 -i to i and one part of argument is small.
22609 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22610 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22611 * math/libm-test.inc (cacos_test): Add more tests.
22612 (casin_test): Likewise.
22613 (casinh_test): Likewise.
22614 * sysdeps/i386/fpu/libm-test-ulps: Update.
22615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22617 2013-01-31 David S. Miller <davem@davemloft.net>
22619 * po/de.po: Update from translation team.
22621 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
22623 * time/tzfile.c: Include stdint.h for SIZE_MAX.
22625 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
22627 * configure.in (_AC_PROG_CC_C89): New definition.
22628 * configure: Regenerate.
22630 * configure.in (AC_PROG_CPP): New definition.
22631 * configure: Regenerate.
22633 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22635 * debug/tst-backtrace.h: New file.
22636 * debug/tst-backtrace2.c: Include tst-backtrace.h.
22637 (ret): Remove variable.
22639 (FAIL): Remove macro.
22640 (NO_INLINE): Likewise.
22641 (fn1): Use match function instead of strstr.
22642 * debug/tst-backtrace3.c: Include tst-backtrace.h.
22643 (ret): Remove variable.
22645 (FAIL): Remove macro.
22646 (NO_INLINE): Likewise.
22647 (fn): Use match function instead of strstr.
22648 * debug/tst-backtrace4.c: Include tst-backtrace.h.
22649 (ret): Remove variable.
22651 (FAIL): Remove macro.
22652 (NO_INLINE): Likewise.
22653 (handle_signal): Use match function instead of strstr.
22654 * debug/tst-backtrace5.c: Include tst-backtrace.h.
22655 (ret): Remove variable.
22657 (FAIL): Remove macro.
22658 (NO_INLINE): Likewise.
22659 (handle_signal): Use match function instead of strstr.
22661 2013-01-23 Roland McGrath <roland@hack.frob.com>
22663 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
22665 2013-01-23 David S. Miller <davem@davemloft.net>
22667 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
22668 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
22669 argument of CAS if possible.
22670 * sysdeps/sparc/sparc64/bits/atomic.h
22671 (__arch_compare_and_exchange_val_32_acq): Likewise.
22672 (__arch_compare_and_exchange_val_64_acq): Likewise.
22674 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
22676 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
22677 * sysdeps/posix/ulimit.c: ... this.
22678 Include <limits.h>.
22679 * sysdeps/unix/bsd/ulimit.c: Remove file.
22681 2013-01-23 Adam Conrad <adconrad@0c3.net>
22683 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
22684 (LDFLAGS-tst-array5): Likewise.
22686 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22689 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
22690 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
22691 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
22692 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
22694 2013-01-21 David S. Miller <davem@davemloft.net>
22696 * sysdeps/sparc/backtrace.c: New file.
22697 * sysdeps/sparc/sparc32/backtrace.h: New file.
22698 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
22699 * sysdeps/sparc/sparc64/backtrace.h: New file.
22700 * sysdeps/sparc/sparc64/backtrace.c: Delete.
22701 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22704 2013-01-21 Andreas Schwab <schwab@suse.de>
22707 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
22710 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
22712 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
22714 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22716 2013-01-18 Joseph Myers <joseph@codesourcery.com>
22717 Mark Mitchell <mark@codesourcery.com>
22718 Tom de Vries <tom@codesourcery.com>
22719 Paul Pluzhnikov <ppluzhnikov@google.com>
22721 * debug/tst-backtrace2.c: New file.
22722 * debug/tst-backtrace3.c: Likewise.
22723 * debug/tst-backtrace4.c: Likewise.
22724 * debug/tst-backtrace5.c: Likewise.
22725 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
22726 (CFLAGS-tst-backtrace3.c): Likewise.
22727 (CFLAGS-tst-backtrace4.c): Likewise.
22728 (CFLAGS-tst-backtrace5.c): Likewise.
22729 (LDFLAGS-tst-backtrace2): Likewise.
22730 (LDFLAGS-tst-backtrace3): Likewise.
22731 (LDFLAGS-tst-backtrace4): Likewise.
22732 (LDFLAGS-tst-backtrace5): Likewise.
22733 (tests): Add new tests tst-backtrace2, tst-backtrace3,
22734 tst-backtrace4 and tst-backtrace5.
22736 2013-01-18 Anton Blanchard <anton@samba.org>
22737 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22739 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
22740 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
22741 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
22742 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
22743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22744 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
22745 "+r" and remove output regs list as redundant. Add explicit inline
22746 asm to specify register of return val to work around compiler codegen
22747 bug. Remove (int) cast on return value. Add return type parameter to
22748 use in macro so that this macro does not truncate return value for
22750 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
22751 pass to INTERNAL_VSYSCALL_NCS.
22752 (INLINE_VSYSCALL): Add 'long int' as return type to
22753 INTERNAL_VSYSCALL_NCS macro invocation.
22754 (INTERNAL_VSYSCALL): Add 'long int' as return type to
22755 INTERNAL_VSYSCALL_NCS macro invocation.
22756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22758 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22761 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
22762 Fix application of SIMD FP exception mask.
22764 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
22765 mp_no from a power of two.
22766 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
22767 __mpexp_twomm1. Use __pow_mp.
22769 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
22772 2013-01-17 David S. Miller <davem@davemloft.net>
22774 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22776 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22779 * include/complex.h: Condition contents on [!_COMPLEX_H].
22780 (__kernel_casinhf): New prototype.
22781 (__kernel_casinh): Likewise.
22782 (__kernel_casinhl): Likewise.
22783 * math/Makefile (libm_calls): Add k_casinh.
22784 * math/k_casinh.c: New file.
22785 * math/k_casinhf.c: Likewise.
22786 * math/k_casinhl.c: Likewise.
22787 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
22788 finite nonzero arguments.
22789 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
22790 finite nonzero arguments.
22791 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
22792 finite nonzero arguments.
22793 * math/s_casinh.c: Do not include <float.h>.
22794 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
22795 * math/s_casinhf.c: Do not include <float.h>.
22796 (__casinhf): Move code for finite nonzero arguments to
22798 * math/s_casinhl.c: Do not include <float.h>.
22799 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
22801 (__casinhl): Move code for finite nonzero arguments to
22803 * math/libm-test.inc (cacos_test): Add more tests.
22804 * sysdeps/i386/fpu/libm-test-ulps: Update.
22805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22807 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
22809 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
22810 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
22811 [!HAVE_MREMAP]: Remove [defined linux] case.
22812 * malloc/arena.c: Do not include <malloc-sysdep.h>.
22814 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22816 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
22818 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22820 * elf/elf.h (R_386_SIZE32): New relocation.
22821 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
22823 (elf_machine_rela): Likewise.
22824 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22825 R_X86_64_SIZE64 and R_X86_64_SIZE32.
22827 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22829 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
22830 (FP_FAST_FMA): Do not define.
22831 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
22832 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
22833 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
22834 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
22835 !_SOFT_FLOAT]: Likewise.
22836 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
22837 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
22839 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
22840 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
22841 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
22842 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
22843 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
22844 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
22847 2013-01-16 Andreas Schwab <schwab@suse.de>
22850 * include/stdlib.h (__mktemp): Add declaration.
22851 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
22852 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
22854 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22856 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
22858 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22859 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
22860 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
22862 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
22863 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
22865 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
22867 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
22868 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
22869 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
22871 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
22872 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
22874 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22876 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
22878 2013-01-15 David S. Miller <davem@davemloft.net>
22880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22881 trunc{,f} to libm-sysdep_routes.
22882 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
22885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
22886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
22888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
22890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
22891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
22892 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
22893 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
22894 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
22895 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
22896 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
22897 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
22899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22900 nearbyint{,f} to libm-sysdep_routes.
22901 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
22904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
22906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
22908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
22910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
22911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
22912 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
22914 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
22915 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
22917 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
22918 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
22919 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
22921 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22922 libc_feholdexcept and libc_fesetenv.
22924 2013-01-15 Mike Frysinger <vapier@gentoo.org>
22926 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
22928 2013-01-14 David S. Miller <davem@davemloft.net>
22930 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
22931 (SPARC_ASM_VIS2_IFUNC): Likewise.
22932 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
22933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
22934 use of 'siam' instruction.
22935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
22937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
22939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
22941 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
22942 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
22943 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
22944 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
22945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
22947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
22949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
22951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
22953 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
22954 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
22955 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
22956 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
22957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
22959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22963 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22964 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22965 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22966 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
22968 routines to libm-sysdep_routines.
22969 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22972 fdim/fdimf to libm-sysdep_routines.
22973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22981 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22982 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22983 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22984 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
22986 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22988 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
22989 to optimize copies.
22991 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22992 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22993 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22995 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22996 local variable MPTWO.
22997 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23000 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23002 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23005 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23007 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23009 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23011 * manual/pattern.texi (glob_t): Document gl_flags.
23012 (glob64_t): Likewise.
23014 2013-01-11 David S. Miller <davem@davemloft.net>
23016 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23017 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23018 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
23019 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23020 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23021 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23022 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23023 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23024 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23025 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23026 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23027 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23028 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23030 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23031 sparc V9 rather than using V8 code.
23032 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23033 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23035 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23037 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23040 2013-01-11 Roland McGrath <roland@hack.frob.com>
23042 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23043 not in the main loop.
23044 * configure: Regenerated.
23046 2013-01-11 Joseph Myers <joseph@codesourcery.com>
23048 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23049 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23051 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
23052 [!__GLIBC_HAVE_LONG_LONG] case.
23053 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23054 condition to just #else.
23055 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23056 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23057 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23058 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23060 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23061 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23062 #elif condition to just #else.
23063 * sysdeps/unix/sysv/linux/sys/sysmacros.h
23064 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23065 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23066 #elif condition to just #else.
23068 2013-01-11 Steve Ellcey <sellcey@mips.com>
23070 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23071 (EF_MIPS_ARCH_64): Fix value.
23072 (EF_MIPS_ARCH_32R2): New.
23073 (EF_MIPS_ARCH_64R2): New.
23075 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
23077 * Makeconfig (+link-pie-before-libc): New.
23078 (+link-pie-after-libc): Likewise.
23079 (+link-pie-tests): Likewise.
23080 (+link-pie): Rewritten.
23081 (link-before-libc): Remove $(config-LDFLAGS).
23082 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23083 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23084 (config-LDFLAGS): Renamed to ...
23085 (rtld-LDFLAGS): This.
23086 (rtld-tests-LDFLAGS): New macro.
23087 (link-libc-rpath-link): Likewise.
23088 (link-libc-tests-rpath-link): Likewise.
23089 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23090 (link-libc): Prepand $(link-libc-rpath-link).
23091 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23092 (test-program-prefix): New macro.
23093 (test-via-rtld-prefix): Likewise.
23094 (test-program-cmd): Likewise.
23095 (host-test-program-cmd): Likewise.
23096 * Makefile ($(common-objpfx)testrun.sh): Replace
23097 $(run-program-prefix) with $(test-program-prefix).
23098 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23100 ($(common-objpfx)shlib.lds): Likewise.
23101 (build-module-helper): Likewise.
23102 ($(common-objpfx)format.lds): Likewise.
23103 * Rules (binaries-pie-tests): New.
23104 (binaries-pie-notests): Likewise.
23105 (binaries-pie): Rewritten.
23106 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23107 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23108 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23109 (make-test-out): Replace $(host-built-program-cmd) with
23110 $(host-test-program-cmd).
23111 * config.make.in (build-hardcoded-path-in-tests): New variable.
23112 * configure.in (--enable-hardcoded-path-in-tests): New configure
23114 (hardcoded_path_in_tests): New AC_SUBST.
23115 * configure: Regenerated.
23116 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23117 $(built-program-cmd) with $(test-program-cmd).
23118 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23119 (test_program_cmd): This.
23120 * elf/Makefile ($(objpfx)order.out): Run test with
23121 $(test-program-prefix).
23122 ($(objpfx)order2.out): Likewise.
23123 ($(objpfx)tst-initorder.out): Likewise.
23124 ($(objpfx)tst-initorder2.out): Likewise.
23125 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
23126 $(test-program-cmd).
23127 ($(objpfx)tst-array1-static.out): Likewise.
23128 ($(objpfx)tst-array2.out): Likewise.
23129 ($(objpfx)tst-array3.out): Likewise.
23130 ($(objpfx)tst-array4.out): Likewise.
23131 ($(objpfx)tst-array5.out): Likewise.
23132 ($(objpfx)tst-array5-static.out): Likewise.
23133 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
23134 $(test-program-cmd).
23135 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
23136 $(run-program-prefix) with $(test-program-prefix).
23137 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
23138 (test_program_prefix): This.
23139 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
23140 $(run-program-prefix) with $(test-program-prefix).
23141 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
23142 (test_program_prefix): This.
23143 * iconvdata/tst-tables.sh: Likewise.
23144 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
23145 $(run-program-prefix) with $(test-program-prefix).
23146 ($(objpfx)tst-translit.out): Likewise.
23147 ($(objpfx)tst-gettext2.out): Likewise.
23148 ($(objpfx)tst-gettext4.out): Likewise.
23149 ($(objpfx)tst-gettext6.out): Likewise.
23150 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
23151 (test_program_prefix): This.
23152 * intl/tst-gettext2.sh: Likewise.
23153 * intl/tst-gettext4.sh Likewise.
23154 * intl/tst-gettext6.sh: Likewise.
23155 * intl/tst-translit.sh: Likewise.
23156 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
23157 with $(test-program-cmd).
23158 * libio/Makefile ($(objpfx)test-freopen.out): Replace
23159 $(run-program-prefix) with $(test-program-prefix).
23160 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
23161 (test_program_prefix): This.
23162 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
23163 $(run-program-prefix) with $(test-program-prefix).
23164 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
23165 (test_program_prefix): This.
23166 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
23167 * posix/Makefile ($(objpfx)globtest.out): Replace
23168 $(run-via-rtld-prefix) and $(test-wrapper) with
23169 $(test-program-prefix) and $(test-via-rtld-prefix).
23170 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
23171 $(test-program-prefix).
23172 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
23173 $(host-test-program-cmd).
23174 (tst-spawn-ARGS): Likewise.
23175 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
23176 $(test-program-prefix).
23177 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
23178 (test_via_rtld_prefix): This.
23179 (test_wrapper): Renamed to ...
23180 (test_program_prefix): This.
23181 (run_program_prefix): Replaced by test_program_prefix.
23182 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
23183 (test_program_prefix): This.
23184 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
23185 with $(host-test-program-cmd).
23186 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
23187 $(run-program-prefix) with $(test-program-prefix).
23188 ($(objpfx)tst-printf.out): Likewise.
23189 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
23190 $(test-program-cmd).
23191 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
23192 (test_program_prefix): This.
23193 * stdio-common/tst-unbputc.sh: Likewise.
23194 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
23195 $(run-program-prefix) with $(test-program-prefix).
23196 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
23197 (test_program_prefix): This.
23198 * string/Makefile ($(objpfx)tst-svc.out): Replace
23199 $(built-program-cmd) with $(test-program-cmd).
23201 2013-01-11 Andreas Jaeger <aj@suse.de>
23204 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
23205 value. Sync with Linux 3.7.
23207 2013-01-10 David S. Miller <davem@davemloft.net>
23209 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
23210 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23211 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23213 2013-01-10 Roland McGrath <roland@hack.frob.com>
23215 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
23217 * configure: Regenerated.
23219 2013-01-10 David S. Miller <davem@davemloft.net>
23221 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23222 sparc V9 rather than using V8 code.
23223 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23224 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23226 2013-01-10 Roland McGrath <roland@hack.frob.com>
23228 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
23229 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
23230 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
23231 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
23232 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
23233 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
23234 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
23235 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
23236 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
23237 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
23238 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
23239 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
23240 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
23241 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
23242 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
23243 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
23244 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
23245 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
23246 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
23247 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
23248 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
23249 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
23250 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
23251 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
23252 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
23253 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
23254 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
23256 2013-01-10 David S. Miller <davem@davemloft.net>
23258 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23260 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23262 * posix/Makefile (tests-static): New variable.
23263 (tests): Add $(tests-static).
23264 (tst-exec-static-ARGS): New variable.
23265 (tst-spawn-static-ARGS): Likewise.
23266 * posix/tst-exec-static.c: New file.
23267 * posix/tst-spawn-static.c: Likewise.
23268 * posix/tst-exec.c: Support run directly.
23269 * posix/tst-spawn.c: Likewise.
23271 2013-01-10 Joseph Myers <joseph@codesourcery.com>
23273 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
23275 * math/bits/mathcalls.h (llrint): Likewise.
23276 (llround): Likewise.
23277 * stdlib/stdlib.h (struct drand48_data): Likewise.
23278 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
23279 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
23280 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
23282 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
23284 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
23285 (elf_greg_t): Likewise.
23286 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
23287 (__jmp_buf): Likewise.
23288 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
23290 (llrint): Likewise, for all definitions.
23291 (llrintl): Likewise.
23293 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
23294 Remove [__GNUC__] condition.
23295 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
23296 condition to just [__USE_ISOC99].
23297 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
23299 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23302 * sysdeps/unix/sysv/linux/x86/bits/environments.h
23303 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
23305 (_POSIX_V6_ILP32_OFF32): Likewise.
23306 (_XBS5_ILP32_OFF32): Likewise.
23307 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
23308 (__ILP32_OFFBIG_LDFLAGS): Likewise.
23310 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23312 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
23314 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
23315 doubles __mpexp_twomm1. Adjust usage.
23316 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
23319 2013-01-10 Andreas Schwab <schwab@suse.de>
23322 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
23323 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
23325 2013-01-09 David S. Miller <davem@davemloft.net>
23328 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
23329 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
23330 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
23331 (TCP_FASTOPEN): Define.
23332 (tcp_repair_opt): New structure.
23333 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
23335 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
23336 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
23337 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
23338 (tcp_cookie_transactions): New structure.
23340 2013-01-09 Anton Blanchard <anton@samba.org>
23342 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
23343 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
23344 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
23345 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
23347 2013-01-09 Joseph Myers <joseph@codesourcery.com>
23349 * include/features.h (__USE_ANSI): Remove.
23351 2013-01-09 Roland McGrath <roland@hack.frob.com>
23353 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
23355 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
23357 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
23359 * sysdeps/s390/fpu/libm-test-ulps: Update.
23361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23363 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
23367 (denorm): Likewise.
23368 (__mp_dbl): Likewise.
23369 (__dbl_mp): Likewise.
23370 (add_magnitudes): Likewise.
23371 (sub_magnitudes): Likewise.
23377 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
23381 (denorm): Likewise.
23382 (__mp_dbl): Likewise.
23383 (__dbl_mp): Likewise.
23384 (add_magnitudes): Likewise.
23385 (sub_magnitudes): Likewise.
23391 * sysdeps/powerpc/powerpc64/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.
23406 2013-01-08 Joseph Myers <joseph@codesourcery.com>
23408 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
23409 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
23410 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
23411 2 && __USE_EXTERN_INLINES]: Likewise.
23413 2013-01-08 Andreas Jaeger <aj@suse.de>
23416 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
23418 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23419 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23421 2013-01-07 Anton Blanchard <anton@samba.org>
23423 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
23424 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23425 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
23426 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23427 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23428 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23429 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
23430 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23431 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23432 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23433 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23434 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23435 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23436 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23437 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23438 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23439 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23440 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23441 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23442 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23443 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23444 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
23445 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23446 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23447 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
23448 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23449 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23450 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23451 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
23452 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23453 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23454 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23455 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23456 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23457 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23458 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23459 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23460 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23461 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23462 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23463 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23464 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23465 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23467 2013-01-07 Joseph Myers <joseph@codesourcery.com>
23469 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23470 (__MALLOC_PMT): Likewise.
23471 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23472 [__GNUC__], only on [_LIBC].
23473 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23474 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23475 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23476 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23477 forward declaration.
23478 (realloc_hook_ini): Likewise.
23479 (memalign_hook_ini): Likewise.
23480 (__libc_memalign): Do not use __MALLOC_PMT in variable
23482 (__libc_valloc): Likewise.
23483 (__libc_pvalloc): Likewise.
23484 (__libc_calloc): Likewise.
23485 (__posix_memalign): Likewise.
23488 * math/s_casinh.c: Include <float.h>.
23489 (__casinh): Do not do computation with squaring and square root
23490 for large arguments.
23491 * math/s_casinhf.c: Include <float.h>.
23492 (__casinhf): Do not do computation with squaring and square root
23493 for large arguments.
23494 * math/s_casinhl.c: Include <float.h>.
23495 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23496 (__casinhl): Do not do computation with squaring and square root
23497 for large arguments.
23498 * math/libm-test.inc (casin_test): Add more tests.
23499 (casinh_test): Likewise.
23500 * sysdeps/i386/fpu/libm-test-ulps: Update.
23501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23503 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
23505 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23506 (__x86_64_raw_data_cache_size): Likewise.
23507 (__x86_64_data_cache_size_half): Likewise.
23508 (__x86_64_raw_data_cache_size_half): Likewise.
23509 (__x86_64_shared_cache_size): Likewise.
23510 (__x86_64_raw_shared_cache_size): Likewise.
23511 (__x86_64_shared_cache_size_half): Likewise.
23512 (__x86_64_raw_shared_cache_size_half): Likewise.
23513 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23515 (__x86_data_cache_size): This.
23516 (__x86_64_raw_data_cache_size): Renamed to ...
23517 (__x86_raw_data_cache_size): This.
23518 (__x86_64_data_cache_size_half): Renamed to ...
23519 (__x86_data_cache_size_half): This.
23520 (__x86_64_raw_data_cache_size_half): Renamed to ...
23521 (__x86_raw_data_cache_size_half): This.
23522 (__x86_64_shared_cache_size): Renamed to ...
23523 (__x86_shared_cache_size): This.
23524 (__x86_64_raw_shared_cache_size): Renamed to ...
23525 (__x86_raw_shared_cache_size): This.
23526 (__x86_64_shared_cache_size_half): Renamed to ...
23527 (__x86_shared_cache_size_half): This.
23528 (__x86_64_raw_shared_cache_size_half): Renamed to ...
23529 (__x86_raw_shared_cache_size_half): This.
23530 * sysdeps/x86_64/memcpy.S: Updated.
23531 * sysdeps/x86_64/memset.S: Likewise.
23532 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23533 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23534 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23536 2013-01-04 David S. Miller <davem@davemloft.net>
23538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23540 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
23542 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23543 1 to avoid redefinition warning.
23544 (__USE_GNU): Don't define.
23545 (init_signaling_nan): Protoize.
23547 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23549 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23551 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23552 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23553 (__cpymn): Likewise.
23554 (norm): Remove commented code.
23555 (denorm): Likewise.
23556 (__mp_dbl): Likewise.
23558 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23559 (__cpymn): Likewise.
23560 (norm): Remove commented code.
23561 (denorm): Likewise.
23562 (__mp_dbl): Likewise.
23565 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
23566 mp_no value for 1.0 and 2.0.
23567 (norm): Use RADIXI instead of radixi.d.
23568 (denorm): Likewise.
23569 (__mul): Use 0.0 instead of zero.d.
23570 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23571 mp_no value for 1.0 and 2.0.
23572 (norm): Use RADIXI instead of radixi.d.
23573 (denorm): Likewise.
23574 (__mul): Use 0.0 instead of zero.d.
23576 2013-01-04 Joseph Myers <joseph@codesourcery.com>
23579 * math/s_casinh.c (__casinh): Reduce finite argument to first
23580 quadrant then set signs of results at the end.
23581 * math/s_casinhf.c (__casinhf): Likewise.
23582 * math/s_casinhl.c (__casinhl): Likewise.
23583 * math/libm-test.inc (casin_test): Add more tests.
23584 (casinh_test): Likewise.
23585 * sysdeps/i386/fpu/libm-test-ulps: Update.
23586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23588 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23590 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23592 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23594 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23596 (denorm): Likewise.
23597 (__mp_dbl): Likewise.
23600 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23601 and adjust the header comment.
23603 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23604 variable name from declaration.
23606 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
23608 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23609 Initialize COMMON_CPUID_INDEX_7 element.
23610 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23611 (CPUID_RTM): Likewise.
23612 (HAS_RTM): Likewise.
23613 (COMMON_CPUID_INDEX_7): New enum.
23615 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
23618 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23619 size is zero, record memory as freed.
23621 2013-01-03 Andreas Jaeger <aj@suse.de>
23623 * po/ia.po: Add new Interlingua translation.
23625 2012-01-03 Allan McRae <allan@archlinux.org>
23627 * locale/programs/localedef.c: Fix description of '--posix' flag.
23629 2013-01-02 Joseph Myers <joseph@codesourcery.com>
23631 * NEWS: Update dates in second copyright notice.
23632 * README: Update copyright dates in example.
23633 * manual/libc.texinfo: Update copyright dates.
23634 * scripts/test-installation.pl: Update copyright date in --version
23637 * hurd/ctty-input.c: Fix copyright notice formatting.
23638 * hurd/ctty-output.c: Likewise.
23639 * hurd/dtable.c: Likewise.
23640 * hurd/hurd-raise.c: Likewise.
23641 * hurd/hurdprio.c: Likewise.
23642 * hurd/msgportdemux.c: Likewise.
23643 * misc/sys/file.h: Likewise.
23644 * misc/sys/ioctl.h: Likewise.
23645 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23646 * sysdeps/mach/hurd/chdir.c: Likewise.
23647 * sysdeps/mach/hurd/fchdir.c: Likewise.
23648 * sysdeps/mach/hurd/rename.c: Likewise.
23649 * sysdeps/mach/hurd/rmdir.c: Likewise.
23650 * sysdeps/mach/hurd/seekdir.c: Likewise.
23651 * sysdeps/mach/hurd/setsid.c: Likewise.
23652 * sysdeps/posix/wait3.c: Likewise.
23654 * All files with FSF copyright notices: Update copyright dates
23655 using scripts/update-copyrights.
23656 * intl/plural.c: Regenerated.
23657 * locale/programs/charmap-kw.h: Likewise.
23658 * locale/programs/locfile-kw.h: Likewise.
23660 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23662 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
23665 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
23666 calculation loop and add branch prediction.
23668 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
23669 check access beyond bounds of m1np.
23671 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23673 (__inv): Remove local variable MPTWO to use the global
23675 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
23676 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23678 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
23679 MP3HALFS static const.
23681 2013-01-01 David S. Miller <davem@davemloft.net>
23683 * po/ca.po: Update from translation team.
23685 2013-01-01 Joseph Myers <joseph@codesourcery.com>
23687 * scripts/update-copyrights: New file.
23688 * Makeconfig: Reformat copyright notice.
23689 * ctype/ctype.h: Likewise.
23690 * debug/swprintf_chk.c: Likewise.
23691 * elf/dl-cache.c: Likewise.
23692 * elf/dl-debug.c: Likewise.
23693 * elf/dl-object.c: Likewise.
23694 * grp/initgroups.c: Likewise.
23695 * hurd/Makefile: Likewise.
23696 * hurd/hurd/signal.h: Likewise.
23697 * hurd/hurdfault.c: Likewise.
23698 * hurd/hurdioctl.c: Likewise.
23699 * hurd/hurdlookup.c: Likewise.
23700 * hurd/intr-msg.c: Likewise.
23701 * iconv/gconv_open.c: Likewise.
23702 * libio/swprintf.c: Likewise.
23703 * locale/lc-ctype.c: Likewise.
23704 * locale/nl_langinfo.c: Likewise.
23705 * mach/Machrules: Likewise.
23706 * mach/Makefile: Likewise.
23707 * malloc/obstack.h: Likewise.
23708 * manual/Makefile: Likewise.
23709 * manual/tsort.awk: Likewise.
23710 * misc/bits/stab.def: Likewise.
23711 * nis/nis_print_group_entry.c: Likewise.
23712 * nis/nis_table.c: Likewise.
23713 * nis/nss_compat/compat-pwd.c: Likewise.
23714 * nis/nss_compat/compat-spwd.c: Likewise.
23715 * po/Makefile: Likewise.
23716 * posix/fnmatch.c: Likewise.
23717 * posix/regex.h: Likewise.
23718 * resolv/Makefile: Likewise.
23719 * resolv/nss_dns/dns-network.c: Likewise.
23720 * resolv/res_hconf.c: Likewise.
23721 * scripts/gen-sorted.awk: Likewise.
23722 * soft-fp/soft-fp.h: Likewise.
23723 * stdio-common/printf.h: Likewise.
23724 * stdlib/monetary.h: Likewise.
23725 * stdlib/random.c: Likewise.
23726 * stdlib/random_r.c: Likewise.
23727 * sysdeps/generic/Makefile: Likewise.
23728 * sysdeps/gnu/Makefile: Likewise.
23729 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23730 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23731 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23732 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23733 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23734 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23735 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23736 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23737 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23738 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23739 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23740 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23741 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23742 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23743 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
23744 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23745 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23746 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23747 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23748 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23749 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23750 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23751 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23752 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23753 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
23754 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23755 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23756 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
23757 * sysdeps/mach/hurd/errnos.awk: Likewise.
23758 * sysdeps/mach/hurd/fork.c: Likewise.
23759 * sysdeps/mach/hurd/getcwd.c: Likewise.
23760 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
23761 * sysdeps/mach/hurd/mmap.c: Likewise.
23762 * sysdeps/mach/hurd/utimes.c: Likewise.
23763 * sysdeps/mach/hurd/xmknod.c: Likewise.
23764 * sysdeps/posix/profil.c: Likewise.
23765 * sysdeps/posix/readdir_r.c: Likewise.
23766 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23767 * sysdeps/powerpc/bits/setjmp.h: Likewise.
23768 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
23769 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23770 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23771 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23772 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23773 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23774 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23775 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23776 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23777 * sysdeps/pthread/lio_listio.c: Likewise.
23778 * sysdeps/sparc/dl-procinfo.h: Likewise.
23779 * sysdeps/unix/i386/sysdep.S: Likewise.
23780 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
23781 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
23782 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
23783 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
23784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23785 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23786 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23787 * sysdeps/unix/sysv/linux/speed.c: Likewise.
23788 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23789 * sysdeps/wordsize-32/divdi3.c: Likewise.
23790 * time/sys/time.h: Likewise.
23791 * wcsmbs/Makefile: Likewise.
23793 2013-01-01 David S. Miller <davem@davemloft.net>
23795 * po/fr.po: Update from translation team.
23797 * catgets/gencat.c: Update copyright year.
23798 * csu/version.c: Likewise.
23799 * debug/catchsegv.sh: Likewise.
23800 * debug/pcprofiledump.c: Likewise.
23801 * debug/xtrace.sh: Likewise.
23802 * elf/ldconfig.c: Likewise.
23803 * elf/ldd.bash.in: Likewise.
23804 * elf/pldd.c: Likewise.
23805 * elf/sotruss.ksh: Likewise.
23806 * elf/sprof.c: Likewise.
23807 * iconv/iconv_prog.c: Likewise.
23808 * iconv/iconvconfig.c: Likewise.
23809 * locale/programs/locale.c: Likewise.
23810 * locale/programs/localedef.c: Likewise.
23811 * login/programs/pt_chown.c: Likewise.
23812 * malloc/memusage.sh: Likewise.
23813 * malloc/memusagestat.c: Likewise.
23814 * malloc/mtrace.pl: Likewise.
23815 * nscd/nscd.c: Likewise.
23816 * nss/getent.c: Likewise.
23817 * nss/makedb.c: Likewise.
23818 * posix/getconf.c: Likewise.
23820 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23822 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
23825 2012-12-30 Mike Frysinger <vapier@gentoo.org>
23827 * math/bits/mathcalls.h (modf): Use __nonnull.
23829 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23831 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
23832 (split): Use macro CN instead of the bare value.
23833 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
23835 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
23836 instead of the bare value.
23837 (power1): Likewise.
23839 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23841 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
23843 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23845 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
23847 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23848 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23849 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
23850 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23852 2012-12-28 Andreas Jaeger <aj@suse.de>
23854 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
23855 values are from Linux 3.7.
23857 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
23858 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
23860 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23862 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
23865 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
23867 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
23868 variables with preprocessor constants.
23869 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23870 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23871 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23873 2012-12-27 Bruno Haible <bruno@clisp.org>
23876 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
23879 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23881 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
23882 and use variable directly.
23883 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
23885 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23887 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
23888 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23890 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23891 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23892 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
23893 include directive. Remove local variable MPONE.
23894 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
23895 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
23896 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23898 2012-12-25 David S. Miller <davem@davemloft.net>
23900 * version.h (RELEASE): Set to "development".
23901 (VERSION): Set to "2.17.90".
23902 * NEWS: Add 2.18 section.
23904 2012-12-21 David S. Miller <davem@davemloft.net>
23906 * po/hr.po: Update from translation team.
23908 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23910 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
23912 2012-12-19 Steve Ellcey <sellcey@mips.com>
23914 * NEWS: Mention new memcpy for MIPS.
23916 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23918 * manual/contrib.texi (Contributors): Spelling correction.
23920 2012-12-15 David S. Miller <davem@davemloft.net>
23922 * po/ru.po: Update from translation team.
23924 2012-12-13 David S. Miller <davem@davemloft.net>
23926 * NEWS: Mention IFUNC testsuite enhancements.
23928 * po/pl.po: Update from translation team.
23929 * po/bg.po: Likewise.
23931 * manual/contrib.texi (Contributors): Update entries for Hongjiu
23932 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
23934 2012-12-11 David S. Miller <davem@davemloft.net>
23936 * po/sv.po: Update from translation team.
23938 * po/vi.po: Update from translation team.
23940 * po/cs.po: Update from translation team.
23942 * po/de.po: Update from translation team.
23943 * po/eo.po: Likewise.
23944 * po/nl.po: Likewise.
23946 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23949 * manual/argp.texi (Argp Helper Functions): Move node to follow
23950 Argp Parsing State.
23953 * manual/conf.texi (Limits on File System Capacity): Mention if
23954 terminating null is included in the max size.
23956 2012-12-10 Andreas Jaeger <aj@suse.de>
23958 * po/cs.po: Update from translation team.
23960 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23962 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
23963 void pointer and cast to uintptr_t.
23964 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
23966 * sysdeps/s390/s390-64/memcpy.S: Likewise.
23967 * sysdeps/s390/s390-64/memset.S: Likewise.
23969 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
23972 * menual/message.texi (Message Translation): Fix typos.
23973 (Helper programs for gettext): Likewise.
23975 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
23978 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23981 2012-12-07 David S. Miller <davem@davemloft.net>
23983 * po/libc.pot: Update.
23985 2012-12-07 Richard Henderson <rth@redhat.com>
23988 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
23989 normal/normal case to before the switch.
23990 (_FP_DIV): Likewise.
23992 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
23993 Mike Frysinger <vapier@gentoo.org>
23995 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23996 check for __NR_fadvise64_64.
23998 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
24000 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24001 0, not just to plain "0" as a statement.
24002 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24005 2012-12-06 Joseph Myers <joseph@codesourcery.com>
24007 * NEWS: Use sourceware.org in Bugzilla URL.
24009 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24012 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24014 * stdio-common/tst-put-error.c (do_test): Add newline to the
24015 padded test to ensure flush.
24017 2012-12-05 Jeff Law <law@redhat.com>
24019 * sunrpc/etc.rpc (fedfs_admin): Add entry.
24021 2012-12-05 Joseph Myers <joseph@codesourcery.com>
24023 * README: Don't refer to ports add-on as distributed separately.
24024 Mention AArch64 in list of systems supported in the ports add-on.
24026 * LICENSES: Add more non-FSF copyright and license notices.
24028 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24031 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24033 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24034 10000 as width of padded output.
24036 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24038 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24040 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24041 variable LX with __attribute__ ((unused)).
24042 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24044 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24045 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24046 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24047 with __attribute__ ((unused)).
24049 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
24051 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24053 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24055 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24056 (CFLAGS-nldbl-acos.c): New variable.
24057 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24058 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24059 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24060 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24061 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24062 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24063 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24064 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24065 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24066 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24067 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24068 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24069 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24070 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24071 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24072 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24073 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24074 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24075 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24076 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24077 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24078 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24079 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24080 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24081 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24082 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24083 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24084 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24085 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24086 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24087 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24088 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24089 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24090 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24091 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24092 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24093 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24094 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24095 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24096 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24097 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24098 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24099 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24100 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24101 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24102 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24103 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24104 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24105 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24106 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24107 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24108 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24109 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24110 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24111 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24112 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24113 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24114 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24115 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24116 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24117 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24118 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24119 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24120 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24121 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24122 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24123 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24124 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24125 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
24126 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
24127 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
24128 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
24129 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
24130 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
24131 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
24132 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
24133 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
24134 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
24135 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
24136 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
24137 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
24138 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
24139 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
24140 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
24141 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
24142 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
24143 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
24144 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
24145 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
24146 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
24147 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
24148 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
24149 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
24150 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
24151 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
24152 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
24153 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
24155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24156 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24159 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
24160 whole low double instead of just low 47 bits when splitting values
24163 2012-12-03 Allan McRae <allan@archlinux.org>
24165 * manual/stdio.texi (Predefined Printf Handlers): Remove
24166 @hsep and @vsep usage.
24168 2012-12-03 Mike Frysinger <vapier@gentoo.org>
24170 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
24171 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
24173 2012-12-03 Jeff Law <law@redhat.com>
24175 * time/sys/time.h (settimeofday): Do not mark TV argument
24178 2012-12-01 Mike Frysinger <vapier@gentoo.org>
24180 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
24181 when currently writing and seek to current position when not.
24182 * libio/Makefile (tests): Remove bug-fclose1.
24183 * libio/bug-fclose1.c: Delete.
24185 2012-12-01 Joseph Myers <joseph@codesourcery.com>
24187 * manual/arith.texi (feenableexcept): Fix typo.
24188 (fedisableexcept): Likewise.
24190 2012-11-30 Roland McGrath <roland@hack.frob.com>
24192 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
24193 second, differently-typed declaration, rather than a cast.
24195 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24197 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
24198 * include/rpc/svc.h: ... here.
24200 2012-11-30 Aurelien Jarno <aurel32@debian.org>
24203 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
24204 depending n and resplen2 to catch cases where answer
24207 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
24209 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
24210 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
24212 2012-11-29 Mike Frysinger <vapier@gentoo.org>
24214 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
24216 2012-11-29 Roland McGrath <roland@hack.frob.com>
24218 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
24220 2012-11-28 Jeff Law <law@redhat.com>
24223 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
24224 dataset_temporary. Track alloca usage into alloca_used.
24225 If dataset is large allocate and release it via malloc/free.
24227 2012-06-04 Florian Weimer <fweimer@redhat.com>
24230 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
24232 2012-11-28 David S. Miller <davem@davemloft.net>
24234 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24236 2012-11-28 Joseph Myers <joseph@codesourcery.com>
24239 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
24240 of pi/2 rounded to nearest to 64 bits.
24241 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
24242 nearest to 64 bits.
24243 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
24246 2012-11-28 Jeff Law <law@redhat.com>
24247 Martin Osvald <mosvald@redhat.com>
24250 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
24251 * sunrpc/svc.c: Include time.h.
24252 (__svc_accept_failed): New function.
24253 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
24254 any reason other than EINTR, call __svc_accept_failed.
24255 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
24256 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
24258 2012-11-28 Andreas Schwab <schwab@suse.de>
24260 * scripts/abilist.awk: Also handle indirect functions in .opd
24263 2012-11-28 Joseph Myers <joseph@codesourcery.com>
24266 * sysdeps/x86/fpu/powl_helper.c: New file.
24267 * sysdeps/x86/fpu/Makefile: Likewise.
24268 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
24270 (__ieee754_powl): Use __powl_helper for finite arguments except
24271 integer exponents below 8.
24272 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
24274 (__ieee754_powl): Use __powl_helper for finite arguments except
24275 integer exponents below 8.
24276 * math/libm-test.inc (pow_test): Add more tests and enable some
24277 previously disabled tests.
24278 * sysdeps/i386/fpu/libm-test-ulps: Update.
24279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24281 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24282 Carlos O'Donell <carlos_odonell@mentor.com>
24284 * nss/makedb.c (is_prime): Assert that input is odd and greater
24285 than 4. Note that fact in a comment too.
24286 (next_prime): Add 4 to input.
24288 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24291 * libio/Makefile (tests): Add test case tst-fwrite-error.
24292 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
24293 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
24294 * libio/tst-fwrite-error.c: New test case.
24296 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
24298 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
24299 before casting to void *.
24300 * include/libc-internal.h (__pointer_type): New macro.
24301 (__integer_if_pointer_type_sub): Likewise.
24302 (__integer_if_pointer_type): Likewise.
24303 (cast_to_integer): Likewise.
24304 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
24305 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
24306 before casting to atomic64_t.
24307 (atomic_exchange_acq): Likewise.
24308 (__arch_exchange_and_add_body): Likewise.
24309 (__arch_add_body): Likewise.
24310 (atomic_add_negative): Likewise.
24311 (atomic_add_zero): Likewise.
24313 2012-11-26 Joseph Myers <joseph@codesourcery.com>
24315 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
24316 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
24317 (add_fdes): Likewise.
24318 (linear_search_fdes): Likewise.
24319 (binary_search_unencoded_fdes): Likewise.
24321 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
24323 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
24325 2012-11-24 Adam Conrad <adconrad@0c3.net>
24327 * configure.in: Autodetect C++ header directories.
24328 * configure: Regenerated.
24330 2012-11-23 Mike Frysinger <vapier@gentoo.org>
24332 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
24334 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
24336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24338 2012-11-22 Joseph Myers <joseph@codesourcery.com>
24340 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
24341 LDBL_MANT_DIG == 106]: Disable some tests.
24342 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24344 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24348 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
24349 input for small inputs. Return +/- pi/2 for large inputs.
24350 * math/libm-test.inc (atan_test): Add more tests.
24352 * sysdeps/generic/unwind-dw2-fde-glibc.c
24353 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
24354 __attribute__ ((unused)).
24357 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
24358 x * y if x and y are nonzero and z is zero.
24361 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
24362 nonzero exponents with absolute value below 0x1p-117 to +/-
24366 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
24367 up arguments below 2**-450, not just those below 2**-500.
24368 * math/libm-test.inc (hypot_test): Add another test.
24371 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24372 Return a+b for ratio over 2**120, not 2**60.
24373 * math/libm-test.inc (hypot_test): Add another test.
24375 * math/libm-test.inc (clog_test): Use
24376 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
24377 (clog10_test): Likewise.
24380 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
24382 2012-11-22 Andreas Schwab <schwab@suse.de>
24384 * sysdeps/i386/fpu/libm-test-ulps: Update.
24386 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
24388 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
24389 printf output with newline.
24391 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
24394 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
24395 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
24396 -z nodlopen, -z initfirst and -z execstack support.
24397 * configure: Regenerated.
24399 * elf/elf.h (DF_1_NODIRECT): New macro.
24400 (DF_1_IGNMULDEF): Likewise.
24401 (DF_1_NOKSYMS): Likewise.
24402 (DF_1_NOHDR): Likewise.
24403 (DF_1_EDITED): Likewise.
24404 (DF_1_NORELOC): Likewise.
24405 (DF_1_SYMINTPOSE): Likewise.
24406 (DF_1_GLOBAUDIT): Likewise.
24407 (DF_1_SINGLETON): Likewise.
24408 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
24409 DT_1_SUPPORTED_MASK bits.
24410 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
24412 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
24414 * sysdeps/unix/make-syscalls.sh: Document prefixes.
24416 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
24418 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
24421 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
24422 (sendmmsg): Move declarations...
24423 * socket/sys/socket.h: ... here.
24424 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
24425 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
24427 * socket/recvmmsg.c: ... this new file.
24428 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
24429 (sendmmsg): Rename to __sendmmsg, create weak alias and make
24430 definition of __sendmmsg hidden.
24431 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
24432 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
24433 Move ENOSYS stub into and include it from...
24434 * socket/sendmmsg.c: ... this new file.
24435 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
24436 (sysdep_routines): Move recvmmsg and sendmmsg...
24437 * socket/Makefile (routines): ... here.
24438 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
24439 (GLIBC_PRIVATE): Add __sendmmsg.
24440 * include/sys/socket.h (__sendmmsg): Add declarations.
24441 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
24444 2012-11-20 Joseph Myers <joseph@codesourcery.com>
24446 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
24447 variable I1 with __attribute__ ((unused)).
24448 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24450 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24452 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
24453 DUMMY variables with __attribute__ ((unused)).
24455 * bits/byteswap.h: Include <bits/types.h>.
24456 (__bswap_64): Use __uint64_t instead of unsigned long long int.
24458 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24460 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24461 string_t. Do not manually set errno.
24462 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24463 length with __strnlen. Make sure to both set errno and return it on
24466 2012-11-19 David S. Miller <davem@davemloft.net>
24468 With help from Joseph Myers.
24469 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24470 very large arguments properly.
24471 * math/libm-test.inc (atan_test): New tests.
24472 (atan2_test): New tests.
24473 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24474 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24476 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24479 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24482 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24483 [POSIX] (EADDRNOTAVAIL): Likewise.
24484 [POSIX] (EAFNOSUPPORT): Likewise.
24485 [POSIX] (EALREADY): Likewise.
24486 [POSIX] (ECONNABORTED): Likewise.
24487 [POSIX] (ECONNREFUSED): Likewise.
24488 [POSIX] (ECONNRESET): Likewise.
24489 [POSIX] (EDESTADDRREQ): Likewise.
24490 [POSIX] (EDQUOT): Likewise.
24491 [POSIX] (EHOSTUNREACH): Likewise.
24492 [POSIX] (EIDRM): Likewise.
24493 [POSIX] (EISCONN): Likewise.
24494 [POSIX] (ELOOP): Likewise.
24495 [POSIX] (EMULTIHOP): Likewise.
24496 [POSIX] (ENETDOWN): Likewise.
24497 [POSIX] (ENETUNREACH): Likewise.
24498 [POSIX] (ENOBUFS): Likewise.
24499 [POSIX] (ENODATA): Likewise.
24500 [POSIX] (ENOLINK): Likewise.
24501 [POSIX] (ENOMSG): Likewise.
24502 [POSIX] (ENOPROTOOPT): Likewise.
24503 [POSIX] (ENOSR): Likewise.
24504 [POSIX] (ENOSTR): Likewise.
24505 [POSIX] (ENOTCONN): Likewise.
24506 [POSIX] (ENOTSOCK): Likewise.
24507 [POSIX] (EOPNOTSUPP): Likewise.
24508 [POSIX] (EOVERFLOW): Likewise.
24509 [POSIX] (EPROTO): Likewise.
24510 [POSIX] (EPROTONOSUPPORT): Likewise.
24511 [POSIX] (EPROTOTYPE): Likewise.
24512 [POSIX] (ESTALE): Likewise.
24513 [POSIX] (ETIME): Likewise.
24514 [POSIX] (ETXTBSY): Likewise.
24515 [POSIX] (EWOULDBLOCK): Likewise.
24516 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24517 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24518 [POSIX] (SEEK_CUR): Likewise.
24519 [POSIX] (SEEK_END): Likewise.
24520 [POSIX || UNIX98] (mode_t): Do not require.
24521 [POSIX] (off_t): Likewise.
24522 [POSIX] (pid_t): Likewise.
24523 [POSIX] (sys/stat.h): Do not allow header.
24524 [POSIX] (unistd.h): Likewise.
24525 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24526 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24527 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24528 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24530 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24531 sigevent): Specify elements.
24532 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24534 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24535 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24537 * conform/data/cpio.h-data [POSIX]: Disable whole file.
24538 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24539 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24540 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24541 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24542 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24543 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24544 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24545 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24546 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24547 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24548 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24549 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24550 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24552 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24554 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24556 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24558 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24559 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24560 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24561 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24562 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24563 Specify lower bound on value.
24564 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24565 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24566 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24567 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24568 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24569 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24570 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24571 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24573 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24575 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24576 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24577 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24578 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24579 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24580 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24581 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24582 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24583 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24584 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24585 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24586 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24587 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24588 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24589 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24590 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24592 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24594 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24595 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24596 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24597 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24598 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24599 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24601 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24602 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24603 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24604 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24605 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
24606 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24607 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24609 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24610 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24611 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24612 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24613 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24614 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24615 specify as optional.
24616 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24617 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24618 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24619 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24620 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24621 [XPG3] (NL_LANGMAX): Likewise.
24622 [POSIX || XPG3] (NL_MSGMAX): Likewise.
24623 [POSIX || XPG3] (NL_NMAX): Likewise.
24624 [POSIX || XPG3] (NL_SETMAX): Likewise.
24625 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24626 [XPG3] (NZERO): Likewise.
24627 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24628 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24629 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24630 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24631 (REG_ERANGE): Expect.
24632 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
24634 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
24635 Use (void) in prototype.
24636 [POSIX] (*_t): Allow.
24637 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
24638 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
24639 (WRDE_BADVAL): Expect.
24641 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
24643 [XPG3 || XPG4] (O_RSYNC): Likewise.
24644 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
24646 [XPG3 || XPG4] (pthread_sigmask): Likewise.
24647 [XPG3 || XPG4] (sigqueue): Likewise.
24648 [XPG3 || XPG4] (sigtimedwait): Likewise.
24649 [XPG3 || XPG4] (sigwaitinfo): Likewise.
24650 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
24651 [XPG3 || XPG4] (vsnprintf): Likewise.
24652 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
24654 [XPG3 || XPG4] (blksize_t): Likewise.
24655 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
24657 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
24658 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24659 [XPG3 || XPG4] (struct itimerspec): Likewise.
24660 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
24661 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
24662 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
24663 [XPG3 || XPG4] (clockid_t): Likewise.
24664 [XPG3 || XPG4] (timer_t): Likewise.
24665 [XPG3 || XPG4] (clock_getres): Likewise.
24666 [XPG3 || XPG4] (clock_gettime): Likewise.
24667 [XPG3 || XPG4] (clock_settime): Likewise.
24668 [XPG3 || XPG4] (nanosleep): Likewise.
24669 [XPG3 || XPG4] (timer_create): Likewise.
24670 [XPG3 || XPG4] (timer_delete): Likewise.
24671 [XPG3 || XPG4] (timer_gettime): Likewise.
24672 [XPG3 || XPG4] (timer_getoverrun): Likewise.
24673 [XPG3 || XPG4] (timer_settime): Likewise.
24674 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
24675 [XPG3 || XPG4] (getlogin_r): Likewise.
24676 [XPG3 || XPG4] (pread): Likewise.
24677 [XPG3 || XPG4] (pthread_atfork): Likewise.
24678 [XPG3 || XPG4] (pwrite): Likewise.
24681 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
24684 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24686 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
24687 finalizing MALLSTREAM.
24689 * sysdeps/mach/hurd/syncfs.c: New file.
24691 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24694 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
24695 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
24696 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
24697 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
24698 (_nss_dns_gethostbyname4_r): Likewise.
24699 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
24700 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
24702 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
24705 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
24707 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
24709 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
24710 * elf/cache.c (print_entry): Print ",AArch64" for
24713 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
24714 * elf/cache.c (print_entry): Print ",hard-float" for
24717 2012-11-18 David S. Miller <davem@davemloft.net>
24719 With help from Joseph Myers.
24720 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
24722 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
24724 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
24725 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
24727 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
24728 * math/libm-test.inc (y0_test): New tests.
24729 (y1_test): New tests.
24730 * sysdeps/i386/fpu/libm-test-ulps: Update.
24731 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24732 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24734 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
24736 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
24738 * configure: Regenerated.
24740 2012-11-17 David S. Miller <davem@davemloft.net>
24743 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
24744 nonzero exponents with absolute value below 0x1p-128 to +/-
24747 2012-11-17 Joseph Myers <joseph@codesourcery.com>
24749 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
24751 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
24753 * posix/getconf-speclist.c: New file.
24754 * posix/posix-envs.def: Likewise.
24755 * posix/confstr.c (START_ENV_GROUP): New macro.
24756 (END_ENV_GROUP): Likewise.
24757 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24758 (KNOWN_PRESENT_ENV_STRING): Likewise.
24759 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24760 (UNKNOWN_ENVIRONMENT): Likewise.
24761 (confstr): Include posix-envs.def instead of handling
24762 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
24763 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
24764 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
24765 (END_ENV_GROUP): Likewise.
24766 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24767 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24768 (UNKNOWN_ENVIRONMENT): Likewise.
24769 (__sysconf): Include posix-envs.def instead of handling associated
24770 cases directly here.
24771 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
24772 preprocessing getconf-speclist.c rather than running getconf or
24773 generating empty file.
24775 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
24777 * scripts/check-local-headers.sh: Ignore 'mach' headers.
24779 2012-11-16 Andrej Lajovic <natrij@gmail.com>
24782 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
24784 2012-11-16 David S. Miller <davem@davemloft.net>
24786 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
24787 smaller than LDBL_EPSILON/2.0L, just return xm1.
24789 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
24791 * elf/tst-array1.c (init): Set constructor priority to 1000.
24792 (fini): Set destructor priority to 1000.
24793 * elf/tst-array2dep.c: Likewise.
24795 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24798 * libio/fileops.c (_IO_new_file_write): Correctly return error.
24799 (_IO_new_file_xsputn): Also return EOF if none of the input
24800 data was written when overflow failed.
24801 * libio/iopadn.c (_IO_padn): Likewise.
24802 * libio/iowpadn.c (_IO_wpadn): Likewise.
24803 * stdio-common/tst-put-error.c: Add copyright notice.
24804 (do_test): Add case for printing padded string.
24805 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
24806 _IO_padn returned error.
24807 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
24808 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
24811 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24813 * libio/libioP.h: Add comment note that the references to C++
24814 bits are now obsolete.
24816 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24818 * math/libm-test.inc (check_complex): Use asprintf.
24820 2012-11-14 Joseph Myers <joseph@codesourcery.com>
24822 * debug/pcprofiledump.c (print_version): Update copyright year.
24823 * malloc/memusagestat.c (print_version): Likewise.
24825 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
24828 * elf/Makefile (tests): Add tst-audit8.
24829 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
24830 ($(objpfx)tst-audit8.out): New target.
24831 (tst-audit8-ENV): New variable.
24832 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
24833 audit if l_reloc_result is NULL.
24834 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
24835 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
24836 * elf/tst-audit8.c: New file.
24838 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24840 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
24841 * misc/Makefile (CFLAGS-select.c): Define.
24842 * posix/Makefile (CFLAGS-pause.c): Define.
24844 2012-11-13 David S. Miller <davem@davemloft.net>
24846 * crypt/Makefile: Move test targets after toplevel Rules
24847 inclusion. Grab any necessary sysdep routines when linking.
24848 * crypt/md5.c (md5_process_block): Remove define, we will always
24849 name it __md5_process_block.
24850 (md5_finish_ctx): Update md5_process_block call.
24851 (md5_stream): Likewise.
24852 (md5_process_bytes): Likewise.
24853 (md5_process_block): Rename to __md5_process_block and move to ...
24854 * crypt/md5-block.c: ... here.
24855 * crypt/sha256.c (sha256_process_block): Move to ...
24856 * crypt/sha256-block.c: ... here.
24857 * crypt/sha512.c (sha512_process_block): Move to ...
24858 * crypt/sha512-block.c: ... here.
24859 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
24861 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
24862 * sysdeps/sparc/sparc64/multiarch/Makefile
24863 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
24865 (localedef-aux): Add md5 crypto assembler when in locale subdir.
24866 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
24868 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
24869 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
24870 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
24871 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
24872 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
24873 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
24874 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
24875 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
24876 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
24878 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
24879 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
24881 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
24883 2012-11-13 Joseph Myers <joseph@codesourcery.com>
24885 * timezone/tzselect.ksh: Update from tzcode git revision
24886 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
24887 * timezone/zdump.c: Likewise.
24888 * timezone/zic.c: Likewise.
24889 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
24890 in TZVERSION setting, not $(PKGVERSION).
24891 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
24892 REPORT_BUGS_TO settings.
24895 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
24898 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24900 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
24901 detection to immediately after _FP_ROUND().
24902 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
24905 2012-11-11 David S. Miller <davem@davemloft.net>
24907 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
24909 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
24910 __close rather than their public counterparts.
24912 2012-11-10 Joseph Myers <joseph@codesourcery.com>
24914 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
24916 [UNIX98] (sem_timedwait): Do not expect.
24917 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
24918 [XPG4 || UNIX98] (sockatmark): Do not expect.
24919 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
24920 (clock_getcpuclockid): Do not expect.
24921 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
24922 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
24924 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
24925 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
24926 [UNIX98] (vwscanf): Likewise.
24927 [UNIX98] (vswscanf): Likewise.
24929 2012-11-09 Joseph Myers <joseph@codesourcery.com>
24931 * timezone/version.h: Remove file.
24932 * timezone/README: Do not refer to version.h.
24933 * timezone/Makefile ($(objpfx)zic.o): New dependency on
24934 $(objpfx)version.h.
24935 ($(objpfx)zdump.o): Likewise.
24936 ($(objpfx)version.h): New target.
24938 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
24940 * timezone/README: Don't mention modification to tzselect.ksh.
24941 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
24942 work on unmodified tzselect.ksh. Substitute version numbers in
24945 * Makefile (format-me): Remove.
24946 (INSTALL): Adjust indentation. Use commands directly instead of
24947 using $(format-me).
24949 * aclocal.m4 (ACX_PKGVERSION): New macro.
24950 (ACX_BUGURL): Likewise.
24951 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
24952 (PKGVERSION): New AC_DEFINE_UNQUOTED.
24953 (REPORT_BUGS_TO): Likewise.
24954 * configure: Regenerated.
24955 * config.h.in (PKGVERSION): New macro.
24956 (REPORT_BUGS_TO): Likewise.
24957 * config.make.in (PKGVERSION): New variable.
24958 (PKGVERSION_TEXI): Likewise.
24959 (REPORT_BUGS_TO): Likewise.
24960 (REPORT_BUGS_TEXI): Likewise.
24961 * Makefile (format-me): Use -I$(common-objpfx)manual.
24962 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
24963 ($(common-objpfx)manual/%): New target.
24964 (manual/%): Remove target.
24965 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24966 (print_version): Use PKGVERSION.
24967 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
24968 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24969 and REPORT_BUGS_TO.
24970 ($(objpfx)xtrace): Likewise.
24971 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24972 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24973 (print_version): Use PKGVERSION.
24974 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24975 (do_version): Use PKGVERSION.
24976 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24978 (common-ldd-rewrite): Likewise.
24979 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24980 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24981 (print_version): Use PKGVERSION.
24982 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24983 * elf/pldd.c (argp_program_bug_address): Remove variable.
24984 (more_help): New function.
24985 (argp): Use more_help.
24986 (print_version): Use PKGVERSION.
24987 * elf/sln.c (main): Use PKGVERSION.
24988 (usage): Use REPORT_BUGS_TO.
24989 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
24990 (top level): Use PKGVERSION.
24991 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24992 (print_version): Use PKGVERSION.
24993 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24994 (print_version): Use PKGVERSION.
24995 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24996 (print_version): Use PKGVERSION.
24997 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24998 (print_version): Use PKGVERSION.
24999 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25000 (print_version): Use PKGVERSION.
25001 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25002 (print_version): Use PKGVERSION.
25003 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25005 ($(objpfx)memusage): Likewise.
25006 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25007 (do_version): Use PKGVERSION.
25008 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25009 (print_version): Use PKGVERSION.
25010 * malloc/mtrace.pl ($PACKAGE): Remove variable.
25011 ($PKGVERSION): New variable.
25012 ($REPORT_BUGS_TO): Likewise.
25013 (usage): Use $REPORT_BUGS_TO.
25014 (top level): Use $PKGVERSION.
25015 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25016 ($(objpfx)pkgvers.texi): New rule.
25017 ($(objpfx)stamp-pkgvers): Likewise.
25018 * manual/install.texi: Include pkgvers.texi.
25019 (--with-pkgversion): Document new configure option.
25020 (--with-bugurl): Likewise.
25021 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25022 than necessarily for this particular distribution. Use
25023 REPORT_BUGS_TO for where to report bugs.
25024 * INSTALL: Regenerated.
25025 * manual/libc.texinfo: Include pkgvers.texi.
25026 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25027 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25028 (print_version): Use PKGVERSION.
25029 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25030 (print_version): Use PKGVERSION.
25031 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25032 (print_version): Use PKGVERSION.
25033 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25034 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25036 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25037 (print_version): Use PKGVERSION.
25038 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25039 (print_version): Use PKGVERSION.
25040 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25043 * timezone/checktab.awk: Update from tzcode 2012i.
25044 * timezone/ialloc.c: Likewise.
25045 * timezone/private.h: Likewise.
25046 * timezone/scheck.c: Likewise.
25047 * timezone/tzfile.h: Likewise.
25048 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25049 (TZVERSION): Hardcode tzcode version number.
25050 * timezone/zdump.c: Update from tzcode 2012i.
25051 * timezone/zic.c: Likewise.
25052 * timezone/version.h: New file.
25053 * timezone/README: Describe version.h. Update upstream location.
25056 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25057 (mktemp): Enable declaration.
25058 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25059 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25060 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25061 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25063 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25065 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25067 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25069 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25071 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25075 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25076 offset in buffer as u_int32_t not u_long. Consistently use memcpy
25077 for copies of such integer values.
25078 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25079 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25081 2012-11-09 Andreas Jaeger <aj@suse.de>
25083 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25084 definitions and declarations that are provided by
25085 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25087 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25089 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
25090 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25091 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25094 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25096 * elf/elf.h: Update comment before AArch64 relocations.
25098 2012-11-07 David S. Miller <davem@davemloft.net>
25100 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25101 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25102 (__start_context): Declare.
25103 (__makecontext_ret): Delete.
25104 (__makecontext): Hook up __start_context instead of
25106 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25107 (sysdep_routines): Add __start_context when in stdlib.
25109 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25111 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25112 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25113 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
25115 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
25116 (READELF): New variable. Use it instead of hardcoded "readelf".
25118 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
25120 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25121 * sysdeps/x86/Makefile: Here.
25122 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25123 * sysdeps/x86/tst-xmmymm.sh: This.
25125 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25127 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
25129 [UNIX98] (pthread_barrier_t): Do not expect.
25130 [UNIX98] (pthread_barrierattr_t): Likewise.
25131 [UNIX98] (pthread_spinlock_t): Likewise.
25132 [UNIX98] (pthread_barrier_destroy): Likewise.
25133 [UNIX98] (pthread_barrier_init): Likewise.
25134 [UNIX98] (pthread_barrier_wait): Likewise.
25135 [UNIX98] (pthread_barrierattr_destroy): Likewise.
25136 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
25137 [UNIX98] (pthread_barrierattr_init): Likewise.
25138 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
25139 [UNIX98] (pthread_getcpuclockid): Likewise.
25140 [UNIX98] (pthread_mutex_timedlock): Likewise.
25141 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25142 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
25143 [UNIX98] (pthread_sigmask): Likewise.
25144 [UNIX98] (pthread_spin_destroy): Likewise.
25145 [UNIX98] (pthread_spin_init): Likewise.
25146 [UNIX98] (pthread_spin_lock): Likewise.
25147 [UNIX98] (pthread_spin_trylock): Likewise.
25148 [UNIX98] (pthread_spin_unlock): Likewise.
25149 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
25151 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
25152 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
25153 [XPG3 || XPG4] (pthread_cond_t): Likewise.
25154 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
25155 [XPG3 || XPG4] (pthread_key_t): Likewise.
25156 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
25157 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
25158 [XPG3 || XPG4] (pthread_once_t): Likewise.
25159 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
25160 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
25161 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
25162 [XPG3 || XPG4] (pthread_t): Likewise.
25164 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
25166 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
25168 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
25169 Change function return type to int.
25171 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
25172 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
25173 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
25174 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
25175 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
25176 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
25177 [!POSIX] (posix_madvise): Likewise.
25178 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
25180 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
25181 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
25182 (mode_t): Likewise.
25183 (posix_mem_offset): Likewise.
25184 (posix_typed_mem_get_info): Likewise.
25185 (posix_typed_mem_open): Likewise.
25187 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
25188 Change condition to [XOPEN2K8].
25190 * conform/conformtest.pl: Preprocess allow-header data with -x c
25191 instead of from stdin.
25192 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
25193 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
25194 [C99-based standards] (cerfc): Likewise.
25195 [C99-based standards] (cexp2): Likewise.
25196 [C99-based standards] (cexpm1): Likewise.
25197 [C99-based standards] (clog10): Likewise.
25198 [C99-based standards] (clog1p): Likewise.
25199 [C99-based standards] (clog2): Likewise.
25200 [C99-based standards] (clgamma): Likewise.
25201 [C99-based standards] (ctgamma): Likewise.
25202 [C99-based standards] (cerff): Likewise.
25203 [C99-based standards] (cerfcf): Likewise.
25204 [C99-based standards] (cexp2f): Likewise.
25205 [C99-based standards] (cexpm1f): Likewise.
25206 [C99-based standards] (clog10f): Likewise.
25207 [C99-based standards] (clog1pf): Likewise.
25208 [C99-based standards] (clog2f): Likewise.
25209 [C99-based standards] (clgammaf): Likewise.
25210 [C99-based standards] (ctgammaf): Likewise.
25211 [C99-based standards] (cerfl): Likewise.
25212 [C99-based standards] (cerfcl): Likewise.
25213 [C99-based standards] (cexp2l): Likewise.
25214 [C99-based standards] (cexpm1l): Likewise.
25215 [C99-based standards] (clog10l): Likewise.
25216 [C99-based standards] (clog1pl): Likewise.
25217 [C99-based standards] (clog2l): Likewise.
25218 [C99-based standards] (clgammal): Likewise.
25219 [C99-based standards] (ctgammal): Likewise.
25220 * conform/data/inttypes.h-data [C99-based standards]: Include
25221 stdint.h-data. Remove all expectations for stdint.h contents.
25222 [C99-based standards] (PRI*): Do not allow.
25223 [C99-based standards] (SCN*): Likewise.
25224 [C99-based standards] (*_t): Likewise.
25225 [C99-based-standards] (PRId8): Expect macro.
25226 [C99-based-standards] (PRIi8): Likewise.
25227 [C99-based-standards] (PRIo8): Likewise.
25228 [C99-based-standards] (PRIu8): Likewise.
25229 [C99-based-standards] (PRIx8): Likewise.
25230 [C99-based-standards] (PRIX8): Likewise.
25231 [C99-based-standards] (SCNd8): Likewise.
25232 [C99-based-standards] (SCNi8): Likewise.
25233 [C99-based-standards] (SCNo8): Likewise.
25234 [C99-based-standards] (SCNu8): Likewise.
25235 [C99-based-standards] (SCNx8): Likewise.
25236 [C99-based-standards] (PRIdLEAST8): Likewise.
25237 [C99-based-standards] (PRIiLEAST8): Likewise.
25238 [C99-based-standards] (PRIoLEAST8): Likewise.
25239 [C99-based-standards] (PRIuLEAST8): Likewise.
25240 [C99-based-standards] (PRIxLEAST8): Likewise.
25241 [C99-based-standards] (PRIXLEAST8): Likewise.
25242 [C99-based-standards] (SCNdLEAST8): Likewise.
25243 [C99-based-standards] (SCNiLEAST8): Likewise.
25244 [C99-based-standards] (SCNoLEAST8): Likewise.
25245 [C99-based-standards] (SCNuLEAST8): Likewise.
25246 [C99-based-standards] (SCNxLEAST8): Likewise.
25247 [C99-based-standards] (PRIdFAST8): Likewise.
25248 [C99-based-standards] (PRIiFAST8): Likewise.
25249 [C99-based-standards] (PRIoFAST8): Likewise.
25250 [C99-based-standards] (PRIuFAST8): Likewise.
25251 [C99-based-standards] (PRIxFAST8): Likewise.
25252 [C99-based-standards] (PRIXFAST8): Likewise.
25253 [C99-based-standards] (SCNdFAST8): Likewise.
25254 [C99-based-standards] (SCNiFAST8): Likewise.
25255 [C99-based-standards] (SCNoFAST8): Likewise.
25256 [C99-based-standards] (SCNuFAST8): Likewise.
25257 [C99-based-standards] (SCNxFAST8): Likewise.
25258 [C99-based-standards] (PRId16): Likewise.
25259 [C99-based-standards] (PRIi16): Likewise.
25260 [C99-based-standards] (PRIo16): Likewise.
25261 [C99-based-standards] (PRIu16): Likewise.
25262 [C99-based-standards] (PRIx16): Likewise.
25263 [C99-based-standards] (PRIX16): Likewise.
25264 [C99-based-standards] (SCNd16): Likewise.
25265 [C99-based-standards] (SCNi16): Likewise.
25266 [C99-based-standards] (SCNo16): Likewise.
25267 [C99-based-standards] (SCNu16): Likewise.
25268 [C99-based-standards] (SCNx16): Likewise.
25269 [C99-based-standards] (PRIdLEAST16): Likewise.
25270 [C99-based-standards] (PRIiLEAST16): Likewise.
25271 [C99-based-standards] (PRIoLEAST16): Likewise.
25272 [C99-based-standards] (PRIuLEAST16): Likewise.
25273 [C99-based-standards] (PRIxLEAST16): Likewise.
25274 [C99-based-standards] (PRIXLEAST16): Likewise.
25275 [C99-based-standards] (SCNdLEAST16): Likewise.
25276 [C99-based-standards] (SCNiLEAST16): Likewise.
25277 [C99-based-standards] (SCNoLEAST16): Likewise.
25278 [C99-based-standards] (SCNuLEAST16): Likewise.
25279 [C99-based-standards] (SCNxLEAST16): Likewise.
25280 [C99-based-standards] (PRIdFAST16): Likewise.
25281 [C99-based-standards] (PRIiFAST16): Likewise.
25282 [C99-based-standards] (PRIoFAST16): Likewise.
25283 [C99-based-standards] (PRIuFAST16): Likewise.
25284 [C99-based-standards] (PRIxFAST16): Likewise.
25285 [C99-based-standards] (PRIXFAST16): Likewise.
25286 [C99-based-standards] (SCNdFAST16): Likewise.
25287 [C99-based-standards] (SCNiFAST16): Likewise.
25288 [C99-based-standards] (SCNoFAST16): Likewise.
25289 [C99-based-standards] (SCNuFAST16): Likewise.
25290 [C99-based-standards] (SCNxFAST16): Likewise.
25291 [C99-based-standards] (PRId32): Likewise.
25292 [C99-based-standards] (PRIi32): Likewise.
25293 [C99-based-standards] (PRIo32): Likewise.
25294 [C99-based-standards] (PRIu32): Likewise.
25295 [C99-based-standards] (PRIx32): Likewise.
25296 [C99-based-standards] (PRIX32): Likewise.
25297 [C99-based-standards] (SCNd32): Likewise.
25298 [C99-based-standards] (SCNi32): Likewise.
25299 [C99-based-standards] (SCNo32): Likewise.
25300 [C99-based-standards] (SCNu32): Likewise.
25301 [C99-based-standards] (SCNx32): Likewise.
25302 [C99-based-standards] (PRIdLEAST32): Likewise.
25303 [C99-based-standards] (PRIiLEAST32): Likewise.
25304 [C99-based-standards] (PRIoLEAST32): Likewise.
25305 [C99-based-standards] (PRIuLEAST32): Likewise.
25306 [C99-based-standards] (PRIxLEAST32): Likewise.
25307 [C99-based-standards] (PRIXLEAST32): Likewise.
25308 [C99-based-standards] (SCNdLEAST32): Likewise.
25309 [C99-based-standards] (SCNiLEAST32): Likewise.
25310 [C99-based-standards] (SCNoLEAST32): Likewise.
25311 [C99-based-standards] (SCNuLEAST32): Likewise.
25312 [C99-based-standards] (SCNxLEAST32): Likewise.
25313 [C99-based-standards] (PRIdFAST32): Likewise.
25314 [C99-based-standards] (PRIiFAST32): Likewise.
25315 [C99-based-standards] (PRIoFAST32): Likewise.
25316 [C99-based-standards] (PRIuFAST32): Likewise.
25317 [C99-based-standards] (PRIxFAST32): Likewise.
25318 [C99-based-standards] (PRIXFAST32): Likewise.
25319 [C99-based-standards] (SCNdFAST32): Likewise.
25320 [C99-based-standards] (SCNiFAST32): Likewise.
25321 [C99-based-standards] (SCNoFAST32): Likewise.
25322 [C99-based-standards] (SCNuFAST32): Likewise.
25323 [C99-based-standards] (SCNxFAST32): Likewise.
25324 [C99-based-standards] (PRId64): Likewise.
25325 [C99-based-standards] (PRIi64): Likewise.
25326 [C99-based-standards] (PRIo64): Likewise.
25327 [C99-based-standards] (PRIu64): Likewise.
25328 [C99-based-standards] (PRIx64): Likewise.
25329 [C99-based-standards] (PRIX64): Likewise.
25330 [C99-based-standards] (SCNd64): Likewise.
25331 [C99-based-standards] (SCNi64): Likewise.
25332 [C99-based-standards] (SCNo64): Likewise.
25333 [C99-based-standards] (SCNu64): Likewise.
25334 [C99-based-standards] (SCNx64): Likewise.
25335 [C99-based-standards] (PRIdLEAST64): Likewise.
25336 [C99-based-standards] (PRIiLEAST64): Likewise.
25337 [C99-based-standards] (PRIoLEAST64): Likewise.
25338 [C99-based-standards] (PRIuLEAST64): Likewise.
25339 [C99-based-standards] (PRIxLEAST64): Likewise.
25340 [C99-based-standards] (PRIXLEAST64): Likewise.
25341 [C99-based-standards] (SCNdLEAST64): Likewise.
25342 [C99-based-standards] (SCNiLEAST64): Likewise.
25343 [C99-based-standards] (SCNoLEAST64): Likewise.
25344 [C99-based-standards] (SCNuLEAST64): Likewise.
25345 [C99-based-standards] (SCNxLEAST64): Likewise.
25346 [C99-based-standards] (PRIdFAST64): Likewise.
25347 [C99-based-standards] (PRIiFAST64): Likewise.
25348 [C99-based-standards] (PRIoFAST64): Likewise.
25349 [C99-based-standards] (PRIuFAST64): Likewise.
25350 [C99-based-standards] (PRIxFAST64): Likewise.
25351 [C99-based-standards] (PRIXFAST64): Likewise.
25352 [C99-based-standards] (SCNdFAST64): Likewise.
25353 [C99-based-standards] (SCNiFAST64): Likewise.
25354 [C99-based-standards] (SCNoFAST64): Likewise.
25355 [C99-based-standards] (SCNuFAST64): Likewise.
25356 [C99-based-standards] (SCNxFAST64): Likewise.
25357 [C99-based-standards] (PRIdMAX): Likewise.
25358 [C99-based-standards] (PRIiMAX): Likewise.
25359 [C99-based-standards] (PRIoMAX): Likewise.
25360 [C99-based-standards] (PRIuMAX): Likewise.
25361 [C99-based-standards] (PRIxMAX): Likewise.
25362 [C99-based-standards] (PRIXMAX): Likewise.
25363 [C99-based-standards] (SCNdMAX): Likewise.
25364 [C99-based-standards] (SCNiMAX): Likewise.
25365 [C99-based-standards] (SCNoMAX): Likewise.
25366 [C99-based-standards] (SCNuMAX): Likewise.
25367 [C99-based-standards] (SCNxMAX): Likewise.
25368 [C99-based-standards] (PRIdPTR): Likewise.
25369 [C99-based-standards] (PRIiPTR): Likewise.
25370 [C99-based-standards] (PRIoPTR): Likewise.
25371 [C99-based-standards] (PRIuPTR): Likewise.
25372 [C99-based-standards] (PRIxPTR): Likewise.
25373 [C99-based-standards] (PRIXPTR): Likewise.
25374 [C99-based-standards] (SCNdPTR): Likewise.
25375 [C99-based-standards] (SCNiPTR): Likewise.
25376 [C99-based-standards] (SCNoPTR): Likewise.
25377 [C99-based-standards] (SCNuPTR): Likewise.
25378 [C99-based-standards] (SCNxPTR): Likewise.
25379 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
25381 * conform/data/stdint.h-data: Update comments to clarify
25383 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
25385 [C99-based standards] (INT8_MAX): Likewise.
25386 [C99-based standards] (INT16_MIN): Likewise.
25387 [C99-based standards] (INT16_MAX): Likewise.
25388 [C99-based standards] (INT32_MIN): Likewise.
25389 [C99-based standards] (INT32_MAX): Likewise.
25390 [C99-based standards] (INT64_MIN): Likewise.
25391 [C99-based standards] (INT64_MAX): Likewise.
25392 [C99-based standards] (UINT8_MAX): Likewise.
25393 [C99-based standards] (UINT16_MAX): Likewise.
25394 [C99-based standards] (UINT32_MAX): Likewise.
25395 [C99-based standards] (UINT64_MAX): Likewise.
25396 [C99-based standards] (INT_LEAST8_MIN): Likewise.
25397 [C99-based standards] (INT_LEAST8_MAX): Likewise.
25398 [C99-based standards] (INT_LEAST16_MIN): Likewise.
25399 [C99-based standards] (INT_LEAST16_MAX): Likewise.
25400 [C99-based standards] (INT_LEAST32_MIN): Likewise.
25401 [C99-based standards] (INT_LEAST32_MAX): Likewise.
25402 [C99-based standards] (INT_LEAST64_MIN): Likewise.
25403 [C99-based standards] (INT_LEAST64_MAX): Likewise.
25404 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
25405 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
25406 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
25407 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
25408 [C99-based standards] (INT_FAST8_MIN): Likewise.
25409 [C99-based standards] (INT_FAST8_MAX): Likewise.
25410 [C99-based standards] (INT_FAST16_MIN): Likewise.
25411 [C99-based standards] (INT_FAST16_MAX): Likewise.
25412 [C99-based standards] (INT_FAST32_MIN): Likewise.
25413 [C99-based standards] (INT_FAST32_MAX): Likewise.
25414 [C99-based standards] (INT_FAST64_MIN): Likewise.
25415 [C99-based standards] (INT_FAST64_MAX): Likewise.
25416 [C99-based standards] (UINT_FAST8_MAX): Likewise.
25417 [C99-based standards] (UINT_FAST16_MAX): Likewise.
25418 [C99-based standards] (UINT_FAST32_MAX): Likewise.
25419 [C99-based standards] (UINT_FAST64_MAX): Likewise.
25420 [C99-based standards] (INTPTR_MIN): Likewise.
25421 [C99-based standards] (INTPTR_MAX): Likewise.
25422 [C99-based standards] (UINTPTR_MAX): Likewise.
25423 [C99-based standards] (INTMAX_MIN): Likewise.
25424 [C99-based standards] (INTMAX_MAX): Likewise.
25425 [C99-based standards] (UINTMAX_MAX): Likewise.
25426 [C99-based standards] (PTRDIFF_MIN): Likewise.
25427 [C99-based standards] (PTRDIFF_MAX): Likewise.
25428 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
25429 [C99-based standards] (SIZE_MAX): Likewise.
25430 [C99-based standards] (WCHAR_MAX): Likewise.
25431 [C99-based standards] (WINT_MAX): Likewise.
25432 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
25433 constraint on value.
25434 [C99-based standards] (WCHAR_MIN): Likewise.
25435 [C99-based standards] (WINT_MIN): Likewise.
25436 [C99-based standards] (*_t): Allow.
25437 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
25438 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
25439 Include math.h-data and complex.h-data. Remove all expectations
25440 of math.h and complex.h contents.
25441 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
25443 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
25444 (struct tm): Expect tag.
25445 [C99-based-standards] (wcstof): Expect function.
25446 [C99-based-standards] (wcstold): Likewise.
25447 [C99-based-standards] (wcstoll): Likewise.
25448 [C99-based-standards] (wcstoull): Likewise.
25449 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
25450 macro-int-constant. Specify type.
25451 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
25452 constraint on value.
25453 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25455 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25457 [ISO C standards]: Do not allow headers.
25458 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25459 wcs[abcdefghijklmnopqrstuvwxyz]*.
25460 [ISO C standards] (*_t): Do not allow.
25461 * conform/data/wctype.h-data [C99-based standards] (iswblank):
25463 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25464 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25466 [ISO C standards]: Do not allow headers.
25467 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25468 is[abcdefghijklmnopqrstuvwxyz]*.
25469 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25470 to[abcdefghijklmnopqrstuvwxyz]*.
25471 [ISO C standards] (*_t): Do not allow.
25472 * conform/data/stdalign.h-data: New file.
25473 * conform/data/stdbool.h-data: Likewise.
25474 * conform/data/stdnoreturn.h-data: Likewise.
25476 2012-11-07 Roland McGrath <roland@hack.frob.com>
25479 * manual/filesys.texi (Directory Entries): Typo fix.
25480 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25482 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25484 * elf/elf.h (EM_AARCH64): New macro.
25485 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25486 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25487 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25488 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25489 (R_AARCH64_TLSDESC): Likewise.
25490 (NT_ARM_TLS): Likewise.
25491 (NT_ARM_HW_BREAK): Likewise.
25492 (NT_ARM_HW_WATCH): Likewise.
25494 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25497 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25498 (__ieee754_powl): Saturate nonzero exponents with absolute value
25499 below 0x1p-79 to +/- 0x1p-79.
25500 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25501 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25502 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25503 nonzero exponents with absolute value below 0x1p-32 to +/-
25505 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25506 (__ieee754_powl): Saturate nonzero exponents with absolute value
25507 below 0x1p-79 to +/- 0x1p-79.
25508 * math/libm-test.inc (pow_test): Add more tests.
25510 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25512 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25513 _dl_s390_cap_flags with kernel. Increase string length.
25514 (_dl_s390_platforms): Add z196 and zEC12.
25516 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25518 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25519 Change XOPEN21K to XOPEN2K.
25521 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
25523 * string/memmove.c: Use memcpy when possible.
25525 2012-11-06 Andreas Jaeger <aj@suse.de>
25527 * po/eo.po: Update from translation team.
25529 2012-11-06 Joseph Myers <joseph@codesourcery.com>
25532 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25533 exponent and small x and y exponents, scale x or y up. Increase
25534 by 2 the exponent used in scaling up.
25535 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25536 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25537 * math/libm-test.inc (fma_test): Add more tests.
25538 (fma_test_towardzero): Likewise.
25539 (fma_test_downward): Likewise.
25540 (fma_test_upward): Likewise.
25542 2012-11-05 Joseph Myers <joseph@codesourcery.com>
25545 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25549 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25550 namespace for names of struct fields.
25551 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25553 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25554 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25556 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
25559 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25561 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25563 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25567 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25570 2012-11-04 Joseph Myers <joseph@codesourcery.com>
25573 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25574 definitely overflow as x * y not x * y + z.
25575 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25576 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25577 * math/libm-test.inc (fma_test): Add more tests.
25578 (fma_test_towardzero): Likewise.
25579 (fma_test_downward): Likewise.
25580 (fma_test_upward): Likewise.
25582 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25586 * include/stub-tag.h: Remove file.
25587 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25589 * manual/maint.texi (Porting): Don't reference it.
25590 * Makerules ($(objpfx)stubs): Likewise.
25591 * dirent/closedir.c: Don't include <stub-tag.h>.
25592 * dirent/dirfd.c: Likewise.
25593 * dirent/fdopendir.c: Likewise.
25594 * dirent/getdents.c: Likewise.
25595 * dirent/getdents64.c: Likewise.
25596 * dirent/opendir.c: Likewise.
25597 * dirent/readdir.c: Likewise.
25598 * dirent/readdir64.c: Likewise.
25599 * dirent/readdir64_r.c: Likewise.
25600 * dirent/readdir_r.c: Likewise.
25601 * dirent/rewinddir.c: Likewise.
25602 * dirent/seekdir.c: Likewise.
25603 * dirent/telldir.c: Likewise.
25604 * gmon/profil.c: Likewise.
25605 * grp/setgroups.c: Likewise.
25606 * inet/if_index.c: Likewise.
25607 * io/access.c: Likewise.
25608 * io/chdir.c: Likewise.
25609 * io/chmod.c: Likewise.
25610 * io/chown.c: Likewise.
25611 * io/close.c: Likewise.
25612 * io/dup.c: Likewise.
25613 * io/dup2.c: Likewise.
25614 * io/dup3.c: Likewise.
25615 * io/euidaccess.c: Likewise.
25616 * io/faccessat.c: Likewise.
25617 * io/fchdir.c: Likewise.
25618 * io/fchmod.c: Likewise.
25619 * io/fchmodat.c: Likewise.
25620 * io/fchown.c: Likewise.
25621 * io/fchownat.c: Likewise.
25622 * io/fcntl.c: Likewise.
25623 * io/flock.c: Likewise.
25624 * io/fstatfs.c: Likewise.
25625 * io/fstatfs64.c: Likewise.
25626 * io/fstatvfs.c: Likewise.
25627 * io/fstatvfs64.c: Likewise.
25628 * io/futimens.c: Likewise.
25629 * io/fxstat.c: Likewise.
25630 * io/fxstat64.c: Likewise.
25631 * io/fxstatat.c: Likewise.
25632 * io/fxstatat64.c: Likewise.
25633 * io/getcwd.c: Likewise.
25634 * io/isatty.c: Likewise.
25635 * io/lchmod.c: Likewise.
25636 * io/lchown.c: Likewise.
25637 * io/link.c: Likewise.
25638 * io/linkat.c: Likewise.
25639 * io/lseek.c: Likewise.
25640 * io/lseek64.c: Likewise.
25641 * io/lxstat64.c: Likewise.
25642 * io/mkdir.c: Likewise.
25643 * io/mkdirat.c: Likewise.
25644 * io/mkfifo.c: Likewise.
25645 * io/mkfifoat.c: Likewise.
25646 * io/open.c: Likewise.
25647 * io/open64.c: Likewise.
25648 * io/openat.c: Likewise.
25649 * io/openat64.c: Likewise.
25650 * io/pipe.c: Likewise.
25651 * io/pipe2.c: Likewise.
25652 * io/poll.c: Likewise.
25653 * io/posix_fadvise.c: Likewise.
25654 * io/posix_fadvise64.c: Likewise.
25655 * io/posix_fallocate.c: Likewise.
25656 * io/posix_fallocate64.c: Likewise.
25657 * io/read.c: Likewise.
25658 * io/readlink.c: Likewise.
25659 * io/readlinkat.c: Likewise.
25660 * io/rmdir.c: Likewise.
25661 * io/sendfile.c: Likewise.
25662 * io/sendfile64.c: Likewise.
25663 * io/statfs.c: Likewise.
25664 * io/statfs64.c: Likewise.
25665 * io/statvfs.c: Likewise.
25666 * io/statvfs64.c: Likewise.
25667 * io/symlink.c: Likewise.
25668 * io/symlinkat.c: Likewise.
25669 * io/ttyname.c: Likewise.
25670 * io/ttyname_r.c: Likewise.
25671 * io/umask.c: Likewise.
25672 * io/unlink.c: Likewise.
25673 * io/unlinkat.c: Likewise.
25674 * io/utime.c: Likewise.
25675 * io/utimensat.c: Likewise.
25676 * io/write.c: Likewise.
25677 * io/xmknod.c: Likewise.
25678 * io/xmknodat.c: Likewise.
25679 * io/xstat.c: Likewise.
25680 * io/xstat64.c: Likewise.
25681 * login/getpt.c: Likewise.
25682 * login/grantpt.c: Likewise.
25683 * login/unlockpt.c: Likewise.
25684 * math/e_acoshl.c: Likewise.
25685 * math/e_acosl.c: Likewise.
25686 * math/e_asinl.c: Likewise.
25687 * math/e_atan2l.c: Likewise.
25688 * math/e_atanhl.c: Likewise.
25689 * math/e_coshl.c: Likewise.
25690 * math/e_expl.c: Likewise.
25691 * math/e_fmodl.c: Likewise.
25692 * math/e_gammal_r.c: Likewise.
25693 * math/e_hypotl.c: Likewise.
25694 * math/e_j0l.c: Likewise.
25695 * math/e_j1l.c: Likewise.
25696 * math/e_jnl.c: Likewise.
25697 * math/e_lgammal_r.c: Likewise.
25698 * math/e_log10l.c: Likewise.
25699 * math/e_log2l.c: Likewise.
25700 * math/e_logl.c: Likewise.
25701 * math/e_powl.c: Likewise.
25702 * math/e_rem_pio2l.c: Likewise.
25703 * math/e_sinhl.c: Likewise.
25704 * math/e_sqrtl.c: Likewise.
25705 * math/fclrexcpt.c: Likewise.
25706 * math/fedisblxcpt.c: Likewise.
25707 * math/feenablxcpt.c: Likewise.
25708 * math/fegetenv.c: Likewise.
25709 * math/fegetexcept.c: Likewise.
25710 * math/fegetround.c: Likewise.
25711 * math/feholdexcpt.c: Likewise.
25712 * math/fesetenv.c: Likewise.
25713 * math/fesetround.c: Likewise.
25714 * math/feupdateenv.c: Likewise.
25715 * math/fgetexcptflg.c: Likewise.
25716 * math/fraiseexcpt.c: Likewise.
25717 * math/fsetexcptflg.c: Likewise.
25718 * math/ftestexcept.c: Likewise.
25719 * math/k_cosl.c: Likewise.
25720 * math/k_rem_pio2l.c: Likewise.
25721 * math/k_sinl.c: Likewise.
25722 * math/k_tanl.c: Likewise.
25723 * math/s_asinhl.c: Likewise.
25724 * math/s_atanl.c: Likewise.
25725 * math/s_cbrtl.c: Likewise.
25726 * math/s_erfl.c: Likewise.
25727 * math/s_expm1l.c: Likewise.
25728 * math/s_log1pl.c: Likewise.
25729 * math/s_tanhl.c: Likewise.
25730 * misc/acct.c: Likewise.
25731 * misc/brk.c: Likewise.
25732 * misc/chflags.c: Likewise.
25733 * misc/chroot.c: Likewise.
25734 * misc/fchflags.c: Likewise.
25735 * misc/fgetxattr.c: Likewise.
25736 * misc/flistxattr.c: Likewise.
25737 * misc/fremovexattr.c: Likewise.
25738 * misc/fsetxattr.c: Likewise.
25739 * misc/fsync.c: Likewise.
25740 * misc/ftruncate.c: Likewise.
25741 * misc/futimes.c: Likewise.
25742 * misc/futimesat.c: Likewise.
25743 * misc/getdomain.c: Likewise.
25744 * misc/getdtsz.c: Likewise.
25745 * misc/gethostid.c: Likewise.
25746 * misc/gethostname.c: Likewise.
25747 * misc/getloadavg.c: Likewise.
25748 * misc/getpagesize.c: Likewise.
25749 * misc/getsysstats.c: Likewise.
25750 * misc/getxattr.c: Likewise.
25751 * misc/gtty.c: Likewise.
25752 * misc/ioctl.c: Likewise.
25753 * misc/lgetxattr.c: Likewise.
25754 * misc/listxattr.c: Likewise.
25755 * misc/llistxattr.c: Likewise.
25756 * misc/lremovexattr.c: Likewise.
25757 * misc/lsetxattr.c: Likewise.
25758 * misc/lutimes.c: Likewise.
25759 * misc/madvise.c: Likewise.
25760 * misc/mincore.c: Likewise.
25761 * misc/mlock.c: Likewise.
25762 * misc/mlockall.c: Likewise.
25763 * misc/mmap.c: Likewise.
25764 * misc/mprotect.c: Likewise.
25765 * misc/msync.c: Likewise.
25766 * misc/munlock.c: Likewise.
25767 * misc/munlockall.c: Likewise.
25768 * misc/munmap.c: Likewise.
25769 * misc/preadv.c: Likewise.
25770 * misc/preadv64.c: Likewise.
25771 * misc/ptrace.c: Likewise.
25772 * misc/pwritev.c: Likewise.
25773 * misc/pwritev64.c: Likewise.
25774 * misc/readv.c: Likewise.
25775 * misc/reboot.c: Likewise.
25776 * misc/remap_file_pages.c: Likewise.
25777 * misc/removexattr.c: Likewise.
25778 * misc/revoke.c: Likewise.
25779 * misc/select.c: Likewise.
25780 * misc/setdomain.c: Likewise.
25781 * misc/setegid.c: Likewise.
25782 * misc/seteuid.c: Likewise.
25783 * misc/sethostid.c: Likewise.
25784 * misc/sethostname.c: Likewise.
25785 * misc/setregid.c: Likewise.
25786 * misc/setreuid.c: Likewise.
25787 * misc/setxattr.c: Likewise.
25788 * misc/sstk.c: Likewise.
25789 * misc/stty.c: Likewise.
25790 * misc/swapoff.c: Likewise.
25791 * misc/swapon.c: Likewise.
25792 * misc/sync.c: Likewise.
25793 * misc/syncfs.c: Likewise.
25794 * misc/syscall.c: Likewise.
25795 * misc/truncate.c: Likewise.
25796 * misc/ualarm.c: Likewise.
25797 * misc/usleep.c: Likewise.
25798 * misc/ustat.c: Likewise.
25799 * misc/utimes.c: Likewise.
25800 * misc/vhangup.c: Likewise.
25801 * misc/writev.c: Likewise.
25802 * posix/_exit.c: Likewise.
25803 * posix/alarm.c: Likewise.
25804 * posix/execve.c: Likewise.
25805 * posix/fexecve.c: Likewise.
25806 * posix/fork.c: Likewise.
25807 * posix/fpathconf.c: Likewise.
25808 * posix/getaddrinfo.c: Likewise.
25809 * posix/getegid.c: Likewise.
25810 * posix/geteuid.c: Likewise.
25811 * posix/getgid.c: Likewise.
25812 * posix/getgroups.c: Likewise.
25813 * posix/getlogin.c: Likewise.
25814 * posix/getlogin_r.c: Likewise.
25815 * posix/getpgid.c: Likewise.
25816 * posix/getpid.c: Likewise.
25817 * posix/getppid.c: Likewise.
25818 * posix/getresgid.c: Likewise.
25819 * posix/getresuid.c: Likewise.
25820 * posix/getsid.c: Likewise.
25821 * posix/getuid.c: Likewise.
25822 * posix/glob64.c: Likewise.
25823 * posix/nanosleep.c: Likewise.
25824 * posix/pathconf.c: Likewise.
25825 * posix/pause.c: Likewise.
25826 * posix/posix_madvise.c: Likewise.
25827 * posix/pread.c: Likewise.
25828 * posix/pread64.c: Likewise.
25829 * posix/pwrite.c: Likewise.
25830 * posix/pwrite64.c: Likewise.
25831 * posix/sched_getaffinity.c: Likewise.
25832 * posix/sched_getp.c: Likewise.
25833 * posix/sched_gets.c: Likewise.
25834 * posix/sched_primax.c: Likewise.
25835 * posix/sched_primin.c: Likewise.
25836 * posix/sched_rr_gi.c: Likewise.
25837 * posix/sched_setaffinity.c: Likewise.
25838 * posix/sched_setp.c: Likewise.
25839 * posix/sched_sets.c: Likewise.
25840 * posix/sched_yield.c: Likewise.
25841 * posix/setgid.c: Likewise.
25842 * posix/setlogin.c: Likewise.
25843 * posix/setpgid.c: Likewise.
25844 * posix/setresgid.c: Likewise.
25845 * posix/setresuid.c: Likewise.
25846 * posix/setsid.c: Likewise.
25847 * posix/setuid.c: Likewise.
25848 * posix/sleep.c: Likewise.
25849 * posix/spawni.c: Likewise.
25850 * posix/sysconf.c: Likewise.
25851 * posix/times.c: Likewise.
25852 * posix/wait.c: Likewise.
25853 * posix/wait3.c: Likewise.
25854 * posix/wait4.c: Likewise.
25855 * posix/waitpid.c: Likewise.
25856 * resolv/gai_sigqueue.c: Likewise.
25857 * resource/getpriority.c: Likewise.
25858 * resource/getrlimit.c: Likewise.
25859 * resource/getrusage.c: Likewise.
25860 * resource/nice.c: Likewise.
25861 * resource/setpriority.c: Likewise.
25862 * resource/setrlimit.c: Likewise.
25863 * resource/ulimit.c: Likewise.
25864 * rt/aio_cancel.c: Likewise.
25865 * rt/aio_fsync.c: Likewise.
25866 * rt/aio_read.c: Likewise.
25867 * rt/aio_sigqueue.c: Likewise.
25868 * rt/aio_suspend.c: Likewise.
25869 * rt/aio_write.c: Likewise.
25870 * rt/clock_getres.c: Likewise.
25871 * rt/clock_gettime.c: Likewise.
25872 * rt/clock_nanosleep.c: Likewise.
25873 * rt/clock_settime.c: Likewise.
25874 * rt/lio_listio.c: Likewise.
25875 * rt/mq_close.c: Likewise.
25876 * rt/mq_getattr.c: Likewise.
25877 * rt/mq_notify.c: Likewise.
25878 * rt/mq_open.c: Likewise.
25879 * rt/mq_receive.c: Likewise.
25880 * rt/mq_send.c: Likewise.
25881 * rt/mq_setattr.c: Likewise.
25882 * rt/mq_timedreceive.c: Likewise.
25883 * rt/mq_timedsend.c: Likewise.
25884 * rt/mq_unlink.c: Likewise.
25885 * rt/shm_open.c: Likewise.
25886 * rt/shm_unlink.c: Likewise.
25887 * rt/timer_create.c: Likewise.
25888 * rt/timer_delete.c: Likewise.
25889 * rt/timer_getoverr.c: Likewise.
25890 * rt/timer_gettime.c: Likewise.
25891 * rt/timer_settime.c: Likewise.
25892 * setjmp/__longjmp.c: Likewise.
25893 * setjmp/setjmp.c: Likewise.
25894 * signal/kill.c: Likewise.
25895 * signal/killpg.c: Likewise.
25896 * signal/raise.c: Likewise.
25897 * signal/sigaction.c: Likewise.
25898 * signal/sigaltstack.c: Likewise.
25899 * signal/sigblock.c: Likewise.
25900 * signal/sigignore.c: Likewise.
25901 * signal/sigintr.c: Likewise.
25902 * signal/signal.c: Likewise.
25903 * signal/sigpause.c: Likewise.
25904 * signal/sigpending.c: Likewise.
25905 * signal/sigqueue.c: Likewise.
25906 * signal/sigreturn.c: Likewise.
25907 * signal/sigset.c: Likewise.
25908 * signal/sigsetmask.c: Likewise.
25909 * signal/sigstack.c: Likewise.
25910 * signal/sigsuspend.c: Likewise.
25911 * signal/sigtimedwait.c: Likewise.
25912 * signal/sigvec.c: Likewise.
25913 * signal/sigwait.c: Likewise.
25914 * signal/sigwaitinfo.c: Likewise.
25915 * signal/sysv_signal.c: Likewise.
25916 * socket/accept.c: Likewise.
25917 * socket/accept4.c: Likewise.
25918 * socket/bind.c: Likewise.
25919 * socket/connect.c: Likewise.
25920 * socket/getpeername.c: Likewise.
25921 * socket/getsockname.c: Likewise.
25922 * socket/getsockopt.c: Likewise.
25923 * socket/isfdtype.c: Likewise.
25924 * socket/listen.c: Likewise.
25925 * socket/recv.c: Likewise.
25926 * socket/recvfrom.c: Likewise.
25927 * socket/recvmsg.c: Likewise.
25928 * socket/send.c: Likewise.
25929 * socket/sendmsg.c: Likewise.
25930 * socket/sendto.c: Likewise.
25931 * socket/setsockopt.c: Likewise.
25932 * socket/shutdown.c: Likewise.
25933 * socket/sockatmark.c: Likewise.
25934 * socket/socket.c: Likewise.
25935 * socket/socketpair.c: Likewise.
25936 * stdio-common/ctermid.c: Likewise.
25937 * stdio-common/cuserid.c: Likewise.
25938 * stdio-common/remove.c: Likewise.
25939 * stdio-common/rename.c: Likewise.
25940 * stdio-common/renameat.c: Likewise.
25941 * stdio-common/tempname.c: Likewise.
25942 * stdlib/getcontext.c: Likewise.
25943 * stdlib/makecontext.c: Likewise.
25944 * stdlib/setcontext.c: Likewise.
25945 * stdlib/swapcontext.c: Likewise.
25946 * stdlib/system.c: Likewise.
25947 * streams/fattach.c: Likewise.
25948 * streams/fdetach.c: Likewise.
25949 * streams/getmsg.c: Likewise.
25950 * streams/getpmsg.c: Likewise.
25951 * streams/putmsg.c: Likewise.
25952 * streams/putpmsg.c: Likewise.
25953 * sysdeps/unix/bsd/getpt.c: Likewise.
25954 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
25955 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
25956 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25959 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
25960 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25961 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25962 * sysvipc/msgctl.c: Likewise.
25963 * sysvipc/msgget.c: Likewise.
25964 * sysvipc/msgrcv.c: Likewise.
25965 * sysvipc/msgsnd.c: Likewise.
25966 * sysvipc/semctl.c: Likewise.
25967 * sysvipc/semget.c: Likewise.
25968 * sysvipc/semop.c: Likewise.
25969 * sysvipc/semtimedop.c: Likewise.
25970 * sysvipc/shmat.c: Likewise.
25971 * sysvipc/shmctl.c: Likewise.
25972 * sysvipc/shmdt.c: Likewise.
25973 * sysvipc/shmget.c: Likewise.
25974 * termios/tcdrain.c: Likewise.
25975 * termios/tcflow.c: Likewise.
25976 * termios/tcflush.c: Likewise.
25977 * termios/tcgetattr.c: Likewise.
25978 * termios/tcgetpgrp.c: Likewise.
25979 * termios/tcsendbrk.c: Likewise.
25980 * termios/tcsetattr.c: Likewise.
25981 * termios/tcsetpgrp.c: Likewise.
25982 * time/adjtime.c: Likewise.
25983 * time/clock.c: Likewise.
25984 * time/getitimer.c: Likewise.
25985 * time/gettimeofday.c: Likewise.
25986 * time/setitimer.c: Likewise.
25987 * time/settimeofday.c: Likewise.
25988 * time/stime.c: Likewise.
25989 * time/time.c: Likewise.
25991 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
25993 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25996 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25998 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26000 2012-11-03 Joseph Myers <joseph@codesourcery.com>
26003 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26004 FE_TONEAREST before applying Dekker multiplication and Knuth
26005 addition. Clear inexact exceptions and check for exact zero
26006 results afterwards.
26007 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26008 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26009 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26010 * math/libm-test.inc (fma_test): Add more tests.
26011 (fma_test_towardzero): Likewise.
26012 (fma_test_downward): Likewise.
26013 (fma_test_upward): Likewise.
26014 * sysdeps/generic/math_private.h (default_libc_fesetround): New
26016 (libc_fesetround): New macro.
26017 (libc_fesetroundf): Likewise.
26018 (libc_fesetroundl): Likewise.
26019 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26021 (libc_fesetround_387): Likewise.
26022 (libc_fesetroundf): New macro.
26023 (libc_fesetround): Likewise.
26024 (libc_fesetroundl): Likewise.
26025 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26027 (libc_fesetroundf): New macro.
26028 (libc_fesetround): Likewise.
26029 (libc_fesetroundl): Likewise.
26030 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26031 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26032 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26034 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26035 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26037 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26038 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26040 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26044 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26045 integer constant usable in #if and use that to give value to enum
26047 (FE_DIVBYZERO): Likewise.
26048 (FE_UNDERFLOW): Likewise.
26049 (FE_OVERFLOW): Likewise.
26050 (FE_INVALID): Likewise.
26051 (FE_INVALID_SNAN): Likewise.
26052 (FE_INVALID_ISI): Likewise.
26053 (FE_INVALID_IDI): Likewise.
26054 (FE_INVALID_ZDZ): Likewise.
26055 (FE_INVALID_IMZ): Likewise.
26056 (FE_INVALID_COMPARE): Likewise.
26057 (FE_INVALID_SOFTWARE): Likewise.
26058 (FE_INVALID_SQRT): Likewise.
26059 (FE_INVALID_INTEGER_CONVERSION): Likewise.
26060 (FE_TONEAREST): Likewise.
26061 (FE_TOWARDZERO): Likewise.
26062 (FE_UPWARD): Likewise.
26063 (FE_DOWNWARD): Likewise.
26064 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26065 (FE_DIVBYZERO): Likewise.
26066 (FE_OVERFLOW): Likewise.
26067 (FE_UNDERFLOW): Likewise.
26068 (FE_INEXACT): Likewise.
26069 (FE_TONEAREST): Likewise.
26070 (FE_DOWNWARD): Likewise.
26071 (FE_UPWARD): Likewise.
26072 (FE_TOWARDZERO): Likewise.
26073 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26074 (FE_UNDERFLOW): Likewise.
26075 (FE_OVERFLOW): Likewise.
26076 (FE_DIVBYZERO): Likewise.
26077 (FE_INVALID): Likewise.
26078 (FE_TONEAREST): Likewise.
26079 (FE_TOWARDZERO): Likewise.
26080 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26081 (FE_OVERFLOW): Likewise.
26082 (FE_UNDERFLOW): Likewise.
26083 (FE_DIVBYZERO): Likewise.
26084 (FE_INEXACT): Likewise.
26085 (FE_TONEAREST): Likewise.
26086 (FE_TOWARDZERO): Likewise.
26087 (FE_UPWARD): Likewise.
26088 (FE_DOWNWARD): Likewise.
26089 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26090 (FE_DIVBYZERO): Likewise.
26091 (FE_OVERFLOW): Likewise.
26092 (FE_UNDERFLOW): Likewise.
26093 (FE_INEXACT): Likewise.
26094 (FE_TONEAREST): Likewise.
26095 (FE_DOWNWARD): Likewise.
26096 (FE_UPWARD): Likewise.
26097 (FE_TOWARDZERO): Likewise.
26099 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
26101 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26103 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
26105 * scripts/cross-test-ssh.sh (command): Use newlines to separate
26106 commands. Quote $PWD.
26107 (blacklist_exports): Don't use remove_newlines. Replace "declare
26109 (remove_newlines): Remove.
26111 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
26113 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26114 * stdlib/stdlib.h (atof): Moved to ...
26115 * include/bits/stdlib-float.h: Here. New file.
26116 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26117 * stdlib/bits/stdlib-float.h: New file.
26118 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26120 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26123 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26125 * conform/conformtest.pl (@headers): Add fenv.h.
26126 * conform/data/fenv.h-data: New file.
26127 * include/fenv.h [_ISOMAC]: Disable all contents of file except
26128 include of <math/fenv.h>.
26130 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
26131 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
26132 && !UNIX98]. Enables tests for XOPEN2K8.
26133 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
26134 POSIX2008]: Likewise.
26136 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
26137 (struct rusage): Do not expect type or its members.
26140 * math/math.h (FP_NAN): Define macro to integer constant usable in
26141 #if and use that to give value to enum constant.
26142 (FP_INFINITE): Likewise.
26143 (FP_ZERO): Likewise.
26144 (FP_SUBNORMAL): Likewise.
26145 (FP_NORMAL): Likewise.
26147 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
26149 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
26150 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
26153 2012-11-02 Roland McGrath <roland@hack.frob.com>
26155 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
26156 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
26157 autoconf-time if not.
26158 * configure.in: Remove AC_PREREQ.
26160 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26162 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
26163 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
26164 of the internal implementation.
26166 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26168 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
26169 except include of <misc/sys/syslog.h>.
26171 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
26174 function returns with a NULL context exit with zero.
26176 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26178 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
26180 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
26182 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
26183 (run_program_cmd): This.
26184 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
26185 (tst_langinfo): New variable. Use it.
26187 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
26189 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
26190 floating point opcodes.
26192 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26194 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
26197 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
26199 * sysdeps/mach/hurd/powerpc: Remove directory.
26200 * sysdeps/mach/powerpc: Likewise.
26202 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26204 * scripts/check-local-headers.sh: Ignore c++ headers.
26206 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26208 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
26209 __libc_cleanup_region_start argument.
26211 2012-11-01 Joseph Myers <joseph@codesourcery.com>
26215 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
26216 x * y using scaling, not as x * y + z.
26217 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26218 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26219 * math/libm-test.inc (fma_test): Add more tests.
26220 (fma_test_towardzero): Likewise.
26221 (fma_test_downward): Likewise.
26222 (fma_test_upward): Likewise.
26224 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26226 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
26228 2012-10-31 Joseph Myers <joseph@codesourcery.com>
26230 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
26233 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
26235 * rt/tst-shm.c (worker): Correct checking for mmap failure.
26237 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26244 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26247 Fix the order of the list for glibc 2.17.
26248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26251 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26253 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26255 2012-10-31 Joseph Myers <joseph@codesourcery.com>
26258 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
26259 for low part of x being zero before using __atanl (y).
26260 * math/libm-test.inc (atan2_test): Add another test.
26262 * manual/install.texi (Configuring and compiling): Document
26263 general use of test-wrapper and test-wrapper-env.
26264 * INSTALL: Regenerated.
26266 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
26267 (__fma): Do not extract and scale down low bits on after-rounding
26268 systems when result rounded to normal precision would have normal
26270 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
26271 (__fmal): Do not extract and scale down low bits on after-rounding
26272 systems when result rounded to normal precision would have normal
26274 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
26275 (__fmal): Do not extract and scale down low bits on after-rounding
26276 systems when result rounded to normal precision would have normal
26278 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
26280 (fma_test): Add more tests.
26281 (fma_test_towardzero): Likewise.
26282 (fma_test_downward): Likewise.
26283 (fma_test_upward): Likewise.
26285 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
26287 * sysdeps/i386/tininess.h: Renamed to ...
26288 * sysdeps/x86/tininess.h: This.
26289 * sysdeps/x86_64/tininess.h: Removed.
26291 2012-10-30 Joseph Myers <joseph@codesourcery.com>
26293 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
26294 input. Use $(build-program-cmd).
26295 ($(objpfx)tst-array1-static.out): Likewise.
26296 ($(objpfx)tst-array2.out): Likewise.
26297 ($(objpfx)tst-array3.out): Likewise.
26298 ($(objpfx)tst-array4.out): Likewise.
26299 ($(objpfx)tst-array5.out): Likewise.
26300 ($(objpfx)tst-array5-static.out): Likewise.
26302 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
26304 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
26307 * nss/nsswitch.h (nss_interface_function): Provide new
26308 macro for use with NSS functions.
26309 * grp/initgroups.c: Use new macro.
26310 * nss/getXXbyYY.c: Likewise.
26311 * nss/getXXbyYY_r.c: Likewise.
26312 * nss/getXXent.c: Likewise.
26313 * nss/getXXent_r.c: Likewise.
26314 * sysdeps/posix/getaddrinfo.c: Likewise.
26316 2012-10-30 Andreas Jaeger <aj@suse.de>
26318 * po/ru.po: Update Russion translation from translation project.
26320 2012-10-30 Joseph Myers <joseph@codesourcery.com>
26324 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
26325 result and shift together with sticky bit instead of replicating
26326 round-to-nearest rounding.
26327 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26328 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26329 * math/libm-test.inc (fma_test): Add more tests. Do not permit
26330 missing underflow exceptions.
26331 (fma_test_towardzero): Add more tests.
26332 (fma_test_downward): Likewise.
26333 (fma_test_upward): Likewise.
26336 * sysdeps/generic/tininess.h: New file.
26337 * sysdeps/i386/tininess.h: Likewise.
26338 * sysdeps/sh/tininess.h: Likewise.
26339 * sysdeps/x86_64/tininess.h: Likewise.
26340 * stdlib/tst-strtod-underflow.c: Likewise.
26341 * stdlib/tst-tininess.c: Likewise.
26342 * stdlib/strtod_l.c: Include <tininess.h>.
26343 (round_and_return): Do not set errno for exact underflow cases.
26344 Force an underflow exception when setting errno for underflow.
26345 Determine underflow based on rounding to normal precision if
26346 TININESS_AFTER_ROUNDING.
26347 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
26348 ERANGE for exact underflow cases.
26349 * stdlib/Makefile (tests): Add tst-tininess and
26350 tst-strtod-underflow.
26351 ($(objpfx)tst-tininess): Use $(link-libm).
26352 ($(objpfx)tst-strtod-underflow): Likewise.
26354 2012-10-30 Andreas Jaeger <aj@suse.de>
26357 * elf/Makefile (tests): Remove conditional for have-initfini-array
26358 since this is now always required and the variable does not exist
26360 (tests-static): Likewise.
26361 (modules-names): Likewise.
26363 * po/eo.po: Add Esperanto translation from translation project.
26365 * elf/tst-array1.c (fini_array): Make writeable so that it can be
26366 merged with constructor/destructor.
26367 (init_array): Likewise.
26368 * elf/tst-array2dep.c (fini_array): Likewise.
26369 (init_array): Likewise.
26371 2012-10-29 Mike Frysinger <vapier@gentoo.org>
26373 * manual/message.texi: Delete @cartouche tags.
26375 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
26377 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
26379 * sysdeps/mach/hurd/fsync.c: Likewise.
26381 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
26382 [_POSIX_REALTIME_SIGNALS]: Change condition to
26383 [_POSIX_REALTIME_SIGNALS > 0].
26385 2012-10-27 Andreas Jaeger <aj@suse.de>
26387 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
26388 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
26389 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
26390 [__WORDSIZE != 64]: Likewise.
26392 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
26394 * iconvdata/tst-table.sh: Remove ${SHELL}.
26395 * iconvdata/tst-tables.sh: Likewise.
26397 2012-10-25 David S. Miller <davem@davemloft.net>
26399 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26400 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
26403 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
26405 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26406 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
26407 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
26410 2012-10-25 Roland McGrath <roland@hack.frob.com>
26412 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26413 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
26416 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26417 Jim Blandy <jimb@codesourcery.com>
26419 * scripts/cross-test-ssh.sh: New file.
26420 * manual/install.texi (Configuring and compiling): Document use of
26422 * INSTALL: Regenerated.
26424 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
26426 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
26429 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26431 * Makeconfig (run-program-prefix): Fix comment.
26433 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26434 Jim Blandy <jimb@codesourcery.com>
26436 * Makeconfig (test-wrapper): New variable,
26437 (test-wrapper-env): Likewise.
26438 [$(cross-compiling) = yes && $(test-wrapper) != ""]
26439 (run-built-tests): Define to yes.
26440 (run-program-prefix): Use $(test-wrapper).
26441 (built-program-cmd): Likewise.
26442 * Rules (make-test-out): Use $(test-wrapper-env) and
26443 $(host-built-program-cmd).
26444 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
26445 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
26447 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
26448 $(test-wrapper-env) to tst-rtld-load-self.sh.
26449 ($(objpfx)order2.out): Use $(test-wrapper).
26450 ($(objpfx)tst-initorder.out): Likewise.
26451 ($(objpfx)tst-initorder2.out): Likewise.
26452 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
26453 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26454 (test_wrapper_env): New variable. Use it to run ld.so.
26455 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26456 Use it to run ld.so.
26457 (test_wrapper_env): Likewise.
26458 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26459 $(test-wrapper) to run-iconv-test.sh.
26460 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26461 (ICONV): Use $test_wrapper.
26462 * posix/Makefile ($(objpfx)globtest.out): Pass
26463 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26464 globtest.sh, not $(run-program-prefix).
26465 * posix/globtest.sh (run_via_rtld_prefix): New variable.
26466 (test_wrapper): Likewise.
26467 (test_wrapper_env): Likewise. Use it to run globtest with HOME
26468 set together with run_via_rtld_prefix.
26469 (run_program_prefix): Define in terms of test_wrapper and
26470 run_via_rtld_prefix.
26472 2012-10-24 Roland McGrath <roland@hack.frob.com>
26474 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26475 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26479 * include/time.h: Remove librt_hidden_proto (clock_gettime).
26480 Declare __clock_getres, __clock_gettime, __clock_settime,
26481 __clock_nanosleep, and __clock_getcpuclockid.
26482 * rt/clock_gettime.c: Define __clock_gettime as an alias.
26483 Remove librt_hidden_def (clock_gettime).
26484 * sysdeps/unix/clock_gettime.c: Likewise.
26485 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26486 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26487 * rt/clock_getres.c: Define __clock_getres as an alias.
26488 * sysdeps/posix/clock_getres.c: Likewise.
26489 * rt/clock_settime.c: Define __clock_settime as an alias.
26490 * sysdeps/unix/clock_settime.c: Likewise.
26491 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26492 * sysdeps/unix/clock_nanosleep.c: Likewise.
26493 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26494 * rt/clock-compat.c: New file.
26495 * rt/Makefile (librt-routines): Add clock-compat and move
26496 $(clock-routines) to ...
26497 (routines): ... here, new variable.
26498 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26499 Don't add get_clockfreq here.
26500 * rt/Versions (libc: GLIBC_2.17): New version set.
26501 Add clock_* symbols here.
26502 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
26503 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26504 (GLIBC_2.17): Add clock_* symbols.
26505 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26506 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26507 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26512 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26513 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26516 * NEWS: Mention the move.
26518 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26519 Use __open, __read, __close rather than their public counterparts.
26520 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26521 (__get_clockfreq_via_cpuinfo): Likewise.
26522 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26523 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26525 * config.h.in (HAVE_IFUNC): New #undef.
26526 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26528 * configure: Regenerated.
26530 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26532 * configure.in: Move READELF check to start of file.
26533 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26534 libc_cv_asm_gnu_indirect_function in the process.
26535 * configure: Regenerated.
26537 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26539 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26540 send the output to /dev/null.
26541 (libc_cv_cc_with_libunwind): Likewise.
26542 (libc_cv_as_noexecstack): Likewise.
26543 * configure: Regenerate.
26545 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26547 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26549 * posix/globtest.sh (TMPDIR): Do not set.
26550 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26551 (testout): Likewise.
26553 2012-10-24 Andreas Jaeger <aj@suse.de>
26555 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26556 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26557 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26558 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26559 posix_fadvise64, posix_fallocate64.
26561 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26562 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26563 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26565 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26567 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26569 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26570 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26571 <bits/fcntl-linux.h>.
26572 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26574 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26575 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26576 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26577 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26578 [__WORDSIZE != 64]: Likewise.
26580 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26582 * Makeconfig (run-built-tests): New variable.
26583 * Rules [$(cross-compiling) = yes]: Change condition to
26584 [$(run-built-tests) = no].
26585 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26586 to [$(run-built-tests) = yes].
26587 * elf/Makefile [$(cross-compiling) = no]: Likewise
26588 * grp/Makefile [$(cross-compiling) = no]: Likewise.
26589 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26590 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26591 * intl/Makefile [$(cross-compiling) = no]: Likewise.
26592 * io/Makefile [$(cross-compiling) = no]: Likewise.
26593 * libio/Makefile [$(cross-compiling) = no]: Likewise.
26594 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26595 * misc/Makefile [$(cross-compiling) = no]: Likewise.
26596 * posix/Makefile [$(cross-compiling) = no]: Likewise.
26597 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26598 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26599 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26600 * string/Makefile [$(cross-compiling) = no]: Likewise.
26602 * posix/Makefile ($(objpfx)globtest.out): Pass
26603 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26604 $(rtld-installed-name).
26605 * posix/globtest.sh (elf_objpfx): Remove variable.
26606 (rtld_installed_name): Likewise.
26607 (library_path): Likewise.
26608 (run_program_prefix): New variable. Use for running globtest
26611 2012-10-23 Jim Blandy <jimb@codesourcery.com>
26612 Joseph Myers <joseph@codesourcery.com>
26614 * Makeconfig (host-built-program-cmd): New variable.
26615 * elf/Makefile (tst-stackguard1-ARGS): Use
26616 $(host-built-program-cmd).
26617 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26618 (tst-spawn-ARGS): Likewise.
26619 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26621 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26622 Jim Blandy <jimb@codesourcery.com>
26624 * Makeconfig (run-via-rtld-prefix): New variable.
26625 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26626 (built-program-cmd): Likewise.
26628 2012-10-22 Andreas Jaeger <aj@suse.de>
26630 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26631 __O_RSYNC if it exists, otherwise to O_SYNC.
26633 2012-10-22 Jim Blandy <jimb@codesourcery.com>
26634 Joseph Myers <joseph@codesourcery.com>
26636 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
26638 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
26640 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
26643 2012-10-22 Andreas Jaeger <aj@suse.de>
26645 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26647 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
26649 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26650 bits/fcntl-linux.h.
26652 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26653 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
26655 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
26657 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26660 2012-10-21 Jim Blandy <jimb@codesourcery.com>
26661 Joseph Myers <joseph@codesourcery.com>
26663 * config.make.in (NM): New variable.
26665 2012-10-21 Andreas Jaeger <aj@suse.de>
26667 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
26668 definitions and declarations that are provided by
26669 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26671 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26674 * elf/Makefile (tests-static): Add tst-leaks1-static.
26675 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
26676 ($(objpfx)tst-leaks1-static): New rule.
26677 ($(objpfx)tst-leaks1-static-mem): Likewise.
26678 (tst-leaks1-static-ENV): New macro.
26679 * elf/dl-open.c (dl_open_worker): Check the main application
26680 only if SHARED is defined.
26681 * elf/tst-leaks1-static.c: New file.
26683 2012-10-20 Andreas Jaeger <aj@suse.de>
26685 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
26686 generic values for Linux.
26687 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
26688 and declarations that are provided by <bits/fcntl-linux.h> and
26689 include <bits/fcntl-linux.h>.
26690 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26691 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26693 2012-10-20 Roland McGrath <roland@hack.frob.com>
26695 * io/fcntl.h: Move include of <bits/types.h> to the top and
26696 include it unconditionally.
26698 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26700 * wcsmbs/Makefile (tests-ifunc): New variable.
26701 (tests): Add $(tests-ifunc).
26702 * wcsmbs/test-wcschr-ifunc.c: New file.
26703 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26704 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26705 * wcsmbs/test-wcslen-ifunc.c: Likewise.
26706 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26707 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26709 * string/Makefile (tests-ifunc): New variable.
26710 (tests): Add $(tests-ifunc).
26711 * string/test-memccpy.c (TEST_NAME): New macro.
26712 * string/test-memchr.c (TEST_NAME): Likewise.
26713 * string/test-memcmp.c (TEST_NAME): Likewise.
26714 * string/test-memcpy.c (TEST_NAME): Likewise.
26715 * string/test-memmem.c (TEST_NAME): Likewise.
26716 * string/test-memmove.c (TEST_NAME): Likewise.
26717 * string/test-memset.c (TEST_NAME): Likewise.
26718 * string/test-rawmemchr.c (TEST_NAME): Likewise.
26719 * string/test-stpcpy.c (TEST_NAME): Likewise.
26720 * string/test-stpncpy.c (TEST_NAME): Likewise.
26721 * string/test-strcasecmp.c (TEST_NAME): Likewise.
26722 * string/test-strcasestr.c (TEST_NAME): Likewise.
26723 * string/test-strcat.c (TEST_NAME): Likewise.
26724 * string/test-strchr.c (TEST_NAME): Likewise.
26725 * string/test-strcmp.c(TEST_NAME): Likewise.
26726 * string/test-strcpy.c (TEST_NAME): Likewise.
26727 * string/test-strcspn.c (TEST_NAME): Likewise.
26728 * string/test-strlen.c (TEST_NAME): Likewise.
26729 * string/test-strncasecmp.c (TEST_NAME): Likewise.
26730 * string/test-strncmp.c (TEST_NAME): Likewise.
26731 * string/test-strncpy.c (TEST_NAME): Likewise.
26732 * string/test-strnlen.c (TEST_NAME): Likewise.
26733 * string/test-strpbrk.c (TEST_NAME): Likewise.
26734 * string/test-strrchr.c (TEST_NAME): Likewise.
26735 * string/test-strspn.c (TEST_NAME): Likewise.
26736 * string/test-strstr.c (TEST_NAME): Likewise.
26737 * string/test-bcopy-ifunc.c: New file.
26738 * string/test-bzero-ifunc.c: Likewise.
26739 * string/test-memccpy-ifunc.c: Likewise.
26740 * string/test-memchr-ifunc.c: Likewise.
26741 * string/test-memcmp-ifunc.c: Likewise.
26742 * string/test-memcpy-ifunc.c: Likewise.
26743 * string/test-memmem-ifunc.c: Likewise.
26744 * string/test-memmove-ifunc.c: Likewise.
26745 * string/test-mempcpy-ifunc.c: Likewise.
26746 * string/test-memset-ifunc.c: Likewise.
26747 * string/test-rawmemchr-ifunc.c: Likewise.
26748 * string/test-stpcpy-ifunc.c: Likewise.
26749 * string/test-stpncpy-ifunc.c: Likewise.
26750 * string/test-strcasecmp-ifunc.c: Likewise.
26751 * string/test-strcasestr-ifunc.c: Likewise.
26752 * string/test-strcat-ifunc.c: Likewise.
26753 * string/test-strchr-ifunc.c: Likewise.
26754 * string/test-strchrnul-ifunc.c: Likewise.
26755 * string/test-strcmp-ifunc.c: Likewise.
26756 * string/test-strcpy-ifunc.c: Likewise.
26757 * string/test-strcspn-ifunc.c: Likewise.
26758 * string/test-strlen-ifunc.c: Likewise.
26759 * string/test-strncasecmp-ifunc.c: Likewise.
26760 * string/test-strncat-ifunc.c: Likewise.
26761 * string/test-strncmp-ifunc.c: Likewise.
26762 * string/test-strncpy-ifunc.c: Likewise.
26763 * string/test-strnlen-ifunc.c: Likewise.
26764 * string/test-strpbrk-ifunc.c: Likewise.
26765 * string/test-strrchr-ifunc.c: Likewise.
26766 * string/test-strspn-ifunc.c: Likewise.
26767 * string/test-strstr-ifunc.c: Likewise.
26769 * debug/Makefile (tests-ifunc): New variable.
26770 (tests): Add $(tests-ifunc).
26771 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
26772 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
26773 * debug/test-stpcpy_chk-ifunc.c: New file.
26774 * debug/test-strcpy_chk-ifunc.c: Likewise.
26776 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26779 * elf/dl-load.c (open_verify): Retry read if the entire ELF
26780 header is not read in.
26782 2012-10-19 Joseph Myers <joseph@codesourcery.com>
26784 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
26785 script to $(SHELL) as $<. Pass $(common-objpfx) to script
26786 directly. Pass built executable to script as
26787 $(built-program-cmd).
26788 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
26789 $testprogram without using LD_LIBRARY_PATH and $ldso.
26791 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
26792 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
26793 $(rtld-installed-name).
26794 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
26795 (rtld_installed_name): Likewise.
26796 (library_path): Likewise.
26797 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
26798 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
26799 $(run-program-prefix) to tst-tables.sh.
26800 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
26801 it to run tst-table-from and tst-table-to.
26802 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
26803 Pass it to tst-table.sh.
26804 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
26805 $(run-program-prefix) to tst-gettext.sh.
26806 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
26808 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
26810 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
26811 to run tst-gettext.
26812 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
26813 to run tst-gettext2.
26814 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
26815 to run tst-translit.
26816 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
26817 $(run-program-prefix) to tst-mtrace.sh.
26818 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
26820 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
26821 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
26822 $(rtld-installed-name).
26823 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
26824 (rtld_installed_name): Likewise.
26825 (run_program_prefix): New variable. Use it to run wordexp-test.
26827 * Makeconfig (ARCH): Remove all definitions.
26828 (machine): Likewise.
26829 [ARCH]: Remove conditional code.
26830 [!objdir]: Give error.
26831 [!objdir] (objpfx): Remove.
26832 [!objdir] (common-objpfx): Likewise.
26833 [!objdir] (common-objdir): Likewise.
26834 * configure.in (config_makefile): Remove. Hardcode Makefile in
26835 AC_CONFIG_FILES call.
26836 * configure: Regenerated.
26839 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
26841 (testout): Likewise.
26843 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
26844 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
26845 $(rtld-installed-name).
26846 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
26847 (rtld_installed_name): Likwise.
26848 (runit): Remove function.
26849 (run_getconf): New variable, Use it for running getconf binary.
26851 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
26854 * string/test-memmem.c (check_result): New function.
26855 (do_one_test): Use it.
26856 (check1): New function.
26857 (test_main): Use it.
26859 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
26861 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
26863 2012-10-18 Joseph Myers <joseph@codesourcery.com>
26865 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
26866 (_G_LSEEK64): Likewise.
26867 (_G_MMAP64): Likewise.
26868 (_G_FSTAT64): Likewise.
26869 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
26870 (_G_LSEEK64): Likewise.
26871 (_G_MMAP64): Likewise.
26872 (_G_FSTAT64): Likewise.
26873 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
26874 unconditional. Call __mmap64 directly.
26875 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
26876 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
26877 __lseek64 directly.
26878 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
26879 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
26881 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
26882 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
26883 __lseek64 directly.
26884 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
26885 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
26886 __lseek64 directly.
26887 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
26888 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
26889 __lseek64 directly.
26890 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
26891 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
26892 __fxstat64 directly.
26893 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
26894 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
26896 (freopen64) [!_G_OPEN64]: Remove conditional code.
26897 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
26899 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
26900 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
26902 (ftello64) [!_G_LSEEK64]: Remove conditional code.
26903 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
26905 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26906 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
26908 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
26909 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
26911 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26912 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
26914 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26915 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
26917 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26919 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26922 * manual/memory.texi (Malloc Tunable Parameters): Add note
26923 about free list pointers overwriting some perturb bytes.
26924 Wording suggested by Roland McGrath.
26926 2012-10-17 Joseph Myers <joseph@codesourcery.com>
26928 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
26929 (lgamma_test): Likewise.
26930 (tgamma_test): Likewise.
26932 2012-10-16 Florian Weimer <fweimer@redhat.com>
26935 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
26936 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
26938 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
26940 * NEWS: Mention BZ #14716.
26941 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
26942 when removing AVAILABLE1_USES_J macro.
26944 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
26946 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
26947 (__bswap_64): __uint64_t for unsigned 64-bit int.
26949 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
26951 * include/string.h (memmem): Declare libc hidden alias.
26952 * string/memmem.c (memmem): Define libc hidden alias.
26953 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
26954 __read, __close instead of open, read, close.
26956 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
26958 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
26959 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
26961 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
26962 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26963 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
26965 (__rawmemchr_sse2): Likewise.
26966 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
26967 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
26968 (__strchr_sse2): Likewise.
26969 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26970 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26971 (__strcasecmp_sse2): Likewise.
26972 (__strncasecmp_sse2): Likewise.
26973 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26974 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26975 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26976 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26977 (__strrchr_sse2): Likewise.
26978 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26980 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26981 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26982 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26983 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26984 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26985 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26986 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26987 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26988 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
26989 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
26990 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
26991 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26992 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26993 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26994 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26995 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26996 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26997 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26998 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26999 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27000 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27001 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27002 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27003 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27004 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27005 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27006 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27007 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27008 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27009 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27011 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27013 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27014 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27015 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27016 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27018 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27020 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27021 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27022 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27023 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27025 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27026 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27027 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27028 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27029 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27030 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27031 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27032 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27033 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27034 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27035 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27036 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27037 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27038 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27039 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27040 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27041 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27042 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27043 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27044 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27045 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27046 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27047 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27048 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27049 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27050 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27051 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27052 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27053 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27054 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27055 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27056 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27057 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27058 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27059 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27060 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27061 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27062 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27063 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27064 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27065 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27067 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27068 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27069 * include/ifunc-impl-list.h: New file.
27070 * misc/ifunc-impl-list.c: Likewise.
27071 * misc/Makefile (routines): Add ifunc-impl-list.
27072 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27073 * string/test-string.h: Include <ifunc-impl-list.h>.
27074 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27075 TEST_NAME]: New variables.
27076 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27078 (test_init): Call __libc_ifunc_impl_list to initialize
27079 func_list if TEST_IFUNC and TEST_NAME are defined.
27081 * string/Makefile (strop-tests): Add bcopy and bzero.
27082 * string/test-bcopy.c: New file.
27083 * string/test-bzero.c: Likewise.
27084 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27086 * string/test-memset.c: Support bzero test if TEST_BZERO is
27088 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27090 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27092 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27095 2012-10-10 Joseph Myers <joseph@codesourcery.com>
27097 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27098 * configure: Regenerated.
27100 * Makeconfig (+link-static-before-libc): Don't include
27101 $(link-static-libc).
27103 * libio/libio.h (_IO_pos_t): Remove.
27105 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27107 * NEWS: Add note about FIPS mode. Wording suggested by Roland
27110 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27112 * crypt/crypt-entry.c: Include fips-private.h.
27113 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27114 * crypt/md5c-test.c (main): Tolerate disabled MD5.
27115 * sysdeps/unix/sysv/linux/fips-private.h: New file.
27116 * sysdeps/generic/fips-private.h: New file, dummy fallback.
27118 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27120 * crypt/crypt-private.h: Include stdbool.h.
27121 (_ufc_setup_salt_r): Return bool.
27122 * crypt/crypt-entry.c: Include errno.h.
27123 (__crypt_r): Return NULL with EINVAL for bad salt.
27124 * crypt/crypt_util.c (bad_for_salt): New.
27125 (_ufc_setup_salt_r): Check that salt is long enough and within
27126 the specified alphabet.
27127 * crypt/badsalttest.c: New file.
27128 * crypt/Makefile (tests): Add it.
27129 ($(objpfx)badsalttest): New.
27131 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
27133 * NEWS: Add entry for BZ #14602.
27135 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27137 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
27139 * math/libm-test.inc: Update comment listing what functions and
27141 (isgreater_test): New function.
27142 (isgreaterequal_test): Likewise.
27143 (isless_test): Likewise.
27144 (islessequal_test): Likewise.
27145 (islessgreater_test): Likewise.
27146 (isunordered_test): Likewise.
27147 (main): Call the new functions.
27149 2012-10-09 Roland McGrath <roland@hack.frob.com>
27151 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
27152 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
27153 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
27154 * sysdeps/i386/configure: Regenerated.
27155 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
27156 * sysdeps/mach/configure: Regenerated.
27157 * sysdeps/mach/hurd/configure: Regenerated.
27158 * sysdeps/powerpc/configure: Regenerated.
27159 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27160 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27161 * sysdeps/s390/s390-32/configure: Regenerated.
27162 * sysdeps/s390/s390-64/configure: Regenerated.
27163 * sysdeps/sh/configure: Regenerated.
27164 * sysdeps/sparc/configure: Regenerated.
27165 * sysdeps/unix/sysv/linux/configure: Regenerated.
27166 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27167 * sysdeps/x86_64/configure: Regenerated.
27169 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
27170 defined. Don't check if MAP is NULL.
27172 2012-10-09 Joseph Myers <joseph@codesourcery.com>
27174 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
27175 (_G_stat64): Likewise.
27176 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
27177 (_G_stat64): Likewise.
27178 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
27179 instead of struct _G_stat64.
27180 * libio/fileops.c (mmap_remap_check): Likewise.
27181 (decide_maybe_mmap): Likewise.
27182 (_IO_new_file_seekoff): Likewise.
27183 (_IO_file_stat): Likewise.
27184 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
27186 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
27187 instead of struct _G_stat64.
27188 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27190 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
27193 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27195 (CHECK_EOL): New macro.
27196 (two_way_short_needle): Check beginning of haystack for EOL. Use
27198 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27199 Replace with CHECK_EOL.
27200 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27201 Replace with CHECK_EOL.
27203 2012-10-08 Joseph Myers <joseph@codesourcery.com>
27205 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
27207 * math/libm-test.inc: Update comment listing what functions and
27209 (finite_test): New function.
27210 (isinf_test): Likewise.
27211 (isnan_test): Likewise.
27212 (fpclassify_test): Test subnormal input.
27213 (isfinite_test): Likewise.
27214 (isnormal_test): Likewise.
27215 (main): Call the new functions.
27217 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
27220 * Makerules (%.dynsym): Force C locale when running
27221 $(OBJDUMP) --dynamic-syms.
27223 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
27225 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
27228 2012-10-06 David S. Miller <davem@davemloft.net>
27230 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
27231 upper 32-bits of the length value in %o2 since we use branch-on-register
27232 tests which consider the entire 64-bit register.
27234 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
27236 * string/test-strstr.c (check2): Add a test for page boundary.
27238 2012-10-05 David S. Miller <davem@davemloft.net>
27240 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
27241 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
27243 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27245 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27246 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
27247 and bzero when HWCAP_SPARC_CRYPTO is present.
27249 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
27252 * string/test-strstr.c (check2): New function.
27253 (test_main): Call check2.
27255 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
27257 * string/bug-strcasestr1.c (do_test): Moved to ...
27258 * string/test-strcasestr.c (check1): Here. New function.
27259 (do_one_test): Break out result checking code into ...
27260 (check_result): This. New function.
27261 (do_one_test): Call check_result.
27262 (test_main): Call check1.
27263 * string/bug-strchr1.c (do_test): Moved to ...
27264 * string/test-strchr.c (check1): Here. New function.
27265 (do_one_test): Break out result checking code into ...
27266 (check_result): This. New function.
27267 (do_one_test): Call check_result.
27268 (test_main): Call check1.
27269 * string/bug-strstr1.c (main): Moved to ...
27270 * string/test-strstr.c (check1): Here. New function.
27271 (do_one_test): Break out result checking code into ...
27272 (check_result): This. New function.
27273 (do_one_test): Call check_result.
27274 (test_main): Call check1.
27275 * string/bug-strcasestr1.c: Removed.
27276 * string/bug-strchr1.c: Likewise.
27277 * string/bug-strstr1.c: Likewise.
27279 * elf/Makefile (dl-routines): Add hwcaps.
27280 * elf/dl-support.c (_dl_important_hwcaps): Removed.
27281 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
27282 (_dl_important_hwcaps): Moved to ...
27283 * elf/dl-hwcaps.c: Here. New file.
27284 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
27287 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
27288 if IS_IN_rtld isn't defined.
27290 * elf/dl-support.c (_dl_sysinfo_map): New.
27291 Include "get-dynamic-info.h" and "setup-vdso.h".
27292 (_dl_non_dynamic_init): Call setup_vdso.
27293 * elf/dynamic-link.h: Don't include <assert.h>.
27294 (elf_get_dynamic_info): Moved to ...
27295 * elf/get-dynamic-info.h: Here. New file.
27296 * elf/dynamic-link.h: Include "get-dynamic-info.h".
27297 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
27298 * elf/setup-vdso.h: Here. New file.
27299 * elf/rtld.c: Include "setup-vdso.h".
27300 (dl_main): Call setup_vdso.
27302 2012-10-05 Joseph Myers <joseph@codesourcery.com>
27304 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
27305 creal in comment listing functions tested. List finite, isinf,
27306 isnan, isless, islessequal, isgreater, isgreaterequal,
27307 islessgreater, isunordered, lgamma_r and pow10 as functions and
27308 macros not tested. Mention which functions not tested are aliases
27309 for other functions. Fix typo. Note that signs of NaNs are not
27312 * scripts/config.guess: Update from config.git.
27313 * scripts/config.sub: Likewise.
27315 2012-10-04 Roland McGrath <roland@hack.frob.com>
27317 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
27318 * misc/madvise.c (madvise): Renamed to __madvise.
27319 Make madvise a weak alias.
27320 * include/sys/mman.h: Declare __madvise.
27321 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
27322 * sysdeps/unix/syscalls.list
27323 (madvise): Make __madvise the strong name, and madvise a weak alias.
27324 * sysdeps/unix/sysv/linux/syscalls.list
27325 (madvise, mmap): Remove redundant entries.
27326 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
27327 * malloc/malloc.c (mtrim): Likewise.
27328 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
27330 2012-10-03 Roland McGrath <roland@hack.frob.com>
27332 * sysdeps/mach/hurd/dl-cache.c: File removed.
27333 * config.h.in (USE_LDCONFIG): New #undef.
27334 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
27335 * configure: Regenerated.
27336 * elf/Makefile (dl-routines): Add dl-cache only under
27337 [$(use-ldconfig) = yes].
27338 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
27339 cache on [USE_LDCONFIG].
27340 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
27342 * elf/rtld.c (dl_main): Likewise.
27344 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
27346 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
27347 _SC_LEVEL4_CACHE_LINESIZE.
27349 2012-10-03 Roland McGrath <roland@hack.frob.com>
27351 * sysdeps/unix/bsd/confstr.h: File removed.
27353 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
27355 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
27358 2012-10-02 Roland McGrath <roland@hack.frob.com>
27360 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
27361 Make 'mapoff' field ElfW(Off) rather than off_t.
27363 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
27365 * nscd/Makefile: Remove nscd-cflags and all its users.
27366 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
27367 (CFLAGS-nonlib): Add compiler flags for nscd modules.
27370 * malloc.c (malloc_printerr): Clarify error message.
27372 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
27375 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27376 Set bit_FMA_Usable if FMA is supported.
27377 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
27379 (bit_FMA4_Usable): Updated.
27380 (index_FMA_Usable): New macro.
27381 (CPUID_FMA): Likewise
27382 (HAS_FMA): Defined with bit_FMA_Usable.
27384 2012-10-01 Roland McGrath <roland@hack.frob.com>
27386 * bits/types.h (__swblk_t): Type removed.
27387 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
27388 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
27389 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27390 (__SWBLK_T_TYPE): Likewise.
27391 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27392 (__SWBLK_T_TYPE): Likewise.
27393 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27394 (__SWBLK_T_TYPE): Likewise.
27395 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27396 (__SWBLK_T_TYPE): Likewise.
27398 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
27399 Honza Horak <hhorak@redhat.com>
27401 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
27402 (xdr_mapname): Use YPMAXMAP as maxsize.
27403 (xdr_peername): Use YPMAXPEER as maxsize.
27404 (xdr_keydat): Use YPAXRECORD as maxsize.
27405 (xdr_valdat): Use YPMAXRECORD as maxsize.
27407 2012-10-01 Roland McGrath <roland@hack.frob.com>
27409 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
27411 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
27412 * csu/init-first.c: ... here.
27413 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
27414 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27415 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27416 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27417 * sysdeps/i386/init-first.c: File removed.
27418 * sysdeps/sh/init-first.c: File removed.
27420 2012-10-01 Joseph Myers <joseph@codesourcery.com>
27423 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
27424 if x * y might underflow to zero and z is zero.
27425 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27426 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27427 * math/libm-test.inc (min_subnorm_value): New variable.
27428 (fma_test): Add more tests.
27429 (fma_test_towardzero): Likewise.
27430 (fma_test_downward): Likewise
27431 (fma_test_upward): Likewise.
27432 (initialize): Set min_subnorm_value.
27434 2012-09-29 Joseph Myers <joseph@codesourcery.com>
27437 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
27439 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
27440 mode for addition resulting in exact zero.
27441 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
27442 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
27444 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27445 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27446 * math/libm-test.inc (fma_test): Add more tests.
27447 (fma_test_towardzero): New function.
27448 (fma_test_downward): Likewise.
27449 (fma_test_upward): Likewise.
27450 (main): Call the new functions.
27452 2012-09-28 David S. Miller <davem@davemloft.net>
27454 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
27456 2012-09-28 Roland McGrath <roland@hack.frob.com>
27458 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27459 instead of SIGALRM.
27461 * sysdeps/gnu/_G_config.h: Moved to ...
27462 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27463 * sysdeps/mach/hurd/_G_config.h: Moved to ...
27464 * sysdeps/generic/_G_config.h: ... here.
27466 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
27468 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27470 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27471 Conditionalize target on [libnss_test1.so-version].
27473 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27475 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27476 (elfobjdir): Move out of conditionals.
27478 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27479 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27480 (__nss_lookup_function): Conditionalize label remove_from_tree on
27481 [!DO_STATIC_NSS || SHARED], matching its only use.
27483 2012-09-28 David S. Miller <davem@davemloft.net>
27485 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27486 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27488 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27490 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27491 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27492 when HWCAP_SPARC_CRYPTO is present.
27494 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27496 * io/tst-mknodat.c: Create a FIFO instead of a socket.
27498 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
27501 * stdio-common/vfprintf.c (process_string_arg): Revert
27504 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
27506 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27508 * stdio-common/tst-sprintf.c: Include <locale.h>
27509 (main): Test sprintf's handling of incomplete multibyte
27512 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
27514 * elf/dl-runtime.c (VERSYMIDX): Removed.
27515 * elf/dl-version.c (VERSYMIDX): Likewise.
27516 * elf/do-rel.h (VERSYMIDX): Likewise.
27517 (VALIDX): Likewise.
27518 * elf/dynamic-link.h (VERSYMIDX): Likewise.
27519 * elf/rtld.c (VALIDX): Likewise.
27520 (ADDRIDX): Likewise.
27521 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27522 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27523 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
27524 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27525 (VALIDX): Likewise.
27526 (ADDRIDX): Likewise.
27528 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27530 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27532 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
27535 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27537 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27538 addresses are in the same scope as 192.0.2/24.
27539 * posix/gai.conf: Document new scope table defaults.
27541 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27544 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27545 for ftell. Compute offsets from write pointers instead.
27546 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27548 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27551 * libio/Makefile (tests): New test case tst-fseek.
27552 * libio/tst-fseek.c: New test case to verify that fseek/ftell
27553 combination works in wide mode.
27554 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27555 state when the external buffer state changes.
27557 2012-09-27 David S. Miller <davem@davemloft.net>
27560 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27561 pass reloc->r_addend in as the 'high' argument to
27562 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27564 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27566 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27568 * rt/tst-aio2.c: Include <pthread.h>.
27569 * rt/tst-aio3.c: Likewise.
27571 2012-09-27 Steve Ellcey <sellcey@mips.com>
27573 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27575 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
27577 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27578 contents on [SHARED].
27580 2012-09-26 Marek Polacek <polacek@redhat.com>
27584 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27585 for C++ and GCC <4.3 as well as for non GCC compilers.
27587 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27589 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27591 2012-09-25 Roland McGrath <roland@hack.frob.com>
27593 * Makefile.in (all, install): Declare with .PHONY.
27594 Reported by Michael Hope <michael.hope@linaro.org>.
27596 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27598 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27599 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27601 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27603 (sydep_routines): Add the new and the internal functions.
27604 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27605 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27607 (GLIBC_2.17): Add the new function.
27608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27609 (GLIBC_2.17): Likewise.
27610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27611 (GLIBC_2.17): Likewise.
27612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27613 (GLIBC_2.17): Likewise.
27614 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27616 2012-09-25 Alan Modra <amodra@gmail.com>
27618 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27619 Add release barrier before setting once_control to say
27620 initialisation is done. Add hints on lwarx. Use macro in
27622 (clear_once_control): Add release barrier.
27624 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27627 * math/s_clog.c (__clog): Handle more values close to |z| = 1
27629 * math/s_clog10.c (__clog10): Likewise.
27630 * math/s_clog10f.c (__clog10f): Likewise.
27631 * math/s_clog10l.c (__clog10l): Likewise.
27632 * math/s_clogf.c (__clogf): Likewise.
27633 * math/s_clogl.c (__clogl): Likewise.
27634 * math/Makefile (libm-calls): Add x2y2m1.
27635 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
27636 (__x2y2m1): Likewise.
27637 (__x2y2m1l): Likewise.
27638 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
27639 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
27640 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
27641 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27642 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
27643 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
27644 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
27645 * sysdeps/i386/fpu/libm-test-ulps: Update.
27646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27649 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27650 int as type of variable DEPTH.
27651 (glob): Use size_t instead of int as type of variables NEWCOUNT
27654 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27656 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27657 Add s_sincosf-sse2.
27658 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
27659 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
27660 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
27661 macros for using routine as __sincosf_ia32.
27662 Use macro for function declaration and weak_alias.
27663 * sysdeps/i386/fpu/libm-test-ulps: Update.
27665 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
27666 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27668 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
27669 subnormal argument.
27670 * math/s_cexpf.c (__cexpf): Likewise.
27671 * math/s_csinf.c (__csinf): Likewise.
27672 * math/s_csinhf.c (__csinhf): Likewise.
27673 * math/s_ctanf.c (__ctanf): Likewise.
27674 * math/s_ctanhf.c (__ctanhf): Likewise.
27675 * math/s_ccosh.c (__ccoshf): Likewise.
27676 * math/s_cexp.c (__cexpl): Likewise.
27677 * math/s_csin.c (__csin): Likewise.
27678 * math/s_csinh.c (__csinh): Likewise.
27679 * math/s_ctan.c (__ctan): Likewise.
27680 * math/s_ctanh.c (ctanh): Likewise.
27681 * math/s_ccoshl.c (__ccoshl): Likewise.
27682 * math/s_cexpl.c (__cexpl): Likewise.
27683 * math/s_csinl.c (__csinl): Likewise.
27684 * math/s_csinhl.c (__csinhl): Likewise.
27685 * math/s_ctanl.c (__ctanl): Likewise.
27686 * math/s_ctanhl.c (__ctanhl): Likewise.
27688 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27690 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
27691 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
27692 (_IO_off_t): Define to __off_t, not _G_off_t.
27693 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
27694 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
27695 (_IO_wint_t): Define to wint_t, not _G_wint_t.
27696 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
27697 type of __dummy and __dummy2 fields.
27698 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
27699 (_G_ssize_t): Likewise.
27700 (_G_off_t): Likewise.
27701 (_G_pid_t): Likewise.
27702 (_G_uid_t): Likewise.
27703 (_G_wchar_t): Likewise.
27704 (_G_wint_t): Likewise.
27705 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
27706 (_G_ssize_t): Likewise.
27707 (_G_off_t): Likewise.
27708 (_G_pid_t): Likewise.
27709 (_G_uid_t): Likewise.
27710 (_G_wchar_t): Likewise.
27711 (_G_wint_t): Likewise.
27712 * sysdeps/mach/hurd/_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.
27720 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27722 * malloc/arena.c: Include malloc-sysdep.h.
27723 (shrink_heap): Use check_may_shrink_heap to decide if madvise
27724 is sufficient to shrink the heap or an unmap is needed.
27725 * sysdeps/generic/malloc-sysdep.h: New file. Define
27726 new function check_may_shrink_heap.
27727 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
27728 new function check_may_shrink_heap.
27730 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27732 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
27735 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
27737 * catgets/test-gencat.sh: Add "set -e".
27738 * elf/tst-pathopt.sh: Likewise.
27739 * grp/tst_fgetgrent.sh: Likewise.
27740 * iconvdata/run-iconv-test.sh: Likewise.
27741 * intl/tst-gettext.sh: Likewise.
27742 * intl/tst-gettext2.sh: Likewise.
27743 * intl/tst-gettext4.sh: Likewise.
27744 * intl/tst-gettext6.sh: Likewise.
27745 * intl/tst-translit.sh: Likewise.
27746 * io/ftwtest-sh: Likewise.
27747 * libio/test-freopen.sh: Likewise.
27748 * malloc/tst-mtrace.sh: Likewise.
27749 * posix/globtest.sh: Likewise.
27750 * posix/tst-getconf.sh: Likewise.
27751 * posix/wordexp-tst.sh: Likewise.
27752 * stdio-common/tst-printf.sh: Likewise.
27753 * stdio-common/tst-unbputc.sh: Likewise.
27754 * stdlib/tst-fmtmsg.sh: Likewise.
27755 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27756 * catgets/Makefile: Do not specify -e option when running
27757 testsuite shell scripts.
27758 * elf/Makefile: Likewise.
27759 * grp/Makefile: Likewise.
27760 * iconvdata/Makefile: Likewise.
27761 * intl/Makefile: Likewise.
27762 * io/Makefile: Likewise.
27763 * libio/Makefile: Likewise.
27764 * malloc/Makefile: Likewise.
27765 * posix/Makefile: Likewise.
27766 * stdio-common/Makefile: Likewise.
27767 * stdlib/Makefile: Likewise.
27768 * sysdeps/x86_64/Makefile: Likewise.
27770 * io/ftwtest-sh: Add copyright header.
27771 * posix/globtest.sh: Likewise.
27772 * posix/tst-getconf.sh: Likewise.
27773 * posix/wordexp-tst.sh: Likewise.
27774 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27776 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
27779 * Makeconfig (+link): Defined as $(+link-static) if
27780 $(build-shared) isn't yes.
27781 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
27783 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
27785 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
27788 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
27789 new chunk size with MALLOC_ALIGN_MASK.
27791 2012-09-24 Joseph Myers <joseph@codesourcery.com>
27794 * stdio-common/printf_fphex.c: Include <stdbool.h> and
27796 (__printf_fphex): Determine rounding using get_rounding_mode and
27798 * stdio-common/tst-printf-round.c (struct hex_test): New
27800 (hex_tests): New variable.
27801 (test_hex_in_one_mode): New function.
27802 (do_test): Also run tests for hex float output.
27804 2012-09-21 Joseph Myers <joseph@codesourcery.com>
27806 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27807 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27808 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
27809 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27810 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27811 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
27812 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27813 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27815 2012-09-20 Joseph Myers <joseph@codesourcery.com>
27817 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
27818 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
27819 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
27820 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
27822 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
27825 * elf/rtld.c (dl_main): Limit the check for self loading to normal
27827 * elf/tst-rtld-load-self.sh: New test.
27828 * elf/Makefile: Run it.
27830 2012-09-18 Joseph Myers <joseph@codesourcery.com>
27832 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
27833 (tst-writev-ENV): Remove.
27834 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
27836 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
27838 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
27840 2012-09-17 Joseph Myers <joseph@codesourcery.com>
27842 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
27844 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
27846 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
27847 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
27848 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
27851 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
27854 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
27855 * config.make.in (have-cpp-asm-debuginfo): Removed.
27856 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
27857 * configure: Regenerated.
27859 2012-09-14 Joseph Myers <joseph@codesourcery.com>
27862 * stdio-common/printf_fp.c: Include <stdbool.h> and
27864 (___printf_fp): Determine rounding using get_rounding_mode and
27866 * stdio-common/tst-printf-round.c: New file.
27867 * stdio-common/Makefile (tests): Add tst-printf-round.
27868 (link-libm): New variable.
27869 ($(objpfx)tst-printf-round): Depend in $(link-libm).
27871 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
27874 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
27875 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
27877 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
27880 2012-09-13 Joseph Myers <joseph@codesourcery.com>
27882 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
27883 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27884 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27885 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27887 2012-09-12 Joseph Myers <joseph@codesourcery.com>
27890 * include/rounding-mode.h: New file.
27891 * sysdeps/generic/get-rounding-mode.h: Likewise.
27892 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
27893 * stdlib/strtod_l.c: Include <rounding-mode.h>.
27894 (MAX_VALUE): New macro.
27895 (MIN_VALUE): Likewise.
27896 (overflow_value): New function.
27897 (underflow_value): Likewise.
27898 (round_and_return): Use overflow_value and underflow_value to
27899 determine return values in overflow and underflow cases. Use
27900 round_away to determine rounding depending on rounding mode.
27901 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
27902 determine return values in overflow and underflow cases.
27903 * stdlib/tst-strtod-round.c: Include <fenv.h>.
27904 (struct test_results): New structure.
27905 (struct test): Use struct test_results to store expected results
27906 for all rounding modes.
27907 (TEST): Include expected results for all rounding modes.
27908 (test_in_one_mode): New function.
27909 (do_test): Use test_in_one_mode to compute and check results.
27910 Check results for all rounding modes.
27911 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
27914 2012-12-09 Allan McRae <allan@archlinux.org>
27916 * sysdeps/i386/fpu/libm-test-ulps: Update
27918 2012-09-11 Joseph Myers <joseph@codesourcery.com>
27920 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
27921 (_G_int32_t): Likewise.
27922 (_G_uint16_t): Likewise.
27923 (_G_uint32_t): Likewise.
27924 (_G_HAVE_BOOL): Likewise.
27925 (_G_HAVE_ATEXIT): Likewise.
27926 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27927 (_G_HAVE_IO_FILE_OPEN): Likewise.
27928 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
27929 (_G_int32_t): Likewise.
27930 (_G_uint16_t): Likewise.
27931 (_G_uint32_t): Likewise.
27932 (_G_HAVE_BOOL): Likewise.
27933 (_G_HAVE_ATEXIT): Likewise.
27934 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27935 (_G_HAVE_IO_FILE_OPEN): Likewise.
27936 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
27937 (_G_int32_t): Likewise.
27938 (_G_uint16_t): Likewise.
27939 (_G_uint32_t): Likewise.
27940 (_G_HAVE_BOOL): Likewise.
27941 (_G_HAVE_ATEXIT): Likewise.
27942 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27943 (_G_HAVE_IO_FILE_OPEN): Likewise.
27945 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
27947 * csu/libc-tls.c: Update copyright years.
27949 2012-09-10 Joseph Myers <joseph@codesourcery.com>
27951 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
27952 [!_G_USING_THUNKS]: Remove conditional code.
27953 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
27954 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
27956 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
27957 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
27958 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27959 (_G_VTABLE_LABEL_PREFIX): Likewise.
27960 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27961 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27962 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27963 (_G_VTABLE_LABEL_PREFIX): Likewise.
27964 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27965 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27966 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27967 (_G_VTABLE_LABEL_PREFIX): Likewise.
27968 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27970 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
27972 * libio/Makefile: Include ../Makeconfig before tests.
27973 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27974 only if $(build-shared) is yes.
27976 * iconv/gconv_db.c: Update copyright years.
27978 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27980 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27981 unwind info if defined PIC. Fix special cases description.
27982 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27984 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
27986 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
27988 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
27990 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
27992 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27995 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27996 (LDLIBS-tst-chk4): This.
27997 (LDFLAGS-tst-chk5): Renamed to ...
27998 (LDLIBS-tst-chk5): This.
27999 (LDFLAGS-tst-chk6): Renamed to ...
28000 (LDLIBS-tst-chk6): This.
28001 (LDFLAGS-tst-lfschk4): Renamed to ...
28002 (LDLIBS-tst-lfschk4): This.
28003 (LDFLAGS-tst-lfschk5): Renamed to ...
28004 (LDLIBS-tst-lfschk5): This.
28005 (LDFLAGS-tst-lfschk6): Renamed to ...
28006 (LDLIBS-tst-lfschk6): This.
28008 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28009 on $(common-objpfx)soversions.mk.
28011 2012-09-07 Joseph Myers <joseph@codesourcery.com>
28014 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28017 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28019 * malloc/arena.c (arena_get_retry): New function that gets
28020 another arena for the caller to try its request on.
28021 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28022 current arena cannot fulfill the request.
28023 (__libc_memalign): Likewise.
28024 (__libc_memalign): Likewise.
28025 (__libc_pvalloc): Likewise.
28026 (__libc_calloc): Likewise.
28028 2012-09-05 John Tobey <john.tobey@gmail.com>
28031 * manual/arith.texi (Operations on Complex): Fix description
28032 of carg branch cut.
28034 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28037 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28041 * manual/memory.texi (Memory): Make order of menu items match
28044 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28046 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28047 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
28048 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28050 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28052 * csu/libc-tls.c (static_dtv): Renamed to ...
28053 (_dl_static_dtv): This. Make it global.
28054 (_dl_initial_dtv): Removed.
28055 (__libc_setup_tls): Updated.
28056 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28057 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28060 2012-09-06 Petr Machata <pmachata@redhat.com>
28062 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28063 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28064 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28065 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28067 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28070 * csu/libc-tls.c (_dl_initial_dtv): New variable.
28071 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28074 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28077 * Makeconfig (link-static-before-libc): Replace $(+prector)
28079 (link-static-after-libc): Replace $(+postctor) with
28081 (link-bounded): Replace $(+prector)/$(+postctor) with
28082 $(+prectorT)/$(+postctorT).
28083 (+prectorT): New macro.
28084 (+postctorT): Likewise.
28086 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28088 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28089 (round_str): Handle values above the maximum for IBM long double
28091 * stdlib/tst-strtod-round.c (tests): Regenerated.
28093 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28095 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28097 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28098 zarch_nohighgprs around the zarch optimized routines.
28099 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28100 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28101 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28104 2012-09-05 David S. Miller <davem@davemloft.net>
28106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28108 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28109 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
28110 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28111 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28114 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28116 * malloc/arena.c: Fold copyright years.
28117 * malloc/mcheck.c, malloc/memusage.c: Likewise.
28119 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28121 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28123 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28125 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
28127 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28129 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
28130 change internal state upon failure.
28132 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28134 * malloc/mcheck.c (mcheck_check_all): Fix typo.
28135 * malloc/memusage.c (mmap): Likewise.
28136 (mmap64, mremap): Likewise. Adjust name in comment.
28138 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28140 * libio/fileops.c: Fix typos in comments.
28141 * libio/oldfileops.c: Likewise.
28142 * libio/wfileops.c: Likewise.
28144 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28147 * malloc/Makefile (tests): Add tst-malloc-usable test case.
28148 (tst-malloc-usable-ENV): Set environment for test case.
28149 * malloc/hooks.c (malloc_check_get_size): New function to get
28151 * malloc/malloc.c (musable): Use malloc_check_get_size.
28152 * malloc/tst-malloc-usable.c: New test case.
28154 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28156 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
28158 2012-09-05 Allan McRae <allan@archlinux.org>
28161 * configure.in (CXX_SYSINCLUDES): Use compiler output to
28162 determine header location.
28163 * configure: Regenerated.
28165 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28167 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
28169 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
28170 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
28172 (test): Regenerate.
28174 2012-09-04 David S. Miller <davem@davemloft.net>
28176 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
28177 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
28178 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
28180 2012-09-04 Florian Weimer <fweimer@redhat.com>
28182 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
28185 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
28187 2012-09-04 Joseph Myers <joseph@codesourcery.com>
28190 * libio/iogetdelim.c: Include <limits.h>.
28191 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
28192 + len + 1 would overflow.
28194 2012-09-03 Andreas Jaeger <aj@suse.de>
28196 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28197 * sysdeps/i386/fpu/libm-test-ulps: Update.
28199 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28201 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28202 Add s_sinf-sse2, s_conf-sse2.
28204 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
28205 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
28206 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
28207 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
28209 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
28210 for using routine as __sinf_ia32.
28211 Use macro for function declaration and weak_alias.
28212 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
28213 for using routine as __cosf_ia32.
28214 Use macro for function declaration and weak_alias.
28216 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
28217 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
28219 * sysdeps/x86_64/fpu/s_sinf.S: New file.
28220 * sysdeps/x86_64/fpu/s_cosf.S: New file.
28221 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28223 * math/libm-test.inc (cos_test): Add more test cases.
28224 (sin_test): Likewise.
28225 (sincos_test): Likewise.
28227 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28229 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
28230 (IFUNC_RESOLVE): Make pointers to the specialized implementations
28232 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28234 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
28237 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
28238 first element of the GOT.
28239 (elf_machine_load_address): Return the difference between
28240 the runtime address of _DYNAMIC and elf_machine_dynamic ().
28242 2012-09-01 Allan McRae <allan@archlinux.org>
28245 * configure.in (AWK): Require gawk version 3.0 or later.
28246 * configure: Regenerated.
28248 2012-09-01 Joseph Myers <joseph@codesourcery.com>
28250 * sysdeps/unix/sysv/linux/kernel-features.h
28251 (__ASSUME_POSIX_CPU_TIMERS): Remove.
28252 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28253 [__NR_clock_getres]: Make code unconditional.
28254 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
28255 (clock_getcpuclockid): Remove code left unreachable by removal of
28257 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
28258 code unconditional.
28259 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28260 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28261 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
28262 Make code unconditional.
28263 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28264 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28265 * sysdeps/unix/sysv/linux/clock_settime.c
28266 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
28268 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
28269 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28271 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
28274 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
28275 scripts/test-installation.pl.
28277 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
28278 and $ld_so_version if it is set.
28280 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28283 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
28284 failure if reading from procfs failed.
28285 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
28287 2012-08-27 Joseph Myers <joseph@codesourcery.com>
28289 * sysdeps/unix/sysv/linux/kernel-features.h
28290 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
28291 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28292 Remove conditional code.
28293 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28294 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
28295 Remove conditional code.
28296 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28297 * sysdeps/unix/sysv/linux/i386/fxstat.c
28298 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28299 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28300 * sysdeps/unix/sysv/linux/i386/fxstatat.c
28301 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28302 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28303 * sysdeps/unix/sysv/linux/i386/lxstat.c
28304 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28305 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28306 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
28307 Remove conditional code.
28308 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28309 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28310 Remove conditional code.
28311 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28312 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
28313 <kernel-features.h>.
28314 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
28316 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
28317 Remove conditional code.
28318 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28319 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
28320 Remove conditional.
28322 2012-08-27 Mike Frysinger <vapier@gentoo.org>
28325 * NEWS: Add fixed bug number.
28327 2012-08-27 Joseph Myers <joseph@codesourcery.com>
28330 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
28331 underflowing exponent in case of negative sign.
28332 * stdlib/tst-strtod-round-data: Add more tests.
28333 * stdlib/tst-strtod-round.c (tests): Regenerated.
28336 * stdlib/strtod_l.c (NDIG): Remove.
28337 (HEXNDIG): Likewise.
28338 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
28339 smallest representable value.
28340 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
28341 lie within an exact representation of 1/2 ulp of the result.
28342 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
28344 (TENS_P9_IDX): Define unconditionally.
28345 (TENS_P9_SIZE): Likewise.
28346 (TENS_P10_IDX): Likewise.
28347 (TENS_P10_SIZE): Likewise.
28348 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
28349 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
28350 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
28351 entries for 10^2^13 and 10^2^14.
28352 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
28353 (TENS_P13_IDX): Define.
28354 (TENS_P13_SIZE): Likewise.
28355 (TENS_P14_IDX): Likewise.
28356 (TENS_P14_SIZE): Likewise.
28357 (_fpioconst_pow10): Change array size to
28358 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
28360 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
28361 1024]: Add entries for 10^2^13 and 10^2^14.
28362 [LAST_POW10 > _LAST_POW10]: Remove #error.
28363 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
28364 (_fpioconst_pow10): Change array size to
28365 FPIOCONST_POW10_ARRAY_SIZE.
28366 * stdlib/gen-fpioconst.c: New file.
28367 * stdlib/gen-tst-strtod-round.c: Likewise.
28368 * stdlib/tst-strtod-round-data: Likewise.
28369 * stdlib/tst-strtod-round.c: Likewise.
28370 * stdlib/Makefile (tests): Add tst-strtod-round.
28373 * stdlib/strtod_l.c: Include <stdint.h>.
28374 (NDEBUG): Do not define.
28375 (round_and_return): Change EXPONENT parameter to type intmax_t.
28376 Rearrange calculations to avoid internal overflow possibilities.
28377 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
28378 Rearrange calculations to avoid internal overflow possibilities.
28379 Assert that number fits inside MPNSIZE limbs.
28380 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
28381 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
28382 calculations and add assertions to avoid internal overflow
28383 possibilities. Add casts to avoid signed/unsigned operations.
28384 * stdlib/tst-strtod-overflow.c: New file.
28385 * stdlib/Makefile (tests): Add tst-strtod-overflow.
28387 2012-08-25 Marek Polacek <polacek@redhat.com>
28389 * time/time.h: Fix some typos in comments.
28391 2012-08-23 Roland McGrath <roland@hack.frob.com>
28393 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
28394 * posix/tst-rfc3484-2.c: Likewise.
28395 * posix/tst-rfc3484-3.c: Likewise.
28397 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
28399 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
28400 (EF_ARM_ABI_FLOAT_HARD): Likewise.
28402 2012-08-23 Joseph Myers <joseph@codesourcery.com>
28404 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
28405 #include of fxstatat64.c.
28407 2012-08-22 Roland McGrath <roland@hack.frob.com>
28409 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
28410 * shadow/getspent_r.c: Likewise.
28411 * shadow/getspnam.c: Likewise.
28412 * shadow/getspnam_r.c: Likewise.
28413 * gshadow/getsgent.c: Likewise.
28414 * gshadow/getsgent_r.c: Likewise.
28415 * gshadow/getsgnam.c: Likewise.
28416 * gshadow/getsgnam_r.c: Likewise.
28417 * inet/getnetbyad.c: Likewise.
28418 * inet/getnetbyad_r.c: Likewise.
28419 * inet/getnetbynm.c: Likewise.
28420 * inet/getnetbynm_r.c: Likewise.
28421 * inet/getnetent.c: Likewise.
28422 * inet/getnetent_r.c: Likewise.
28423 * inet/getproto.c: Likewise.
28424 * inet/getproto_r.c: Likewise.
28425 * inet/getprtent.c: Likewise.
28426 * inet/getprtent_r.c: Likewise.
28427 * inet/getprtname.c: Likewise.
28428 * inet/getprtname_r.c: Likewise.
28429 * inet/getrpcbyname.c: Likewise.
28430 * inet/getrpcbyname_r.c: Likewise.
28431 * inet/getrpcbynumber.c: Likewise.
28432 * inet/getrpcbynumber_r.c: Likewise.
28433 * inet/getrpcent.c: Likewise.
28434 * inet/getrpcent_r.c: Likewise.
28435 * inet/getaliasent.c: Likewise.
28436 * inet/getaliasent_r.c: Likewise.
28437 * inet/getaliasname.c: Likewise.
28438 * inet/getaliasname_r.c: Likewise.
28439 * nscd/getgrgid_r.c: Likewise.
28440 * nscd/getgrnam_r.c: Likewise.
28441 * nscd/gethstbyad_r.c: Likewise.
28442 * nscd/gethstbynm3_r.c: Likewise.
28443 * nscd/getpwnam_r.c: Likewise.
28444 * nscd/getpwuid_r.c: Likewise.
28445 * nscd/getsrvbynm_r.c: Likewise.
28446 * nscd/getsrvbypt_r.c: Likewise.
28447 * nscd/gai.c: Likewise.
28449 * configure.in (build_nscd): New substituted variable, set
28450 by --disable-build-nscd and defaults to $use_nscd.
28451 * configure: Regenerated.
28452 * config.make.in (build-nscd): New substituted variable.
28453 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
28454 Change conditional to require [$(build-nscd) = yes] as well.
28455 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28458 * configure.in (use_nscd): New substituted variable, set by
28459 --disable-nscd. If enabled, define USE_NSCD.
28460 * configure: Regenerated.
28461 * config.h.in: Add USE_NSCD.
28462 * config.make.in (use-nscd): New substituted variable.
28463 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28464 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28465 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28466 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28467 (CFLAGS-getgrnam_r.c): Likewise.
28468 (CFLAGS-initgroups.c): Likewise.
28469 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28470 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28472 * inet/getnetgrent_r.c
28473 (nscd_setnetgrent): New function, broken out of ...
28474 (setnetgrent): ... here. Call it.
28475 (innetgr): Conditionalize nscd bits on [USE_NSCD].
28476 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28477 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28478 * nscd/Makefile (routines, aux): Move definitions after include of
28479 Makeconfig. Conditionalize on [$(use-nscd) != no].
28480 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28481 Conditionalize on [USE_NSCD].
28482 (is_nscd, nscd_init_cb): Likewise.
28483 (nss_load_library): Conditionalize init callback on [USE_NSCD].
28484 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28485 * nss/nss_db/db-init.c: Likewise.
28486 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28488 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28489 (make_request): Use it.
28490 (cache_valid_p): New function.
28491 (__check_pf): Use it.
28492 * NEWS: Add item for --disable-nscd.
28494 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
28496 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28497 to support sed >= 4.2.1-20-ga9bf076.
28498 * configure: Regenerated.
28500 2012-08-22 Roland McGrath <roland@hack.frob.com>
28502 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28503 Conditionalize whole body on [IREL].
28505 2012-08-22 Jeff Law <law@redhat.com>
28508 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28509 if the family is PF_UNSPEC.
28511 2012-08-22 Mike Frysinger <vapier@gentoo.org>
28513 * Makerules (lib-version): Rename from V.
28514 (install-lib-nosubdir): Change V to lib-version.
28516 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
28519 * powerpc32/power6/wcschr.c: New file.
28520 * powerpc32/power6/wcscpy.c: New file.
28521 * powerpc32/power6/wcsrchr.c: New file.
28522 * powerpc64/power6/wcschr.c: New file.
28523 * powerpc64/power6/wcscpy.c: New file.
28524 * powerpc64/power6/wcsrchr.c: New file.
28526 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28528 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28529 (two_way_short_needle): Use it.
28530 * string/strstr.c (AVAILABLE1_USES_J): Define.
28531 * string/strcasestr.c: Likewise.
28533 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28535 * string/strcasestr.c (TOLOWER): Make side-effect safe.
28538 * NEWS: Add an entry.
28539 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28540 define their defaults.
28541 (two_way_short_needle): Detect end-of-string on-the-fly.
28542 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28543 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28544 * string/bug-strcasestr1.c: New test.
28545 * string/Makefile: Run it.
28547 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28550 * string/str-two-way.h (two_way_short_needle): Optimize matching of
28551 the first character.
28553 2012-08-21 Roland McGrath <roland@hack.frob.com>
28555 * csu/elf-init.c (__libc_csu_irel): Function removed.
28556 * csu/libc-start.c (apply_irel): New function.
28557 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28559 2012-08-21 Joseph Myers <joseph@codesourcery.com>
28561 * sysdeps/unix/sysv/linux/kernel-features.h
28562 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28563 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28564 <kernel-features.h>.
28565 [__NR_fadvise64_64]: Make code unconditional.
28566 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28567 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28568 !__NR_fadvise64_64)]: Likewise.
28569 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28570 !__NR_fadvise64_64))]: Likewise.
28571 [__NR_fadvise64]: Make code unconditional.
28572 [!__NR_fadvise64]: Remove conditional code.
28573 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28574 <kernel-features.h>.
28575 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28577 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28580 not include <kernel-features.h>.
28581 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28583 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28585 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28586 include <kernel-features.h>.
28587 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28589 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28592 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28594 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28595 slight instruction rearrangements per scrollpipe analysis.
28596 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28598 2012-08-20 Roland McGrath <roland@hack.frob.com>
28600 * manual/syslog.texi (syslog; vsyslog, closelog):
28601 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28602 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28604 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28605 DSOCAPS to match condition on defining it.
28607 2012-08-20 Joseph Myers <joseph@codesourcery.com>
28609 * sysdeps/unix/sysv/linux/kernel-features.h
28610 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28612 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28613 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28615 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28616 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28618 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28619 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28621 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28622 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28624 * sysdeps/unix/sysv/linux/kernel-features.h
28625 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28626 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28628 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28629 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28630 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28631 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28632 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
28633 Make code unconditional.
28634 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28635 (__mmap64) [!__NR_mmap2]: Likewise.
28636 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
28637 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28638 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28639 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
28640 [__NR_mmap2]: Make code unconditional.
28641 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28642 (__mmap64) [!__NR_mmap2]: Likewise.
28644 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28646 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
28648 2012-08-18 Andreas Jaeger <aj@suse.de>
28650 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
28652 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28654 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
28655 * include/unistd.h (__have_sock_cloexec): Likewise.
28656 (__have_pipe2): Likewise.
28657 (__have_dup3): Likewise.
28659 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28662 * include/unistd.h (__have_pipe2): Change define into an extern int.
28663 (__have_dup3): Likewise.
28664 * socket/have_sock_cloexec.c: Include fcntl.h.
28665 (__have_pipe2): New variable.
28666 (__have_dup3): Likewise.
28668 2012-08-17 Mike Frysinger <vapier@gentoo.org>
28670 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
28672 2012-08-17 Marek Polacek <polacek@redhat.com>
28674 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
28675 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
28677 2012-08-17 Roland McGrath <roland@hack.frob.com>
28679 * configure.in: Add AC_SUBST for sysheaders.
28680 * configure: Regenerated.
28681 * config.make.in (sysheaders): New substituted variable.
28683 * sysdeps/unix/mkfifo.c: Moved ...
28684 * sysdeps/posix/mkfifo.c: ... here.
28685 * sysdeps/unix/mkfifoat.c: Moved ...
28686 * sysdeps/posix/mkfifoat.c: ... here.
28688 * sysdeps/unix/utime.c: Moved ...
28689 * sysdeps/posix/utime.c: ... here.
28691 * sysdeps/unix/time.c: Moved ...
28692 * sysdeps/posix/time.c: ... here.
28693 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
28694 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
28696 * sysdeps/unix/nice.c: Moved ...
28697 * sysdeps/posix/nice.c: ... here.
28699 * sysdeps/unix/alarm.c: Moved ...
28700 * sysdeps/posix/alarm.c: ... here.
28702 * intl/Makefile ($(codeset_mo)): Depend on the input file.
28704 2012-08-17 Jeff Law <law@redhat.com>
28706 * intl/Makefile (codeset_mo): New variable.
28707 ($(codeset_mo)): New target.
28708 (tst-codeset.out): Depend on that. Remove explicit rule.
28709 (tst-gettext3.out, tst-gettext5.out): Likewise.
28710 (LOCPATH-ENV, tst-codeset-ENV): New variables.
28711 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
28712 * intl/tst-codeset.sh: Remove.
28713 * intl/tst-gettext3.sh: Likewise.
28714 * intl/tst-gettext5.sh: Likewise.
28716 2012-08-17 Roland McGrath <roland@hack.frob.com>
28718 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
28719 * sysdeps/unix/syscalls.list: ... here.
28721 * sysdeps/posix/getaddrinfo.c
28722 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
28723 (gaiconf_init, gaiconf_reload): Use them.
28724 [!_STATBUF_ST_NSEC]
28725 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
28726 Define using time_t rather than struct timespec.
28728 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
28729 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
28731 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
28733 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
28734 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
28737 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
28738 __libc_cleanup_push argument.
28740 * bits/param.h: New file.
28741 * misc/sys/param.h: New file.
28742 * include/sys/param.h: New file.
28743 * misc/Makefile (headers): Add bits/param.h.
28744 * sysdeps/generic/sys/param.h: File removed.
28745 * sysdeps/unix/sysv/linux/bits/param.h: New file.
28746 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
28747 * sysdeps/mach/hurd/bits/param.h: New file.
28748 * sysdeps/mach/hurd/sys/param.h: File removed.
28750 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
28753 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
28755 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
28756 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
28759 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
28760 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
28761 rather than -D_IO_MTSAFE_IO conditionally.
28762 * stdio-common/Makefile (CPPFLAGS): Likewise.
28763 * wcsmbs/Makefile (CPPFLAGS): Likewise.
28764 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
28765 Use $(libio-mtsafe).
28766 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
28767 of -D_IO_MTSAFE_IO.
28768 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
28769 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
28770 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
28771 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
28772 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
28773 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
28774 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
28775 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
28776 (CFLAGS-fread_u_chk.c): Likewise.
28777 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
28778 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
28779 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
28780 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
28781 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
28782 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
28783 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
28784 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
28785 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
28787 * libio/Makefile: Test [$(libc-reentrant) = yes]
28788 instead of [$(filter %REENTRANT, $(defines)) nonempty].
28791 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
28792 * sysdeps/pthread/configure: File removed.
28793 * sysdeps/pthread/Makeconfig: New file.
28794 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
28795 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
28797 2012-08-16 Gary Benson <gbenson@redhat.com>
28799 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
28800 unmapping the first object in a namespace.
28802 2012-08-16 Roland McGrath <roland@hack.frob.com>
28804 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
28805 (__internal_setnetgrent): ... this. Add internal_function to
28806 definition. Add libc_hidden_def.
28807 (setnetgrent): Update caller.
28808 (internal_endnetgrent): Renamed to ...
28809 (__internal_endnetgrent): ... this. Add internal_function to
28810 definition. Add libc_hidden_def.
28811 (endnetgrent): Update caller.
28812 (internal_getnetgrent_r): Renamed to ...
28813 (__internal_getnetgrent_r): ... this. Add internal_function to
28814 definition. Add libc_hidden_def.
28815 (__getnetgrent_r): Update caller.
28816 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
28818 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28820 * stdlib/longlong.h: Update from GCC.
28822 2012-08-16 Roland McGrath <roland@hack.frob.com>
28824 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
28825 on _QL, which is set by umul_ppmm but never used.
28826 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
28827 variables, which are set by GMP macros but never used.
28828 * stdio-common/_itowa.c (_itowa): Likewise.
28829 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
28830 * stdlib/mod_1.c (mpn_mod_1): Likewise.
28832 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
28834 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
28835 struct La_sh_regs is not constant.
28836 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
28837 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
28838 and struct La_sparc64_regs are not constant.
28840 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28842 * sysdeps/unix/sysv/linux/kernel-features.h
28843 (__ASSUME_POSIX_TIMERS): Remove.
28844 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28845 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28846 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
28847 Make code unconditional.
28848 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28849 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
28850 Make code unconditional.
28851 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28852 * sysdeps/unix/sysv/linux/clock_nanosleep.c
28853 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
28854 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28855 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
28856 Make code unconditional.
28857 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28858 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
28859 (__libc_missing_posix_timers): Remove.
28861 2012-08-15 Roland McGrath <roland@hack.frob.com>
28863 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
28864 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
28866 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
28868 * elf/dl-sym.c: Include <stdlib.h>.
28870 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
28871 constants, which avoids warnings in 32-bit builds.
28873 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
28874 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
28876 * misc/lseek.c: File moved to ...
28877 * io/lseek.c: ... here.
28879 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
28881 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
28882 shifting LEN more than 31 bits at once.
28884 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28887 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
28888 segmentation fault for a case of two empty input strings.
28889 * string/test-strncasecmp.c (check1): Renamed to...
28890 (bz12205): ...this.
28891 (bz14195): Add new testcase for two empty input strings and N > 0.
28892 (test_main): Call new testcase, adapt for renamed function.
28894 2012-08-15 Andreas Jaeger <aj@suse.de>
28897 * crypt/md5test2.c: New test, based on test supplied by Serge
28898 Belyshev <belyshev@depni.sinp.msu.ru>.
28899 * crypt/Makefile (xtests): Add md5test-giant..
28900 * crypt/Makefile ($(objpfx)md5test-giant): Add.
28902 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
28905 * crypt/md5.c (md5_process_block): Don't assume the buffer
28906 length is less than 2**32.
28907 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
28908 length is less than 2**64.
28910 2012-08-15 Roland McGrath <roland@hack.frob.com>
28912 * string/str-two-way.h: Include <sys/param.h>.
28913 (MAX): Macro removed.
28915 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
28916 Move #define and #undef of memmove to just before and after
28917 including <string.h>.
28919 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
28920 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
28921 and after including <string.h>. Move declarations of
28922 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
28923 to before #include "string/memmove.c".
28925 * include/dirent.h: Declare __getdirentries.
28927 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
28928 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
28930 2012-08-14 Mike Frysinger <vapier@gentoo.org>
28932 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
28933 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
28934 * sysdeps/i386/configure: Regenerated.
28935 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
28936 STABS_CURRENT_FILE, and STABS_FUN.
28937 (END): Remove call to STABS_FUN_END.
28938 (STABS_CURRENT_FILE1): Delete.
28939 (STABS_CURRENT_FILE): Likewise.
28940 (STABS_FUN): Likewise.
28941 (STABS_FUN_END): Likewise.
28942 (STABS_FUN2): Likewise.
28943 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
28944 * sysdeps/x86_64/configure: Regenerated.
28946 2012-08-14 Roland McGrath <roland@hack.frob.com>
28948 * elf/dl-open.c: Include <atomic.h>.
28949 * elf/dl-lookup.c: Likewise.
28951 2012-08-14 Joseph Myers <joseph@codesourcery.com>
28953 * sysdeps/unix/sysv/linux/kernel-features.h
28954 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
28955 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
28957 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
28959 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
28960 condition on __ASSUME_CLONE_THREAD_FLAGS.
28962 2012-08-14 Andreas Jaeger <aj@suse.de>
28964 * sysdeps/i386/fpu/libm-test-ulps: Update.
28966 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
28968 * include/atomic.h (atomic_exchange_and_add): Split into ...
28969 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28972 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
28974 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28976 2012-08-13 Jeff Law <law@redhat.com>
28978 * manual/stdio.texi (snprintf): Clarify handling of the trailing
28979 null byte in the output string.
28981 2012-08-10 Joseph Myers <joseph@codesourcery.com>
28983 * sysdeps/unix/sysv/linux/kernel-features.h
28984 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28985 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
28986 (__ASSUME_ARG_MAX_STACK_BASED): Define.
28987 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28988 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28989 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
28990 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
28992 2012-08-09 Jeff Law <law@redhat.com>
28995 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28996 When avoid_arena is set, don't retry in the that arena. Pick the
28997 next one, whatever it might be.
28998 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28999 (arena_lock): Pass in new parameter to arena_get2.
29000 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29002 (__libc_malloc): Unify retrying after main arena failure with
29003 __libc_memalign version.
29004 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29006 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
29009 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29010 to __redirect_strstr.
29011 (__strstr_sse42): Use typeof __redirect_strstr.
29012 (__strstr_ia32): Likewise.
29013 (__libc_strstr): New prototype.
29014 (strstr): Renamed to ...
29015 (__libc_strstr): This.
29016 (strstr): New strong alias of __libc_strstr.
29017 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29018 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29021 (__libc_time): New prototype.
29022 (time_ifunc): Replace time with __libc_time.
29023 (time): New strong alias and hidden definition of __libc_time.
29024 (__GI_time): Remove strong alias.
29025 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29026 Include <stddef.h>.
29027 (memmove): Redefined to __redirect_memmove.
29028 (__memmove_sse2): Use typeof __redirect_memmove.
29029 (__memmove_ssse3): Likewise.
29030 (__memmove_ssse3_back): Likewise.
29031 (__libc_memmove): New prototype.
29032 (memmove): Renamed to ...
29033 (__libc_memmove): This.
29034 (memmove): New strong alias of __libc_memmove.
29036 2012-08-08 Mark Salter <msalter@redhat.com>
29039 (R_MN10300_TLS_GD): Define.
29040 (R_MN10300_TLS_LD): Likewise.
29041 (R_MN10300_TLS_LDO): Likewise.
29042 (R_MN10300_TLS_GOTIE): Likewise.
29043 (R_MN10300_TLS_IE): Likewise.
29044 (R_MN10300_TLS_LE): Likewise.
29045 (R_MN10300_TLS_DTPMOD): Likewise.
29046 (R_MN10300_TLS_DTPOFF): Likewise.
29047 (R_MN10300_TLS_TPOFF): Likewise.
29048 (R_MN10300_SYM_DIFF): Likewise.
29049 (R_MN10300_ALIGN): Likewise.
29050 (R_MN10300_NUM): Update.
29052 2012-08-08 Joseph Myers <joseph@codesourcery.com>
29054 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29057 2012-08-08 Roland McGrath <roland@hack.frob.com>
29059 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29061 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29062 sysdeps/unix -> sysdeps/posix move.
29063 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29065 2012-08-07 Allan McRae <allan@archlinux.org>
29068 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29069 (SUNOS_CPP): Likewise.
29070 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29072 (open_input): Call CPP using execvp.
29074 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29076 * sysdeps/unix/sysv/linux/kernel-features.h
29077 (__ASSUME_PROT_GROWSUPDOWN): Remove.
29078 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29079 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29080 (__ASSUME_WAITID_SYSCALL): Likewise.
29081 * sysdeps/unix/sysv/linux/dl-execstack.c
29082 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29083 code unconditional.
29084 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29086 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29087 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29088 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29090 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29092 [__ASSUME_WAITID_SYSCALL]: Likewise.
29093 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29095 2012-08-07 Roland McGrath <roland@hack.frob.com>
29097 * sysdeps/unix/closedir.c: Renamed to ...
29098 * sysdeps/posix/closedir.c: ... here.
29099 * sysdeps/unix/dirfd.c: Renamed to ...
29100 * sysdeps/posix/dirfd.c: ... here.
29101 * sysdeps/unix/dirstream.h: Renamed to ...
29102 * sysdeps/posix/dirstream.h: ... here.
29103 * sysdeps/unix/fdopendir.c: Renamed to ...
29104 * sysdeps/posix/fdopendir.c: ... here.
29105 * sysdeps/unix/opendir.c: Renamed to ...
29106 * sysdeps/posix/opendir.c: ... here.
29107 * sysdeps/unix/readdir.c: Renamed to ...
29108 * sysdeps/posix/readdir.c: ... here.
29109 * sysdeps/unix/readdir_r.c: Renamed to ...
29110 * sysdeps/posix/readdir_r.c: ... here.
29111 * sysdeps/unix/rewinddir.c: Renamed to ...
29112 * sysdeps/posix/rewinddir.c: ... here.
29113 * sysdeps/unix/seekdir.c: Renamed to ...
29114 * sysdeps/posix/seekdir.c: ... here.
29115 * sysdeps/unix/telldir.c: Renamed to ...
29116 * sysdeps/posix/telldir.c: ... here.
29117 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29118 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29119 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29120 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29122 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29123 * bits/fcntl.h: ... here.
29125 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
29127 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
29128 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
29129 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
29130 (struct flock): Move l_start, l_len to the beginning.
29131 Use __pid_t for l_pid.
29132 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
29133 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
29134 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
29135 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
29136 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
29137 [__USE_LARGEFILE64] (struct flock64): New type.
29138 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
29140 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
29141 * bits/dirent.h: ... here.
29143 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
29144 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
29146 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29148 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29149 Change from 2.6.0 to 2.6.16.
29150 * sysdeps/unix/sysv/linux/configure: Regenerated.
29151 * sysdeps/unix/sysv/linux/kernel-features.h
29152 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
29153 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
29155 (__ASSUME_UTIMES): Likewise.
29156 (__ASSUME_CLONE_STOPPED): Remove.
29157 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
29158 architectures, not kernel version.
29159 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
29160 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29161 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29162 (__ASSUME_WAITID_SYSCALL): Likewise.
29163 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
29164 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
29165 * README: State 2.6.16 as minimum Linux kernel version. Do not
29166 refer to older versions.
29168 2012-08-06 Roland McGrath <roland@hack.frob.com>
29170 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
29171 Define alphasort64 as an alias.
29172 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
29173 Define versionsort64 as an alias.
29174 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
29175 Define scandir64 as an alias.
29176 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
29177 Define scandirat64 as an alias.
29178 * dirent/alphasort64.c (alphasort64):
29179 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
29180 * dirent/versionsort64.c: Likewise.
29181 * dirent/scandir64.c: Likewise.
29182 * dirent/scandirat64.c: Likewise.
29183 * sysdeps/wordsize-64/alphasort.c: File removed.
29184 * sysdeps/wordsize-64/alphasort64.c: File removed.
29185 * sysdeps/wordsize-64/scandir.c: File removed.
29186 * sysdeps/wordsize-64/scandir64.c: File removed.
29187 * sysdeps/wordsize-64/scandirat.c: File removed.
29188 * sysdeps/wordsize-64/scandirat64.c: File removed.
29189 * sysdeps/wordsize-64/versionsort.c: File removed.
29190 * sysdeps/wordsize-64/versionsort64.c: File removed.
29191 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
29192 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
29193 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
29194 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
29195 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
29196 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
29197 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
29198 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
29200 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
29201 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29202 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
29203 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29204 [defined __arch64__ || defined __sparcv9]
29205 (__INO_T_MATCHES_INO64_T): New macro.
29206 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29207 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
29208 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
29209 * sysdeps/unix/sysv/linux/bits/dirent.h
29210 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
29211 (_DIRENT_MATCHES_DIRENT64): New macro.
29213 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
29214 Define lockf64 as an alias.
29215 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
29216 Define fseeko64 as an alias.
29217 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
29218 Define ftello64 as an alias.
29219 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
29220 Define _IO_fgetpos64 and fgetpos64 as aliases.
29221 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
29222 Define _IO_fsetpos64 and fsetpos64 as aliases.
29223 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
29224 Conditionalize body on this.
29225 * libio/fseeko64.c: Likewise.
29226 * libio/ftello64.c: Likewise.
29227 * libio/iofgetpos64.c: Likewise.
29228 * libio/iofsetpos64.c: Likewise.
29229 * sysdeps/wordsize-64/lockf.c: File removed.
29230 * sysdeps/wordsize-64/lockf64.c: File removed.
29231 * sysdeps/wordsize-64/fseeko.c: File removed.
29232 * sysdeps/wordsize-64/fseeko64.c: File removed.
29233 * sysdeps/wordsize-64/ftello.c: File removed.
29234 * sysdeps/wordsize-64/ftello64.c: File removed.
29235 * sysdeps/wordsize-64/iofgetpos.c: File removed.
29236 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
29237 * sysdeps/wordsize-64/iofsetpos.c: File removed.
29238 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
29239 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
29240 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
29241 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
29242 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
29243 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
29244 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
29245 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
29246 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
29247 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
29248 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
29250 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29251 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29252 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
29253 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29254 [defined __arch64__ || defined __sparcv9]
29255 (__OFF_T_MATCHES_OFF64_T): New macro.
29256 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29257 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29258 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29259 (__OFF_T_MATCHES_OFF64_T): New macro.
29261 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29263 * stdlib/secure-getenv.c (__secure_getenv): Replace
29264 GLIBC_2_16 with GLIBC_2_17.
29266 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29268 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
29269 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29271 2012-08-03 David S. Miller <davem@davemloft.net>
29273 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29275 2012-08-03 Joseph Myers <joseph@codesourcery.com>
29277 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
29279 (__ASSUME_CORRECT_SI_PID): Likewise.
29280 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
29281 (__ASSUME_TMPFS_NAME): Likewise.
29282 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
29283 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
29284 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
29285 (HAVE_AUX_SECURE): Make definition unconditional.
29286 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
29287 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
29289 2012-08-03 Roland McGrath <roland@hack.frob.com>
29291 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
29292 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
29293 * sysdeps/mach/hurd/eloop-threshold.h: New file.
29294 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29295 __eloop_threshold instead of SYMLOOP_MAX.
29297 * sysdeps/generic/eloop-threshold.h: New file.
29298 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
29300 * elf/chroot_canon.c (chroot_canon): Likewise.
29302 2012-08-03 Joseph Myers <joseph@codesourcery.com>
29305 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29306 Change to 2.6.0 everywhere.
29307 * sysdeps/unix/sysv/linux/configure: Regenerated.
29308 * sysdeps/unix/sysv/linux/kernel-features.h
29309 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
29310 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
29312 (__ASSUME_POSIX_TIMERS): Define unconditionally.
29313 (__ASSUME_FUTEX_REQUEUE): Remove.
29314 (__ASSUME_STATFS64): Define unconditionally.
29315 (__ASSUME_AT_SECURE): Likewise.
29316 (__ASSUME_CORRECT_SI_PID): Likewise.
29317 (__ASSUME_TGKILL): Define without depending on kernel version for
29319 (__ASSUME_UTIMES): Likewise.
29320 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
29322 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
29323 (__ASSUME_TMPFS_NAME): Likewise.
29324 * README: Update reference to Linux kernel versions.
29326 2012-08-02 Marek Polacek <polacek@redhat.com>
29329 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
29330 libc_cv_asm_type_prefix with %.
29331 * configure: Regenerated.
29332 * include/libc-symbols.h: Remove comment about
29333 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29334 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
29335 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
29336 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
29337 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
29338 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29339 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
29340 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
29341 * elf/tst-unique2mod1.c: Likewise.
29342 * elf/tst-unique1mod2.c: Likewise.
29343 * elf/tst-unique1mod1.c: Likewise.
29344 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
29345 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
29346 Replace ASM_TYPE_DIRECTIVE with .type.
29347 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29348 * sysdeps/i386/sysdep.h: Likewise.
29349 * sysdeps/x86_64/sysdep.h: Likewise.
29350 * sysdeps/sh/sysdep.h: Likewise.
29351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29352 Do not define ASM_TYPE_DIRECTIVE.
29353 * sysdeps/powerpc/sysdep.h: Likewise.
29354 * sysdeps/powerpc/powerpc32/sysdep.h:
29355 Replace ASM_TYPE_DIRECTIVE with .type.
29356 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29357 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29358 * sysdeps/i386/fpu/e_powf.S: Likewise.
29359 * sysdeps/i386/fpu/e_expl.S: Likewise.
29360 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29361 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29362 * sysdeps/i386/fpu/e_pow.S: Likewise.
29363 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29364 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29365 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29366 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29367 * sysdeps/i386/fpu/e_log2.S: Likewise.
29368 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29369 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29370 * sysdeps/i386/fpu/e_powl.S: Likewise.
29371 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29372 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29373 * sysdeps/i386/fpu/e_logl.S: Likewise.
29374 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29375 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29376 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29377 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29378 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29379 * sysdeps/i386/fpu/e_log.S: Likewise.
29380 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29381 * sysdeps/i386/fpu/e_logf.S: Likewise.
29382 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29383 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29384 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29385 * sysdeps/i386/fpu/e_log10.S: Likewise.
29386 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29387 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29388 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29389 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29390 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29391 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29392 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29393 * sysdeps/i386/i686/strtok.S: Likewise.
29394 * sysdeps/i386/i386-mcount.S: Likewise.
29395 * sysdeps/i386/strtok.S: Likewise.
29396 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
29397 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29398 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29399 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29400 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29401 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29402 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29403 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29404 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29405 * sysdeps/x86_64/_mcount.S: Likewise.
29406 * sysdeps/x86_64/strtok.S: Likewise.
29407 * sysdeps/sh/_mcount.S: Likewise.
29409 2012-08-01 Roland McGrath <roland@hack.frob.com>
29411 * libio/iofopen.c: Include <fcntl.h>.
29412 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
29413 (_IO_fopen64, fopen64): Define as aliases.
29414 * libio/iofopen64.c: Include <fcntl.h>.
29415 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
29416 Conditionalize body on this.
29417 * sysdeps/wordsize-64/iofopen.c: File removed.
29418 * sysdeps/wordsize-64/iofopen64.c: File removed.
29420 2012-08-01 Marek Polacek <polacek@redhat.com>
29422 * libc/Makeconfig: Use elf in place of binfmt-subdir.
29423 Use dlfcn directly instead of a variable.
29424 (binfmt-subdir): Do not define.
29427 2012-08-01 Joseph Myers <joseph@codesourcery.com>
29429 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
29430 Remove all definitions.
29431 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
29432 <kernel-features.h>.
29433 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29434 (miss_F_GETOWN_EX): Remove all definitions.
29435 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
29437 [!__ASSUME_FCNTL64]: Remove conditional code.
29438 [__ASSUME_FCNTL64]: Make code unconditional.
29439 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
29440 <kernel-features.h>.
29441 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29442 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
29443 (lockf64) [__NR_fcntl64]: Make code unconditional.
29444 (lockf64) [__ASSUME_FCNTL64]: Likewise.
29446 * sysdeps/unix/sysv/linux/kernel-features.h
29447 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
29448 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
29449 Make code unconditional.
29450 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29451 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
29453 [__NR_vfork]: Make code unconditional.
29454 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29455 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29457 [__NR_vfork]: Make code unconditional.
29458 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29459 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29461 2012-08-01 Roland McGrath <roland@hack.frob.com>
29463 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29464 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29466 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29467 Define mkstemp64 as an alias.
29468 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29469 Define mkstemps64 as an alias.
29470 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29471 Define mkostemp64 as an alias.
29472 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29473 Define mkostemps64 as an alias.
29474 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29475 Conditionalize body on this.
29476 * misc/mkostemp64.c: Likewise.
29477 * misc/mkostemps64.c: Likewise.
29478 * misc/mkstemps64.c: Likewise.
29479 * sysdeps/wordsize-64/mkstemp64.c: File removed.
29480 * sysdeps/wordsize-64/mkostemp64.c: File removed.
29481 * sysdeps/wordsize-64/mkostemp.c: File removed.
29482 * sysdeps/wordsize-64/mkstemp.c: File removed.
29483 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29484 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29485 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29486 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29489 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29490 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29491 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29492 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29494 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29495 compat_symbol macros from <shlib-compat.h> rather than the underlying
29496 default_symbol_version and symbol_version macros, so that DEFAULT
29497 lines in shlib-versions are respected.
29498 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29500 2012-08-01 Florian Weimer <fweimer@redhat.com>
29502 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29503 Declare with warn_unused_result.
29504 (setgid, setregid, setegid, setresgid): Likewise.
29505 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29507 * WUR-REPORT: Remove set*id functions.
29509 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
29511 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29513 2012-07-31 Roland McGrath <roland@hack.frob.com>
29516 * include/sys/socket.h (__libc_accept, __libc_accept4):
29517 Add attribute_hidden.
29518 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29520 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29522 * inet/getnetgrent_r.c (setup): Likewise.
29524 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29526 2012-07-31 David S. Miller <davem@davemloft.net>
29528 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29530 2012-07-31 Joseph Myers <joseph@codesourcery.com>
29533 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29534 value between 1.0 and 2.0 and smaller part has absolute value less
29536 * math/s_clog10.c (__clog10): Likewise.
29537 * math/s_clog10f.c (__clog10f): Likewise.
29538 * math/s_clog10l.c (__clog10l): Likewise.
29539 * math/s_clogf.c (__clogf): Likewise.
29540 * math/s_clogl.c (__clogl): Likewise.
29541 * math/libm-test.inc (clog_test): Add more tests.
29542 (clog10_test): Likewise.
29543 * sysdeps/i386/fpu/libm-test-ulps: Update.
29544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29546 2012-07-31 Florian Weimer <fweimer@redhat.com>
29548 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29549 Exit with zero in case no suitable GID is found, and write a
29550 message to standard error.
29552 2012-07-30 Roland McGrath <roland@hack.frob.com>
29554 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29556 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29557 (MAXPATHLEN): Removed.
29558 (NOGROUP, NODEV): New macros.
29559 (setbit, clrbit, isset, isclr): New macros.
29560 (howmany, roundup, powerof2): New macros.
29561 (DEV_BSIZE): New macro.
29563 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29564 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29566 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29567 definition on [!__NO_LONG_DOUBLE_MATH].
29569 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29570 PTR_MANGLE and PTR_DEMANGLE.
29572 * socket/accept4.c (accept4): Rename to __libc_accept4.
29573 Define accept4 as a weak alias.
29575 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29576 on [_DIRENT_HAVE_D_TYPE].
29577 * io/ftw.c (ftw_dir): Likewise.
29579 * io/xmknod.c (__xmknod): Don't check PATH for being null.
29581 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29583 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29584 Use the BSD numbers rather than the arbitrary ones we had.
29585 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29586 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29587 (SIGXCPU, SIGXFSZ): New macros.
29590 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29591 initializer on [_LIBC_REENTRANT].
29593 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29594 definitions inside [_POSIX_MAPPED_FILES].
29596 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29598 * dirent/opendir.c: Include <fcntl.h>.
29600 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29601 (__libc_getspecific): Likewise.
29602 (__libc_key_create): Likewise.
29604 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29605 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29606 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29607 (tmpfile64): Define as alias.
29608 * sysdeps/wordsize-64/tmpfile.c: File removed.
29609 * sysdeps/wordsize-64/tmpfile64.c: File removed.
29610 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29611 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29613 * stdio-common/vfscanf.c: Include <stdbool.h>.
29614 * nss/makedb.c: Likewise.
29615 * stdio-common/_i18n_number.h: Likewise.
29616 * argp/argp-help.c: Likewise.
29617 * posix/wordexp.c: Likewise.
29618 * sysdeps/posix/spawni.c: Likewise.
29619 * nss/nss_files/files-initgroups.c: Likewise.
29620 * stdio-common/reg-modifier.c: Include <stdlib.h>.
29621 * nss/nss_files/files-initgroups.c: Likewise.
29622 * nss/nss_db/db-netgrp.c: Likewise.
29623 * nss/nss_db/db-initgroups.c: Likewise.
29624 * io/fchmodat.c: Include <sys/stat.h>.
29626 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29627 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29629 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29632 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
29633 Add multiple inclusion protection.
29635 2012-07-27 David S. Miller <davem@davemloft.net>
29637 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29639 2012-07-27 Gary Benson <gbenson@redhat.com>
29642 * elf/rtld.c: Include <stap-probe.h>.
29643 (dl_main): Added static probes "init_start" and "init_complete".
29644 * elf/dl-load.c: Include <stap-probe.h>.
29645 (lose): Take new parameter "nsid".
29646 Added static probe "map_failed".
29647 (_dl_map_object_from_fd): Pass namespace id to lose.
29648 Added static probe "map_start".
29649 (open_verify): Pass namespace id to lose.
29650 * elf/dl-open.c: Include <stap-probe.h>.
29651 (dl_open_worker) Added static probes "map_complete", "reloc_start"
29652 and "reloc_complete".
29653 * elf/dl-close.c: Include <stap-probe.h>.
29654 (_dl_close_worker): Added static probes "unmap_start" and
29656 * elf/rtld-debugger-interface.txt: New file documenting the above.
29658 2012-07-26 Roland McGrath <roland@hack.frob.com>
29660 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
29661 rather than a string variable.
29662 * sunrpc/rpc_main.c (h_output): Likewise.
29663 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
29665 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
29667 * inet/check_native.c: New file.
29669 2012-07-26 Joseph Myers <joseph@codesourcery.com>
29672 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
29673 if larger part has absolute value 1.0.
29674 * math/s_clog10.c (__clog10): Likewise.
29675 * math/s_clog10f.c (__clog10f): Likewise.
29676 * math/s_clog10l.c (__clog10l): Likewise.
29677 * math/s_clogf.c (__clogf): Likewise.
29678 * math/s_clogl.c (__clogl): Likewise.
29679 * math/libm-test.inc (clog_test): Add more tests.
29680 (clog10_test): Likewise.
29681 * sysdeps/i386/fpu/libm-test-ulps: Update.
29682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29684 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
29685 (pltexit): Likewise.
29686 (La_regs): Likewise.
29687 (La_retval): Likewise.
29688 (int_retval): Likewise.
29689 Update #error for removed macros to refer only to definitions in
29691 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
29693 (pltexit): Likewise.
29694 (La_regs): Likewise.
29695 (La_retval): Likewise.
29696 (int_retval): Likewise.
29697 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
29699 (pltexit): Likewise.
29700 (La_regs): Likewise.
29701 (La_retval): Likewise.
29702 (int_retval): Likewise.
29703 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
29705 (pltexit): Likewise.
29706 (La_regs): Likewise.
29707 (La_retval): Likewise.
29708 (int_retval): Likewise.
29709 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
29711 (pltexit): Likewise.
29712 (La_regs): Likewise.
29713 (La_retval): Likewise.
29714 (int_retval): Likewise.
29715 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
29717 (pltexit): Likewise.
29718 (La_regs): Likewise.
29719 (La_retval): Likewise.
29720 (int_retval): Likewise.
29721 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
29723 (pltexit): Likewise.
29724 (La_regs): Likewise.
29725 (La_retval): Likewise.
29726 (int_retval): Likewise.
29727 * sysdeps/generic/tst-audit.h: Update comment to refer only to
29728 macro definitions in tst-audit.h.
29729 * sysdeps/i386/tst-audit.h: New file.
29730 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
29731 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
29732 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
29733 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
29734 * sysdeps/sh/tst-audit.h: Likewise.
29735 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
29736 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
29737 * sysdeps/x86_64/tst-audit.h: Likewise.
29739 2012-07-26 Andreas Jaeger <aj@suse.de>
29741 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
29744 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
29745 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
29746 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
29748 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
29749 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
29750 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
29752 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
29755 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
29757 (si_call_addr, si_syscall, si_arch): Define new macro.
29758 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
29760 (si_call_addr, si_syscall, si_arch): Define new marcro.
29761 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
29763 (si_call_addr, si_syscall, si_arch): Define new macro.
29764 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
29766 (si_call_addr, si_syscall, si_arch): Define new macro.
29768 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29771 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29772 Change to 2.4.21 where previously 2.4.1.
29773 * sysdeps/unix/sysv/linux/configure: Regenerated.
29774 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
29775 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
29776 Linux kernel version.
29777 (__ASSUME_STD_AUXV): Remove.
29778 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
29780 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
29781 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
29782 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
29783 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
29784 (__ASSUME_NETLINK_SUPPORT): Likewise.
29785 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
29786 (__no_netlink_support): Remove conditional definition.
29787 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
29789 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29790 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
29791 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
29792 (if_nameindex_ioctl): Remove.
29793 (if_nameindex_netlink): Do not handle __no_netlink_support.
29794 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29796 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
29797 Remove conditional code.
29798 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29800 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
29802 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29803 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
29804 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
29806 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
29807 [!__ASSUME_STD_AUXV]: Remove conditional code.
29808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
29809 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
29810 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
29811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
29812 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
29813 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29815 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29817 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
29818 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29820 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29822 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29825 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
29828 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29829 code unconditional.
29830 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29832 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29834 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29837 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29839 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29842 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29843 code unconditional.
29844 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29846 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29848 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29851 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29852 code unconditional.
29853 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29855 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29857 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29860 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
29862 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
29863 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
29864 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29865 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
29866 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
29867 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29868 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29869 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29870 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
29871 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29872 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
29873 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
29874 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
29875 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29876 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
29877 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
29878 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
29879 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
29880 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
29881 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
29882 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
29883 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
29884 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29886 2012-07-25 Florian Weimer <fweimer@redhat.com>
29888 * Versions.def: Add GLIBC_2.17.
29889 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
29890 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
29891 Introduce __libc_secure_getenv.
29892 * stdlib/Versions (2.17): Add secure_getenv
29893 (GLIBC_PRIVATE): Add __libc_secure_getenv.
29894 * stdlib/secure-getenv.c: Rename __secure_getenv to
29895 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
29896 symbol __secure_getenv for GLIBC_2.0.
29897 * stdlib/tst-secure-getenv.c: New.
29898 * stdlib/Makefile (tests): Add testcase.
29899 * manual/startup.texi (Environment Access): Document
29901 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
29902 __libc_secure_getenv.
29903 * inet/ruserpass.c (ruserpass): Likewise.
29904 * malloc/mtrace.c (mtrace): Likewise.
29905 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
29906 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
29907 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
29908 * sysdeps/posix/tempname.c: Likewise. Evaluate
29909 HAVE_SECURE_GETENV.
29910 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
29911 __secure_getenv to __libc_secure_getenv.
29912 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
29913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29919 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29920 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29921 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29922 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29923 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29925 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29927 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
29928 (struct La_i86_retval): Likewise.
29929 (struct La_x86_64_regs): Likewise.
29930 (struct La_x86_64_retval): Likewise.
29931 (struct La_x32_regs): Likewise.
29932 (struct La_x32_retval): Likewise.
29933 (struct La_ppc32_regs): Likewise.
29934 (struct La_ppc32_retval): Likewise.
29935 (struct La_ppc64_regs): Likewise.
29936 (struct La_ppc64_retval): Likewise.
29937 (struct La_sh_regs): Likewise.
29938 (struct La_sh_retval): Likewise.
29939 (struct La_s390_32_regs): Likewise.
29940 (struct La_s390_32_retval): Likewise.
29941 (struct La_s390_64_regs): Likewise.
29942 (struct La_s390_64_retval): Likewise.
29943 (struct La_sparc32_regs): Likewise.
29944 (struct La_sparc32_retval): Likewise.
29945 (struct La_sparc64_regs): Likewise.
29946 (struct La_sparc64_retval): Likewise.
29947 (struct audit_ifaces): Remove architecture-specific pltenter and
29949 * sysdeps/i386/ldsodefs.h: New file.
29950 * sysdeps/powerpc/ldsodefs.h: Likewise.
29951 * sysdeps/s390/ldsodefs.h: Likewise.
29952 * sysdeps/sh/ldsodefs.h: Likewise.
29953 * sysdeps/sparc/ldsodefs.h: Likewise.
29954 * sysdeps/x86_64/ldsodefs.h: Likewise.
29956 2012-07-25 Marek Polacek <polacek@redhat.com>
29959 * math/libm-test.inc (yn_test): Add another test.
29960 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
29961 to ERANGE when the result is +-Inf.
29962 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29963 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29964 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
29965 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29967 2012-07-24 Joseph Myers <joseph@codesourcery.com>
29969 * conform/data/time.h-data (NULL): Use macro-constant. Require
29971 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
29973 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
29975 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
29977 * configure.in <sysdeps resolving>: Correct printing
29979 * configure: Regenerate.
29981 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
29983 * math/w_ilogb.c: Include <limits.h>.
29984 * math/w_ilogbl.c: Likewise.
29986 2012-07-20 Joseph Myers <joseph@codesourcery.com>
29988 * manual/lang.texi (__va_copy): Document primarily as ISO C99
29989 va_copy. Document allowing for unavailable va_copy only as
29990 pre-C99 compatibility.
29991 * manual/string.texi (Copying and Concatenation): Use va_copy
29992 instead of __va_copy in concat example.
29994 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
29996 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29997 (__sendto): Use create_address_port. Initialize APORT and deallocate
30000 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30001 with O_NOLINK passed to __file_name_lookup.
30003 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30004 with O_NOLINK passed to __file_name_lookup.
30006 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30007 negative N or less than NGIDS.
30009 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30010 type to string_t. Set ERANGE as errno and return it if NAME is not big
30011 enough. Use memcpy instead of strncpy.
30013 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30015 * elf/Makefile (check-data): Remove.
30016 (localplt.data): New vpath directive.
30017 ($(objpfx)check-localplt.out): Use localplt.data from vpath
30018 instead of $(check-data).
30019 * scripts/data/localplt-generic.data: Move to ...
30020 * sysdeps/generic/localplt.data: ... here.
30021 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30022 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30023 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30026 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30029 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30032 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30033 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30035 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30036 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30038 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30039 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30042 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30044 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30045 PPC32 and PPC64 files.
30046 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30047 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30049 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30051 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30052 __makecontext_ret to ...
30053 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30054 ... here and call exit if uc_link is NULL. New file.
30055 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30056 __makecontext_ret.S.
30057 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30058 __makecontext_ret to ...
30059 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30060 ... here and call exit if uc_link is NULL. New file.
30061 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30062 __makecontext_ret.S.
30064 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30066 * elf/elf.h (R_390_IRELATIVE): New definition.
30067 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30068 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
30069 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30070 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30071 (elf_machine_lazy_rel): Likewise.
30072 * sysdeps/s390/dl-irel.h: New file.
30073 * sysdeps/s390/s390-64/memcpy.S: New asm code.
30074 * sysdeps/s390/s390-64/memset.S: New asm code.
30075 * sysdeps/s390/s390-64/memcmp.S: New asm code.
30076 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30077 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30078 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30079 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30080 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30081 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30082 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30083 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30084 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30085 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30086 * sysdeps/s390/s390-32/memcpy.S: New asm code.
30087 * sysdeps/s390/s390-32/memset.S: New asm code.
30088 * sysdeps/s390/s390-32/memcmp.S: New asm code.
30090 2012-07-17 Marek Polacek <polacek@redhat.com>
30093 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30094 * sysdeps/s390/s390-64/configure.in: Likewise.
30095 * sysdeps/sparc/configure.in: Likewise.
30096 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30097 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30098 * sysdeps/i386/configure.in: Likewise.
30099 * sysdeps/x86_64/configure.in: Likewise.
30100 * sysdeps/sh/configure.in: Likewise.
30101 * sysdeps/s390/s390-32/configure: Regenerated.
30102 * sysdeps/s390/s390-64/configure: Likewise.
30103 * sysdeps/x86_64/configure: Likewise.
30104 * sysdeps/sh/configure: Likewise.
30105 * sysdeps/powerpc/powerpc64/configure: Likewise.
30106 * sysdeps/powerpc/powerpc32/configure: Likewise.
30107 * sysdeps/sparc/configure: Likwise.
30108 * sysdeps/i386/configure: Likewise.
30110 * elf/dl-open.c: Comment fixes.
30112 2012-07-17 Joseph Myers <joseph@codesourcery.com>
30114 * Makefile [CXX] (check-data): Remove.
30115 [CXX] (c++-types.data): New vpath directive.
30116 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30117 vpath. Do not allow for C++ type data being missing.
30118 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30119 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30120 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30121 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30122 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30123 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30124 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30127 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
30128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30130 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
30131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
30133 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
30134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
30136 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
30137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
30139 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
30140 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30142 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
30143 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
30145 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
30146 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
30148 * elf/tls-macros.h (TLS_LE): Move architecture-specific
30149 definitions to architecture-specific files.
30150 (TLS_IE): Likewise.
30151 (TLS_LD): Likewise.
30152 (TLS_GD): Likewise.
30153 * sysdeps/i386/tls-macros.h: New file.
30154 * sysdeps/powerpc/tls-macros.h: Likewise.
30155 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
30156 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
30157 * sysdeps/sh/tls-macros.h: Likewise.
30158 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
30159 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
30160 * sysdeps/x86_64/tls-macros.h: Likewise.
30162 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30164 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
30165 zero value for regular exit case.
30167 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30168 (__start_context): Preserve zero value for regular exit case.
30170 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30171 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30173 * manual/setjmp.texi (setcontext): Clarify normal process
30174 termination when uc_link is the null pointer.
30175 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
30178 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
30180 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
30181 preprocessor. Test for each exception mask separately.
30183 2012-07-16 Andreas Jaeger <aj@suse.de>
30185 * po/ru.po: Update from translation team.
30187 2012-07-15 Joseph Myers <joseph@codesourcery.com>
30189 * conform/data/string.h-data (NULL): Use macro-constant. Require
30191 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30192 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30193 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
30194 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
30195 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30197 2012-07-13 Andreas Jaeger <aj@suse.de>
30199 * po/fr.po: Update from translation team.
30201 2012-07-12 Marek Polacek <polacek@redhat.com>
30204 * math/libm-test.inc (yn_test): Add test for BZ #14173.
30205 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
30208 2012-07-12 Joseph Myers <joseph@codesourcery.com>
30211 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30212 Change to 2.4.1 where previously 2.4.0.
30213 * sysdeps/unix/sysv/linux/configure: Regenerated.
30214 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
30215 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
30217 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
30218 (__ASSUME_AT_CLKTCK): Remove.
30219 (__ASSUME_AT_PAGESIZE): Likewise.
30220 (__ASSUME_AT_XID): Likewise.
30221 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
30222 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
30223 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
30225 (HAVE_AUX_PAGESIZE): Likewise.
30226 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
30227 [__ASSUME_AT_CLKTCK]: Make code unconditional.
30228 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
30230 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
30233 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
30234 the temporary buffer used to invoke __gethostbyname2_r,
30235 __gethostbyaddr_r and gethostbyname4_r to make room for struct
30236 host_data / struct gaih_addrtuple.
30237 * resolv/nss_dns/dns-host.c (global scope): Move definition of
30238 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
30239 header file nss/nsswitch.h.
30240 * nss/nsswitch.h (global scope): Add definition of implementation
30241 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
30242 resolv/nss_dns/dns-host.c).
30244 2012-07-11 Andreas Jaeger <aj@suse.de>
30246 * po/fr.po: Update from translation team.
30248 * po/sv.po: Update from translation team
30249 * po/fr.po: Another update from translation team.
30251 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30253 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
30254 for subnormals or multiply small sinh result by itself.
30255 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30258 2012-07-11 David S. Miller <davem@davemloft.net>
30260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30262 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
30265 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
30266 (INTERNAL_MARK): Shift it here.
30268 2012-07-10 Marek Polacek <polacek@redhat.com>
30271 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
30272 libc_cv_asm_global_directive with .globl.
30273 * configure: Regenerated.
30274 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
30276 * sysdeps/i386/configure: Regenerated.
30277 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
30279 * sysdeps/x86_64/configure: Regenerated.
30280 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
30281 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
30282 * elf/tst-unique2mod2.c: Likewise.
30283 * elf/tst-unique2mod1.c: Likewise.
30284 * elf/tst-unique1mod2.c: Likewise.
30285 * elf/tst-unique1mod1.c: Likewise.
30286 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30287 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30288 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30289 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30290 * sysdeps/mach/sysdep.h: Likewise.
30291 * sysdeps/i386/sysdep.h: Likewise.
30292 * sysdeps/i386/i386-mcount.S: Likewise.
30293 * sysdeps/x86_64/_mcount.S: Likewise.
30294 * sysdeps/x86_64/sysdep.h: Likewise.
30295 * sysdeps/sh/_mcount.S: Likewise.
30296 * sysdeps/sh/sysdep.h: Likewise.
30297 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
30298 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
30299 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
30300 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30301 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
30302 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
30303 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
30304 * locale/localeinfo.h: Likewise.
30305 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
30306 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
30308 2012-07-09 Roland McGrath <roland@hack.frob.com>
30311 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
30313 * manual/message.texi (The Uniforum approach): Likewise.
30314 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
30315 (glibc iconv Implementation): Likewise.
30317 2012-07-09 Joseph Myers <joseph@codesourcery.com>
30320 * math/s_clog.c (__clog): Avoid scaling a value down where that
30321 could result in underflow.
30322 * math/s_clog10.c (__clog10): Likewise.
30323 * math/s_clog10f.c (__clog10f): Likewise.
30324 * math/s_clog10l.c (__clog10l): Likewise.
30325 * math/s_clogf.c (__clogf): Likewise.
30326 * math/s_clogl.c (__clogl): Likewise.
30327 * math/libm-test.inc (clog_test): Add more tests.
30328 (clog10_test): Likewise.
30329 * sysdeps/i386/fpu/libm-test-ulps: Update.
30330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30332 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
30335 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
30336 by 7 not 8 to examine high bit of fractional part.
30339 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
30340 for call to __mcount_internal.
30341 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
30342 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
30343 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
30345 2012-07-06 Joseph Myers <joseph@codesourcery.com>
30348 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
30349 approximation for values within 0x1p-13f of an odd multiple of
30351 * math/libm-test.inc (tan_test): Do not allow spurious underflow
30352 exception. Add more tests.
30353 * sysdeps/i386/fpu/libm-test-ulps: Update.
30356 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
30357 inputs and return -1 for them. Do not check for +Inf in case not
30358 reachable for +Inf.
30359 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
30360 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
30361 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30362 and return -1 for them. Do not check for +Inf in case not
30363 reachable for +Inf.
30364 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
30366 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30367 and return -1 for them. Do not check for +Inf in case not
30368 reachable for +Inf.
30369 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
30370 spurious underflow.
30371 * sysdeps/i386/fpu/libm-test-ulps: Update.
30372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30374 2012-07-06 Mike Frysinger <vapier@gentoo.org>
30376 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
30378 2012-07-05 Joseph Myers <joseph@codesourcery.com>
30382 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
30383 could result in spurious underflow. Scale down values above
30384 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
30385 * math/s_csqrtf.c (__csqrtf): Likewise.
30386 * math/s_csqrtl.c (__csqrtl): Likewise.
30387 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
30388 spurious underflow.
30389 * sysdeps/i386/fpu/libm-test-ulps: Update.
30390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30392 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
30394 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
30396 * catgets/xopen-msg.awk: New file.
30397 * catgets/xopen-msg.sed: Removed.
30399 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
30401 * intl/po2test.awk: New file.
30402 * intl/po2test.sed: Removed.
30404 2012-07-04 Joseph Myers <joseph@codesourcery.com>
30407 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
30408 or multiply small sinh result by itself.
30409 * math/s_ctanf.c (__ctanf): Likewise.
30410 * math/s_ctanh.c (__ctanh): Likewise.
30411 * math/s_ctanhf.c (__ctanhf): Likewise.
30412 * math/s_ctanhl.c (__ctanhl): Likewise.
30413 * math/s_ctanl.c (__ctanl): Likewise.
30414 * math/libm-test.inc (ctan_test_tonearest): New function.
30415 (ctan_test_towardzero): Likewise.
30416 (ctan_test_downward): Likewise.
30417 (ctan_test_upward): Likewise.
30418 (ctanh_test_tonearest): Likewise.
30419 (ctanh_test_towardzero): Likewise.
30420 (ctanh_test_downward): Likewise.
30421 (ctanh_test_upward): Likewise.
30422 (main): Call these new functions.
30423 * sysdeps/i386/fpu/libm-test-ulps: Update.
30424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30426 2012-07-03 Mike Frysinger <vapier@gentoo.org>
30428 * .gitignore: Delete /ports entry.
30430 2012-07-03 Andreas Jaeger <aj@suse.de>
30432 * po/bg.po: Update from translation team.
30433 * po/cs.po: Likewise.
30434 * po/de.po: Likewise.
30435 * po/hr.po: Likewise.
30436 * po/nl.pl: Likewise.
30437 * po/pl.po: Likewise.
30438 * po/vi.po: Likewise.
30440 2012-07-03 Joseph Myers <joseph@codesourcery.com>
30442 * Makeconfig [!+link] (+link-before-libc): New variable.
30443 [!+link] (+link-after-libc): Likewise.
30444 [!+link] (+link-tests): Likewise.
30445 [!+link] (+link): Define in terms of $(+link-before-libc) and
30446 $(+link-after-libc).
30447 [!+link-static] (+link-static-before-libc): New variable.
30448 [!+link-static] (+link-static-after-libc): Likewise.
30449 [!+link-static] (+link-static-tests): Likewise.
30450 [!+link-static] (+link-static): Define in terms of
30451 $(+link-static-before-libc) and $(+link-static-after-libc).
30452 [build-shared] (link-libc-before-gnulib): New variable.
30453 [build-shared] (link-libc-tests): Likewise.
30454 [build-shared] (link-libc): Define in terms of
30455 $(link-libc-before-gnulib).
30456 [!build-shared] (link-libc-tests): New variable.
30457 (link-libc-static-tests): New variable.
30458 [!gnulib] (gnulib-arch): New variable.
30459 [!gnulib] (gnulib-tests): Likewise.
30460 [!gnulib] (static-gnulib-arch): Likewise.
30461 [!gnulib] (static-gnulib-tests): Likewise.
30462 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
30463 Define with "=" instead of ":=".
30464 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
30465 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
30466 * Rules (binaries-all-notests): New variable.
30467 (binaries-all-tests): Likewise.
30468 (binaries-static-notests): Likewise.
30469 (binaries-static-tests): Likewise.
30470 (binaries-all): Define using $(binaries-all-notests) and
30471 $(binaries-all-tests).
30472 (binaries-static): Define using $(binaries-static-notests) and
30473 $(binaries-static-tests).
30474 (binaries-shared-tests): New variable.
30475 (binaries-shared-notests): Likewise.
30476 (binaries-shared): Remove variable.
30477 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30478 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30479 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30480 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30481 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30482 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30483 * elf/Makefile (sln-modules): New variable.
30484 (extra-objs): Add $(sln-modules:=.o).
30485 (ldconfig-modules): Add static-stubs.
30486 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30487 * elf/static-stubs.c: New file.
30490 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30491 by 7 not 8 to examine high bit of fractional part. Use volatile
30492 variables when splitting into final array of floats if
30493 __FLT_EVAL_METHOD__ != 0.
30494 * math/libm-test.inc (cos_test): Add another test.
30495 (sin_test): Likewise.
30496 * sysdeps/i386/fpu/libm-test-ulps: Update.
30499 * math/libm-test.inc (cosh_test): Add more tests.
30501 * version.h (RELEASE): Set to "development".
30502 (VERSION): Set to "2.16.90".
30504 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
30506 * NEWS: Update copyright. Remove last-updated date.
30507 Mention math library bug fixes and timezone data changes.
30508 * README: Mention GNU/Hurd, x32, and HPPA support status.
30510 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
30512 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30514 2012-06-27 Andreas Jaeger <aj@suse.de>
30516 * manual/contrib.texi (Contributors): Add Samuel Thibault.
30518 2012-06-25 Andreas Jaeger <aj@suse.de>
30520 * sysdeps/s390/fpu/libm-test-ulps: Update.
30522 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
30523 Thomas Schwinge <thomas@codesourcery.com>
30525 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30526 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30527 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30530 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
30532 * sysdeps/mach/start.c: Remove file.
30533 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30534 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30535 * sysdeps/sh/init-first.c: Likewise.
30537 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30538 registers for frame unwinding purposes, add CFI directives.
30539 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30540 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30541 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30544 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30545 __fortify_fail returning.
30546 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30548 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30549 sysdeps/sh/____longjmp_chk.S.
30550 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30551 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30552 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30553 (gen-as-const-headers): Append sigaltstack-offsets.sym.
30555 * sysdeps/sh/abort-instr.h: New file.
30556 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30557 process in case exit returns.
30559 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30560 initialize the GOT register before use.
30562 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30563 calculation of ARGC > 4.
30565 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30566 meaningful names to some local labels.
30568 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30569 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30571 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30572 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30573 (__arch_compare_and_exchange_val_16_acq): Likewise.
30574 (__arch_compare_and_exchange_val_32_acq): Likewise.
30575 (atomic_exchange_and_add): Fix gUSA sequence.
30576 (atomic_add): Likewise.
30577 (atomic_add_negative): Likewise.
30578 (atomic_add_zero): Likewise.
30579 (atomic_bit_test_set): Likewise.
30581 2012-06-22 Andreas Schwab <schwab@redhat.com>
30584 * include/link.h (struct link_map): Add l_free_initfini.
30585 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30587 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30588 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30589 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30592 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
30594 * configure.in: Use AC_LANG_SOURCE.
30595 * configure: Regenerate.
30597 2012-06-22 Roland McGrath <roland@hack.frob.com>
30599 * configure.in (libc_cv_localstatedir): New substituted variable.
30600 * configure: Regenerated.
30601 * config.make.in (localstatedir): New variable, substituted from
30602 libc_cv_localstatedir.
30603 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30604 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30605 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30606 * sysdeps/gnu/configure: Regenerated.
30608 2012-06-21 Jeff Law <law@redhat.com>
30611 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30612 free. Simplify list management for _LIBC case.
30614 2012-06-21 Joseph Myers <joseph@codesourcery.com>
30617 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30618 Clear sign bit of 64-bit integer value before comparing against
30621 * sysdeps/mach/configure: Regenerated.
30623 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
30626 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30628 2012-06-21 Jeff Law <law@redhat.com>
30631 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
30632 uint16_t for elements in the "seen" array to avoid char overflows.
30633 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30634 * elf/dl-open.c (dl_open_worker): Likewise.
30636 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
30638 * scripts/list-sources.sh: Scan PORTS for translations.
30639 * po/libc.pot: Regenerated.
30641 2012-06-21 Andreas Jaeger <aj@suse.de>
30644 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
30646 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
30647 * bits/byteswap-16.h (__bswap_16): Likewise.
30648 * bits/byteswap.h (__bswap_constant_16): Likewise.
30650 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
30653 * sysdeps/i386/fpu_control.h: Removed.
30654 * sysdeps/x86_64/fpu_control.h: Moved to ...
30655 * sysdeps/x86/fpu_control.h: Here.
30657 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
30658 (_FPU_SETCW): Likewise.
30660 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
30663 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
30664 * sysdeps/x86/fpu/bits/mathinline.h: This.
30665 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
30669 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
30670 functions if __x86_64__ is defined.
30672 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
30674 * string/endian.h: Add !__ASSEMBLER__ condition for including
30675 conversion interfaces.
30677 2012-06-15 Joseph Myers <joseph@codesourcery.com>
30680 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
30681 of ABS(x) in calculating zero to negative powers other than odd
30683 * math/libm-test.inc (pow_test): Add more tests.
30685 2012-06-15 Andreas Jaeger <aj@suse.de>
30687 * manual/contrib.texi (Contributors): Update entry of Liubov
30688 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30691 2012-06-15 Cyril Hrubis <metan@ucw.cz>
30693 * string/string.h: Add __wur to GNU version of strerror_r.
30695 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
30698 * string/Makefile (tests): Add tst-strtok_r.
30699 * string/tst-strtok_r.c: New file.
30700 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
30701 RAX_LP/RDX_LP on SAVE_PTR.
30703 2012-06-14 Roland McGrath <roland@hack.frob.com>
30705 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
30707 2012-06-14 Joseph Myers <joseph@codesourcery.com>
30709 * libm_test.inc (csqrt_test): Allow more spurious underflow
30711 (j0_test): Likewise.
30712 (j1_test): Likewise.
30713 (y0_test): Likewise.
30714 (y1_test): Likewise.
30716 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
30718 * po/Makefile (libc.pot): Use UTF-8 charset.
30720 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
30723 Suppress sign-conversion warning from FD_SET.
30724 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
30725 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
30726 not unsigned long int.
30727 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
30729 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
30733 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
30734 __extern_always_inline instead of __extern_inline.
30735 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
30736 (__signbit): Likewise.
30737 (__signbitl): Support C++ namespace.
30738 (lrintf): New inline function.
30740 (llrintf): Likewise.
30741 (llrint): Likewise.
30751 (floorf): Likewise.
30752 (nearbyint): Likewise.
30753 (nearbyintf): Likewise.
30755 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
30757 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
30758 non-default versions.
30760 2012-06-11 Roland McGrath <roland@hack.frob.com>
30763 * manual/argp.texi (Argp): Reword argp_parse description slightly.
30765 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
30767 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
30768 (FE_UPWARD, FE_DOWNWARD): Don't define.
30769 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
30770 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30772 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
30774 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30775 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30777 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30779 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30780 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
30781 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
30782 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
30784 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
30787 * sysdeps/i386/fpu/bits/fenv.h: Removed.
30788 * sysdeps/i386/fpu/Implies: New file.
30789 * sysdeps/x86_64/fpu/Implies: Likewise.
30790 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
30791 * sysdeps/x86/fpu/bits/fenv.h: This.
30793 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
30796 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30799 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
30800 character 0xffff that matches the last element of the
30803 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30805 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
30808 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30810 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
30811 values higher than 25.6283.
30813 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30815 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
30816 subnormal exponent extraction and add some __builtin_expect.
30817 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
30818 Fix for subnormal mantissa calculation.
30820 2012-06-04 Mike Frysinger <vapier@gentoo.org>
30822 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
30823 cpu2 is -1 and errno is not ENOSYS.
30825 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
30828 * sysdeps/i386/i486/bits/string.h: Renamed to ...
30829 * sysdeps/x86/bits/string.h: This.
30830 * sysdeps/x86_64/bits/string.h: Removed.
30832 * sysdeps/i386/i486/bits/string.h: Define inline functions only
30833 if not compiling for x86-64, but compiling for >= i486.
30835 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
30836 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
30838 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
30839 New macro from Linux kernel 3.4.0.
30840 (FP_XSTATE_MAGIC2): Likewise.
30841 (FP_XSTATE_MAGIC2_SIZE): Likewise.
30842 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
30843 (struct _fpx_sw_bytes): New struct.
30844 (struct _xsave_hdr): Likewise.
30845 (struct _ymmh_state): Likewise.
30846 (struct _xstate): Likewise.
30848 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
30849 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
30850 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
30851 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
30852 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
30853 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
30855 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
30856 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
30857 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
30858 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
30859 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
30860 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
30862 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30865 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
30866 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
30867 (sysdep_headers): Include sys/platform/ppc.h.
30868 * sysdeps/powerpc/test-gettimebase.c: Test for
30869 __ppc_get_timebase() to catch future ISA opcode/insn changes.
30870 * manual/Makefile (appendices): Include platform.texi.
30871 * manual/contrib.texi (Contributors): Update @node pointers.
30872 * manual/maint.texi (Maintenance): Likewise.
30873 (Platform): New node.
30874 * manual/platform.texi: New file. Document the new features.
30876 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30877 Jakub Jelinek <jakub@redhat.com>
30880 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
30881 where __builtin_expect is unavailable.
30883 2012-06-03 David S. Miller <davem@davemloft.net>
30885 * stdlib/longlong.h: Updated from GCC.
30887 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
30890 * sysdeps/powerpc/powerpc32/mcount.c: New file.
30891 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
30893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30894 (GLIBC_2.16): Likewise.
30896 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30898 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
30900 2012-06-01 Joseph Myers <joseph@codesourcery.com>
30902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
30903 (default-abi): New variable.
30904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
30905 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
30907 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
30909 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
30911 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
30914 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
30915 definition. Document in comment.
30917 2012-06-01 David S. Miller <davem@davemloft.net>
30919 * stdlib/longlong.h: Updated from GCC.
30921 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30924 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
30925 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
30926 sys/debugreg.h sys/io.h here.
30927 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
30928 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
30930 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
30931 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
30932 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
30933 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
30934 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
30935 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
30937 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
30938 Define only if __x86_64__ is defined.
30940 2012-06-01 Joseph Myers <joseph@codesourcery.com>
30943 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
30944 Use int64_t for variable i.
30945 * math/libm-test.inc (fmod_test): Add more tests.
30947 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
30948 z computation is not scheduled after fetestexcept.
30949 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
30950 Use math_force_eval instead of asm to ensure calculation scheduled
30951 before exception test.
30952 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
30953 Ensure a1 + u.d computation is not scheduled after fetestexcept.
30955 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
30957 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
30958 computation is not scheduled after fetestexcept.
30960 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30963 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
30964 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
30966 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30968 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
30969 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30971 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30974 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30976 (__WCHAR_MIN): Support __WORDSIZE == 64.
30977 (__WCHAR_MAX): Likewise.
30979 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30980 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30983 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30984 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
30987 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
30988 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
30990 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
30991 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30993 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30994 Defined to 1 if __x86_64__ isn't defined.
30995 (_STAT_VER_LINUX_OLD): New.
30996 (st_atime): Remove duplicate.
30997 (st_mtime): Likewise.
30998 (st_ctime): Likewise.
31000 2012-05-31 David S. Miller <davem@davemloft.net>
31002 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31005 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
31007 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31011 * elf/dl-reloc.c: Include <_itoa.h>.
31012 (_dl_reloc_bad_type): Remove use of INTUSE.
31013 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31014 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31015 * stdio-common/psiginfo.c (psiginfo): Likewise.
31016 * stdio-common/psignal.c (psignal): Likewise.
31017 * string/strsignal.c (strsignal): Likewise.
31018 * include/signal.h (_sys_siglist): Declare hidden proto.
31019 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
31020 INTVARDEF with libc_hidden_data_def.
31021 * stdio-common/itoa-udigits.c: Likewise.
31022 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31023 (_itoa_lower_digits_internal): Remove declaration.
31024 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31025 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31026 (_sys_sigabbrev_internal): Remove aliases.
31027 (_sys_siglist): Define hidden alias.
31029 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
31031 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31034 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31037 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31038 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31040 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31041 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31042 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31043 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31044 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31045 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31047 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31048 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31049 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31051 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31059 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31060 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31061 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31063 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31064 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31065 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31066 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31067 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31068 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31070 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31071 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31073 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31074 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31076 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31077 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31078 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31080 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31081 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31083 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31085 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31086 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31087 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31089 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31091 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31093 2012-05-31 Joseph Myers <joseph@codesourcery.com>
31095 * math/math.h (M_El): Use two more decimal places.
31096 (M_LOG2El): Likewise.
31097 (M_LOG10El): Likewise.
31098 (M_LN2l): Likewise.
31099 (M_LN10l): Likewise.
31101 (M_PI_2l): Likewise.
31102 (M_PI_4l): Likewise.
31103 (M_1_PIl): Likewise.
31104 (M_2_PIl): Likewise.
31105 (M_2_SQRTPIl): Likewise.
31106 (M_SQRT2l): Likewise.
31107 (M_SQRT1_2l): Likewise.
31109 2012-05-31 David S. Miller <davem@davemloft.net>
31111 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31112 values between float registers.
31113 * sysdeps/sparc/sparc64/memset.S: Likewise.
31114 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31116 2012-05-31 Mike Frysinger <vapier@gentoo.org>
31118 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31119 -D_FORTIFY_SOURCE=1.
31120 (CPPFLAGS-tst-longjmp_chk.c): Define.
31121 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31122 (CPPFLAGS-tst-longjmp_chk2.c): Define.
31123 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31124 CFLAGS-tst-wchar-h.c.
31126 2012-05-31 Marek Polacek <polacek@redhat.com>
31129 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
31130 __endmntent_internal): Remove declaration.
31131 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
31132 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
31133 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
31135 2012-05-30 David S. Miller <davem@davemloft.net>
31137 * sysdeps/sparc/sparc32/soft-fp/q_util.c
31138 (___Q_simulate_exceptions): Use real FP ops rather than writing
31140 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
31143 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31146 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
31147 * sysdeps/x86/bits/xtitypes.h: This.
31149 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
31150 * sysdeps/x86/bits/wordsize.h: This.
31152 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
31153 * sysdeps/x86/bits/huge_vall.h: This.
31155 * sysdeps/i386/bits/select.h: Removed.
31156 * sysdeps/x86_64/bits/select.h: Renamed to ...
31157 * sysdeps/x86/bits/select.h: This.
31159 * sysdeps/i386/bits/setjmp.h: Removed.
31160 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
31161 * sysdeps/x86/bits/setjmp.h: This.
31163 * sysdeps/i386/bits/mathdef.h: Removed.
31164 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
31165 * sysdeps/x86/bits/mathdef.h: This.
31167 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
31170 * include/sys/socket.h (__connect_internal)
31171 (__libc_sa_len_internal): Remove declaration.
31172 (__connect, __libc_sa_len): Declare hidden_proto.
31173 (SA_LEN): Remove use of INTUSE.
31174 * socket/connect.c: Add libc_hidden_def.
31175 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
31176 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
31177 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
31179 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31180 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
31181 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
31182 of adding _internal alias.
31184 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31187 * sysdeps/i386/bits/link.h: Removed.
31188 * sysdeps/i386/bits/linkmap.h: Likewise.
31189 * sysdeps/x86_64/bits/link.h: Renamed to ...
31190 * sysdeps/x86/bits/link.h: This.
31191 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
31192 * sysdeps/x86/bits/linkmap.h: This.
31194 * sysdeps/i386/bits/endian.h: Removed.
31195 * sysdeps/x86_64/bits/endian.h: Renamed to ...
31196 * sysdeps/x86/bits/endian.h: This.
31198 * sysdeps/i386/bits/byteswap.h: Removed.
31199 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31200 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
31201 * sysdeps/x86/bits/byteswap.h: This.
31202 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
31203 * sysdeps/x86/bits/byteswap-16.h: This.
31204 * sysdeps/i386/Implies: Add x86.
31205 * sysdeps/x86_64/Implies: Likewise.
31207 2012-05-30 David S. Miller <davem@davemloft.net>
31209 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
31210 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
31211 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31212 (FP_TRAPPING_EXCEPTIONS): Define.
31213 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31214 (FP_TRAPPING_EXCEPTIONS): Define.
31215 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
31216 subnormals only when inexact has been signalled or underflow
31217 exceptions are enabled.
31218 (_FP_PACK_CANONICAL): Likewise.
31220 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31223 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
31224 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
31226 2012-05-30 Richard Henderson <rth@twiddle.net>
31228 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
31229 with #ifndef NOT_IN_libc.
31231 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
31232 marked to avoid plt entry.
31234 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31237 * Makeconfig (default-abi): New macro.
31238 (abi-includes): Likewise.
31239 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
31240 $(abi-$(default-abi)-lib-soname) for soname if defined.
31241 ($(common-objpfx)gnu/lib-names.stmp): Generate from
31243 * Makefile (installed-stubs): Likewise.
31244 * include/stubs-biarch.h: Removed.
31245 * scripts/lib-names.awk: Only handle one library at a time.
31246 * scripts/soversions.awk: Remove WORDSIZE support.
31247 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
31249 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
31251 (syscall-list-default-condition): Likewise.
31252 (syscall-list-default-condition): Likewise.
31253 (syscall-list-includes): Likewise.
31254 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
31255 syscall-list-* with abi-*. Handle undefined abi-variants.
31256 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
31257 * sysdeps/unix/sysv/linux/i386/Implies: New file.
31258 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
31259 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
31260 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
31261 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
31263 (syscall-list-32-options): Likewise.
31264 (syscall-list-32-condition): Likewise.
31265 (syscall-list-64-options): Likewise.
31266 (syscall-list-64-condition): Likewise.
31267 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
31269 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
31272 (abi-64-ld-soname): New macro.
31273 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
31274 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
31277 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
31278 * sysdeps/x86_64/x32/shlib-versions: Likewise.
31280 2012-05-30 Joseph Myers <joseph@codesourcery.com>
31282 * sysdeps/unix/sysv/linux/kernel-features.h
31283 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
31284 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
31285 include <kernel-features.h>.
31286 [!__NR_ftruncate64]: Remove conditional code.
31287 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31288 [__NR_ftruncate64]: Make code unconditional.
31289 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31290 * sysdeps/unix/sysv/linux/truncate64.c: Do not
31291 include <kernel-features.h>.
31292 [!__NR_ftruncate64]: Remove conditional code.
31293 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31294 [__NR_ftruncate64]: Make code unconditional.
31295 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
31297 include <kernel-features.h>.
31298 [!__NR_ftruncate64]: Remove conditional code.
31299 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31300 [__NR_ftruncate64]: Make code unconditional.
31301 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31303 include <kernel-features.h>.
31304 [!__NR_ftruncate64]: Remove conditional code.
31305 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31306 [__NR_ftruncate64]: Make code unconditional.
31307 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31309 * configure.in (libc_cv_fpie): Weaken to a compile test using
31310 LIBC_TRY_CC_OPTION.
31311 * configure: Regenerated.
31313 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
31316 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
31317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
31318 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31320 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
31321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
31322 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
31323 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
31324 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
31325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31328 2012-05-27 David S. Miller <davem@davemloft.net>
31330 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
31332 (__Q_simulate_exceptions): Return void. Change to simulate
31333 exceptions by writing into the %fsr.
31334 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
31335 (__Qp_handle_exceptions): Likewise.
31337 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
31338 __Qp_handle_exceptions.
31339 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
31340 __Qp_handle_exceptions.
31341 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31342 as unused and give dummy FP_RND_NEAREST initializer.
31343 (FP_INHIBIT_RESULTS): Define.
31344 (___Q_simulate_exceptions): Update declaration.
31345 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
31347 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31348 as unused and give dummy FP_RND_NEAREST initializer.
31349 (__Qp_handle_exceptions): Update declaration.
31350 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
31353 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
31355 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
31356 the temporary FPU control word.
31357 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31358 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
31359 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
31360 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31361 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31362 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
31363 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
31364 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31365 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31366 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31367 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31369 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31371 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
31374 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
31376 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
31377 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
31378 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
31379 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
31381 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
31382 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
31385 2012-05-27 Ulrich Drepper <drepper@gmail.com>
31387 * po/h.po: Update from translation team.
31389 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
31391 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
31393 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
31394 handling of denormals.
31395 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31396 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31397 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31398 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31399 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31400 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
31401 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
31404 2012-05-26 Marek Polacek <polacek@redhat.com>
31407 * math/libm-test.inc (fma_test): Don't always expect underflow
31410 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31413 * elf/tst-execstack.c: Include stackinfo.h.
31414 (do_test): Adjust test case to ensure that pthread_getattr_np
31415 behaviour remains the same after marking stack executable.
31417 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31419 * sysdeps/unix/sysv/linux/kernel-features.h
31420 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
31421 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
31423 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31424 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31425 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
31427 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31428 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31430 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
31432 * configure.in: Define the default includes to being none.
31433 * configure: Regenerated.
31435 2012-05-25 Roland McGrath <roland@hack.frob.com>
31437 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
31438 * sysdeps/x86_64/setjmp.S: Likewise.
31439 * sysdeps/i386/bsd-setjmp.S: Likewise.
31440 * sysdeps/i386/bsd-_setjmp.S: Likewise.
31441 * sysdeps/i386/setjmp.S: Likewise.
31442 * sysdeps/i386/__longjmp.S: Likewise.
31443 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31444 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
31446 * include/stap-probe.h: New file.
31447 * configure.in: Handle --enable-systemtap.
31448 * configure: Regenerated.
31449 * config.h.in (USE_STAP_PROBE): New #undef.
31450 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
31451 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
31452 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31454 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31457 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31458 to 2.4.0 where earlier.
31459 * sysdeps/unix/sysv/linux/configure: Regenerated.
31460 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31461 <kernel-features.h>.
31462 [__ASSUME_32BITUIDS]: Make code unconditional.
31463 [!__ASSUME_32BITUIDS]: Remove conditional code.
31464 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
31465 <kernel-features.h>.
31466 [__ASSUME_32BITUIDS]: Make code unconditional.
31467 [!__ASSUME_32BITUIDS]: Remove conditional code.
31468 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
31469 [__ASSUME_32BITUIDS]: Make code unconditional.
31470 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31471 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
31472 <kernel-features.h>.
31473 [__ASSUME_32BITUIDS]: Make code unconditional.
31474 [!__ASSUME_32BITUIDS]: Remove conditional code.
31475 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
31476 <kernel-features.h>.
31477 [__ASSUME_32BITUIDS]: Make code unconditional.
31478 [!__ASSUME_32BITUIDS]: Remove conditional code.
31479 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
31480 <kernel-features.h>.
31481 [__ASSUME_32BITUIDS]: Make code unconditional.
31482 [!__ASSUME_32BITUIDS]: Remove conditional code.
31483 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
31484 <kernel-features.h>.
31485 [__ASSUME_32BITUIDS]: Make code unconditional.
31486 [!__ASSUME_32BITUIDS]: Remove conditional code.
31487 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31488 <kernel-features.h>.
31489 [__ASSUME_32BITUIDS]: Make code unconditional.
31490 [!__ASSUME_32BITUIDS]: Remove conditional code.
31491 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31492 <kernel-features.h>.
31493 [__ASSUME_32BITUIDS]: Make code unconditional.
31494 [!__ASSUME_32BITUIDS]: Remove conditional code.
31495 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
31496 <kernel-features.h>.
31497 [__ASSUME_32BITUIDS]: Make code unconditional.
31498 [!__ASSUME_32BITUIDS]: Remove conditional code.
31499 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31500 <kernel-features.h>.
31501 [__ASSUME_32BITUIDS]: Make code unconditional.
31502 [!__ASSUME_32BITUIDS]: Remove conditional code.
31503 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31504 <kernel-features.h>.
31505 [__ASSUME_32BITUIDS]: Make code unconditional.
31506 [!__ASSUME_32BITUIDS]: Remove conditional code.
31507 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
31508 <kernel-features.h>.
31509 [__ASSUME_32BITUIDS]: Make code unconditional.
31510 [!__ASSUME_32BITUIDS]: Remove conditional code.
31511 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
31512 <kernel-features.h>.
31513 [__NR_setresgid] (__setresgid): Do not declare.
31514 [__ASSUME_32BITUIDS]: Make code unconditional.
31515 [!__ASSUME_32BITUIDS]: Remove conditional code.
31516 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31517 <kernel-features.h>.
31518 [__NR_setresuid] (__setresuid): Do not declare.
31519 [__ASSUME_32BITUIDS]: Make code unconditional.
31520 [!__ASSUME_32BITUIDS]: Remove conditional code.
31521 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.c: Do not include
31526 <kernel-features.h>.
31527 [__ASSUME_32BITUIDS]: Make code unconditional.
31528 [!__ASSUME_32BITUIDS]: Remove conditional code.
31529 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
31530 <kernel-features.h>.
31531 [__ASSUME_32BITUIDS]: Make code unconditional.
31532 [!__ASSUME_32BITUIDS]: Remove conditional code.
31533 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
31534 <kernel-features.h>.
31535 [__ASSUME_32BITUIDS]: Make code unconditional.
31536 [!__ASSUME_32BITUIDS]: Remove conditional code.
31537 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
31538 <kernel-features.h>.
31539 [__ASSUME_32BITUIDS]: Make code unconditional.
31540 [!__ASSUME_32BITUIDS]: Remove conditional code.
31541 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
31542 <kernel-features.h>.
31543 [__ASSUME_32BITUIDS]: Make code unconditional.
31544 [!__ASSUME_32BITUIDS]: Remove conditional code.
31545 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
31546 <kernel-features.h>.
31547 [__ASSUME_32BITUIDS]: Make code unconditional.
31548 [!__ASSUME_32BITUIDS]: Remove conditional code.
31549 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
31550 <kernel-features.h>.
31551 [__ASSUME_32BITUIDS]: Make code unconditional.
31552 [!__ASSUME_32BITUIDS]: Remove conditional code.
31553 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
31554 <kernel-features.h>.
31555 [__ASSUME_32BITUIDS]: Make code unconditional.
31556 [!__ASSUME_32BITUIDS]: Remove conditional code.
31557 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31558 <kernel-features.h>.
31559 [__ASSUME_32BITUIDS]: Make code unconditional.
31560 [!__ASSUME_32BITUIDS]: Remove conditional code.
31561 * sysdeps/unix/sysv/linux/kernel-features.h
31562 (__ASSUME_SETRESUID_SYSCALL): Remove.
31563 (__ASSUME_SETRESGID_SYSCALL): Likewise.
31564 (__ASSUME_32BITUIDS): Likewise.
31565 (__ASSUME_LDT_WORKS): Likewise.
31566 (__ASSUME_O_DIRECTORY): Likewise.
31567 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31568 architecture but not kernel version.
31569 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31570 (__ASSUME_MMAP2_SYSCALL): Likewise.
31571 (__ASSUME_STAT64_SYSCALL): Likewise.
31572 (__ASSUME_IPC64): Likewise.
31573 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31574 <kernel-features.h>.
31575 [__ASSUME_32BITUIDS]: Make code unconditional.
31576 [!__ASSUME_32BITUIDS]: Remove conditional code.
31577 * sysdeps/unix/sysv/linux/opendir.c: Do not include
31578 <kernel-features.h>.
31579 [__ASSUME_O_DIRECTORY]: Make code unconditional.
31580 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31581 132096]: Remove conditional code.
31582 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31583 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31584 <kernel-features.h>.
31585 [__ASSUME_32BITUIDS]: Make code unconditional.
31586 [!__ASSUME_32BITUIDS]: Remove conditional code.
31587 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31588 <kernel-features.h>.
31589 [__ASSUME_32BITUIDS]: Make code unconditional.
31590 [!__ASSUME_32BITUIDS]: Remove conditional code.
31591 * sysdeps/unix/sysv/linux/setegid.c: Do not include
31592 <kernel-features.h>.
31593 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31595 (__setresgid): Do not declare.
31596 [__ASSUME_32BITUIDS]: Make code unconditional.
31597 [!__ASSUME_32BITUIDS]: Remove conditional code.
31598 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31599 <kernel-features.h>.
31600 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31602 (__setresuid): Do not declare.
31603 [__ASSUME_32BITUIDS]: Make code unconditional.
31604 [!__ASSUME_32BITUIDS]: Remove conditional code.
31605 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31606 <kernel-features.h>.
31607 [__ASSUME_32BITUIDS]: Make code unconditional.
31608 [!__ASSUME_32BITUIDS]: Remove conditional code.
31609 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31610 <kernel-features.h>.
31611 [__ASSUME_32BITUIDS]: Make code unconditional.
31612 [!__ASSUME_32BITUIDS]: Remove conditional code.
31614 2012-05-25 Richard Henderson <rth@twiddle.net>
31616 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31617 dl_hwcap to ifunc resolver.
31618 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31620 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31621 dl_hwcap to ifunc resolver.
31622 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31624 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31627 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31628 for |x| <= 2**-26, not 2**-57.
31629 * math/libm-test.inc (acos_test): Do not allow spurious underflow
31632 2012-05-24 Jeff Law <law@redhat.com>
31634 * stdio-common/Makefile (tests): Add bug25.
31635 * stdio-common/bug25.c: New test.
31637 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31640 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
31641 multiple of MALLOC_ALIGNMENT in size.
31642 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
31644 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31646 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
31648 (FILENAME_MAX): Use macro-int-constant.
31649 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
31650 (_IOFBF): Use macro-int-constant.
31651 (_IOLBF): Likewise.
31652 (_IONBF): Likewise.
31653 (SEEK_CUR): Likewise.
31654 (SEEK_END): Likewise.
31655 (SEEK_SET): Likewise.
31656 (TMP_MAX): Likewise.
31657 (EOF): Use macro-int-constant. Require < 0.
31658 (NULL): Use macro-constant. Require == 0.
31659 (stdin): Require type to be FILE *.
31660 (stdout): Likewise.
31661 (stderr): Likewise.
31662 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
31663 macro-int-constant.
31664 (EXIT_SUCCESS): Likewise.
31665 (NULL): Use macro-constant. Require == 0.
31666 (RAND_MAX): Use macro-int-constant.
31667 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
31668 [C99-based standards] (strtof): Require function.
31669 [C99-based standards] (strtold): Likewise.
31670 [C99-based standards] (strtoll): Likewise.
31671 [C99-based standards] (strtoull): Likewise.
31672 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31673 [ISO || ISO99 || ISO11] (limits.h): Likewise.
31674 [ISO || ISO99 || ISO11] (math.h): Likewise.
31675 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
31676 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31677 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31679 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
31682 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
31683 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
31684 * intl/dgettext.c (DCGETTEXT): Likewise.
31685 * intl/gettext.c (DCGETTEXT): Likewise.
31686 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
31687 * posix/regex_internal.h (gettext): Likewise.
31688 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
31689 Remove declaration.
31690 * include/argz.h (__argz_count_internal)
31691 (__argz_stringify_internal): Remove declaration.
31692 (__argz_count, __argz_stringify): Declare hidden proto.
31693 * intl/dcgettext.c: Remove use of INTDEF.
31694 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
31695 * string/argz-stringify.c: Likewise.
31696 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31697 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31698 Declare hidden proto.
31699 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31700 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31701 Declare hidden proto.
31702 * include/stdio.h (__asprintf_internal): Don't declare.
31703 (__asprintf): Don't define as macro. Declare hidden proto.
31704 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
31705 (__fsetlocking): Declare hidden proto.
31706 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
31707 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
31709 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
31710 (_IO_setlinebuf): Remove use of INTUSE.
31711 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
31712 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
31713 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
31714 Remove declaration.
31715 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
31716 (_IO_do_flush): Remove use of INTUSE.
31717 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
31718 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
31719 (_IO_adjust_column, _IO_least_wmarker)
31720 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
31721 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
31722 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
31723 (_IO_default_doallocate, _IO_wdefault_doallocate)
31724 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
31725 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
31726 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
31727 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
31728 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
31729 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
31730 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
31731 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
31732 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
31733 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
31734 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
31735 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
31736 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
31738 (_IO_flush_all_internal, _IO_adjust_column_internal)
31739 (_IO_default_uflow_internal, _IO_default_finish_internal)
31740 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
31741 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
31742 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
31743 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
31744 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
31745 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
31746 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
31747 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
31748 (_IO_file_close_internal, _IO_file_close_it_internal)
31749 (_IO_file_underflow_internal, _IO_file_overflow_internal)
31750 (_IO_file_init_internal, _IO_file_attach_internal)
31751 (_IO_file_fopen_internal, _IO_file_read_internal)
31752 (_IO_file_sync_internal, _IO_file_seek_internal)
31753 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
31754 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
31755 (_IO_str_underflow_internal, _IO_str_overflow_internal)
31756 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
31757 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
31758 (_IO_list_all_internal, _IO_link_in_internal)
31759 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
31760 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
31761 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
31762 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
31763 (_IO_do_write_internal, _IO_padn_internal)
31764 (_IO_getline_info_internal, _IO_getline_internal)
31765 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
31766 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
31767 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
31768 (_IO_vfscanf_internal, _IO_vfprintf_internal)
31769 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
31770 (_IO_init_internal, _IO_un_link_internal): Don't declare.
31771 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
31772 with libc_hidden_ver, remove use of INTUSE.
31773 * libio/genops.c: Likewise.
31774 * libio/freopen.c: Likewise.
31775 * libio/freopen64.c: Likewise.
31776 * libio/iofclose.c: Likewise.
31777 * libio/iofdopen.c: Likewise.
31778 * libio/iofflush.c: Likewise.
31779 * libio/iofflush_u.c: Likewise.
31780 * libio/iofgets.c: Likewise.
31781 * libio/iofgets_u.c: Likewise.
31782 * libio/iofopen.c: Likewise.
31783 * libio/iofopncook.c: Likewise.
31784 * libio/iofread.c: Likewise.
31785 * libio/iofread_u.c: Likewise.
31786 * libio/ioftell.c: Likewise.
31787 * libio/iofwrite.c: Likewise.
31788 * libio/iogetline.c: Likewise.
31789 * libio/iogets.c: Likewise.
31790 * libio/iogetwline.c: Likewise.
31791 * libio/iopadn.c: Likewise.
31792 * libio/iopopen.c: Likewise.
31793 * libio/ioseekoff.c: Likewise.
31794 * libio/ioseekpos.c: Likewise.
31795 * libio/iosetbuffer.c: Likewise.
31796 * libio/iosetvbuf.c: Likewise.
31797 * libio/ioungetc.c: Likewise.
31798 * libio/ioungetwc.c: Likewise.
31799 * libio/iovdprintf.c: Likewise.
31800 * libio/iovsprintf.c: Likewise.
31801 * libio/iovsscanf.c: Likewise.
31802 * libio/memstream.c: Likewise.
31803 * libio/obprintf.c: Likewise.
31804 * libio/oldfileops.c: Likewise.
31805 * libio/oldiofclose.c: Likewise.
31806 * libio/oldiofdopen.c: Likewise.
31807 * libio/oldiofopen.c: Likewise.
31808 * libio/oldiopopen.c: Likewise.
31809 * libio/oldstdfiles.c: Likewise.
31810 * libio/putc.c: Likewise.
31811 * libio/setbuf.c: Likewise.
31812 * libio/setlinebuf.c: Likewise.
31813 * libio/stdfiles.c: Likewise.
31814 * libio/strops.c: Likewise.
31815 * libio/vasprintf.c: Likewise.
31816 * libio/vscanf.c: Likewise.
31817 * libio/vsnprintf.c: Likewise.
31818 * libio/vswprintf.c: Likewise.
31819 * libio/wfiledoalloc.c: Likewise.
31820 * libio/wfileops.c: Likewise.
31821 * libio/wgenops.c: Likewise.
31822 * libio/wmemstream.c: Likewise.
31823 * libio/wstrops.c: Likewise.
31824 * libio/__fpurge.c: Likewise.
31825 * libio/__fsetlocking.c: Likewise.
31826 * assert/assert.c: Likewise.
31827 * debug/fgets_chk.c: Likewise.
31828 * debug/fgets_u_chk.c: Likewise.
31829 * debug/fread_chk.c: Likewise.
31830 * debug/fread_u_chk.c: Likewise.
31831 * debug/gets_chk.c: Likewise.
31832 * debug/obprintf_chk.c: Likewise.
31833 * debug/vasprintf_chk.c: Likewise.
31834 * debug/vdprintf_chk.c: Likewise.
31835 * debug/vsnprintf_chk.c: Likewise.
31836 * debug/vsprintf_chk.c: Likewise.
31837 * malloc/mtrace.c: Likewise.
31838 * misc/error.c: Likewise.
31839 * misc/syslog.c: Likewise.
31840 * stdio-common/asprintf.c: Likewise.
31841 * stdio-common/fxprintf.c: Likewise.
31842 * stdio-common/getw.c: Likewise.
31843 * stdio-common/isoc99_fscanf.c: Likewise.
31844 * stdio-common/isoc99_scanf.c: Likewise.
31845 * stdio-common/isoc99_vfscanf.c: Likewise.
31846 * stdio-common/isoc99_vscanf.c: Likewise.
31847 * stdio-common/isoc99_vsscanf.c: Likewise.
31848 * stdio-common/printf-prs.c: Likewise.
31849 * stdio-common/printf_fp.c: Likewise.
31850 * stdio-common/printf_fphex.c: Likewise.
31851 * stdio-common/printf_size.c: Likewise.
31852 * stdio-common/putw.c: Likewise.
31853 * stdio-common/scanf.c: Likewise.
31854 * stdio-common/sprintf.c: Likewise.
31855 * stdio-common/tmpfile.c: Likewise.
31856 * stdio-common/vfprintf.c: Likewise.
31857 * stdio-common/vfscanf.c: Likewise.
31858 * stdlib/strfmon_l.c: Likewise.
31859 * sunrpc/openchild.c: Likewise.
31860 * sunrpc/xdr_stdio.c: Likewise.
31861 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31862 * sysdeps/mach/hurd/tmpfile.c: Likewise.
31864 2012-05-24 Roland McGrath <roland@hack.frob.com>
31866 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31868 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
31869 in the third column, to generate for the shared library an IFUNC
31870 that uses _dl_vdso_vsym.
31871 * Makerules (COMPILE.c, compile-stdin.c): New variables.
31872 * Makeconfig (object-suffixes-noshared): New variable.
31874 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
31875 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
31876 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
31877 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
31880 * include/sys/time.h (__gettimeofday): Remove macro.
31881 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
31882 * time/gettimeofday.c (__gettimeofday): Remove #undef.
31884 (__gettimeofday): Add libc_hidden_def.
31885 (gettimeofday): Add libc_hidden_weak.
31886 * sysdeps/mach/gettimeofday.c: Likewise.
31887 * sysdeps/posix/gettimeofday.c: Likewise.
31888 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31889 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31890 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
31891 (__gettimeofday_internal): Remove strong_alias.
31892 (__gettimeofday): Add libc_hidden_def.
31893 (gettimeofday): Add libc_hidden_weak.
31894 * sysdeps/unix/syscalls.list (gettimeofday):
31895 Remove __gettimeofday_internal alias.
31897 2012-05-24 Daniel Jacobowitz <drow@false.org>
31898 H.J. Lu <hongjiu.lu@intel.com>
31901 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
31902 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
31903 (largebin_index_32_big): New.
31904 (largebin_index): Use it for 16-byte alignment.
31905 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
31906 correction with front_misalign.
31908 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31910 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
31911 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31913 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
31915 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31917 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
31919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
31921 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
31923 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
31925 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31927 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
31929 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
31931 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31933 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
31936 * scripts/data/c++-types-x32-linux-gnu.data: New file.
31937 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
31939 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31943 * math/libm-test.inc (exp_test): Add test from bug 14036.
31944 (pow_test): Add test from bug 10846.
31946 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
31948 (special_function): Do not include flags in test name.
31949 (parse_args): Likewise.
31950 * sysdeps/i386/fpu/libm-test-ulps: Update.
31951 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31952 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31953 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31956 * math/gen-libm-test.pl (%beautify): Add entries for underflow
31958 * math/libm-test.inc ("Philosophy"): Update comment about
31960 (UNDERFLOW_EXCEPTION): New macro.
31961 (UNDERFLOW_EXCEPTION_OK): Likewise.
31962 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
31963 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
31964 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
31965 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31966 (INVALID_EXCEPTION_OK): Update value.
31967 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31968 (OVERFLOW_EXCEPTION_OK): Likewise.
31969 (IGNORE_ZERO_INF_SIGN): Likewise.
31970 (test_exceptions): Handle underflow exceptions.
31971 (acos_test): Update for underflow exception expectations.
31972 (cexp_test): Likewise.
31973 (clog_test): Likewise.
31974 (clog10_test): Likewise.
31975 (csqrt_test): Likewise.
31976 (ctan_test): Likewise.
31977 (ctanh_test): Likewise.
31978 (exp_test): Likewise.
31979 (exp10_test): Likewise.
31980 (exp2_test): Likewise.
31981 (expm1_test): Likewise.
31982 (fma_test): Likewise.
31983 (j0_test): Likewise.
31984 (jn_test): Likewise.
31985 (nexttoward_test): Likewise.
31986 (pow_test): Likewise.
31987 (scalbn_test): Likewise.
31988 (scalbln_test): Likewise.
31989 (tan_test): Likewise.
31990 (y1_test): Likewise.
31991 * sysdeps/i386/fpu/libm-test-ulps: Update.
31992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31994 2012-05-23 David S. Miller <davem@davemloft.net>
31996 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31997 (__libc_sigaction): Remove unused local variables.
31999 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32001 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32003 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
32005 mktime: avoid signed integer overflow
32006 * time/mktime.c (__mktime_internal): Do not mishandle the case
32007 where diff == INT_MIN.
32009 mktime: simplify computation of average
32010 * time/mktime.c (ranged_convert): Use new time_t_avg function
32011 instead of rolling our own (probably-slower) code.
32013 mktime: do not assume signed right shift propagates sign bit
32014 * time/mktime.c (isdst_differ): New static function.
32015 (__mktime_internal): No need to normalize tm_isdst now.
32016 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32019 mktime: merge another wrapv change from gnulib
32020 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32021 from some compilers.
32023 mktime: remove incorrect attempt at unusual arithmetics
32024 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32025 The code didn't really work on such machines anyway.
32026 (TYPE_MINIMUM): Assume two's complement.
32027 (twos_complement_arithmetic): Verify that long_int and time_t
32028 are two's complement (or unsigned, in the latter case).
32030 mktime: check signed shifts on long_int and time_t, too
32031 * time/mktime.c (SHR): Check that shifts work as desired
32032 on the types long_int and time_t too, as SHR is used on
32035 mktime: do not assume 'long' is wide enough
32036 * time/mktime.c (verify): Move decl up.
32037 (long_int): New type.
32038 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32039 to remove assumption in the code that 'long' is wide enough to
32040 store year values. This assumption is not true on x32 and on
32041 some non-glibc platforms.
32043 mktime: merge wrapv change from gnulib
32044 * time/mktime.c (WRAPV): New macro.
32045 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32046 (guess_time_tm, __mktime_internal): Do not assume that signed
32047 integer overflow wraps around; modern compilers generate code
32048 where this assumption is no longer valid.
32050 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32052 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32053 Replace "jmp L(pseudo_end)" with "ret".
32054 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32057 2012-05-23 Andreas Jaeger <aj@suse.de>
32059 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32060 * sysdeps/unix/sysv/linux/poll.c: Remove file.
32062 2012-05-23 Andreas Jaeger <aj@suse.de>
32063 Maximilian Attems <max@stro.at>
32065 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32068 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32070 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32071 code so that pseudo_end is just ret and the stack pointer is
32072 correct also for static library in error case.
32074 2012-05-23 Joseph Myers <joseph@codesourcery.com>
32076 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32077 move to syscalls.list.
32078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32083 * manual/install.texi (Running make install): Do not mention Linux
32084 kernel version for which pt_chown is not needed.
32085 (Linux): Do not mention problems with nscd with 2.0 kernels.
32086 * INSTALL: Regenerated.
32088 2012-05-23 Andreas Jaeger <aj@suse.de>
32090 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32091 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32093 * sysdeps/unix/sysv/linux/s390/bits/mman.h
32094 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32095 * sysdeps/unix/sysv/linux/sh/bits/mman.h
32096 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32097 * sysdeps/unix/sysv/linux/i386/bits/mman.h
32098 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32099 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32100 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32101 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32102 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32103 * sysdeps/unix/sysv/linux/bits/in.h
32104 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32106 2012-05-22 Roland McGrath <roland@hack.frob.com>
32108 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32109 (PREPARE_VERSION): Just use assert instead, it will be elided
32110 under [NDEBUG] anyway.
32112 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32114 * sysdeps/unix/sysv/linux/Makefile: Include
32115 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
32116 (sysdep_routines): Remove sysctl.
32117 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32118 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32119 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32120 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32121 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32123 2012-05-22 Andreas Jaeger <aj@suse.de>
32125 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
32126 that pseudo_end is just ret and the stack pointer is correct also
32127 for static library in error case.
32129 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
32132 * nss/nsswitch.c (defconfig_entries): New variable.
32133 (__nss_database_lookup): Don't leak defconfig entries.
32134 (nss_parse_service_list): Don't leak on error paths.
32135 (free_database_entries): New function.
32136 (free_defconfig): New function.
32137 (free_mem): Move common code to free_database_entries.
32139 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32141 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
32143 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
32145 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32146 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
32147 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
32149 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
32150 (INTERNAL_SYSCALL_TYPES): Likewise.
32151 (LOAD_ARGS_TYPES_[1-6]): Likewise.
32152 (LOAD_REGS_TYPES_[1-6]): Likewise.
32153 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
32154 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
32156 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32158 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
32159 copysignl for GLIBC_2_0.
32160 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
32161 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
32162 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
32163 logbl for GLIBC_2_0.
32164 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32165 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32167 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32169 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
32170 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32172 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32175 * time/mktime.c: Update copyright years.
32177 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
32179 mktime: merge comment-quoting-style change from gnulib
32180 * time/mktime.c: Quote 'like this' in comments.
32181 The GNU coding standards suggest that we no longer quote `like this',
32182 as "`" and "'" are typically rendered asymmetrically nowadays.
32183 The typical gnulib style is to quote 'like this' when quoting
32184 code, and "like this" when quoting English.
32186 * time/mktime.c (compile-command): Add "-I.".
32188 mktime: merge mktime-internal.h change from gnulib
32189 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
32191 mktime: merge time_r change from gnulib
32192 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
32194 mktime: merge DEBUG change from gnulib
32195 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
32196 case system <time.h> has a #define.
32198 mktime: merge <sys/types.h> change from gnulib
32199 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
32200 since <time.t> is now guaranteed to define time_t.
32202 mktime: merge HAVE_CONFIG_H change from gnulib
32203 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
32205 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32207 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32210 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
32212 (struct rusage): Use anonymous union to pad each field to
32215 2012-05-21 David S. Miller <davem@davemloft.net>
32217 * Makefules (o-iterator): Remove .s cases.
32218 (compile-command.s): Delete.
32219 (COMPILE.s): Delete.
32220 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
32222 2012-05-21 Joseph Myers <joseph@codesourcery.com>
32224 * configure.in (libc_cv_predef_stack_protector): Only consider
32225 "foobar" and "__stack_chk_fail" lines in libc_undefs.
32226 * configure: Regenerated.
32228 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32230 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32231 New macro. Use R*LP on int and pointer.
32232 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
32233 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
32234 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
32235 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
32237 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
32238 [__WORDSIZE_TIME64_COMPAT32] instead of
32239 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
32240 (struct utmp): Likewise.
32241 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
32242 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
32244 (__WORDSIZE_TIME64_COMPAT32): This.
32245 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
32246 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
32247 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
32248 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
32249 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
32250 (__WORDSIZE_TIME64_COMPAT32): New macro.
32252 2012-05-21 Andreas Jaeger <aj@suse.de>
32254 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
32255 only if [SHARED]. Add prototype for __wcschr_ia32.
32257 2012-05-21 Roland McGrath <roland@hack.frob.com>
32259 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
32260 of %rbp unmolested in the jmp_buf while mangling the low bits.
32261 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
32262 unmolested high bits of %rbp while demangling the low bits.
32263 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32265 2012-05-21 Andreas Jaeger <aj@suse.de>
32267 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
32268 * sunrpc/svc_simple.c: Use it for registerrpc.
32269 * sunrpc/xcrypt.c: Use it for passwd2des.
32271 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
32273 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32275 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
32276 Don't define if [__SYSCALL_WORDSIZE != 32].
32277 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
32280 2012-05-21 Bruno Haible <bruno@clisp.org>
32281 Andreas Jaeger <aj@suse.de>
32283 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
32284 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
32285 inptr and inend for must_buffer_ch.
32286 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
32287 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
32288 * stdio-common/Makefile (tests): Remove bug15.
32289 (bug15-ENV): Remove macro.
32290 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
32293 2012-05-19 Andreas Jaeger <aj@suse.de>
32294 Roland McGrath <roland@hack.frob.com>
32296 * manual/contrib.texi: Completely rewritten. It contains now an
32297 alphabetical list of contributors and their contributions.
32299 2012-05-21 Richard Henderson <rth@twiddle.net>
32301 * misc/getauxval.c (__getauxval): Use unsigned long int.
32302 * misc/sys/auxv.h: Include <sys/cdefs.h>.
32303 (getauxval): Use unsigned long int.
32305 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32307 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32309 2012-05-21 Roland McGrath <roland@hack.frob.com>
32311 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
32312 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
32313 __alignof__ (long double).
32315 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32319 2012-05-20 Richard Henderson <rth@twiddle.net>
32321 * misc/getauxval.c: New file.
32322 * misc/sys/auxv.h: New file.
32323 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
32324 (routines): Add getauxval.
32325 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
32326 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
32327 * elf/dl-sysdep.c (_dl_auxv): Remove.
32328 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
32329 * elf/dl-support.c (_dl_auxv): New variable.
32330 (_dl_aux_init): Initialize it.
32331 * manual/startup.texi (Auxiliary Vector): New node.
32332 * sysdeps/generic/bits/hwcap.h: New file.
32333 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
32334 * sysdeps/powerpc/sysdep.h: ... here. Include it.
32335 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
32336 * sysdeps/sparc/sysdep.h: ... here. Include it.
32337 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
32338 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
32339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
32342 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
32343 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
32344 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
32345 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32346 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32347 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
32348 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
32350 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32354 2012-05-19 David S. Miller <davem@davemloft.net>
32356 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32358 2012-05-19 Joseph Myers <joseph@codesourcery.com>
32361 * math/s_ccosh.c: Include <float.h>
32362 (__ccosh): Avoid internal overflow calculating sinh and cosh
32363 values before multiplying by sin and cos values.
32364 * math/s_ccoshf.c: Likewise.
32365 * math/s_ccoshl.c: Likewise.
32366 * math/s_csin.c: Likewise.
32367 * math/s_csinf.c: Likewise.
32368 * math/s_csinl.c: Likewise.
32369 * math/s_csinh.c: Likewise.
32370 * math/s_csinhf.c: Likewise.
32371 * math/s_csinhl.c: Likewise.
32372 * math/libm-test.inc (ccos_test): Add more tests.
32373 (ccosh_test): Likewise.
32374 (csin_test): Likewise.
32375 (csinh_test): Likewise.
32376 * sysdeps/i386/fpu/libm-test-ulps: Update.
32377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32379 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
32381 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
32382 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
32384 * sysdeps/x86_64/x32/_itoa.h: Add comment.
32386 2012-05-19 Joseph Myers <joseph@codesourcery.com>
32388 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
32389 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
32390 * sysdeps/powerpc/soft-fp/Versions: Likewise.
32391 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
32392 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
32393 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
32394 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
32395 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
32396 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
32397 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
32398 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
32399 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
32400 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
32401 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
32402 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
32403 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
32404 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
32405 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
32406 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
32407 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
32408 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
32409 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
32410 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
32411 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
32412 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
32413 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
32414 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
32415 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
32416 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
32417 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
32418 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
32420 2012-05-18 Andreas Jaeger <aj@suse.de>
32422 * csu/.gitignore: Delete.
32424 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32426 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
32427 (timex): Use __syscall_slong_t.
32429 2012-05-18 Andreas Jaeger <aj@suse.de>
32430 Carlos O'Donell <carlos_odonell@mentor.com>
32432 * manual/install.texi (Configuring and compiling): Update
32433 description about files modified in the source directory.
32434 * INSTALL: Regenerated.
32436 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32438 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
32439 value. Use "or" to set return value to -1.
32440 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
32441 negate return value.
32443 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32445 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
32446 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
32447 failure if the compiler has Graphite support disabled.
32448 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
32450 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
32451 (CFLAGS-memmove.c): Likewise.
32452 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
32455 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32457 * sysdeps/x86_64/x32/_itoa.h: New file.
32459 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32460 getdents system call only if kernel and user dirents have the
32461 same d_ino and d_off.
32463 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32464 LLONG_MAX != LONG_MAX.
32465 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32466 (_fitoa_word): Likewise.
32468 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32470 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32471 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32472 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32474 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32475 include <bits/wordsize.h>. Check __x86_64__ instead of
32477 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32478 if __x86_64__ is defined. Use anonymous union on fpstate.
32480 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32483 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
32485 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32486 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32487 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32488 Refer to _rtld_local_ro instead of _rtld_global_ro.
32489 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32491 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32493 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32495 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32496 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32497 of _rtld_global, and rtld_progname instead of _dl_argv[0].
32499 * sysdeps/powerpc/powerpc32/dl-machine.c
32500 (__elf_machine_runtime_setup) [PROF]: Don't reference
32503 2012-05-18 Andreas Jaeger <aj@suse.de>
32505 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32506 function only available for GCCs before 3.4 since GCC 3.4
32507 introduced a builtin.
32509 (llrintf): Likewise.
32510 (llrint): Likewise.
32517 (nearbyint): Likewise.
32518 (nearbyintf): Likewise.
32522 (floorf): Likewise.
32524 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32526 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32527 on both fields and cast pointer to __syscall_ulong_t.
32529 * bits/types.h (__fsword_t): New type.
32530 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32531 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32532 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32533 (__FSWORD_T_TYPE): Likewise.
32534 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32535 (__FSWORD_T_TYPE): Likewise.
32536 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32537 (__FSWORD_T_TYPE): Likewise.
32538 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32539 (__FSWORD_T_TYPE): Likewise.
32540 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32541 __SWORD_TYPE with __fsword_t.
32542 (statfs64): Likewise.
32544 2012-05-17 David S. Miller <davem@davemloft.net>
32546 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32548 2012-05-17 Andreas Jaeger <aj@suse.de>
32550 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32553 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32555 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32557 2012-05-17 Andreas Jaeger <aj@suse.de>
32559 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32562 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32564 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32566 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32568 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32569 * sysdeps/x86_64/tst-mallocalign1.c: New file.
32571 2012-05-17 Andreas Jaeger <aj@suse.de>
32572 Carlos O'Donell <carlos_odonell@mentor.com>
32575 * sysdeps/x86_64/multiarch/init-arch.h
32576 (bit_YMM_Usable): Rename to...
32577 (bit_AVX_Usable): ... this.
32578 (bit_FMA4_Usable): New macro.
32579 (bit_XMM_state): New macro.
32580 (bit_YMM_state): New macro.
32581 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32582 [__ASSEMBLER__] (index_AVX_Usable): ... this.
32583 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32584 (CPUID_OSXSAVE): New macro.
32585 (CPUID_AVX): New macro.
32586 (CPUID_FMA4): New macro.
32587 (index_YMM_Usable): Rename to...
32588 (index_AVX_Usable): ... this.
32589 (HAS_AVX): Use HAS_ARCH_FEATURE.
32590 (HAS_FMA4): Likewise.
32591 (HAS_YMM_USABLE): Remove.
32592 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32593 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32595 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32596 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32597 * sysdeps/x86_64/multiarch/Makefile: Likewise.
32598 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32599 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32601 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32603 * math/libm-test.c: Support platforms without multiple rounding modes.
32604 * math/bug-nextafter.c: Support platforms without FP exceptions.
32605 * math/bug-nexttoward.c: Likewise.
32606 * math/test-fenv.c: Likewise.
32607 * math/test-misc.c: Likewise.
32608 * stdlib/bug-getcontext.c: Likewise.
32610 2012-05-17 Andreas Jaeger <aj@suse.de>
32612 * manual/examples/search.c (critter_cmp): Change signature to
32614 * manual/string.texi (Collation Functions): Likewise.
32616 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32618 * bits/types.h: Fold copyright years.
32619 * bits/typesizes.h: Likewise.
32620 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32621 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32622 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32623 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32624 * time/time.h: Likewise.
32626 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
32629 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32630 in instead of returning them. Return void.
32631 (__libc_mallinfo): Accumulate over all arenas.
32632 (__malloc_stats): Adjust for change in int_mallinfo interface.
32634 2012-05-16 Roland McGrath <roland@hack.frob.com>
32637 * configure.in (NM): Add AC_CHECK_TOOL for it.
32638 (libc_extra_cflags): New substituted variable.
32639 Check for -fstack-protector being used implicitly.
32640 * configure: Regenerated.
32641 * config.make.in (config-extra-cflags): New variable,
32642 gets @libc_extra_cflags@.
32643 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
32646 * configure.in: Check for _FORTIFY_SOURCE being predefined.
32647 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
32648 * configure: Regenerated.
32649 * config.make.in (CPPUNDEFS): New substituted variable.
32650 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
32651 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
32652 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
32654 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32656 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32657 (mq_attr): Use __syscall_slong_t.
32659 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32661 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
32662 Check __x86_64__ instead of __WORDSIZE.
32663 (_STAT_VER_LINUX): Likewise.
32664 (stat): Check __x86_64__ instead of __WORDSIZE. Use
32665 __syscall_ulong_t and __syscall_slong_t.
32666 (stat64): Likewise.
32668 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32670 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
32672 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32674 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
32676 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32678 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
32681 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
32682 include <bits/wordsize.h>. Check __x86_64__ instead of
32684 (greg_t): Use "__extension__ long long int" if __x86_64__ is
32686 (mcontext_t): Replace "unsigned long" with "unsigned long long".
32688 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
32689 include <bits/wordsize.h>. Check __x86_64__ instead of
32691 (user_regs_struct): Use "__extension__ unsigned long long"
32692 instead of "unsigned long" if __x86_64__ is defined.
32693 (user): Likewise. Pad after pointer field if __ILP32__ is
32696 2012-05-16 Joseph Myers <joseph@codesourcery.com>
32698 * configure.in (makeinfo): Require version 4.5 or later. Allow
32700 * configure: Regenerated.
32701 * manual/install.texi (texinfo): Increase version requirement to
32703 * INSTALL: Regenerated.
32705 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
32707 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32709 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
32711 * sysdeps/x86_64/x32/ffs.c: New file.
32713 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
32715 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
32716 defined. Use __syscall_ulong_t.
32717 (shminfo): Use __syscall_ulong_t.
32718 (shm_info): Likewise.
32720 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
32723 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
32725 (msgqnum_t): Use __syscall_ulong_t.
32726 (msglen_t): Likewise.
32727 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
32730 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
32731 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32733 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
32735 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
32736 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
32738 * sysvipc/sys/msg.h (msgbuf): Replace long int with
32741 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
32742 include <bits/wordsize.h>. Check __x86_64__ instead of
32745 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
32746 "unsigned long long int" if __x86_64__ is defined.
32747 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
32749 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
32750 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32751 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
32753 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
32755 (GET_PC): Cast to uintptr_t first.
32756 (GET_FRAME): Likewise.
32757 (GET_STACK): Likewise.
32759 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
32760 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
32761 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
32762 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
32763 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
32764 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
32765 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
32766 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
32767 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32768 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
32769 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
32770 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
32771 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32772 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
32773 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
32774 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
32775 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
32776 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
32777 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
32778 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
32779 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
32780 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
32781 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
32782 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
32783 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
32784 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
32785 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
32786 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
32787 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
32789 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
32791 * Makerules (+depfiles): Also collect depfiles from .oS in
32793 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
32794 .oS, $(libnldbl-routines)).
32796 * Makerules (native-compile-mkdep-flags): Define.
32797 * sunrpc/Makefile (extra-objs): Add $(addprefix
32798 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
32799 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
32800 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
32801 calling $(make-target-directory).
32803 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32805 * bits/types.h (__snseconds_t): Removed.
32806 * time/time.h (struct timespec): Replace __snseconds_t with
32808 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
32809 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
32811 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32812 (__SNSECONDS_T_TYPE): Likewise.
32813 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32814 (__SNSECONDS_T_TYPE): Likewise.
32815 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32816 (__SNSECONDS_T_TYPE): Likewise.
32818 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32820 * sysdeps/mach/hurd/bits/typesizes.h
32821 (__SYSCALL_SLONG_TYPE): New macro.
32822 (__SYSCALL_ULONG_TYPE): Likewise.
32824 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32826 * bits/types.h (__syscall_slong_t): New type.
32827 (__syscall_ulong_t): Likewise.
32829 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
32830 (__SYSCALL_ULONG_TYPE): Likewise.
32831 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32832 (__SYSCALL_SLONG_TYPE): Likewise.
32833 (__SYSCALL_ULONG_TYPE): Likewise.
32834 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32835 (__SYSCALL_SLONG_TYPE): Likewise.
32836 (__SYSCALL_ULONG_TYPE): Likewise.
32837 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32838 (__SYSCALL_SLONG_TYPE): Likewise.
32839 (__SYSCALL_ULONG_TYPE): Likewise.
32841 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32843 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
32844 Add sigaltstack-offsets.sym.
32845 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
32846 <sigaltstack-offsets.h>.
32847 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
32848 longjmp_msg pointer.
32849 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
32850 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
32852 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
32854 2012-05-15 Joseph Myers <joseph@codesourcery.com>
32856 * elf/stackguard-macros.h: Remove file.
32857 * sysdeps/generic/stackguard-macros.h: New file.
32858 * sysdeps/i386/stackguard-macros.h: Likewise.
32859 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32860 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32861 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32862 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32863 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32864 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32865 * sysdeps/x86_64/stackguard-macros.h: Likewise.
32866 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
32867 <elf/stackguard-macros.h>.
32870 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
32871 __aligned__ in attribute.
32872 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
32873 (gregset_t): Likewise.
32875 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32877 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
32878 * sysdeps/x86_64/64/Implies-after: Here. New file.
32879 * sysdeps/x86_64/x32/Implies-after: New file.
32881 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32883 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
32884 and access return value for _dl_profile_fixup. Use R10_LP to
32887 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32889 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
32891 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32893 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
32894 * sysdeps/x86_64/x32/sysdep.h: New file.
32896 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32898 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
32899 * sysdeps/x86_64/setjmp.S: Likewise.
32901 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32903 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
32904 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
32905 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
32906 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
32907 remove unused global constant.
32909 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
32911 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
32912 include of <not-cancel.h>.
32914 2012-05-15 Roland McGrath <roland@hack.frob.com>
32916 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
32918 2012-05-15 Jeff Law <law@redhat.com>
32919 Andreas Jaeger <aj@suse.de>
32922 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
32924 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
32925 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
32926 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
32927 code changing __hst_map_handle.map.
32929 2012-05-15 Roland McGrath <roland@hack.frob.com>
32931 * configure.in (sysnames): Look for Implies-before and Implies-after
32933 * configure: Regenerated.
32935 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32937 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
32938 8-byte data alignment with LP_SIZE alignment.
32940 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32942 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
32945 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32947 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
32949 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32951 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
32952 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
32953 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
32955 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32957 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32959 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
32960 (stackinfo_sub_sp): Likewise.
32962 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32964 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
32967 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32969 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32972 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32974 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32977 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32979 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32981 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32983 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32984 into R11_LP and load __x86_64_shared_cache_size_half into
32987 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32989 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
32992 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32994 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32996 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32998 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33000 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33001 powerpc32/power7/fpu/s_logb.c via #include.
33002 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33003 powerpc32/power7/fpu/s_logbf.c via #include.
33004 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33005 powerpc32/power7/fpu/s_logbl.c via #include.
33007 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33009 * README.libm: Remove file.
33011 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33013 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33014 count for x32. Use R*_LP and omit operand-size suffix.
33016 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33018 * shlib-versions: Move x86_64-.*-linux.* entries to ...
33019 * sysdeps/x86_64/64/shlib-versions: Here. New file.
33020 * sysdeps/x86_64/x32/shlib-versions: New file.
33022 2012-05-14 Roland McGrath <roland@hack.frob.com>
33024 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33025 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33026 Use _dl_fatal_printf instead.
33028 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33030 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33031 set if not set by the user. Do not allow for being unset.
33032 * sysdeps/unix/sysv/linux/configure: Regenerated.
33034 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33036 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33037 the `q' suffix from lea and replace .quad with ASM_ADDR.
33039 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33041 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33042 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
33044 (PTR_DEMANGLE): Likewise.
33046 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33048 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33050 (ASM_ADDR): Likewise.
33051 (RAX_LP): Likewise.
33052 (RBP_LP): Likewise.
33053 (RBX_LP): Likewise.
33054 (RCX_LP): Likewise.
33055 (RDI_LP): Likewise.
33056 (RSI_LP): Likewise.
33057 (RSP_LP): Likewise.
33060 (R10_LP): Likewise.
33061 (R10_LP): Likewise.
33062 (R11_LP): Likewise.
33063 (R12_LP): Likewise.
33064 (R13_LP): Likewise.
33065 (R14_LP): Likewise.
33066 (R15_LP): Likewise.
33068 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33070 * sysdeps/x86_64/x32/dl-machine.h: New file.
33072 2012-05-14 Andreas Jaeger <aj@suse.de>
33074 * manual/Makefile (subdir): Remove export of subdir.
33075 (all): Remove target.
33076 (.PHONY): Remove all from list.
33077 (mkinstalldirs): Remove.
33078 (.PHONY): Remove installdirs from list.
33079 ($(inst_infodir)/libc.info): Use make-target-directory.
33080 (installdirs): Remove.
33081 (subdir_%): Remove.
33082 (glibc-targets): Remove.
33085 ($(objpfx)stubs ../po/manual.pot): Remove.
33086 ($(objpfx)stamp%): Remove.
33087 (make-target-directory): Remove.
33088 (subdir_install): Remove.
33089 (routines): Remove.
33096 * manual/.gitignore: Remove, it's not needed anymore.
33097 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33099 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33101 (texis): Renamed to $(objpfx)texis.
33102 (texis-path): New, contains path to generated files.
33103 (chapters.%): Use texis-path for complete path, add extra argument
33105 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33106 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33107 (summary,texi, stamp-summary): Use complete path of
33108 files. Generate files in build dir.
33109 (dir-add.texi): Build in build dir.
33110 (libm-err.texi,stamp-libm-err): Likewise.
33111 (version.texi, stamp-version): Likewise.
33112 (.%c.texi): Likewise.
33113 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33114 (mostlyclean): Remove target.
33115 (realclean): Remove target.
33116 (generated): Add new variable with contents from mostlyclean and
33117 realclean, remove entries duplicated in common-mostlyclean, add
33118 stamp-libm-err and stamp-version.
33119 (generated-dirs): Add libc directory.
33120 ($(inst_infodir)/libc.info): Install files from build dir.
33122 * manual/install.texi (Configuring and compiling): Adjust since
33123 the info files are not part of the tar ball anymore.
33125 2012-05-14 Andreas Jaeger <aj@suse.de>
33127 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
33130 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33133 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33134 to 2.2.0 where earlier.
33135 * sysdeps/unix/sysv/linux/configure: Regenerated.
33136 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
33137 Remove conditional code.
33138 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
33139 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
33140 Remove conditional code.
33141 [!__NR_lchown]: Likewise.
33142 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33143 [__NR_lchown]: Likewise.
33144 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
33145 comment referencing __ASSUME_LCHOWN_SYSCALL.
33146 * sysdeps/unix/sysv/linux/i386/sigaction.c
33147 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33148 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33149 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
33150 Remove conditional code.
33151 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
33152 (__protocol_available): Remove #if 0 code.
33153 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
33155 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
33156 * sysdeps/unix/sysv/linux/kernel-features.h
33157 (__ASSUME_GETCWD_SYSCALL): Don't define.
33158 (__ASSUME_REALTIME_SIGNALS): Likewise.
33159 (__ASSUME_PREAD_SYSCALL): Likewise.
33160 (__ASSUME_PWRITE_SYSCALL): Likewise.
33161 (__ASSUME_POLL_SYSCALL): Likewise.
33162 (__ASSUME_LCHOWN_SYSCALL): Likewise.
33163 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
33165 (__ASSUME_SIOCGIFNAME): Don't define.
33166 (__ASSUME_MSG_NOSIGNAL): Likewise.
33167 (__ASSUME_SENDFILE): Define unconditionally.
33168 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
33169 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
33171 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
33172 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
33173 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33174 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33175 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
33176 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33177 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
33179 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33180 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33182 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33183 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
33185 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33186 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33188 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33189 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
33191 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33192 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33194 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33195 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
33197 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33198 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33200 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33201 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33202 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
33203 Remove conditional code.
33204 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33205 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33206 Remove conditional code.
33207 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33208 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
33209 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
33210 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33211 Remove conditional code.
33212 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33213 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
33214 Remove conditional code.
33215 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33216 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
33217 Remove conditional code.
33218 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33219 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33220 Remove conditional code.
33221 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33222 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33223 Remove conditional code.
33224 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33225 * sysdeps/unix/sysv/linux/sh/pwrite64.c
33226 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33227 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33228 * sysdeps/unix/sysv/linux/sigaction.c
33229 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33230 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33231 * sysdeps/unix/sysv/linux/sigpending.c
33232 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33233 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33234 * sysdeps/unix/sysv/linux/sigprocmask.c
33235 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33236 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33237 * sysdeps/unix/sysv/linux/sigsuspend.c
33238 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33239 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33240 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33241 (__libc_missing_rt_sigs): Remove.
33242 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
33243 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
33244 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
33245 Remove conditional code.
33246 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
33247 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
33249 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
33250 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
33251 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
33252 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
33254 2012-05-14 Andreas Jaeger <aj@suse.de>
33256 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
33257 it's not used in glibc.
33258 (__coshm1): Likewise.
33259 (__acosh1p): Likewise.
33262 * manual/string.texi (Copying and Concatenation): Add missing
33263 variable in concat example.
33264 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
33266 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33269 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
33270 __builtin_clzl with __builtin_clzll.
33272 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33275 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
33278 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33280 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
33281 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
33282 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
33283 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
33285 2012-05-14 Mike Frysinger <vapier@gentoo.org>
33287 * NEWS: Update ia64 info.
33289 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
33291 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
33294 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
33296 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
33297 * sysdeps/unix/syscalls.list (dup3): Likewise.
33298 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
33299 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
33301 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33303 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
33304 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
33306 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33308 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
33310 (TLS_IE): Use mov/add instead of movq/addq to load thread
33312 (TLS_GD_PREFIX): New.
33315 2012-05-11 David S. Miller <davem@davemloft.net>
33317 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
33318 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
33319 (_FPU_SETCW): Likewise.
33321 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33323 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
33324 is 32-byte aligned.
33326 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
33329 * iconvdata/gb18030.c: Update tables.
33330 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
33331 characters specially.
33332 (BODY for TO_LOOP): Add encoding of missing ranges.
33334 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
33337 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
33338 * sysdeps/mach/hurd/dup3.c: Likewise.
33339 * sysdeps/mach/hurd/readlinkat.c: Likewise.
33340 * sysdeps/powerpc/memmove.c:: Likewise.
33342 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33344 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
33345 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
33347 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33349 * elf/elf.h (R_X86_64_RELATIVE64): New.
33350 (R_X86_64_NUM): Updated.
33351 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33352 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
33353 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
33354 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
33355 tst-quad1pie tst-quad2pie
33356 (modules-names): Add tst-quadmod1 tst-quadmod2.
33357 ($(objpfx)tst-quad1): New dependency.
33358 ($(objpfx)tst-quad2): Likewise.
33359 ($(objpfx)tst-quad1pie): Likewise.
33360 ($(objpfx)tst-quad2pie): Likewise.
33361 * sysdeps/x86_64/tst-quad1.c: New file.
33362 * sysdeps/x86_64/tst-quad1pie.c: New file.
33363 * sysdeps/x86_64/tst-quad2.c: Likewise.
33364 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
33365 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
33366 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
33367 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
33368 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
33370 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33372 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
33373 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
33374 * streams/stropts.h (t_scalar_t): Define type.
33376 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
33377 (_PATH_PRESERVE): Set to "/var/lib".
33378 (_PATH_RWHODIR): Set to "/var/spool/rwho".
33380 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
33383 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
33384 if __dir_mkfile succeeded.
33386 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
33387 checking for _hurd_dtablesize. Unlock it right after having
33388 finished _hurd_dtable allocation.
33390 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33392 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
33393 * sysdeps/mach/hurd/configure: Regenerated.
33394 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
33395 special-casing to...
33396 * sysdeps/gnu/configure.in: ... this new file.
33397 * sysdeps/unix/sysv/linux/configure: Regenerated.
33398 * sysdeps/gnu/configure: New generated file.
33400 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
33401 for Linux: use nsec instead of usec, as well as:
33402 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
33403 members of type struct timespec.
33404 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
33406 (struct stat64): Likewise.
33407 (_STATBUF_ST_NSEC): New macro.
33408 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
33410 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33411 __strtoul_internal rather than strtoul.
33413 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33415 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
33418 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33420 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
33421 which preserves existing values.
33422 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
33424 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33426 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
33427 TIMEOUT values. Return EINVAL for NFDS values either negative or
33428 greater than FD_SETSIZE.
33430 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33432 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
33433 allocated, call __vm_protect to finish enabling the existing space, and
33434 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
33435 allocate the remainder.
33437 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33439 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
33440 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
33442 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33444 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
33445 sysdeps/mach/hurd/readlink.c.
33447 * posix/tst-sysconf.c (posix_options): Only use
33448 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
33449 _POSIX_SYNCHRONIZED_IO when they are defined
33450 * sysdeps/mach/hurd/bits/posix_opt.h:
33451 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
33452 (_XOPEN_REALTIME): Undefine macro.
33453 (_XOPEN_REALTIME_THREADS): Undefine macro.
33454 (_XOPEN_SHM): Undefine macro.
33455 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33457 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33459 (_POSIX_ASYNC_IO): Undefine macro.
33460 (_POSIX_PRIORITIZED_IO): Undefine macro.
33461 (_POSIX_SPIN_LOCKS): Define macro to -1.
33463 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33464 SA_NODEFER, SA_RESETHAND.
33465 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33466 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33469 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33471 * elf/Makefile (pldd-modules): Define unconditionally.
33473 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33475 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33477 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33479 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33480 Return ENOENT when name is empty.
33481 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33483 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33485 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33487 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33489 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33491 Fix mlock in all cases except non-readable pages.
33492 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33493 instead of VM_PROT_ALL as parameter to __vm_wire function.
33495 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33496 (__mkdir): When path is `/', just fail with EEXIST.
33497 * sysdeps/mach/hurd/mkdirat.c: Likewise.
33499 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33501 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33502 <sys/uio.h> (for writev).
33503 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33504 and <sys/param.h> (for MIN).
33506 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33508 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33509 REQUESTED_TIME. Properly set the remaining time and return EINTR
33512 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33514 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33515 Depend on against $(link-rpcuserlibs).
33517 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33519 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33520 (__libc_stack_end): Do not use attribute_relro.
33521 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33522 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
33523 to libthread-provided value.
33524 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33527 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33530 * bits/libc-lock.h (__libc_once_get): New macro.
33531 * sysdeps/mach/bits/libc-lock.h: Likewise.
33532 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33533 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33534 instead of using implementation details.
33536 * libio/fileops.c: Unconditionally include <kernel-features.h>.
33537 * libio/freopen.c: Likewise.
33538 * libio/freopen64.c: Likewise.
33539 * misc/syslog.c: Likewise.
33540 * nscd/connections.c: Likewise.
33541 * nscd/netgroupcache.c: Likewise.
33542 * sysdeps/posix/getcwd.c: Likewise.
33544 2012-05-10 Roland McGrath <roland@hack.frob.com>
33546 * math/w_ilogbf.c: Add #include <limits.h>.
33548 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33550 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
33551 path instead of returning without unlocking.
33553 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33554 immediate-write ioctls.
33555 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33557 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33559 * sysdeps/mach/hurd/i386/init-first.c (init): Use
33560 __builtin_frame_address instead of making assumptions about the
33561 location of the return address relative to DATA. Force early load of
33562 the return address.
33563 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33564 __builtin_frame_address.
33567 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33568 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
33569 implement dup3 and do some further code clean-ups.
33570 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33571 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33573 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33575 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33577 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33578 HURD_CRITICAL_END around holding _hurd_dtable_lock.
33579 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33580 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33581 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33584 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33585 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
33586 when handler == SIG_ERR, not when handler != SIG_ERR.
33588 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33590 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33591 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33594 accept4 for GNU Hurd.
33595 * include/sys/socket.h (__libc_accept4): New prototype.
33596 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
33597 to implement __libc_accept4.
33598 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33600 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33602 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33603 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33604 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33605 signal-defines.sym.
33607 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33609 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
33611 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33613 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33614 assertion on O_CLOEXEC flag.
33615 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33616 * hurd/intern-fd.c: Likewise.
33617 * hurd/port2fd.c: Likewise.
33619 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33622 * bits/in.h (IPV6_PKTINFO): Define new macro.
33623 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33625 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33630 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33631 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33632 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
33633 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33634 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33635 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33636 * math/libm-test.inc (logb_test) : Additional logb tests.
33638 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
33639 Andreas Jaeger <aj@suse.de>
33641 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
33642 * configure: Regenerated.
33643 * config.h.in (LINK_OBSOLETE_RPC): New macro.
33644 * config.make.in (link-obsolete-rpc): New substituted variable.
33645 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
33646 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
33647 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33648 (shared-only-routines): Don't set it under [link-obsolete-rpc],
33649 so that libc.a contains the symbols.
33650 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33651 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
33652 * sunrpc/auth_none.c: Likewise.
33653 * sunrpc/auth_unix.c: Likewise.
33654 * sunrpc/authdes_prot.c: Likewise.
33655 * sunrpc/authuxprot.c: Likewise.
33656 * sunrpc/clnt_gen.c: Likewise.
33657 * sunrpc/clnt_perr.c: Likewise.
33658 * sunrpc/clnt_raw.c: Likewise.
33659 * sunrpc/clnt_simp.c: Likewise.
33660 * sunrpc/clnt_tcp.c: Likewise.
33661 * sunrpc/clnt_udp.c: Likewise.
33662 * sunrpc/clnt_unix.c: Likewise.
33663 * sunrpc/des_crypt.c: Likewise.
33664 * sunrpc/des_soft.c: Likewise.
33665 * sunrpc/get_myaddr.c: Likewise.
33666 * sunrpc/key_call.c: Likewise.
33667 * sunrpc/key_prot.c: Likewise.
33668 * sunrpc/netname.c: Likewise.
33669 * sunrpc/pm_getmaps.c: Likewise.
33670 * sunrpc/pm_getport.c: Likewise.
33671 * sunrpc/pmap_clnt.c: Likewise.
33672 * sunrpc/pmap_prot.c: Likewise.
33673 * sunrpc/pmap_prot2.c: Likewise.
33674 * sunrpc/pmap_rmt.c: Likewise.
33675 * sunrpc/publickey.c: Likewise.
33676 * sunrpc/rpc_cmsg.c: Likewise.
33677 * sunrpc/rpc_common.c: Likewise.
33678 * sunrpc/rpc_dtable.c: Likewise.
33679 * sunrpc/rpc_prot.c: Likewise.
33680 * sunrpc/rpc_thread.c: Likewise.
33681 * sunrpc/rtime.c: Likewise.
33682 * sunrpc/svc.c: Likewise.
33683 * sunrpc/svc_auth.c: Likewise.
33684 * sunrpc/svc_raw.c: Likewise.
33685 * sunrpc/svc_run.c: Likewise.
33686 * sunrpc/svc_tcp.c: Likewise.
33687 * sunrpc/svc_udp.c: Likewise.
33688 * sunrpc/svc_unix.c: Likewise.
33689 * sunrpc/svcauth_des.c: Likewise.
33690 * sunrpc/xcrypt.c: Likewise.
33691 * sunrpc/xdr.c: Likewise.
33692 * sunrpc/xdr_array.c: Likewise.
33693 * sunrpc/xdr_float.c: Likewise.
33694 * sunrpc/xdr_intXX_t.c: Likewise.
33695 * sunrpc/xdr_mem.c: Likewise.
33696 * sunrpc/xdr_rec.c: Likewise.
33697 * sunrpc/xdr_ref.c: Likewise.
33698 * sunrpc/xdr_sizeof.c: Likewise.
33699 * sunrpc/xdr_stdio.c: Likewise.
33701 2012-05-10 Roland McGrath <roland@hack.frob.com>
33703 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
33704 change. Update copyright years.
33706 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33708 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
33710 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
33711 Joseph Myers <joseph@codesourcery.com>
33712 Paul Pluzhnikov <ppluzhnikov@google.com>
33715 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
33717 [cross-compiling] (extra-libs): Likewise.
33718 [cross-compiling] (extra-libs-others): Likewise.
33719 [cross-compiling] (librpcsvc-routines): Likewise.
33720 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
33721 [cross-compiling] (omit-deps): Likewise.
33722 (sunrpc-CPPFLAGS): New variable.
33723 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
33724 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
33725 (cross-rpcgen-objs): New variable.
33726 (extra-objs): Append $(cross-rpcgen-objs).
33727 ($(cross-rpcgen-objs)): New rule.
33728 ($(objpfx)cross-rpcgen): Likewise.
33729 (rpcgen-cmd): Define to use $(built-program-file). Expand
33731 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
33732 ($(objpfx)x%.stmp): Likewise.
33733 * sunrpc/proto.h [IS_IN_build] (_): Define.
33734 [IS_IN_build] (_libc_intl_domainname): Likewise.
33736 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33738 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
33739 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
33740 and R_X86_64_TPOFF64.
33742 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33744 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
33745 sysdeps/unix/sysv/syscalls.list.
33748 * sysdeps/unix/sysv/syscalls.list: Remove file.
33750 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
33753 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
33754 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
33755 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
33756 (__LC_IDENTIFICATION): Make these macros useful in #if
33757 expressions, as required by C99.
33759 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
33761 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
33762 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
33765 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
33767 * stdlib/longlong.h: Updated from GCC.
33769 2012-05-09 Andreas Jaeger <aj@suse.de>
33771 * nscd/nscd.c (run_modes): Make named enum, reorder so that
33772 default is first entry.
33773 (run_mode): Set type.
33774 (main): Remove informal message about syslog.
33775 (options): Fix typo.
33778 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
33781 (llrintf): Likewise.
33782 (llrint): Likewise.
33785 (nearbyint): Likewise.
33786 (nearbyintf): Likewise.
33788 2012-05-09 Andreas Jaeger <aj@suse.de>
33789 Pedro Alves <palves@redhat.com>
33791 * nscd/nscd.c (run_mode): Use enum.
33792 (main): Cleanup coding style issue.
33794 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
33795 Andreas Jaeger <aj@suse.de>
33797 * nscd/nscd.c (go_background): Replaced with...
33798 (run_mode): ... this.
33799 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
33800 (options): Add -F --foreground.
33801 (main): Implement it.
33802 (parse_opt): Parse it.
33804 2012-05-09 Andreas Jaeger <aj@suse.de>
33807 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
33808 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
33809 -Wconversion warning.
33810 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
33813 2012-05-09 Joseph Myers <joseph@codesourcery.com>
33815 * conform/data/locale.h-data (NULL): Use macro-constant. Require
33817 (LC_ALL): Use macro-int-constant.
33818 (LC_COLLATE): Likewise.
33819 (LC_CTYPE): Likewise.
33820 (LC_MESSAGES): Likewise.
33821 (LC_MONETARY): Likewise.
33822 (LC_NUMERIC): Likewise.
33823 (LC_TIME): Likewise.
33824 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
33825 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33826 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33827 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
33829 [C99-based standards] (float_t): Expect type.
33830 [C99-based standards] (double_t): Expect type.
33831 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
33833 [C99-based standards] (HUGE_VALL): Likewise.
33834 [C99-based standards] (INFINITY): Likewise.
33835 [C99-based standards] (NAN): Likewise.
33836 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
33837 [C99-based standards] (FP_NAN): Likewise.
33838 [C99-based standards] (FP_NORMAL): Likewise.
33839 [C99-based standards] (FP_SUBNORMAL): Likewise.
33840 [C99-based standards] (FP_ZERO): Likewise.
33841 [C99-based standards] (FP_FAST_FMA): Use
33842 optional-macro-int-constant. Specify type. Require == 1.
33843 [C99-based standards] (FP_FAST_FMAF): Likewise.
33844 [C99-based standards] (FP_FAST_FMAL): Likewise.
33845 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
33846 [C99-based standards] (FP_ILOGBNAN): Likewise.
33847 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
33849 [C99-based standards] (MATH_ERREXCEPT): Likewise.
33850 [C99-based standards] (math_errhandling): Specify type.
33851 [ISO99 || ISO11] (signgam): Do not allow.
33852 [non-C99-based standards] (copysignf): Do not allow.
33853 [non-C99-based standards] (exp2f): Likewise.
33854 [non-C99-based standards] (log2f): Likewise.
33855 [non-C99-based standards] (modff): Allow.
33856 [non-C99-based standards] (erff): Do not allow.
33857 [non-C99-based standards] (erfcf): Likewise.
33858 [non-C99-based standards] (gammaf): Likewise.
33859 [non-C99-based standards] (hypotf): Likewise.
33860 [non-C99-based standards] (j0f): Likewise.
33861 [non-C99-based standards] (j1f): Likewise.
33862 [non-C99-based standards] (jnf): Likewise.
33863 [non-C99-based standards] (lgammaf): Likewise.
33864 [non-C99-based standards] (tgammaf): Likewise.
33865 [non-C99-based standards] (y0f): Likewise.
33866 [non-C99-based standards] (y1f): Likewise.
33867 [non-C99-based standards] (ynf): Likewise.
33868 [non-C99-based standards] (isnanf): Likewise.
33869 [non-C99-based standards] (acoshf): Likewise.
33870 [non-C99-based standards] (asinhf): Likewise.
33871 [non-C99-based standards] (atanhf): Likewise.
33872 [non-C99-based standards] (cbrtf): Likewise.
33873 [non-C99-based standards] (expm1f): Likewise.
33874 [non-C99-based standards] (ilogbf): Likewise.
33875 [non-C99-based standards] (log1pf): Likewise.
33876 [non-C99-based standards] (logbf): Likewise.
33877 [non-C99-based standards] (nextafterf): Likewise.
33878 [non-C99-based standards] (remainderf): Likewise.
33879 [non-C99-based standards] (rintf): Likewise.
33880 [non-C99-based standards] (scalbf): Likewise.
33881 [non-C99-based standards] (copysignl): Likewise.
33882 [non-C99-based standards] (exp2l): Likewise.
33883 [non-C99-based standards] (log2l): Likewise.
33884 [non-C99-based standards] (modfl): Allow.
33885 [non-C99-based standards] (erfl): Do not allow.
33886 [non-C99-based standards] (erfcl): Likewise.
33887 [non-C99-based standards] (gammal): Likewise.
33888 [non-C99-based standards] (hypotl): Likewise.
33889 [non-C99-based standards] (j0l): Likewise.
33890 [non-C99-based standards] (j1l): Likewise.
33891 [non-C99-based standards] (jnl): Likewise.
33892 [non-C99-based standards] (lgammal): Likewise.
33893 [non-C99-based standards] (tgammal): Likewise.
33894 [non-C99-based standards] (y0l): Likewise.
33895 [non-C99-based standards] (y1l): Likewise.
33896 [non-C99-based standards] (ynl): Likewise.
33897 [non-C99-based standards] (isnanl): Likewise.
33898 [non-C99-based standards] (acoshl): Likewise.
33899 [non-C99-based standards] (asinhl): Likewise.
33900 [non-C99-based standards] (atanhl): Likewise.
33901 [non-C99-based standards] (cbrtl): Likewise.
33902 [non-C99-based standards] (expm1l): Likewise.
33903 [non-C99-based standards] (ilogbl): Likewise.
33904 [non-C99-based standards] (log1pl): Likewise.
33905 [non-C99-based standards] (logbl): Likewise.
33906 [non-C99-based standards] (nextafterl): Likewise.
33907 [non-C99-based standards] (remainderl): Likewise.
33908 [non-C99-based standards] (rintl): Likewise.
33909 [non-C99-based standards] (scalbl): Likewise.
33910 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33911 [non-C99-based standards] (FP_*): Do not allow.
33912 [C99-based standards] (FP_*): Change to
33913 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33914 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33916 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
33917 (SIG_ERR): Likewise.
33918 [X/Open-based standards] (SIG_HOLD): Likewise.
33919 (SIG_IGN): Likewise.
33920 (SIGABRT): Use macro-int-constant. Specify type. Require
33922 (SIGFPE): Likewise.
33923 (SIGILL): Likewise.
33924 (SIGINT): Likewise.
33925 (SIGSEGV): Likewise.
33926 (SIGTER): Likewise.
33927 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
33928 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
33929 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
33930 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
33931 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
33932 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
33933 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
33934 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
33935 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
33936 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
33937 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
33938 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
33939 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
33940 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
33941 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
33942 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
33943 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
33944 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
33945 [X/Open-based standards] (SIGTRAP): Likewise.
33946 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
33947 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
33948 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
33949 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
33950 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33953 2012-05-08 Ian Wienand <ianw@vmware.com>
33956 * time/tzset.c (__tzset_parse_tz): Update default rules for
33957 daylight time changes in the Energy Policy Act of 2005.
33959 2012-05-09 Andreas Jaeger <aj@suse.de>
33962 * elf/ldconfig.c (parse_conf): Change string to make clear that
33963 ldconfig only issued a warning if ld.so.conf does not exist.
33965 2012-05-08 David S. Miller <davem@davemloft.net>
33967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
33968 movxtod instead of popping the value on the stack.
33970 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33972 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
33974 * config.h.in: Add HAVE_ARM_PCS_VFP.
33976 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
33979 * include/features.h: Warn if user requests __FORTIFY_SOURCE
33980 checking but the checks are disabled for any reason.
33982 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
33984 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33985 and ELF64_R_TYPE with ELFW(R_TYPE).
33987 2012-05-08 Joseph Myers <joseph@codesourcery.com>
33989 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
33990 (ulimit): Likewise.
33992 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33993 (settimeofday): Likewise.
33995 2012-05-08 Mike Frysinger <vapier@gentoo.org>
33997 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
33998 a struct th_u2 inside the union, and move tu_block/tu_code into
33999 a new th_u3 union of tu_block/tu_code inside of that. Move
34000 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
34001 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
34002 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34003 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34004 (th_stuff): Change to th_u1.tu_stuff.
34006 (th_msg): Change to th_u1.th_u2.tu_data.
34008 2012-05-07 David S. Miller <davem@davemloft.net>
34010 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34013 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34014 (SETUP_PIC_REG): Use it.
34015 (SETUP_PIC_REG_LEAF): Use it.
34017 2012-05-07 Joseph Myers <joseph@codesourcery.com>
34021 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34023 (EXPL_FINITE): Likewise.
34024 (FLDLOG): Likewise.
34025 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34026 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34028 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34030 (EXPL_FINITE): Likewise.
34031 (FLDLOG): Likewise.
34032 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34033 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34035 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
34036 test of -max_value argument for long double.
34037 * sysdeps/i386/fpu/libm-test-ulps: Update.
34038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34040 2012-05-06 David S. Miller <davem@davemloft.net>
34042 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34043 quad soft-float symbols whose references which are compiler
34045 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34047 2012-05-06 Joseph Myers <joseph@codesourcery.com>
34051 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34053 (EXPL_FINITE): Likewise.
34054 (FLDLOG): Likewise.
34057 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34058 Adjust comments for base varying.
34059 (__expl_finite): Change alias to EXPL_FINITE.
34060 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34062 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34063 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34064 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34065 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34066 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34068 (EXPL_FINITE): Likewise.
34069 (FLDLOG): Likewise.
34072 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34073 Adjust comments for base varying.
34074 (__expl_finite): Change alias to EXPL_FINITE.
34075 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
34077 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34080 * math/libm-test.inc (check_float_internal): Correct ulp
34081 calculation for subnormal expected results.
34083 2012-05-06 Andreas Jaeger <aj@suse.de>
34085 * Makeconfig (+math-flags): New, set to -frounding-math.
34086 (+cflags): Add +math-flags so that all of glibc gets compiled with
34089 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34091 2012-05-05 Joseph Myers <joseph@codesourcery.com>
34093 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34099 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34100 (__ieee754_expl): Allow for and saturate large arguments.
34101 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34102 (u_threshold): Likewise.
34103 (__exp): Call __ieee754_exp before checking for overflow and
34105 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34106 (u_threshold): Likewise.
34107 (__expf): Call __ieee754_expf before checking for overflow and
34109 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34110 (u_threshold): Likewise.
34111 (__expl): Call __ieee754_expl before checking for overflow and
34113 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34114 (__ieee754_expl): Allow for and saturate large arguments.
34115 * math/libm-test.inc (exp_test): Add another test. Do not allow
34116 missing overflow exception on overflow.
34117 (expm1_test): Do not allow missing overflow exception on overflow.
34119 * sysdeps/i386/fpu/e_expl.c: Move to ...
34120 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
34121 rather than using inline asm.
34122 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34123 * sysdeps/x86_64/fpu/e_expl.S: Copy from
34124 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
34126 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34129 (signal): Likewise.
34133 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34135 * sysdeps/unix/syscalls.list (adjtime): Add entry from
34136 sysdeps/unix/common/syscalls.list.
34137 (fchmod): Likewise.
34138 (fchown): Likewise.
34139 (ftruncate): Likewise.
34140 (getrusage): Likewise.
34141 (gettimeofday): Likewise.
34142 (setpgid): Likewise.
34143 (setregid): Likewise.
34144 (setreuid): Likewise.
34145 (sigaction): Likewise.
34146 (truncate): Likewise.
34147 (vhangup): Likewise.
34148 * sysdeps/unix/common/syscalls.list: Remove file.
34149 * sysdeps/unix/bsd/Implies: Don't include unix/common.
34150 * sysdeps/unix/sysv/linux/Implies: Likewise.
34152 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
34154 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
34155 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
34156 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
34158 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34160 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
34162 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
34163 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
34165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
34166 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
34168 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
34169 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
34171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
34172 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
34174 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
34175 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
34177 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
34178 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
34180 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34182 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
34184 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
34186 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
34188 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
34189 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
34191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
34193 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
34195 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
34197 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34199 * sysdeps/unix/common/bits/dirent.h: Remove file.
34200 * sysdeps/unix/common/bits/fcntl.h: Likewise.
34202 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
34203 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
34204 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
34205 * sysdeps/unix/bsd/isatty.c: Likewise.
34206 * sysdeps/unix/bsd/tcdrain.c: Likewise.
34207 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
34208 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
34210 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34213 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
34214 long double comparison inaccuracies.
34215 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
34216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34218 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
34220 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
34221 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
34223 2012-05-04 Joseph Myers <joseph@codesourcery.com>
34226 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
34227 nonzero digits before rounding a hex value.
34228 * stdlib/tst-strtod.c (tests): Add another test.
34230 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34232 * sysdeps/s390/fpu/libm-test-ulps: Update.
34234 2012-05-03 Andreas Jaeger <aj@suse.de>
34236 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
34237 does not get optimized out.
34238 (malloc_opt_barrier): New.
34240 2012-05-03 Andreas Jaeger <aj@suse.de>
34241 Roland McGrath <roland@hack.frob.com>
34243 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
34244 intermediate file deletion.
34245 (generated): Add .symlist files.
34247 2012-05-03 Joseph Myers <joseph@codesourcery.com>
34250 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
34251 Redirect under this condition.
34252 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34253 [__USE_GNU] (__dprintf_chk): Not under this condition.
34254 [__USE_GNU] (__vdprintf_chk): Likewise.
34255 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
34256 under this condition.
34257 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34258 [__USE_XOPEN2K8] (dprintf): Define under this condition.
34259 [__USE_XOPEN2K8] (vdprintf): Likewise.
34260 [__USE_GNU] (__dprintf_chk): Not under this condition.
34261 [__USE_GNU] (__vdprintf_chk): Likewise.
34262 [__USE_GNU] (dprintf): Likewise.
34263 [__USE_GNU] (vdprintf): Likewise.
34265 2012-05-03 Roland McGrath <roland@hack.frob.com>
34267 * elf/Makefile (common-generated): Set this instead of generated for
34268 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
34269 $(all-built-dso)-derived lists.
34271 2012-05-03 Andreas Jaeger <aj@suse.de>
34273 * sysdeps/i386/fpu/libm-test-ulps: Update.
34276 * FAQ.in: Likewise.
34277 * scripts/gen-FAQ.pl: Likewise.
34278 * manual/install.texi (Installation): Point to online location of
34280 * Makefile (files-for-dist): Remove FAQ.
34283 2012-05-02 Allan McRae <allan@archlinux.org>
34285 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
34286 (LDFLAGS-reldepmod5.so): Likewise.
34287 (LDFLAGS-reldep6mod1.so): Likewise.
34288 (LDFLAGS-reldep6mod4.so): Likewise.
34289 (LDFLAGS-reldep8mod3.so): Likewise.
34290 (LDFLAGS-unload4mod1.so): Likewise.
34291 (LDFLAGS-unload4mod2.so): Likewise.
34292 (LDFLAGS-tst-initorder): Likewise.
34293 (LDFLAGS-tst-initordera2.so): Likewise.
34294 (LDFLAGS-tst-initordera3.so): Likewise.
34295 (LDFLAGS-tst-initordera4.so): Likewise.
34296 (LDFLAGS-tst-initorderb2.so): Likewise.
34297 (LDFLAGS-noload): Likewise.
34298 (LDFLAGS-next): Likewise.
34299 (LDFLAGS-order2mod1.so): Likewise.
34300 (LDFLAGS-order2mod2.so): Likewise.
34301 (LDFLAGS-tst-initorder2): Likewise.
34302 (LDFLAGS-tst-initorder2a.so): Likewise.
34303 (LDFLAGS-tst-initorder2b.so): Likewise.
34304 (LDFLAGS-tst-initorder2c.so): Likewise.
34305 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
34307 2012-05-02 David S. Miller <davem@davemloft.net>
34309 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34311 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
34314 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
34316 2012-05-02 Andreas Jaeger <aj@suse.de>
34318 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
34319 since we manipulate rounding mode.
34320 (CPPFLAGS-test-idouble.c): Likewise.
34321 (CPPFLAGS-test-ifloat.c): Likewise.
34322 (CFLAGS-test-ldouble.c): Likewise.
34323 (CFLAGS-test-double.c): Likewise.
34324 (CFLAGS-test-float.c): Likewise.
34325 (CFLAGS-test-misc.c): Likewise.
34326 (CFLAGS-test-test-fenv.c): Likewise.
34328 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34332 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
34333 comparisons to determine direction to adjust input.
34335 2012-05-01 Roland McGrath <roland@hack.frob.com>
34337 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
34338 output to the target.
34340 * scripts/localplt.awk: New file.
34341 * elf/Makefile ($(objpfx)check-localplt): Target removed.
34342 (check-localplt-CFLAGS): Variable removed.
34343 ($(all-built-dso:=.jmprel)): New static pattern rule.
34344 (generated): Add those targets.
34345 (localplt-built-dso): New variable.
34346 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
34348 * elf/check-localplt.c: File removed.
34350 * scripts/check-execstack.awk: New file.
34351 * elf/Makefile ($(objpfx)check-execstack): Target removed.
34352 (check-execstack-CFLAGS): Variable removed.
34353 ($(objpfx)check-execstack.h): Target removed.
34354 ($(objpfx)execstack-default): New target.
34355 (generated): Add that instead of check-execstack.h.
34356 ($(all-built-dso:=.phdr)): New static pattern rule.
34357 (generated): Add those targets.
34358 * elf/check-execstack.c: File removed.
34360 * scripts/check-textrel.awk: New file.
34361 * elf/Makefile ($(objpfx)check-textrel): Target removed.
34362 (check-textrel-CFLAGS): Variable removed.
34363 (all-built-dso): Use := to define.o
34364 ($(all-built-dso:=.dyn)): New static pattern rule.
34365 (generated): Add those targets.
34366 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
34367 * config.make.in (READELF): New substituted variable.
34368 * elf/check-textrel.c: File removed.
34370 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34372 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34374 * conform/data/ctype.h-data [C99-based standards] (isblank):
34376 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
34377 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
34378 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34379 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
34380 Specify type. Require positive value.
34381 (EILSEQ): Likewise.
34382 (ERANGE): Likewise.
34383 [ISO || POSIX] (EILSEQ): Do not expect.
34384 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
34385 Specify type. Require positive value.
34386 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
34387 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
34388 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
34389 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
34390 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
34391 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
34392 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
34393 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
34394 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
34395 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
34396 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
34397 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
34398 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
34399 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
34400 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
34401 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
34402 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
34403 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
34404 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
34405 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
34406 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
34407 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
34408 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
34409 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
34410 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
34411 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
34412 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
34413 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
34414 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
34415 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
34416 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
34417 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
34418 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
34419 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
34420 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
34421 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
34422 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
34423 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
34424 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
34425 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
34426 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
34427 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
34428 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
34429 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
34430 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
34431 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
34432 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
34433 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
34434 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
34435 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
34436 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
34437 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
34438 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
34439 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
34440 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
34441 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
34442 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
34443 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
34444 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
34445 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
34446 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
34447 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
34448 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
34449 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
34450 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
34451 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
34452 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
34453 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
34454 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
34455 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34456 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34457 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34458 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34459 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34460 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34461 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34462 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34464 (FLT_ROUNDS): Expect as macro, not constant.
34465 (FLT_MANT_DIG): Use macro-int-constant.
34466 (DBL_MANT_DIG): Likewise.
34467 (LDBL_MANT_DIG): Likewise.
34468 (FLT_DIG): Likewise.
34469 (DBL_DIG): Likewise.
34470 (LDBL_DIG): Likewise.
34471 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
34472 (DBL_MIN_EXP): Likewise.
34473 (LDBL_MIN_EXP): Likewise.
34474 (FLT_MAX_EXP): Use macro-int-constant.
34475 (DBL_MAX_EXP): Likewise.
34476 (LDBL_MAX_EXP): Likewise.
34477 (FLT_MAX_10_EXP): Likewise.
34478 (DBL_MAX_10_EXP): Likewise.
34479 (LDBL_MAX_10_EXP): Likewise.
34480 (FLT_MAX): Use macro-constant.
34481 (DBL_MAX): Likewise.
34482 (LDBL_MAX): Likewise.
34483 (FLT_EPSILON): Use macro-constant. Give upper bound.
34484 (DBL_EPSILON): Likewise.
34485 (LDBL_EPSILON): Likewise.
34486 (FLT_MIN): Likewise.
34487 (DBL_MIN): Likewise.
34488 (LDBL_MIN): Likewise.
34489 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34490 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34491 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34492 [ISO11] (FLT_HAS_SUBNORM): Likewise.
34493 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34494 [ISO11] (DBL_DECIMAL_DIG): Likewise.
34495 [ISO11] (FLT_DECIMAL_DIG): Likewise.
34496 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34497 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34498 [ISO11] (FLT_TRUE_MIN): Likewise.
34499 [ISO11] (LDBL_TRUE_MIN): Likewise.
34500 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34501 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34502 (SCHAR_MIN): Use macro-int-constant. Specify type.
34503 (SCHAR_MAX): Likewise.
34504 (UCHAR_MAX): Likewise.
34505 (CHAR_MIN): Likewise.
34506 (CHAR_MAX): Likewise.
34507 (MB_LEN_MAX): Use macro-int-constant.
34508 (SHRT_MIN): Use macro-int-constant. Specify type.
34509 (SHRT_MAX): Likewise.
34510 (USHRT_MAX): Likewise.
34511 (INT_MAX): Likewise.
34512 (INT_MIN): Use macro-int-constant. Specify type. Make upper
34514 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
34516 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34518 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
34519 bound negative. Suffix upper bound with "L".
34520 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34522 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34524 [C99-based standards] (LLONG_MAX): Likewise.
34525 [C99-based standards] (ULLONG_MAX): Likewise.
34526 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
34528 [ISO11] (max_align_t): Require type.
34529 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34531 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34532 from $CFLAGS, without defining away __attribute__ calls.
34533 (checknamespace): Use $CFLAGS_namespace.
34535 * conform/conformtest.pl (@keywords): Only include C99 keywords
34536 for standards based on C99 or C11.
34538 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34540 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34543 * conform/conformtest.pl: Handle "macro-int-constant" and test for
34544 usability of symbols in #if.
34546 * conform/conformtest.pl: If macro or constant types start
34547 "promoted:", expect the symbol to be of the following type
34548 promoted by the integer promotions.
34550 * conform/conformtest.pl: Parse all "constant" and "macro" lines
34551 in one place. Also handle "macro-constant".
34553 * conform/conformtest.pl: Only accept expected macro values with
34554 "==". Parse all "macro" lines in one place.
34555 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34557 * conform/conformtest.pl: Handle braced types on "constant" lines
34558 instead of handling "typed-constant".
34559 * conform/data/signal.h-data: Use "constant" instead of
34562 * conform/conformtest.pl: Handle "optional-" at start of lines in
34563 one place rather than duplicating several cases. Handle each
34564 format of "macro" line with initial "optional-".
34566 * conform/conformtest.pl: Only accept expected constant or
34567 optional-constant values with "==". Parse all "constant" lines in
34568 one place. Parse all "optional-constant" lines in one place.
34569 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34570 * conform/data/fmtmsg.h-data: Likewise.
34571 * conform/data/netinet/in.h-data: Likewise.
34572 * conform/data/tar.h-data: Likewise.
34573 * conform/data/limits.h-data: Use "==" form on "constant" and
34574 "optional-constant" lines.
34576 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34577 Use -std=c99 for XOPEN2K.
34578 (@knownproblems): Remove.
34579 (newtoken): Don't check %isknown.
34581 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34582 Do not expect macro.
34583 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34584 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34585 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34586 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34587 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34588 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34589 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34590 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34591 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34592 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34593 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34594 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34595 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34596 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34597 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34598 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34599 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34600 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34601 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34602 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34603 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34604 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34605 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34606 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34607 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34608 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34609 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34610 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34611 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34612 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34613 [XPG3] (acosh): Likewise.
34614 [XPG3] (asinh): Likewise.
34615 [XPG3] (atanh): Likewise.
34616 [XPG3] (cbrt): Likewise.
34617 [XPG3] (expm1): Likewise.
34618 [XPG3] (ilogb): Likewise.
34619 [XPG3] (log1p): Likewise.
34620 [XPG3] (logb): Likewise.
34621 [XPG3] (nextafter): Likewise.
34622 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34623 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34624 [XPG3] (remainder): Likewise.
34625 [XPG3] (rint): Likewise.
34626 [XPG3 || XPG4 || UNIX98] (round): Likewise.
34627 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34628 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34629 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34630 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34631 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34632 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
34633 [UNIX98 || XOPEN2K] (scalb): Expect.
34634 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
34635 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
34636 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
34637 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
34638 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
34639 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
34640 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
34641 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
34642 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
34643 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
34644 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
34645 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
34646 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
34647 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
34648 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
34649 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
34650 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
34651 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
34652 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
34653 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
34654 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
34655 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
34656 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
34657 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
34658 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
34659 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
34660 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
34661 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
34662 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
34663 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
34664 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
34665 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
34666 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
34667 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
34668 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
34669 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
34670 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
34671 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
34672 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
34673 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
34674 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
34675 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
34676 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
34677 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
34678 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
34679 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
34680 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
34681 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
34682 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
34683 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
34684 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
34685 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
34686 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
34687 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
34688 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
34689 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
34690 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
34691 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
34692 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
34693 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
34694 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
34695 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
34696 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
34697 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
34698 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
34699 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
34700 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
34701 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
34702 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
34703 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
34704 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
34705 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
34706 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
34707 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
34708 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
34709 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
34710 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
34711 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
34712 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
34713 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
34714 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
34715 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
34716 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
34717 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
34718 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
34719 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
34720 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
34721 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
34722 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
34723 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
34724 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
34725 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
34726 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
34727 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
34728 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
34729 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
34730 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
34731 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
34732 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
34733 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
34734 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
34735 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
34736 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
34737 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
34738 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
34739 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
34740 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
34741 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
34742 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
34743 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
34744 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
34745 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
34746 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
34747 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
34748 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
34749 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
34750 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
34751 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
34752 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
34753 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
34754 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
34755 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
34756 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
34757 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
34758 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
34759 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
34760 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
34761 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
34762 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
34763 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
34764 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
34765 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
34766 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
34767 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
34768 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
34769 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
34770 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
34772 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
34773 _XOPEN_SOURCE_EXTENDED for XPG4.
34775 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
34777 * Makeconfig (localtime): Remove variable.
34778 (inst_localtime-file): Likewise.
34780 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
34794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
34798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34801 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34805 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
34806 comparisons to determine direction to adjust input.
34807 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34808 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
34809 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34811 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34813 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34815 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34816 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34818 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34820 * math/libm-test.inc (nexttoward_test): Add more tests.
34822 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34825 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
34826 in version GLIBC_2.1, not GLIBC_2.0.
34827 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
34830 2012-04-30 Joseph Myers <joseph@codesourcery.com>
34833 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
34835 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34836 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
34837 * math/libm-test.inc (acos_test): Add more tests.
34838 (asin_test): Likewise.
34839 * sysdeps/i386/fpu/libm-test-ulps: Update.
34840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34843 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
34845 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
34846 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34847 * math/libm-test.inc (acos_test_tonearest): New function.
34848 (acos_test_towardzero): Likewise.
34849 (acos_test_downward): Likewise.
34850 (acos_test_upward): Likewise.
34851 (asin_test_tonearest): Likewise.
34852 (asin_test_towardzero): Likewise.
34853 (asin_test_downward): Likewise.
34854 (asin_test_upward): Likewise.
34855 (main): Call the new functions.
34856 * sysdeps/i386/fpu/libm-test-ulps: Update.
34857 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34861 * math/e_exp10.c: Include <float.h>.
34862 (__ieee754_exp10): Handle underflow here rather than multiplying
34863 large negative argument by M_LN10.
34864 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
34866 * math/e_exp10l.c: Include <float.h>.
34867 (__ieee754_exp10l): Handle underflow here rather than multiplying
34868 large negative argument by M_LN10l.
34869 * math/libm-test.inc (exp10_test): Add another test. Do not allow
34870 spurious overflow exception on underflow.
34872 2012-04-29 Marek Polacek <polacek@redhat.com>
34874 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
34875 (__fortify_function): New macro.
34876 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
34877 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
34878 __extern_always_inline.
34879 * libio/bits/stdio2.h: Likewise.
34880 * libio/bits/stdio.h: Likewise.
34881 * string/string.h: Likewise.
34882 * string/bits/string3.h: Likewise.
34883 * include/stdio.h: Likewise.
34884 * stdlib/bits/stdlib.h: Likewise.
34885 * stdlib/stdlib.h: Likewise.
34886 * rt/bits/mqueue2.h: Likewise.
34887 * rt/mqueue.h: Likewise.
34888 * posix/bits/unistd.h: Likewise.
34889 * posix/unistd.h: Likewise.
34890 * io/bits/poll2.h: Likewise.
34891 * io/bits/fcntl2.h: Likewise.
34892 * io/fcntl.h: Likewise.
34893 * io/sys/poll.h: Likewise.
34894 * misc/bits/syslog.h: Likewise.
34895 * misc/bits/syslog-ldbl.h: Likewise.
34896 * misc/sys/syslog.h: Likewise.
34897 * socket/bits/socket2.h: Likewise.
34898 * socket/sys/socket.h: Likewise.
34899 * debug/tst-chk1.c: Likewise.
34900 * wcsmbs/bits/wchar2.h: Likewise.
34901 * wcsmbs/bits/wchar-ldbl.h: Likewise.
34902 * wcsmbs/wchar.h: Likewise.
34904 2012-04-29 Andreas Jaeger <aj@suse.de>
34906 * Makerules (tests): Remove enable-check-abi protection.
34907 (check-abi-warn): Remove.
34908 (check-abi-%): Remove check-abi-warn usage.
34910 * configure.in: Remove check-abi configure option.
34911 * configure: Regenerated.
34912 * config.make.in (enable-check-abi): Remove.
34914 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
34917 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
34918 double functions to double *_finite functions.
34921 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
34922 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
34924 * stdio-common/Makefile (tests): Add tst-sprintf3.
34925 * stdio-common/tst-sprintf3.c: New file.
34927 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
34928 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
34930 2012-04-28 Joseph Myers <joseph@codesourcery.com>
34932 * conform/conformtest.pl: Remove duplicate typed-constant
34935 2012-04-28 David S. Miller <davem@davemloft.net>
34937 * Makerules (%.abilist): Add vpath on sysdep_dirs.
34938 (check-abi-%): Remove AWK script prerequisite and explicit
34940 (check-abi): Rewrite to just diff the symlist with the abilist.
34941 (config-tls, config-abi-config): Delete, no longer used.
34942 (update-abi-%): Remove AWK script and explicit abilist directory.
34943 (update-abi): Rewrite to simply compare and conditionally copy the
34944 symlist and the sysdep abilist file. Remove update-abi-config
34946 * abilist/ld.abilist: Remove.
34947 * abilist/libBrokenLocale.abilist: Remove.
34948 * abilist/libanl.abilist: Remove.
34949 * abilist/libcrypt.abilist: Remove.
34950 * abilist/libdl.abilist: Remove.
34951 * abilist/librt.abilist: Remove.
34952 * abilist/libthread_db.abilist: Remove.
34953 * abilist/libutil.abilist: Remove.
34954 * scripts/extract-abilist.awk: Remove.
34955 * scripts/merge-abilist.awk: Remove.
34956 * sysdeps/generic/libcidn.abilist: New file.
34957 * sysdeps/generic/libnss_compat.abilist: New file.
34958 * sysdeps/generic/libnss_db.abilist: New file.
34959 * sysdeps/generic/libnss_dns.abilist: New file.
34960 * sysdeps/generic/libnss_files.abilist: New file.
34961 * sysdeps/generic/libnss_hesiod.abilist: New file.
34962 * sysdeps/generic/libnss_nis.abilist: New file.
34963 * sysdeps/generic/libnss_nisplus.abilist: New file.
34964 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
34965 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34966 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
34968 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
34969 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34970 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34971 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34972 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34973 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34974 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34975 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34976 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34978 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34979 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34980 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34981 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34983 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34984 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34985 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
34986 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
34987 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
34988 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
34990 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
34991 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34992 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34994 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34995 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34997 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34999 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35001 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35003 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35005 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35007 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35009 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35011 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35013 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35015 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35017 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35019 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35048 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35050 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35052 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35058 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35064 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35066 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35068 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35070 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35072 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35077 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35079 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35083 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35087 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35089 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35091 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35093 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35095 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35097 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35098 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35099 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35101 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35102 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35103 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35104 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35105 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35106 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35107 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35108 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35109 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35110 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35111 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35112 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35114 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35122 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35124 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
35126 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35130 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
35132 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35134 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
35136 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
35137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
35139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35141 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
35143 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
35145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
35147 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
35149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
35151 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35153 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35155 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
35157 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35159 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
35162 2012-04-28 Joseph Myers <joseph@codesourcery.com>
35164 * conform/conformtest.pl: Fix typo in handling typed-constant from
35167 2012-04-27 Joseph Myers <joseph@codesourcery.com>
35169 * README: Cut down references to pre-2.6 Linux kernels and
35170 Linuxthreads. Update lists of configurations in libc and ports
35171 and sort alphabetically. Say "or newer" with Linux kernel version
35174 * config.h.in [IS_IN_build]: Allow compiling without optimization.
35176 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35179 * math/libm-test.inc (logb_test_downward): New test to expose
35180 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
35183 2012-04-27 Joseph Myers <joseph@codesourcery.com>
35186 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
35188 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
35189 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
35191 2012-04-26 Joseph Myers <joseph@codesourcery.com>
35193 * sysdeps/unix/i386/brk.S: Remove file.
35194 * sysdeps/unix/i386/dl-brk.S: Likewise.
35195 * sysdeps/unix/i386/pipe.S: Likewise.
35196 * sysdeps/unix/i386/sigreturn.S: Likewise.
35197 * sysdeps/unix/i386/syscall.S: Likewise.
35198 * sysdeps/unix/i386/vfork.S: Likewise.
35199 * sysdeps/unix/i386/wait.S: Likewise.
35201 * sysdeps/unix/common/tcsendbrk.c: Move to ...
35202 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
35204 * configure.in (arm*-none*): Do not allow without
35205 --enable-hacker-mode.
35206 (netbsd*): Remove case setting base_os.
35207 (386bsd*): Likewise.
35208 (freebsd*): Likewise.
35211 (sunos*): Likewise.
35212 (ultrix*): Likewise.
35213 (newsos*): Likewise.
35214 (dynix*): Likewise.
35220 (minix*): Likewise.
35221 (irix4*): Likewise.
35222 (irix6*): Likewise.
35223 (solaris[2-9]*): Likewise.
35225 * configure: Regenerated.
35227 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35230 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
35231 overflow or cancellation in calculating denominator.
35232 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
35233 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
35234 down expression to avoid unexpected rounding in newer GCCs.
35235 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
35237 2012-04-26 David S. Miller <davem@davemloft.net>
35239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
35240 long-double compat symbols.
35241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
35245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
35247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
35248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
35249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
35250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
35252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
35253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35255 2012-04-25 David S. Miller <davem@davemloft.net>
35257 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
35258 HWCAP_* values only after the memory barriers have been defined.
35259 (atomic_full_barrier): Define.
35260 (atomic_read_barrier): Define.
35261 (atomic_write_barrier): Define.
35263 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35265 * shlib-versions: Add libgcc_s version information.
35266 * sysdeps/generic/libgcc_s.h: Remove.
35267 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
35269 * sysdeps/gnu/unwind-resume.c: Likewise.
35270 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
35272 2012-04-25 David S. Miller <davem@davemloft.net>
35274 * sysdeps/unix/sparc/brk.S: Delete.
35275 * sysdeps/unix/sparc/dl-brk.S: Delete.
35276 * sysdeps/unix/sparc/pipe.S: Delete.
35277 * sysdeps/unix/sparc/sysdep.S: Delete.
35278 * sysdeps/unix/sparc/sysdep.h: Delete.
35279 * sysdeps/unix/sparc/vfork.S: Delete.
35280 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
35281 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
35282 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
35283 (ret_ERRVAL, r0, r1, MOVE): Define.
35284 (JUMPTARGET): Remove.
35285 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
35286 sysdeps/unix/sparc/sysdep.h
35287 (ENTRY, END): Remove.
35288 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35290 2012-04-25 Joseph Myers <joseph@codesourcery.com>
35292 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
35293 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
35296 * timezone/README: Update upstream location and email address for
35298 * timezone/zdump.c: Update from tzcode 2012b.
35299 * timezone/zic.c: Likewise.
35301 * configure.in (libc_cv_as_needed): Remove test.
35302 * configure: Regenerated.
35303 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
35304 conditional definition.
35305 [$(have-as-needed) != yes] (no-as-needed): Likewise.
35306 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
35307 * config.make.in (have-as-needed): Remove variable.
35309 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35310 Paul Pluzhnikov <ppluzhnikov@google.com>
35312 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
35315 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
35317 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
35318 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
35319 * sysdeps/sh/strlen.S: Likewise.
35321 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35323 * sysdeps/unix/fork.S: Remove file.
35324 * sysdeps/unix/i386/fork.S: Likewise.
35325 * sysdeps/unix/sparc/fork.S: Likewise.
35327 * sysdeps/unix/system.c: Remove file.
35328 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
35330 * sysdeps/unix/getegid.S: Remove file.
35331 * sysdeps/unix/geteuid.S: Likewise.
35333 2012-04-24 Roland McGrath <roland@hack.frob.com>
35335 * scripts/check-localplt.awk: New file.
35336 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
35338 * scripts/data/localplt-generic.data: Add a comment.
35340 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
35341 NODE when __dir_mkfile failed.
35342 * sysdeps/mach/hurd/symlinkat.c: Likewise.
35343 Reported by Ludovic Courtès <ludo@gnu.org>.
35345 2012-04-24 Andreas Jaeger <aj@suse.de>
35347 * Makerules (common-clean): Also remove gen-as-const-headers
35350 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35352 * Makerules (native-compile): Do not change working directory for
35353 build. Use $(OUTPUT_OPTION) in command.
35354 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
35356 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35359 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
35360 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
35361 * math/libm-test.inc (floor_test): Add more tests.
35362 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
35364 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35366 * sysdeps/unix/getdents.c: Remove file.
35367 * sysdeps/unix/sysv/getdents.c: Likewise.
35368 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
35370 * sysdeps/unix/syscalls.list (madvise): Add syscall from
35371 sysdeps/unix/mman/syscalls.list.
35373 (mprotect): Likewise.
35375 (munmap): Likewise.
35376 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
35377 * sysdeps/unix/mman/syscalls.list: Remove.
35378 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
35380 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
35381 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
35382 * configure: Regenerated.
35383 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
35384 $(libgcc_s_suffix).
35385 * config.make.in (libgcc_s_suffix): Remove variable.
35387 2012-04-23 Joseph Myers <joseph@codesourcery.com>
35389 * sysdeps/unix/sysv/gethostname.c: Move to ...
35390 * sysdeps/posix/gethostname.c: ... here.
35392 * sysdeps/unix/execve.S: Remove file.
35394 * sysdeps/unix/_exit.S: Remove file.
35396 2012-04-23 Andreas Jaeger <aj@suse.de>
35399 * manual/Makefile: Remove make dist support, there's no
35400 need for a stand-alone documentation tar ball.
35401 (TEXI2DVI): Define always, it's not in Makeconfig.
35404 (edition): Removed.
35405 (glibc-doc-$(edition).tar): Removed
35409 (ETAGS): Remove, it's in Makeconfig.
35410 (move-if-change): Remove, it's in Makeconfig.
35412 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
35415 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
35416 (strtod, strtof, strtold, strtol, strtoul, strtoq)
35417 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
35418 (strtod_l, strtof_l, strtold_l): Remove __wur.
35419 It is not necessarily an error to ignore strtol's return value.
35420 One can reliably look at the stored endptr to decide whether
35421 the number had valid syntax.
35423 2012-04-21 Andreas Jaeger <aj@suse.de>
35426 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
35428 2012-04-21 Joseph Myers <joseph@codesourcery.com>
35430 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
35431 * sysdeps/unix/sysv/Versions: Remove file.
35433 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
35436 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35438 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
35441 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
35442 version from __vm86.
35444 2012-04-20 Joseph Myers <joseph@codesourcery.com>
35446 * sysdeps/unix/common/lxstat.c: Remove file.
35447 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
35449 * sysdeps/unix/sysv/Makefile: Remove file.
35451 * sysdeps/unix/sysv/direct.h: Remove file.
35453 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
35454 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
35455 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35456 * sysdeps/unix/sysv/bits/signum.h: Likewise.
35457 * sysdeps/unix/sysv/bits/stat.h: Likewise.
35458 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35459 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35461 * sysdeps/unix/sysv/setrlimit.c: Remove file.
35463 * sysdeps/unix/xmknod.c: Remove file.
35464 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35466 * sysdeps/unix/sysv/settimeofday.c: Remove file.
35468 * sysdeps/unix/sysv/i386/time.S: Remove file.
35470 * sysdeps/unix/fxstat.c: Remove file.
35471 * sysdeps/unix/xstat.c: Likewise.
35472 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35474 * sysdeps/unix/sysv/sigaction.c: Remove file.
35476 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35477 (sysdep_headers): Remove variable.
35478 [termio.h not in sysdep_headers] (generated): Likewise.
35479 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35480 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35481 * sysdeps/unix/sysv/tcdrain.c: Likewise.
35482 * sysdeps/unix/sysv/tcflow.c: Likewise.
35483 * sysdeps/unix/sysv/tcflush.c: Likewise.
35484 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35485 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35486 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35487 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35488 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35490 * sysdeps/unix/siglist.c: Remove file.
35492 * sysdeps/unix/getppid.S: Remove file.
35494 * sysdeps/unix/mkdir.c: Remove file.
35495 * sysdeps/unix/rmdir.c: Likewise.
35497 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
35499 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35501 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35502 errlist-compat value.
35504 2012-04-18 David S. Miller <davem@davemloft.net>
35506 * sysdeps/generic/memcopy.h (reg_char): Delete.
35507 * debug/strcat_chk.c: Use char, not reg_char.
35508 * debug/strcpy_chk.c: Likewise.
35509 * debug/strncat_chk.c: Likewise.
35510 * debug/strncpy_chk.c: Likewise.
35511 * string/memchr.c: Likewise.
35512 * string/memrchr.c: Likewise.
35513 * string/rawmemchr.c: Likewise.
35514 * string/strcat.c: Likewise.
35515 * string/strchr.c: Likewise.
35516 * string/strchrnul.c: Likewise.
35517 * string/strcmp.c: Likewise.
35518 * string/strcpy.c: Likewise.
35519 * string/strncat.c: Likewise.
35520 * string/strncmp.c: Likewise.
35521 * string/strncpy.c: Likewise.
35523 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35525 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35526 __builtin_memcopy is called when src and dest ranges are known to not
35529 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35531 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35532 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35533 fwd_align_merge macro call.
35534 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35535 bwd_align_merge macro call.
35536 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35538 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35540 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35541 bwd_align_merge macros.
35542 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35543 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35544 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35546 2012-04-18 David S. Miller <davem@davemloft.net>
35548 * sysdeps/sparc/sparc64/memcopy.h: Delete.
35550 2012-04-18 Andreas Jaeger <aj@suse.de>
35553 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35554 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35555 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35557 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35558 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35559 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35561 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35562 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35563 Adjust for changed ldbl-128 files.
35565 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35566 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35567 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35569 2012-04-17 David S. Miller <davem@davemloft.net>
35571 * sysdeps/sparc/sparc32/memcopy.h: Delete.
35573 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
35575 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35576 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35577 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35578 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35579 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35580 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35582 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35585 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35586 * math/libm-test.inc: Add ilogb errno and exception tests.
35587 * math/w_ilogb.c: New file: ilogb wrapper.
35588 * math/w_ilogbf.c: New file: ilogbf wrapper.
35589 * math/w_ilogbl.c: New file: ilogbl wrapper.
35590 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35591 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35592 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35593 exception being thrown with 0.0 as argument.
35594 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35595 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35596 exception being thrown with 0.0 as argument.
35597 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35598 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35599 exception being thrown with 0.0 as argument.
35600 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35601 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35602 exception being thrown with 0.0 as argument.
35603 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35604 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
35605 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
35606 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35607 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35608 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35609 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35610 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35611 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35613 2012-04-17 Petr Baudis <pasky@ucw.cz>
35615 * include/sys/uio.h: Change __vector to __iovec to avoid clash
35618 2012-04-16 Marek Polacek <polacek@redhat.com>
35620 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35622 2012-04-16 Marek Polacek <polacek@redhat.com>
35624 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35625 operands of fdivp instruction.
35627 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35629 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35630 * elf/tst-auditmod3b.c: Likewise.
35631 * elf/tst-auditmod4b.c: Likewise.
35632 * elf/tst-auditmod5b.c: Likewise.
35633 * elf/tst-auditmod6b.c: Likewise.
35634 * elf/tst-auditmod6c.c: Likewise.
35635 * elf/tst-auditmod7b.c: Likewise.
35636 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
35637 * sysdeps/x86_64/preconfigure.in: Likewise.
35638 * sysdeps/x86_64/preconfigure: Regenerated.
35640 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35642 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
35645 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
35647 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35648 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
35650 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
35653 * locale/iso-639.def: Fix gl language name. Spotted by
35656 2012-04-12 Roland McGrath <roland@hack.frob.com>
35659 * libio/libio.h (__io_write_fn): Update comment.
35661 2012-04-12 Petr Baudis <pasky@ucw.cz>
35664 * stdio.texi (Hook Functions): The user provided writer function
35665 is not allowed to return -1.
35667 2012-04-11 David S. Miller <davem@davemloft.net>
35669 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35671 2012-04-11 Mike Frysinger <vapier@gentoo.org>
35673 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
35674 Add a leading slash to rtkaio.
35676 2012-04-11 Jim Meyering <meyering@redhat.com>
35679 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
35680 It is not necessarily an error to ignore fwrite's return
35681 value. One can reliably use ferror to test for errors after
35684 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35686 * bits/types.h (__snseconds_t): New type.
35687 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
35689 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35690 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35691 (__SNSECONDS_T_TYPE): Likewise.
35692 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35693 (__SNSECONDS_T_TYPE): Likewise.
35694 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35695 (__SNSECONDS_T_TYPE): Likewise.
35697 2012-04-10 Andreas Jaeger <aj@suse.de>
35700 * manual/time.texi (Processor Time): Return type of times is
35701 elapsed real time since an arbitrary point in the past.
35702 (CPU Time): Move CLK_TCK from here...
35703 (Processor Time): ...to here. Correct description.
35704 * manual/conf.texi (Constants for Sysconf): Correct description of
35707 2012-04-10 David S. Miller <davem@davemloft.net>
35710 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
35711 where the is a gap between DT_REL(A) and DT_JMPREL.
35713 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35715 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
35716 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35717 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35719 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35721 * elf/dl-support.c (_dl_inhibit_cache): New variable.
35722 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
35723 (dl_main): Handle --inhibit-cache.
35724 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
35726 * elf/dl-load.c (_dl_map_object): Use it.
35727 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
35729 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35732 * sysdeps/i386/fpu/e_powl.S (p78): New object.
35733 (__ieee754_powl): Saturate large exponents rather than testing for
35734 overflow of y*log2(x).
35735 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35736 * math/libm-test.inc (pow_test): Do not permit spurious overflow
35740 * math/s_ctan.c: Include <float.h>.
35741 (__ctan): Avoid internal overflow or cancellation in calculating
35743 * math/s_ctanf.c: Likewise.
35744 * math/s_ctanl.c: Likewise.
35745 * math/s_ctanh.c: Likewise.
35746 * math/s_ctanhf.c: Likewise.
35747 * math/s_ctanhl.c: Likewise.
35748 * math/libm-test.inc (ctan_test): Add more tests.
35749 (ctanh_test): Likewise.
35750 * sysdeps/i386/fpu/libm-test-ulps: Update.
35751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35753 2012-04-09 Andreas Jaeger <aj@suse.de>
35756 * manual/filesys.texi (Directory Entries): Mention that d_namlen
35757 is an optional BSD extension.
35760 * manual/stdio.texi (Opening Streams): Document additional fopen
35763 2012-04-09 Roland McGrath <roland@hack.frob.com>
35765 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
35766 %eax without telling the compiler.
35768 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
35771 * manual/install.texi: Use sourceware.org.
35773 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35776 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
35777 (__ieee754_pow): Generate overflow and underflow using huge*huge
35778 and tiny*tiny rather than just returning constant infinity or zero
35779 for large exponents.
35780 * math/libm-test.inc (pow_test): Require overflow exceptions for
35781 applicable cases of large exponents.
35784 * sysdeps/i386/fpu/e_pow.S (p10): New object.
35785 (__ieee754_pow): Use iterative multiplication algorithm only for
35786 integer exponents with absolute value below 1024. Check for odd
35787 integer exponents when using algorithm for real exponents.
35788 * math/libm-test.inc (pow_test): Add more tests.
35789 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35791 2012-04-08 Joseph Myers <joseph@codesourcery.com>
35794 * math/libm-test.inc (exp_test): Do not allow overflow exception
35797 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
35800 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
35801 instead of __kernel_standard_f.
35803 2012-04-08 Mike Frysinger <vapier@gentoo.org>
35805 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
35806 * sysdeps/x86_64/memset_chk.S: Likewise.
35808 2012-04-08 Andreas Jaeger <aj@suse.de>
35811 * manual/startup.texi (Environment Access): Describe return value
35812 for putenv and setenv.
35815 * manual/filesys.texi (Directory Entries): Add description for
35819 * manual/filesys.texi (Directory Entries): Clarify that it's file
35820 system not operating system in the description of DT_UNKNOWN.
35823 * manual/syslog.texi (closelog): Fix reference, it's openlog.
35825 2012-04-08 Stephen Compall <s11@member.fsf.org>
35828 * manual/llio.texi (Opening and Closing Files): Add cross
35829 reference to explain mode argument.
35831 2012-04-07 Mike Frysinger <vapier@gentoo.org>
35833 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
35834 * sysdeps/x86_64/memset_chk.S: Likewise.
35836 2012-04-07 David S. Miller <davem@davemloft.net>
35838 * elf/elf.h (R_SPARC_WDISP10): Define.
35839 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
35841 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
35842 R_SPARC_SIZE64 and R_SPARC_H34.
35844 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
35846 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
35847 conditions and remove no longer applicable assertion.
35849 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35851 * bits/byteswap.h: Include <features.h>.
35852 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35853 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35855 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35857 * bits/byteswap.h (__bswap_16): Removed.
35858 Include <bits/byteswap-16.h> to get __bswap_16.
35859 * sysdeps/i386/bits/byteswap.h: Likewise.
35860 * sysdeps/s390/bits/byteswap.h: Likewise.
35861 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35862 * bits/byteswap-16.h: New file.
35863 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35864 * sysdeps/s390/bits/byteswap-16.h: Likewise.
35865 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
35866 * string/Makefile (headers): Add bits/byteswap-16.h.
35868 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35871 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
35873 * nss/Makefile (tests-static, tests): Add tst-nss-static.
35874 * nss/tst-nss-static.c: New.
35876 2012-04-06 Robert Millan <rmh@gnu.org>
35879 * manual/llio.texi (File Position Primitive): lseek
35880 refers to WHENCE when it really means OFFSET.
35882 2012-04-06 Andreas Jaeger <aj@suse.de>
35884 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
35885 strncmp declarations.
35887 * abilist/libc.abilist: Add __poll and __ppoll.
35889 2012-04-05 David S. Miller <davem@davemloft.net>
35891 * scripts/check-local-headers.sh: Accept a host triplet in the
35892 path matched by the exclude regexp.
35894 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
35896 * sysdeps/powerpc/powerpc32/dl-machine.h
35897 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
35898 * sysdeps/s390/s390-32/dl-machine.h
35899 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35900 * sysdeps/sparc/sparc32/dl-machine.h
35901 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35902 * sysdeps/sparc/sparc64/dl-machine.h
35903 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35905 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
35907 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
35908 undefined symbol errors.
35910 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
35913 2012-04-05 Michael Matz <matz@suse.de>
35916 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
35918 2012-04-05 Andreas Jaeger <aj@suse.de>
35921 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
35924 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35926 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
35927 which ROUND is no valid rounding mode.
35929 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35931 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
35933 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
35935 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35937 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
35938 an exception using FPU order intentionally.
35940 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35942 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
35943 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
35944 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
35945 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
35947 2012-04-05 Simon Josefsson <simon@josefsson.org>
35950 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
35951 EINVAL when BUFLEN is too smal.
35953 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
35956 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
35957 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35959 2012-04-03 Andreas Jaeger <aj@suse.de>
35962 * manual/setjmp.texi (System V contexts): Fix sentence.
35965 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35966 New macro for this case.
35967 [!__GNUC__] (__bswap_64): New inline function for this case.
35968 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35969 * bits/byteswap.h: Likewise.
35970 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35971 ull, guard with __GLIBC_HAVE_LONG_LONG.
35973 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35974 __GLIBC_HAVE_LONG_LONG.
35976 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35977 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35979 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35982 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35983 inptr and inend, rather than using last_ch.
35985 2012-04-02 David S. Miller <davem@davemloft.net>
35987 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
35988 * stdio-common/printf-parse.h (read_int): Change return type to
35989 'int', return -1 on INT_MAX overflow.
35990 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
35991 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
35992 overflows INT_MAX. Check for overflow of in-format-string precision
35993 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
35994 SIZE_MAX not INT_MAX for integer overflow test.
35995 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35996 skip the construct in the format string but do not record anything.
35997 * stdio-common/bug22.c: Adjust to test both width/prevision
35998 INT_MAX overflow as well as total length INT_MAX overflow. Check
35999 explicitly for proper errno values.
36001 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
36003 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36005 * string/test-strcmp.c [! WIDE]: Likewise.
36006 * time/tst-mktime2.c: Likewise for INT_MAX.
36007 * string/test-string.h: #include <sys/param.h> for MIN.
36009 * csu/init-first.c (__libc_init_first): Call __ctype_init.
36010 * sysdeps/i386/init-first.c (init): Likewise.
36011 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36012 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36013 * sysdeps/sh/init-first.c (init): Likewise.
36015 2012-04-01 Ulrich Drepper <drepper@gmail.com>
36017 * po/ru.po: Update from translation team.
36018 * po/vi.po: Likewise.
36020 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36022 * resolv/nss_dns/dns-host.c: Merge copyright years.
36024 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36026 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36027 Optimize memcpy with prefetch if
36028 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
36029 src, dst pointers have unequal 16 byte alignments.
36031 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36034 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36035 from a CNAME entry and return the minimum ttl for the query.
36036 (gaih_getanswer_slice): Likewise.
36038 2012-03-30 Jeff Law <law@redhat.com>
36040 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36042 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36043 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36045 * resolv/nss_dns/dns-host.c: Update copyright year.
36047 2012-03-30 Ulrich Drepper <drepper@gmail.com>
36049 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
36050 requests to save a system call. Fix check that all bytes are sent.
36052 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36053 comments for sendmmsg.
36055 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36058 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36059 with only 1 character between 0x0041 and 0x01b0.
36060 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36061 * wcsmbs/tst-mbsnrtowcs.c: New file.
36063 2012-03-29 David S. Miller <davem@davemloft.net>
36065 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36066 small copies by hand.
36068 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36071 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36072 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36075 2012-03-28 David S. Miller <davem@davemloft.net>
36077 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36078 that branches into memcpy.
36079 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36080 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36081 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36082 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36083 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36085 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36086 implementation too.
36087 * sysdeps/sparc/mempcpy.S: New file.
36089 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36090 the IFUNC routine in the libc case.
36091 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36093 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36094 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36095 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36096 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36097 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36098 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36099 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36100 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36102 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36103 loop to 256 bytes instead of 64 bytes and fix test signedness.
36105 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36106 * sysdeps/sparc/sparc32/Makefile: rather than here...
36107 * sysdeps/sparc/sparc64/Makefile: and here.
36109 2012-03-28 Ulrich Drepper <drepper@gmail.com>
36111 * malloc/mallocbug.c: Avoid warnings about unused variables.
36113 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36116 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36117 in the right place. Discard and retry query if response is
36118 larger than input buffer size.
36120 2012-03-28 Joseph Myers <joseph@codesourcery.com>
36125 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36126 x for large integer exponent.
36127 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36128 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
36129 sign of result as needed afterwards.
36130 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36131 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
36132 result for underflowing pow the same as for overflow.
36133 (__kernel_standard_l): Handle powl overflow and underflow here
36134 rather than calling __kernel_standard.
36135 * math/libm-test.inc (pow_test): Add more tests.
36150 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
36151 * sysdeps/ieee754/k_standard.c: Include <float.h>.
36152 (__kernel_standard_l): New function.
36153 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
36155 * math/w_acosl.c (__acosl): Likewise.
36156 * math/w_asinl.c (__asinl): Likewise.
36157 * math/w_atan2l.c (__atan2l): Likewise.
36158 * math/w_atanhl.c (__atanhl): Likewise.
36159 * math/w_coshl.c (__coshl): Likewise.
36160 * math/w_exp10l.c (__exp10l): Likewise.
36161 * math/w_exp2l.c (__exp2l): Likewise.
36162 * math/w_fmodl.c (__fmodl): Likewise.
36163 * math/w_hypotl.c (__hypotl): Likewise.
36164 * math/w_j0l.c (__j0l, __y0l): Likewise.
36165 * math/w_j1l.c (__j1l, __y1l): Likewise.
36166 * math/w_jnl.c (__jnl, __ynl): Likewise.
36167 * math/w_lgammal.c (__lgammal): Likewise.
36168 * math/w_log10l.c (__log10l): Likewise.
36169 * math/w_log2l.c (__log2l): Likewise.
36170 * math/w_logl.c (__logl): Likewise.
36171 * math/w_powl.c (__powl): Likewise.
36172 * math/w_remainderl.c (__remainderl): Likewise.
36173 * math/w_scalbl.c (sysv_scalbl): Likewise.
36174 * math/w_sinhl.c (__sinhl): Likewise.
36175 * math/w_sqrtl.c (__sqrtl): Likewise.
36176 * math/w_tgammal.c (__tgammal): Likewise.
36177 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
36178 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
36179 * math/libm-test.inc (acos_test): Add more tests.
36180 (acosh_test): Likewise.
36181 (asin_test): Likewise.
36182 (atanh_test): Likewise.
36183 (exp_test): Likewise.
36184 (exp10_test): Likewise.
36185 (exp2_test): Likewise.
36186 (expm1_test): Likewise.
36187 (lgamma_test): Likewise.
36188 (log_test): Likewise.
36189 (log10_test): Likewise.
36190 (log1p_test): Likewise.
36191 (log2_test): Likewise.
36192 (pow_test): Do not allow some spurious overflow exceptions.
36193 (sqrt_test): Add more tests.
36194 (tgamma_test): Likewise.
36195 (y0_test): Likewise.
36196 (y1_test): Likewise.
36197 (yn_test): Likewise.
36199 2012-03-27 Anton Blanchard <anton@samba.org>
36201 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
36203 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36204 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36205 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36207 2012-03-27 David S. Miller <davem@davemloft.net>
36209 * conform/Makefile: Run run-conformtest.sh using $(BASH).
36211 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
36212 have-as-vis3 check.
36214 2012-03-27 Andreas Jaeger <aj@suse.de>
36216 * sysdeps/x86_64/elf/configure.in: Moved to ...
36217 * sysdeps/x86_64/configure.in: ... here.
36218 * sysdeps/x86_64/elf/start.S: Moved to ...
36219 * sysdeps/x86_64/start.S: ... here.
36220 * sysdeps/x86_64/elf/configure: Delete.
36222 * sysdeps/x86_64/configure.in: Merge contents from
36223 sysdeps/i386/configure.in (without i686 check).
36225 * sysdeps/i386/elf/Versions: Merge into ...
36226 * sysdeps/i386/Versions: ... this.
36227 * sysdeps/i386/elf/Versions: Delete file.
36228 * sysdeps/i386/elf/start.S: Moved to ...
36229 * sysdeps/i386/start.S: ...here.
36230 * sysdeps/i386/elf/configure.in: Merge into...
36231 * sysdeps/i386/configure.in: ...here.
36232 * sysdeps/i386/elf/configure.in: Delete file.
36233 * sysdeps/i386/elf/configure: Delete file.
36235 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
36236 * debug/backtracesyms.c: ... here.
36237 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
36238 * debug/backtracesymsfd.c: ... here.
36239 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
36240 * sysdeps/generic/ifunc-sel.h: ... here.
36242 * sysdeps/unix/i386/start.c: Delete file.
36243 * sysdeps/unix/sparc/start.c: Delete file.
36244 * sysdeps/unix/start.c: Delete file.
36246 * sysdeps/sh/elf/configure.in: Moved to ...
36247 * sysdeps/sh/configure.in: ... here.
36248 * sysdeps/sh/elf/start.S: Moved to ...
36249 * sysdeps/sh/start.S: ... here.
36250 * sysdeps/sh/elf/configure: Delete file.
36252 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
36253 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
36254 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
36255 * sysdeps/powerpc/powerpc64/entry.h: ... here.
36256 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
36257 * sysdeps/powerpc/powerpc64/start.S: here.
36258 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
36259 * sysdeps/powerpc/powerpc64/Makefile: ... this.
36260 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
36261 * sysdeps/powerpc/powerpc64/configure.in: ... this.
36262 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
36264 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
36265 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
36266 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
36267 * sysdeps/powerpc/powerpc32/start.S: ... here.
36268 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
36269 * sysdeps/powerpc/powerpc32/configure.in: ... this.
36270 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
36272 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
36273 * sysdeps/powerpc/ifunc-sel.h: ... here.
36274 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
36275 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
36277 * sysdeps/sparc/elf/configure.in: Moved to ...
36278 * sysdeps/sparc/configure.in: ... here.
36279 * sysdeps/sparc/elf/configure: Delete file.
36280 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
36281 * sysdeps/sparc/sparc32/start.S: ... here.
36282 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
36283 * sysdeps/sparc/sparc64/start.S: ... here.
36284 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
36285 * sysdeps/sparc/sparc32/Makefile: ... this.
36286 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
36287 * sysdeps/sparc/sparc64/Makefile: ... this.
36289 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
36290 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
36291 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
36292 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
36293 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
36294 * sysdeps/s390/s390-32/setjmp.S: ... here.
36295 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
36296 * sysdeps/s390/s390-32/configure.in: ... here.
36297 * sysdeps/s390/s390-32/elf/configure: Delete file.
36298 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
36299 * sysdeps/s390/s390-32/start.S: ... here.
36301 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
36302 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
36303 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
36304 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
36305 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
36306 * sysdeps/s390/s390-64/setjmp.S: ... here.
36307 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
36308 * sysdeps/s390/s390-64/configure.in: ... here
36309 * sysdeps/s390/s390-64/elf/configure: Delete file.
36310 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
36311 * sysdeps/s390/s390-64/start.S: ... here.
36312 * sysdeps/s390/s390-64/elf/configure: Delete.
36314 * configure.in: Remove support for elf directories in sysdeps.
36316 * configure: Regenerated.
36317 * sysdeps/i386/configure: Regenerated.
36318 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36319 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36320 * sysdeps/s390/s390-32/configure: Regenerated.
36321 * sysdeps/s390/s390-64/configure: Regenerated.
36322 * sysdeps/sh/configure: Regenerated.
36323 * sysdeps/sparc/configure: Regenerated.
36324 * sysdeps/x86_64/configure: Regenerated.
36326 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
36328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36330 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
36331 denormal result into account.
36333 2012-03-25 Roland McGrath <roland@hack.frob.com>
36335 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
36336 Reported by Allan McRae <allan@archlinux.org>.
36338 2012-03-23 Jeff Law <law@redhat.com>
36340 * nss/getnssent.c (__nss_getent): Fix typo.
36342 2012-03-23 David S. Miller <davem@davemloft.net>
36344 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36346 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
36348 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
36349 to pad to uint64_t for each field.
36350 (dl_tls_index): Replace unsigned long with uint64_t.
36352 2012-03-23 Daniel Jacobowitz <dmj@google.com>
36353 Paul Pluzhnikov <ppluzhnikov@google.com>
36356 * grp/Makefile (otherlibs): Don't set it.
36357 * inet/Makefile (otherlibs): Likewise.
36358 * login/Makefile (otherlibs): Likewise.
36359 * nscd/Makefile (otherlibs): Likewise.
36360 * posix/Makefile (otherlibs): Likewise.
36361 * pwd/Makefile (otherlibs): Likewise.
36362 * rt/Makefile (otherlibs): Likewise.
36363 * sunrpc/Makefile (otherlibs): Likewise.
36364 * nss/Makefile (otherlibs): Likewise.
36365 Add libnss_files to routines and static-only-routines.
36366 ($(objpfx)getent): Remove rule.
36367 * resolv/Makefile: Add libnss_dns and libresolv to routines and
36368 static-only-routines.
36370 2012-03-22 Joseph Myers <joseph@codesourcery.com>
36373 * math/s_cexp.c: Include <float.h>.
36374 (__cexp): Handle exp result overflowing not necessarily
36375 overflowing both real and imaginary parts of result.
36376 * math/s_cexpf.c: Likewise.
36377 * math/s_cexpl.c: Likewise.
36378 * math/libm-test.inc (cexp_test): Add more tests.
36379 * sysdeps/i386/fpu/libm-test-ulps: Update.
36380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36382 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36384 * include/link.h (ELFW): New macro.
36385 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
36386 Replace ELF64_R_TYPE with ELFW(R_TYPE).
36388 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36390 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
36393 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36395 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
36397 (struct La_x32_retval): Likewise.
36399 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36401 * sysdeps/x86_64/preconfigure.in: New file.
36402 * sysdeps/x86_64/preconfigure: New generated file.
36404 2012-03-22 Joseph Myers <joseph@codesourcery.com>
36407 * math/e_exp2l.c: Include <float.h>.
36408 (__ieee754_exp2l): Handle overflow and underflow cases
36409 separately. Only pass fractional part of argument to
36411 * math/libm-test.inc (exp2_test): Add more tests.
36413 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
36414 negating x to take absolute value.
36415 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36417 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36418 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
36420 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
36421 computing low part if x was negated.
36422 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36424 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36426 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
36427 la_x32_gnu_pltexit.
36428 (pltexit): Cast int_retval to ptrdiff_t.
36429 * elf/tst-auditmod3b.c: Likewise.
36430 * elf/tst-auditmod4b.c: Likewise.
36431 * elf/tst-auditmod5b.c: Likewise.
36432 * elf/tst-auditmod6b.c: Likewise.
36433 * elf/tst-auditmod6c.c: Likewise.
36434 * elf/tst-auditmod7b.c: Likewise.
36436 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
36437 and x32_gnu_pltexit.
36439 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
36440 __ELF_NATIVE_CLASS.
36441 (La_x32_regs): New macro.
36442 (La_x32_retval): Likewise.
36443 (la_x32_gnu_pltenter): New function prototype.
36444 (la_x32_gnu_pltexit): Likewise.
36446 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
36448 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
36451 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36453 * configure.in (libc_cv_cc_nofma): Check for option to disable
36454 generation of FMA instructions.
36455 * configure: Regenerate.
36456 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36457 * sysdeps/ieee754/dbl-64/Makefile: New file.
36458 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36459 Remove brandred-fma4.
36460 (CFLAGS-brandred-fma4.c): Remove.
36461 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36462 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36464 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36467 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36469 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36470 LLONG_MAX != LONG_MAX.
36471 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36472 (_fitoa_word): Likewise.
36473 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36474 LLONG_MAX != LONG_MAX.
36475 * stdio-common/_itowa.h: Include <_itoa.h>.
36476 (_itowa_word): Use _ITOA_WORD_TYPE on value.
36477 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
36478 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
36479 only if not defined.
36480 (_ITOA_WORD_TYPE): Likewise.
36481 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36482 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36484 2012-03-21 David S. Miller <davem@davemloft.net>
36486 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36488 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36490 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36491 of x86_64 when setting libc_cv_slibdir, libdir and
36493 * sysdeps/unix/sysv/linux/configure: Regenerated.
36495 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36497 * manual/lang.texi (Old Varargs): Remove section.
36498 (How Variadic): Update menu.
36499 (va_start): Do not mention varargs.h.
36501 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36502 Joseph Myers <joseph@codesourcery.com>
36504 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36506 * configure: Regenerated.
36508 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36510 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36511 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36514 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36517 * Makefile (files-for-dist): Remove NOTES.
36518 (NOTES): Remove rule.
36519 * README: Don't refer to NOTES.
36520 * manual/creature.texi: Don't include macros.texi.
36521 * manual/intro.texi (creature.texi): Remove comment referring to
36524 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36525 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36526 * configure: Regenerated.
36527 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36528 LIBC_TRY_CC_OPTION.
36529 (libc_cv_as_i686): Likewise.
36530 (libc_cv_cc_avx): Likewise.
36531 (libc_cv_cc_sse2avx): Likewise.
36532 (libc_cv_cc_fma4): Likewise.
36533 (libc_cv_cc_novzeroupper): Likewise.
36534 * sysdeps/i386/configure: Regenerated.
36537 * sysdeps/i386/fpu/s_cexp.S: Remove.
36538 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36539 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36540 * math/libm-test.inc (cexp_test): Add more tests.
36541 * sysdeps/i386/fpu/libm-test-ulps: Update.
36542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36544 2012-03-21 Allan McRae <allan@archlinux.org>
36546 * timezone/Makefile: Do not install iso3166.tab and zone.tab
36548 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36551 * math/w_exp2.c: Do not include <float.h>.
36552 (o_threshold, u_threshold): Remove.
36553 (__exp2): Calculate result before checking finiteness and calling
36555 * math/w_exp2f.c: Likewise.
36556 * math/w_exp2l.c: Likewise.
36557 * math/libm-test.inc (exp2_test): Require overflow exception for
36561 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36562 range of signed 64-bit integers before using fistpll. Remove
36563 checks for whether integers fit in mantissa bits.
36564 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36565 the range of signed 32-bit integers before using fistpl. Remove
36566 checks for whether integers fit in mantissa bits.
36567 * sysdeps/i386/fpu/e_powl.S (p64): New object.
36568 (__ieee754_powl): Test for y outside the range of signed 64-bit
36569 integers before using fistpll. Reduce 64-bit values to 63-bit
36571 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36572 divide-by-zero is raised for zero to large negative powers.
36573 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36574 (__ieee754_powl): Test for y outside the range of signed 64-bit
36575 integers before using fistpll. Reduce 64-bit values to 63-bit
36577 * math/libm-test.inc (pow_test): Add more tests.
36579 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36581 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36582 <stdio-common/_itoa.h>.
36583 * debug/segfault.c: Likewise.
36584 * elf/dl-cache.c: Likewise.
36585 * elf/dl-minimal.c: Likewise.
36586 * elf/dl-misc.c: Likewise.
36587 * elf/dl-sysdep.c: Likewise.
36588 * elf/dl-version.c: Likewise.
36589 * elf/rtld.c: Likewise.
36590 * hurd/hurdsock.c: Likewise.
36591 * hurd/lookup-retry.c: Likewise.
36592 * malloc/malloc.c: Likewise.
36593 * malloc/mtrace.c: Likewise.
36594 * nscd/nscd_getgr_r.c: Likewise.
36595 * nscd/nscd_getpw_r.c: Likewise.
36596 * nscd/nscd_getserv_r.c: Likewise.
36597 * posix/getopt_init.c: Likewise.
36598 * posix/wordexp.c: Likewise.
36599 * stdio-common/_itoa.c: Likewise.
36600 * stdio-common/printf_fphex.c: Likewise.
36601 * stdio-common/vfprintf.c: Likewise.
36602 * string/_strerror.c: Likewise.
36603 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36604 * sysdeps/i386/i686/hp-timing.h: Likewise.
36605 * sysdeps/mach/_strerror.c: Likewise.
36606 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36607 * sysdeps/mach/hurd/sethostid.c: Likewise.
36608 * sysdeps/mach/hurd/xmknodat.c: Likewise.
36609 * sysdeps/mach/xpg-strerror.c: Likewise.
36610 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36611 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36612 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36613 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36614 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36615 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36616 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36617 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36618 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36619 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36620 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36621 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36622 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36623 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36624 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36625 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36626 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36627 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36628 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36629 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36630 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36632 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
36634 * stdio-common/_itoa.h: Moved to ...
36635 * sysdeps/generic/_itoa.h: Here.
36637 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
36639 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
36640 instead of "_itoa.h" and "_itowa.h".
36641 * stdio-common/vfprintf.: Likewise.
36643 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36645 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
36647 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
36648 (__signbit): Likwise.
36649 (llrintf): Likwise.
36652 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36654 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
36657 2012-03-20 Joseph Myers <joseph@codesourcery.com>
36659 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
36660 OVERFLOW_EXCEPTION_OK.
36661 * math/libm-test.inc ("Philosophy"): Update comment about
36663 (OVERFLOW_EXCEPTION): Define.
36664 (OVERFLOW_EXCEPTION_OK): Likewise.
36665 (INVALID_EXCEPTION_OK): Renumber.
36666 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36667 (IGNORE_ZERO_INF_SIGN): Likewise.
36668 (test_exceptions): Handle FE_OVERFLOW.
36669 (exp10_test): Expect overflow exceptions.
36670 (exp2_test): Likewise.
36671 (expm1_test): Likewise.
36672 (nextafter_test): Likewise.
36673 (pow_test): Likewise.
36674 (scalbn_test): Likewise.
36675 (scalbln_test): Likewise.
36677 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36679 * sysdeps/x86_64/bits/atomic.h
36680 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
36682 (atomic_exchange_acq): Likewise.
36683 (__arch_exchange_and_add_body): Likewise.
36684 (__arch_add_body): Likewise.
36685 (atomic_add_negative): Likewise.
36686 (atomic_add_zero): Likewise.
36688 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36690 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
36691 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
36693 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36695 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
36696 Check __x86_64__ instead of __WORDSIZE.
36698 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36700 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
36702 2012-03-19 David S. Miller <davem@davemloft.net>
36704 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36706 * sysdeps/sparc/fpu/fenv_private.h: New file.
36707 * sysdeps/sparc/fpu/math_private.h: Use it.
36708 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
36710 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
36711 (libc_feholdexcept_setroundl): Remove.
36712 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
36714 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
36715 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
36717 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36719 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
36720 int64_t instead of long int.
36721 (INSERT_WORDS64): Likwise.
36723 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36725 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
36726 _Unwind_GetCFA return to _Unwind_Ptr first.
36728 2012-03-19 Joseph Myers <joseph@codesourcery.com>
36731 * math/s_clog.c: Include <float.h>.
36732 (__clog): Scale large or subnormal inputs.
36733 * math/s_clogf.c: Likewise.
36734 * math/s_clogl.c: Likewise.
36735 * math/s_clog10.c: Include <float.h>.
36736 (M_LOG10_2): Define.
36737 (__clog10): Scale large or subnormal inputs.
36738 * math/s_clog10f.c: Likewise.
36739 * math/s_clog10l.c: Likewise.
36740 * math/libm-test.inc (clog_test): Add more tests.
36741 (clog10_test): Likewise.
36742 * sysdeps/i386/fpu/libm-test-ulps: Update.
36743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36746 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
36748 * math/libm-test.inc (atan2_test): Add another test.
36750 * Makerules (common-objdir-compile): Remove.
36751 * sysdeps/unix/Makefile (config-generated): Do not add
36752 $(unix-generated) to variable.
36753 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
36754 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
36756 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
36758 [generic bits/local_lim.h] (before-compile): Do not append to
36760 [generic bits/local_lim.h] (common-generated): Likewise.
36761 [generic sys/param.h] (before-compile): Do not append to variable.
36762 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
36763 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
36764 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
36765 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
36767 [generic sys/param.h] (sys/param.h-includes): Remove variable.
36768 [generic sys/param.h] (sys/param.h-includes): Remove rule.
36769 [generic sys/param.h] ($(addprefix
36770 $(common-objpfx),$(sys/param.h-includes))): Likewise.
36771 [generic sys/param.h] (common-generated): Do not append to
36773 [generic sys/param.h] (sysdep_headers): Likewise.
36774 [generic bits/errno.h] (before-compile): Do not append to
36776 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
36778 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
36779 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
36780 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
36781 [generic bits/errno.h] (common-generated): Do not append to
36783 [generic bits/ioctls.h] (before-compile): Do not append to
36785 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
36787 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
36788 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
36789 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
36791 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
36792 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
36793 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
36794 [generic bits/ioctls.h] (common-generated): Do not append to
36796 [generic sys/syscall.h] (syscall.h): Remove variable.
36797 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
36799 [generic sys/syscall.h] (before-compile): Do not append to
36801 [generic sys/syscall.h] (common-generated): Likewise.
36802 * sysdeps/unix/errnos-tmpl.c: Remove file.
36803 * sysdeps/unix/errnos.awk: Likewise.
36804 * sysdeps/unix/ioctls-tmpl.c: Likewise.
36805 * sysdeps/unix/ioctls.awk: Likewise.
36806 * sysdeps/unix/mk-local_lim.c: Likewise.
36807 * sysdeps/unix/snarf-ioctls: Likewise.
36809 2012-03-19 Richard Henderson <rth@twiddle.net>
36811 * sysdeps/i386/fpu/fenv_private.h: New file.
36812 * sysdeps/i386/fpu/math_private.h: Use it.
36813 (math_opt_barrier, math_force_eval): Remove.
36814 (libc_feholdexcept_setround_53bit): Remove.
36815 (libc_feupdateenv_53bit): Remove.
36816 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36817 (math_opt_barrier, math_force_eval): Remove.
36818 (libc_feholdexcept): Remove.
36819 (libc_feholdexcept_setround): Remove.
36820 (libc_fetestexcept, libc_fesetenv): Remove.
36821 (libc_feupdateenv_test): Remove.
36822 (libc_feupdateenv, libc_feholdsetround): Remove.
36823 (libc_feresetround): Remove.
36825 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
36826 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36828 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
36829 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
36830 (libc_feupdateenv_testl): New.
36831 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
36832 (libc_feupdateenv_testf): New.
36833 (libc_feupdateenv): Use libc_feupdateenv_test.
36834 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
36835 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
36837 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
36838 (libc_feholdsetroundf, libc_feholdsetroundl): New.
36839 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
36840 (libc_feresetround_noex): New.
36841 (libc_feresetround_noexf): New.
36842 (libc_feresetround_noexl): New.
36843 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
36844 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
36845 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
36846 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
36848 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36849 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
36851 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
36852 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
36853 SET_RESTORE_ROUND_NOEX.
36854 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
36855 SET_RESTORE_ROUND_NOEXF.
36856 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
36857 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
36858 (libc_feholdsetroundf): New.
36859 (libc_feresetround, libc_feresetroundf): New.
36861 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
36862 (libc_feholdexcept_setround_53bit): Convert from macro to function.
36863 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
36865 * sysdeps/generic/math_private.h: Include <fenv.h>.
36866 (default_libc_feholdexcept): New.
36867 (default_libc_feholdexcept_setround): New.
36868 (default_libc_fesetenv, default_libc_feupdateenv): New.
36869 (libc_feholdexcept): Only define if undefined.
36870 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
36871 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
36872 (libc_feholdexcept_setroundl): Likewise.
36873 (libc_feholdexcept_setround_53bit): Likewise.
36874 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
36875 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
36876 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
36877 (libc_feupdateenv_53bit): Likewise.
36878 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
36879 (libc_feholdexcept): Convert from macro to inline function.
36880 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
36881 (libc_fesetenv, libc_feupdateenv): Likewise.
36883 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
36884 not previously defined.
36885 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
36886 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
36887 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
36888 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
36889 * sysdeps/ieee754/flt-32/math_private.h: New file.
36890 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
36891 math_private.h below SET_FLOAT_WORD.
36892 (__isnan, __isinf_ns, __finite): Remove.
36893 (__isnanf, __isinf_nsf, __finitef): Remove.
36895 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
36897 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36899 2012-03-17 David S. Miller <davem@davemloft.net>
36902 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
36905 2012-03-16 David S. Miller <davem@davemloft.net>
36907 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
36911 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
36913 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
36914 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
36915 sysdep_routines when subdir is sysvipc.
36916 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
36917 __getshmlba helper.
36919 * sysdeps/sparc/fpu/libm-test/ulps: Update.
36921 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36923 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
36926 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36928 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
36929 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
36930 (__lround): Renamed to ...
36931 (__llround): This. Replace long int with long long int.
36932 Define lround functions as aliases of llround functions.
36933 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
36935 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36937 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
36938 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
36939 adresses to uintptr_t. Replace "long int" and "unsigned long
36940 int" with "greg_t" on va_arg.
36942 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36944 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
36945 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
36947 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
36948 Move e_machine check before EI_CLASS check. Handle x32
36949 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
36950 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
36951 SKIP_EM_IA_64 and include
36952 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
36954 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
36955 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
36956 (add_system_dir): New macro.
36958 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
36959 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
36961 2012-03-16 Joseph Myers <joseph@codesourcery.com>
36972 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36974 * math/w_j0f.c (j0f): Likewise.
36976 * math/w_j0l.c (__j0l): Likewise.
36978 * math/w_j1.c (j1): Likewise.
36980 * math/w_j1f.c (j1f): Likewise.
36982 * math/w_j1l.c (__j1l): Likewise.
36984 * math/w_jn.c (jn): Likewise.
36986 * math/w_jnf.c (jnf): Likewise.
36988 * math/w_jnl.c (__jnl): Likewise.
36990 * math/libm-test.inc (j0_test): Add more tests.
36991 (j1_test): Likewise.
36992 (jn_test): Likewise. Add trailing semicolon to existing test.
36993 (y0_test): Likewise.
36994 (y1_test): Likewise.
36995 * sysdeps/i386/fpu/libm-test-ulps: Update.
36996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37000 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37001 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37002 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37003 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37004 (__tanl): Set errno for infinite argument.
37005 * sysdeps/i386/fpu/mptan.c: Remove.
37006 * sysdeps/i386/fpu/s_tan.S: Likewise.
37007 * sysdeps/i386/fpu/s_tanl.S: Likewise.
37008 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37009 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37010 * math/libm-test.inc (tan_test): Add more tests and enable more
37011 tests for double and long double.
37012 * sysdeps/i386/fpu/libm-test-ulps: Update.
37013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37015 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
37017 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37018 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37020 2012-03-16 Roland McGrath <roland@hack.frob.com>
37022 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37023 * configure.in: Use it for both main tree and add-ons.
37024 * configure: Regenerated.
37026 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37028 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37030 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37032 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37036 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37037 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37038 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37039 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37040 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37042 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37043 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37044 != 0 for prec == 2.
37045 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37046 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37047 * sysdeps/i386/fpu/s_cosl.S: Likewise.
37048 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37049 * sysdeps/i386/fpu/s_sinl.S: Likewise.
37050 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37051 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37052 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37053 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37054 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37055 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37056 * math/libm-test.inc (cos_test): Add more tests and enable more
37057 tests for long double.
37058 (sin_test): Likewise.
37059 (sincos_test): Likewise.
37060 * sysdeps/i386/fpu/libm-test-ulps: Update.
37061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37063 2012-03-16 David S. Miller <davem@davemloft.net>
37065 * sysdeps/sparc/fpu/math_private.h: New file.
37067 2012-03-15 David S. Miller <davem@davemloft.net>
37069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
37072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37075 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37076 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37077 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37078 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37079 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37083 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37084 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37086 * sysdeps/sparc/sparc-ifunc.h: New file.
37087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
37103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37111 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37112 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37113 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37114 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37115 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37116 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37117 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37118 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37119 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37120 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37121 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37122 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37123 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37124 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37125 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
37126 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
37127 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
37128 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
37129 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
37130 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
37132 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37134 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
37136 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37138 2012-03-15 Andreas Jaeger <aj@suse.de>
37141 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
37142 ieee754/flt-32 implementation for sin, cos and sincos.
37143 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
37144 * sysdeps/i386/fpu/s_cosf.S: Likewise.
37145 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
37146 * sysdeps/i386/fpu/s_sinf.S: Likewise.
37147 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
37148 ieee754/flt-32 implementation for tan.
37150 * math/libm-test.inc (cos_test): Enable some large input tests for
37152 (sin_test): Likewise.
37153 (sincos_test): Likewise.
37154 (tan_test): Add tests for large input.
37156 * sysdeps/i386/fpu/libm-test-ulps: Update.
37158 2012-03-15 Andreas Jaeger <aj@suse.de>
37161 * math/libm-test.inc (cos_test): Add more test cases.
37162 (sin_test): Likewise.
37163 (sincos_test): Likewise.
37165 2012-03-15 Andreas Jaeger <aj@suse.de>
37168 * math/libm-test.inc (cos_test): Add a test case for large input
37170 (sin_test): Likewise.
37171 (sincos_test): Likewise.
37173 2012-03-15 Andreas Jaeger <aj@suse.de>
37174 Joseph Myers <joseph@codesourcery.com>
37177 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
37178 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
37179 * sysdeps/i386/fpu/branred.c: Likewise.
37180 * sysdeps/i386/fpu/dosincos.c: Likewise.
37181 * sysdeps/i386/fpu/mpa.c: Likewise.
37182 * sysdeps/i386/fpu/s_cos.S: Likewise.
37183 * sysdeps/i386/fpu/s_sin.S: Likewise.
37184 * sysdeps/i386/fpu/s_sincos.S: Likewise.
37185 * sysdeps/i386/fpu/sincos32.c: Likewise.
37187 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
37189 (libc_feupdateenv_53bit): Define.
37190 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
37192 (libc_feupdateenv_53bit): Define.
37194 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
37195 53 bit (without extend i386 double precision).
37197 * math/libm-test.inc (sincos_test): Add tests for large input.
37201 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37203 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37207 2012-03-15 David S. Miller <davem@davemloft.net>
37209 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
37210 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
37211 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
37212 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
37213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
37214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
37215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
37216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
37217 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
37218 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
37219 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
37220 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
37221 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
37222 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
37223 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
37224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
37226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
37227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
37229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
37230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
37232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
37233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
37235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
37236 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
37237 fmin/fmax sysdep routines.
37238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37240 2012-03-14 David S. Miller <davem@davemloft.net>
37242 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
37243 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
37244 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
37245 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
37246 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
37247 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
37248 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
37249 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
37250 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
37251 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
37252 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
37253 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
37254 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
37255 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
37256 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
37257 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
37258 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
37259 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
37260 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
37261 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
37262 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
37263 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
37264 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
37265 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
37266 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
37267 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
37268 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
37269 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
37270 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
37272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
37274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
37275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
37277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
37278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
37280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
37281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
37283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
37284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
37286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
37287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
37289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
37291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
37293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
37295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
37297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
37299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
37301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
37302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
37304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
37305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
37307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
37308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
37310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
37311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
37314 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37319 * sysdeps/sparc/configure.in: New file.
37320 * sysdeps/sparc/configure: Generate.
37321 * configure.in (libc_cv_sparc_as_vis3): Substitute.
37322 * configure: Regenerate.
37323 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
37324 * config.make.in (have-as-vis3): New.
37325 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
37326 available use -Av9d instead of -Av9a.
37327 * sysdeps/sparc/sparc64/Makefile: Likewise.
37328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
37329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
37331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
37333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
37335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
37337 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
37338 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
37339 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
37340 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
37341 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
37343 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
37344 fzeros/fnegs to load 0x80000000 into a float register instead of
37346 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
37348 2012-03-14 Joseph Myers <joseph@codesourcery.com>
37350 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37352 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
37353 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
37354 ($(inst_includedir)/bits/syscall.h): Remove rule.
37355 ($(objpfx)bits/syscall.d): Include instead of
37356 $(objpfx)syscall-list.d.
37357 (generated): Change syscall-list.h and syscall-list.d to
37358 bits/syscall.h and bits/syscall.d.
37360 2012-03-14 Roland McGrath <roland@hack.frob.com>
37363 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
37365 2012-03-14 Joseph Myers <joseph@codesourcery.com>
37368 * math/s_csqrt.c: Include <float.h>.
37369 (__csqrt): Scale large or subnormal inputs.
37370 * math/s_csqrtf.c: Likewise.
37371 * math/s_csqrtl.c: Likewise.
37372 * math/libm-test.inc (csqrt_test): Add more tests.
37373 * sysdeps/i386/fpu/libm-test-ulps: Update.
37374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37377 * math/libm-test.inc (hypot_test): Add more tests.
37379 2012-03-13 David S. Miller <davem@davemloft.net>
37382 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
37383 double-precision for the calculation instead of scaling.
37385 2012-03-13 Joseph Myers <joseph@codesourcery.com>
37387 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
37388 manipulate bits before adding and subtracting TWO52[sx].
37389 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
37390 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
37392 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
37394 2012-03-13 David S. Miller <davem@davemloft.net>
37396 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
37397 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
37398 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
37399 rtld-global-offsets.h
37400 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37402 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
37405 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
37407 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
37408 'err' in the ifdef scope in which it is actually used.
37410 * nss/nss_db/db-init.c: Include string.h
37412 2012-03-12 David S. Miller <davem@davemloft.net>
37414 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37415 masking out of the most significant byte of random value used.
37416 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37417 Fix coding style in previous change.
37419 * sysdeps/unix/sysv/linux/kernel-features.h
37420 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
37421 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
37423 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
37426 2012-03-11 David S. Miller <davem@davemloft.net>
37428 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37429 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
37430 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
37431 for 'resultvar' otherwise things get truncated on 64-bit.
37433 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37434 Fix masking out of the most significant byte of random value used.
37436 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37438 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
37440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37442 2012-03-09 David S. Miller <davem@davemloft.net>
37444 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
37445 variables with appropriate CPP guards.
37446 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
37447 from the frame pointer, not the stack pointer. Correct layout
37448 comments. Fix test on resulting framesize and the management of
37449 the outregs buffer for pltexit. Preserve floating point return
37450 values across _dl_call_pltexit call.
37451 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
37452 framesize and the management of the outregs buffer for pltexit.
37453 Preserve floating point return values across _dl_call_pltexit
37455 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37456 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37457 (la_sparc64_gnu_pltexit): New functions.
37458 (print_exit): Fix format string for return register value.
37460 2012-03-10 Joseph Myers <joseph@codesourcery.com>
37462 * sunrpc/Makefile (others): Add rpcgen.
37463 ($(objpfx)rpcgen): Remove special build rule and dependency on
37465 * sunrpc/rpcgen.c: New file.
37467 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
37470 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37471 * stdio-common/bug-vfprintf-nargs.c: Likewise.
37472 * sysdeps/i386/crti.S: Likewise.
37473 * sysdeps/i386/crtn.S: Likewise.
37474 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37475 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37476 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37477 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37478 * sysdeps/sh/crti.S: Likewise.
37479 * sysdeps/sh/crtn.S: Likewise.
37480 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37483 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37485 * locale/programs/locfile-kw.gperf: Likewise.
37486 * locale/programs/charmap-kw.h: Regenerated.
37487 * locale/programs/locfile-kw.h: Likewise.
37490 * intl/plural.y: Replace FSF snail mail address with URL.
37491 * intl/plural.c: Regenerated.
37493 2012-03-09 Richard Henderson <rth@twiddle.net>
37495 * include/math_private.h: Remove file.
37496 * math/math_private.h: Move file ...
37497 * sysdeps/generic/math_private.h: ... here.
37499 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37500 * sysdeps/powerpc/fpu/math_private.h: Likewise.
37501 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37503 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
37504 and <math_private.h>.
37505 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37506 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37507 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37508 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37509 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37510 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37511 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37512 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37513 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37514 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37515 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37516 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37517 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37518 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37519 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37520 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37521 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37522 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37523 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37524 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37525 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37526 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37527 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37528 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37529 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37530 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37531 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37532 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37533 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37534 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37535 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37536 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37537 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37538 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37539 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37540 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37541 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37542 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37543 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37544 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37545 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37546 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37547 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37548 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37549 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37550 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37551 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37552 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37553 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37554 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37555 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37556 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37557 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37558 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37559 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37560 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37561 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37562 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37563 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37564 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37565 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37566 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37567 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37568 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37569 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37570 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37571 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37572 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37573 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37574 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37575 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37576 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37577 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37578 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37579 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37580 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37581 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37582 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37583 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37584 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37585 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37586 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37587 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37588 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37589 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37590 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37591 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37592 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37593 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37594 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37595 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37596 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37597 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37598 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37599 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37600 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37601 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37602 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37603 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37604 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37605 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37606 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37607 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37608 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37609 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37610 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37611 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37612 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37613 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37614 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37615 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37616 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37617 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37618 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37619 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37620 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37621 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37622 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37623 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37624 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37625 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37626 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37627 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37628 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37629 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37630 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37631 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37632 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
37633 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37634 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
37635 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
37636 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37637 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37638 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
37639 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
37640 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37641 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37642 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37643 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
37644 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37645 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37646 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37647 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37648 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
37649 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
37650 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37651 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37652 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37653 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
37654 * sysdeps/ieee754/k_standard.c: Likewise.
37655 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37656 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37657 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37658 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37659 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37660 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37661 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37662 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37663 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37664 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37665 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37666 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37667 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37668 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37669 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37670 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37671 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37672 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37673 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37674 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
37675 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
37676 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
37677 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37678 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37679 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37680 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
37681 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37682 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37683 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37684 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37685 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37686 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37687 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37688 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37689 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37690 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37691 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37692 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
37693 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
37694 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37695 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37696 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37697 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37698 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37699 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37700 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37701 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37702 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37703 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37704 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37705 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37706 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37707 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37708 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
37709 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37710 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37711 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
37712 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
37713 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37714 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37715 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37716 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37717 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37718 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37719 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37720 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37721 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37722 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37723 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37724 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37725 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37726 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37727 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37728 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37729 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37730 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37731 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
37732 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37733 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37734 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37735 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37736 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37737 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37738 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37739 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
37740 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37741 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37742 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
37743 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37744 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37745 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
37746 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37747 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37748 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37749 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37750 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37751 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
37752 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37753 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37754 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
37755 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37756 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37757 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37758 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37759 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
37760 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37761 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37762 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37763 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
37764 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37765 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37766 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37767 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37768 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37769 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37770 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37771 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37772 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37773 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37774 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37775 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37776 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37777 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37778 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37779 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37780 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
37781 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37782 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37783 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37784 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37785 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37786 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37787 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37788 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37789 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37790 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37791 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
37792 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37793 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37794 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
37795 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
37796 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37797 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
37798 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
37799 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37800 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37801 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37802 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37803 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37804 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
37805 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37806 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37807 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37808 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37809 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
37810 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
37811 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37812 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37813 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37814 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37815 * sysdeps/ieee754/s_lib_version.c: Likewise.
37816 * sysdeps/ieee754/s_matherr.c: Likewise.
37817 * sysdeps/ieee754/s_signgam.c: Likewise.
37818 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37819 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37820 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
37821 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
37822 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
37823 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37824 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
37825 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
37826 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
37827 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
37828 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37829 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
37830 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37831 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37832 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
37833 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37834 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37835 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37836 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37837 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37838 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37840 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37842 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
37843 * sunrpc/rpc_main.c: Likewise.
37844 * sunrpc/rpc_svcout.c: Likewise.
37846 2012-03-09 David S. Miller <davem@davemloft.net>
37848 * include/math_private.h: New file.
37850 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37852 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
37853 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
37854 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
37855 from <bits/socket_type.h>.
37856 (enum __socket_type): Don't define here.
37857 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
37858 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37859 bits/socket_type.h.
37862 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
37863 checking __USE_GNU.
37865 * Makerules ($(inst_includedir)/%.h): New rule.
37866 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
37867 (install-others): Remove variable setting.
37868 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
37870 2012-03-08 Richard Henderson <rth@twiddle.net>
37872 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
37873 from macro to inline function; merge with the
37874 !__LIBC_INTERNAL_MATH_INLINES version.
37875 (__ieee754_sqrtf): Likewise.
37877 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
37878 to inline function.
37879 (__rintf, __floor, __floorf): Likewise.
37881 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
37882 macro to inline function.
37883 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
37885 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
37886 not <math/math_private.h>.
37888 2012-03-08 David S. Miller <davem@davemloft.net>
37890 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
37892 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
37894 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
37896 * resolv/gai_misc.c (handle_requests): Fix struct timespec
37898 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
37899 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37901 2012-03-08 Ulrich Drepper <drepper@gmail.com>
37903 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
37904 be defined individually, they must be defined as a block. Define
37905 S for printing a string instead of hidint the different by using a
37906 macro for adding the 'l'.
37907 * stdio-common/tst-fphex-wide.c: Adjust.
37909 2012-03-07 Marek Polacek <polacek@redhat.com>
37911 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
37913 2012-03-08 Marek Polacek <polacek@redhat.com>
37916 * stdio-common/Makefile (tests): Add tst-fphex-wide.
37917 * stdio-common/tst-fphex.c: Define a few macros to make the
37918 test reusable. Use them.
37919 * stdio-common/tst-fphex-wide.c: New file.
37921 2012-03-08 Joseph Myers <joseph@codesourcery.com>
37924 * manual/macros.texi (gnusystems): New macro.
37925 (nongnusystems): Likewise.
37926 (gnulinuxhurdsystems): Likewise.
37927 (gnuhurdsystems): Likewise..
37928 (gnulinuxsystems): Likewise.
37929 * manual/charset.texi: Use new macros or @theglibc{} to refer to
37930 variants of the GNU system, not "GNU system".
37931 * manual/conf.texi: Likewise.
37932 * manual/errno.texi: Likewise. Update example of errno macro
37934 * manual/filesys.texi: Likewise.
37935 (getumask): Document as specific to GNU/Hurd.
37936 * manual/install.texi: Likewise. Reword some references to
37938 * manual/intro.texi: Likewise.
37939 * manual/io.texi: Likewise.
37940 (File Name Portability): Detail which constraints are inapplicable
37941 to all GNU systems and which are only inapplicable to GNU/Hurd.
37942 * manual/job.texi: Likewise.
37943 * manual/llio.texi: Likewise.
37944 (O_NOCTTY): Document as present on GNU/Linux.
37945 * manual/maint.texi: Likewise.
37946 * manual/memory.texi: Likewise.
37947 * manual/pattern.texi: Likewise.
37948 * manual/pipe.texi: Likewise.
37949 * manual/process.texi: Likewise.
37950 * manual/resource.texi: Likewise.
37951 (RUSAGE_CHILDREN): Remove statement about specifying a particular
37953 * manual/setjmp.texi: Likewise.
37954 * manual/signal.texi: Likewise.
37955 * manual/startup.texi: Likewise.
37956 * manual/stdio.texi: Likewise.
37957 * manual/terminal.texi: Likewise.
37958 (ONLCR): Document as POSIX.
37959 (OXTABS): Document availability on GNU/Linux as XTABS.
37960 (ONOEOT): Document availability separately from other bits.
37961 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
37962 * manual/time.texi: Likewise.
37963 * manual/users.texi: Likewise.
37964 * INSTALL: Regenerated.
37965 * sysdeps/gnu/errlist.c: Regenerated.
37967 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
37968 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
37969 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
37971 * configure: Regenerated.
37973 2012-03-07 Joseph Myers <joseph@codesourcery.com>
37975 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37976 default includes instead of AC_HEADER_CHECK.
37977 * sysdeps/i386/configure: Regenerated.
37980 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37981 * math/s_cacoshf.c (__cacoshf): Likewise.
37982 * math/s_cacoshl.c (__cacoshl): Likewise.
37983 * math/s_casinh.c (__casinh): Set signs of result from argument.
37984 * math/s_casinhf.c (__casinhf): Likewise.
37985 * math/s_casinhl.c (__casinhl): Likewise.
37986 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
37987 (casinh_test): Add more tests.
37988 * sysdeps/i386/fpu/libm-test-ulps: Update.
37989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37991 2012-03-07 Ulrich Drepper <drepper@gmail.com>
37993 * po/zh_TW.po: Update from translation team.
37995 * login/Makefile (distribute): Remove variable.
37996 * catgets/Makefile: Likewise.
37997 * mach/Makefile: Likewise.
37998 * malloc/Makefile: Likewise.
37999 * misc/Makefile: Likewise.
38000 * iconv/Makefile: Likewise.
38001 * nscd/Makefile: Likewise.
38002 * hurd/Makefile: Likewise.
38003 * manual/Makefile: Likewise.
38004 * locale/Makefile: Likewise.
38005 * intl/Makefile: Likewise.
38006 * conform/Makefile: Likewise.
38007 * nss/Makefile: Likewise.
38008 * time/Makefile: Likewise.
38009 * soft-fp/Makefile: Likewise.
38010 * dirent/Makefile: Likewise.
38011 * gmon/Makefile: Likewise.
38012 * po/Makefile: Likewise.
38013 * rt/Makefile: Likewise.
38014 * socket/Makefile: Likewise.
38015 * math/Makefile: Likewise.
38016 * signal/Makefile: Likewise.
38017 * debug/Makefile: Likewise.
38018 * elf/Makefile: Likewise.
38019 * timezone/Makefile: Likewise.
38020 * stdlib/Makefile: Likewise.
38021 * iconvdata/Makefile: Likewise.
38022 * sunrpc/Makefile: Likewise.
38023 * io/Makefile: Likewise.
38024 * argp/Makefile: Likewise.
38025 * inet/Makefile: Likewise.
38026 * hesiod/Makefile: Likewise.
38027 * grp/Makefile: Likewise.
38028 * csu/Makefile: Likewise.
38029 * wctype/Makefile: Likewise.
38030 * crypt/Makefile: Likewise.
38031 * libio/Makefile: Likewise.
38032 * string/Makefile: Likewise.
38033 * nis/Makefile: Likewise.
38034 * resolv/Makefile: Likewise.
38035 * stdio-common/Makefile: Likewise.
38036 * wcsmbs/Makefile: Likewise.
38037 * dlfcn/Makefile: Likewise.
38038 * posix/Makefile: Likewise.
38041 * timezone/Makefile: Don't install timezone files, just the programs
38044 2012-03-06 Ulrich Drepper <drepper@gmail.com>
38046 * nss/databases.def: Add missing gshadow entry.
38048 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
38050 2012-03-06 Marek Polacek <polacek@redhat.com>
38053 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38054 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38055 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38056 * stdio-common/tst-long-dbl-fphex.c: New file.
38058 2012-03-06 David S. Miller <davem@davemloft.net>
38060 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38061 (set_obp_int): New function.
38062 (get_obp_int): New function.
38063 (__get_clockfreq_via_dev_openprom): Likewise.
38064 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38065 Avoid unused variable warnings on 'val' and use builtin_expect.
38066 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38068 (INLINE_CLONE_SYSCALL): Likewise.
38070 2012-03-05 David S. Miller <davem@davemloft.net>
38072 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38074 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
38076 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38078 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38079 only for |x| >= 40.
38080 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38082 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
38084 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38085 Replace gettimeofday with __vdso_gettimeofday.
38087 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38088 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38089 __vdso_clock_gettime and __vdso_getcpu.
38091 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38092 time with __vdso_time.
38094 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38096 * manual/lang.texi (size_t): Note types to which size_t may be
38097 equivalent with the GNU C Library, but do not describe when
38098 differences between them are significant.
38100 2012-03-05 Andreas Jaeger <aj@suse.de>
38102 * sysdeps/i386/fpu/libm-test-ulps: Update.
38104 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38107 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38108 (__ieee754_pow): Save and restore rounding mode and use
38109 round-to-nearest for main computations.
38110 * math/libm-test.inc (pow_test_tonearest): New function.
38111 (pow_test_towardzero): Likewise.
38112 (pow_test_downward): Likewise.
38113 (pow_test_upward): Likewise.
38114 (main): Call the new functions.
38115 * sysdeps/i386/fpu/libm-test-ulps: Update.
38116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38119 * math/libm-test.inc (cosh_test_tonearest): New function.
38120 (cosh_test_towardzero): Likewise.
38121 (cosh_test_downward): Likewise.
38122 (cosh_test_upward): Likewise.
38123 (sinh_test_tonearest): Likewise.
38124 (sinh_test_towardzero): Likewise.
38125 (sinh_test_downward): Likewise.
38126 (sinh_test_upward): Likewise.
38127 (main): Call the new functions.
38128 * sysdeps/i386/fpu/libm-test-ulps: Update.
38129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38131 2012-03-05 Tom de Vries <tom@codesourcery.com>
38133 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
38134 default stack guard is set in last bytes.
38135 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
38137 2012-03-05 Kees Cook <keescook@chromium.org>
38139 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
38142 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
38143 possibly allocate from heap instead of stack.
38144 * stdio-common/bug-vfprintf-nargs.c: New file.
38145 * stdio-common/Makefile (tests): Add nargs overflow test.
38147 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
38149 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38151 2012-03-03 Marek Polacek <polacek@redhat.com>
38153 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
38154 * math/math_private.h: Likewise.
38155 * stdlib/tst-strtod.c: Likewise.
38156 * sysdeps/i386/i486/bits/atomic.h: Likewise.
38157 * sysdeps/x86_64/bits/atomic.h: Likewise.
38159 2012-03-02 David S. Miller <davem@davemloft.net>
38161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
38162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
38163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
38164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
38165 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
38166 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
38167 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
38168 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
38170 2012-03-02 Roland McGrath <roland@hack.frob.com>
38173 * manual/examples/README: New file, says the example source files
38174 can be used under GPL>=2.
38175 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
38176 line containing just "*/".
38177 * manual/examples/add.c: Add copyright header (GPL>=2).
38178 * manual/examples/argp-ex1.c: Likewise.
38179 * manual/examples/argp-ex2.c: Likewise.
38180 * manual/examples/argp-ex3.c: Likewise.
38181 * manual/examples/argp-ex4.c: Likewise.
38182 * manual/examples/atexit.c: Likewise.
38183 * manual/examples/db.c: Likewise.
38184 * manual/examples/dir.c: Likewise.
38185 * manual/examples/dir2.c: Likewise.
38186 * manual/examples/execinfo.c: Likewise.
38187 * manual/examples/filecli.c: Likewise.
38188 * manual/examples/filesrv.c: Likewise.
38189 * manual/examples/fmtmsgexpl.c: Likewise.
38190 * manual/examples/genpass.c: Likewise.
38191 * manual/examples/inetcli.c: Likewise.
38192 * manual/examples/inetsrv.c: Likewise.
38193 * manual/examples/isockad.c: Likewise.
38194 * manual/examples/longopt.c: Likewise.
38195 * manual/examples/memopen.c: Likewise.
38196 * manual/examples/memstrm.c: Likewise.
38197 * manual/examples/mkfsock.c: Likewise.
38198 * manual/examples/mkisock.c: Likewise.
38199 * manual/examples/mygetpass.c: Likewise.
38200 * manual/examples/pipe.c: Likewise.
38201 * manual/examples/popen.c: Likewise.
38202 * manual/examples/rprintf.c: Likewise.
38203 * manual/examples/search.c: Likewise.
38204 * manual/examples/select.c: Likewise.
38205 * manual/examples/setjmp.c: Likewise.
38206 * manual/examples/sigh1.c: Likewise.
38207 * manual/examples/sigusr.c: Likewise.
38208 * manual/examples/stpcpy.c: Likewise.
38209 * manual/examples/strdupa.c: Likewise.
38210 * manual/examples/strftim.c: Likewise.
38211 * manual/examples/strncat.c: Likewise.
38212 * manual/examples/subopt.c: Likewise.
38213 * manual/examples/swapcontext.c: Likewise.
38214 * manual/examples/termios.c: Likewise.
38215 * manual/examples/testopt.c: Likewise.
38216 * manual/examples/testpass.c: Likewise.
38217 * manual/examples/timeval_subtract.c: Likewise.
38220 * manual/time.texi (Elapsed Time): Move timeval_subtract example
38222 * manual/timeval_subtract.c.texi: ... here, new file.
38224 2012-03-02 David S. Miller <davem@davemloft.net>
38226 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
38228 2012-03-02 Joseph Myers <joseph@codesourcery.com>
38231 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
38232 (__sin): Save and restore rounding mode and use round-to-nearest
38233 for all computations.
38234 (__cos): Save and restore rounding mode and use round-to-nearest
38235 for all computations.
38236 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
38238 (tan): Save and restore rounding mode and use round-to-nearest for
38240 * math/libm-test.inc (cos_test_tonearest): New function.
38241 (cos_test_towardzero): Likewise.
38242 (cos_test_downward): Likewise.
38243 (cos_test_upward): Likewise.
38244 (sin_test_tonearest): Likewise.
38245 (sin_test_towardzero): Likewise.
38246 (sin_test_downward): Likewise.
38247 (sin_test_upward): Likewise.
38248 (tan_test_tonearest): Likewise.
38249 (tan_test_towardzero): Likewise.
38250 (tan_test_downward): Likewise.
38251 (tan_test_upward): Likewise.
38252 (main): Call the new functions.
38253 * sysdeps/i386/fpu/libm-test-ulps: Update.
38254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38257 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
38258 small n, then large n, before computing and testing k+n.
38259 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38260 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
38262 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
38264 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
38265 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
38266 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
38267 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
38268 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38269 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38270 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
38271 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
38272 * math/libm-test.inc (scalbn_test): Add more tests.
38273 (scalbln_test): Likewise.
38275 * manual/filesys.texi (mode_t): Describe constraints on size and
38276 signedness, not exact equivalence to a particular type.
38278 (ino64_t): Likewise.
38280 (nlink_t): Likewise.
38281 (blkcnt_t): Likewise.
38282 (blkcnt64_t): Likewise.
38283 * manual/llio.texi (off_t): Likewise.
38286 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
38287 (__ieee754_exp): Save and restore rounding mode and use
38288 round-to-nearest for all computations.
38289 * math/libm-test.inc (exp_test_tonearest): New function.
38290 (exp_test_towardzero): Likewise.
38291 (exp_test_downward): Likewise.
38292 (exp_test_upward): Likewise.
38293 (main): Call the new functions.
38294 * sysdeps/i386/fpu/libm-test-ulps: Update.
38295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38297 2012-03-01 Chris Demetriou <cgd@google.com>
38299 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
38300 have predictable order.
38302 2012-03-01 David S. Miller <davem@davemloft.net>
38304 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
38306 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
38307 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
38308 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
38309 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
38311 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
38312 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
38313 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
38314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
38315 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
38316 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
38317 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
38318 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
38319 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
38321 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38323 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
38324 * sysdeps/sparc/fpu/libm-test-ulps: to here.
38325 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
38327 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
38328 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38329 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38330 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
38331 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
38332 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
38333 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
38334 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38335 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38336 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
38337 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
38338 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38339 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38340 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38341 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38342 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38343 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
38344 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
38345 * sysdeps/sparc/elf/configure: Regenerated.
38347 2012-03-01 Joseph Myers <joseph@codesourcery.com>
38349 * configure.in (AS, LD): Require binutils 2.20 or later.
38350 * configure: Regenerated.
38351 * manual/install.texi (Tools for Compilation): Give binutils 2.20
38352 as required minimum version.
38353 * INSTALL: Regenerated.
38357 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
38358 before squaring exponent.
38359 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
38360 bottom long double and 27 bits of top long double before squaring
38362 * math/libm-test.inc (erfc_test): Add more tests.
38363 * sysdeps/i386/fpu/libm-test-ulps: Update.
38364 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38367 2012-03-01 Kai Tietz <ktietz@redhat.com>
38369 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
38370 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
38371 containing bit-fields.
38372 * soft-fp/extended.h (_FP_UNION_E): Likewise.
38373 * soft-fp/single.h (_FP_UNION_S): Likewise.
38374 * soft-fp/double.h (_FP_UNION_D): Likewise.
38376 2012-02-29 Joseph Myers <joseph@codesourcery.com>
38379 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
38380 not include ../strcmp.S.
38381 [USE_AS_STRNCASECMP_L]: Likewise.
38382 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
38383 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
38384 * sysdeps/i386/i686/multiarch/strncase_l-c.c
38385 (__strncasecmp_l_ia32): Define as alias to
38386 __strncasecmp_l_nonascii.
38389 * math/libm-test.inc (expm1_test): Add test for bug 5794.
38390 * sysdeps/i386/fpu/libm-test-ulps: Update.
38391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38393 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
38394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38396 2012-02-29 Jeff Law <law@redhat.com>
38398 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
38399 out of bounds read.
38401 2012-02-29 Marek Polacek <polacek@redhat.com>
38404 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
38405 * elf/Makefile: Add rules to run tst-unused-dep.out.
38407 2012-02-28 David S. Miller <davem@davemloft.net>
38409 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
38410 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
38411 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
38412 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
38413 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
38414 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
38416 2012-02-29 Joseph Myers <joseph@codesourcery.com>
38418 * math/libm-test.inc (llround_test): Move one test from
38419 lround_test. Use TEST_f_L in moved test.
38420 (lround_test): Move misplaced test to llround_test. Add testcase
38423 2012-02-28 Ulrich Drepper <drepper@gmail.com>
38425 * sysdeps/x86_64/fpu/e_expf.S: New file.
38426 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
38428 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
38431 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
38432 of remain_len that may cause incomplete multi-byte character and
38434 * posix/bug-regex33.c: New file.
38435 * posix/Makefile (tests): Add bug-regex33.
38437 2012-02-28 Joseph Myers <joseph@codesourcery.com>
38439 * manual/macros.texi: New file.
38440 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
38441 * manual/libc.texinfo: Include macros.texi.
38442 * manual/creatute.texi: Likewise.
38443 * manual/install.texi: Likewise.
38444 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
38445 @glibcadj{} in references to the GNU C Library.
38446 * manual/charset.texi: Likewise.
38447 * manual/conf.texi: Likewise.
38448 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
38449 when not using those macros.
38450 * manual/creature.texi: Likewise.
38451 * manual/crypt.texi: Likewise.
38452 * manual/errno.texi: Likewise.
38453 * manual/filesys.texi: Likewise.
38454 * manual/header.texi: Likewise.
38455 * manual/install.texi: Likewise.
38456 * manual/intro.texi: Likewise.
38457 * manual/io.texi: Likewise.
38458 * manual/job.texi: Likewise.
38459 * manual/lang.texi: Likewise.
38460 * manual/libc.texiinfo: Likewise.
38461 * manual/llio.texi: Likewise.
38462 * manual/locale.texi: Likewise.
38463 * manual/maint.texi: Likewise.
38464 * manual/math.texi: Likewise.
38465 * manual/memory.texi: Likewise.
38466 * manual/message.texi: Likewise.
38467 * manual/nss.texi: Likewise.
38468 * manual/pattern.texi: Likewise.
38469 * manual/process.texi: Likewise.
38470 * manual/resource.texi: Likewise.
38471 * manual/search.texi: Likewise.
38472 * manual/setjmp.texi: Likewise.
38473 * manual/signal.texi: Likewise.
38474 * manual/socket.texi: Likewise.
38475 * manual/startup.texi: Likewise.
38476 * manual/stdio.texi: Likewise.
38477 * manual/string.texi: Likewise.
38478 * manual/sysinfo.texi: Likewise.
38479 * manual/syslog.texi: Likewise.
38480 * manual/terminal.texi: Likewise.
38481 * manual/time.texi: Likewise.
38482 * manual/users.texi: Likewise.
38483 * INSTALL: Regenerated.
38484 * NOTES: Regenerated.
38485 * sysdeps/gnu/errlist.c: Regenerated.
38487 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
38489 * include/dirent.h: Include <dirstream.h> before
38492 2012-02-28 David S. Miller <davem@davemloft.net>
38494 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38495 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38496 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38497 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38499 2012-02-27 David S. Miller <davem@davemloft.net>
38501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38503 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38504 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38507 frame pointer instead of stack pointer relative arg slot.
38508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38509 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38510 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38512 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
38515 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38517 2012-02-27 David S. Miller <davem@davemloft.net>
38519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38522 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38523 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38524 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38525 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38526 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38528 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38530 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38531 later. Allow versions 5-9.
38532 * configure: Regenerated.
38533 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38534 required minimum version and 4.6 as recommended version. Do not
38535 mention bugs in GCC 2.7 and 2.8.
38536 * INSTALL: Regenerated.
38538 2012-02-27 David S. Miller <davem@davemloft.net>
38540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38544 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38545 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38546 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38547 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38549 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38550 manipulate bits before adding and subtracting TWO112[sx].
38551 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38553 2012-02-27 Roland McGrath <roland@hack.frob.com>
38556 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38557 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38558 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38559 being in POSIX, because they are in 1003.1-2008.
38561 * rt/tst-aio.c: Include <fcntl.h>.
38562 * rt/tst-aio7.c: Likewise.
38563 * rt/tst-aio64.c: Likewise.
38565 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38567 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38569 * manual/install.texi (--with-headers): Describe headers as
38570 interface headers, not private headers.
38571 (Specific advice for GNU/Linux systems): Describe use of headers
38572 from "make headers_install", not private headers from older
38574 * INSTALL: Regenerated.
38575 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38577 * sysdeps/unix/sysv/linux/configure: Regenerated.
38579 * manual/llio.texi (fclean): Remove documentation.
38581 * manual/Makefile (libc-texi-generated): New variable. Include
38583 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38584 $(libc-texi-generated), not duplicated list of files.
38585 (version.texi, stamp-version): New rules.
38586 (realclean): Remove $(libc-texi-generated), not individual files
38587 from that list. Do not remove dir-add.texinfo.
38588 * manual/libc.texinfo: Comment out uses of edition numbers and
38589 references to printed manual. Remove last-updated dates.
38590 (EDITION): Comment out.
38592 (VERSION, UPDATED): Remove.
38593 (version.texi): Include.
38595 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
38597 * sysdeps/posix/spawni.c: Include <signal.h>.
38598 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38599 * sysdeps/pthread/aio_fsync.c: Likewise.
38601 2012-02-26 Ulrich Drepper <drepper@gmail.com>
38603 * conform/Makefile (tests): Run only when not cross-compiling and
38604 when fast-check is not defined.
38606 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38607 * conform/data/limits.h-data: Fixes for POSIX2008.
38608 * conform/run-conformtest.sh: Run all tests.
38609 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38611 * include/bits/dlfcn.h: Likewise.
38612 * include/langinfo.h: Likewise.
38613 * include/monetary.h: Likewise.
38614 * include/sys/poll.h: Likewise.
38616 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38618 * posix/spawn.h: Define __need_sigset_t.
38619 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38620 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38621 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
38622 to get sigevent_t only.
38623 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38624 only for __USE_GNU.
38625 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38626 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38627 process_vm_writev only for __USE_GNU.
38628 * termios/termios.h: Declare tcgetsid also for POSIX2008.
38630 * conform/Makefile: For now ignore errors from run-conformtest.
38631 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
38632 POSIX to avoid namespace pollution. Don't prepend headers.
38633 * conform/data/aio.h-data: Fixes for POSIX testing.
38634 * conform/data/fcntl.h-data: Likewise.
38635 * conform/data/glob.h-data: Likewise.
38636 * conform/data/grp.h-data: Likewise.
38637 * conform/data/pthread.h-data: Likewise.
38638 * conform/data/pwd.h-data: Likewise.
38639 * conform/data/signal.h-data: Likewise.
38640 * conform/data/spawn.h-data: Likewise.
38641 * conform/data/stdio.h-data: Likewise.
38642 * conform/data/stdlib.h-data: Likewise.
38643 * conform/data/stropts.h-data: Likewise.
38644 * conform/data/sys/mman.h-data: Likewise.
38645 * conform/data/sys/stat.h-data: Likewise.
38646 * conform/data/sys/types.h-data: Likewise.
38647 * conform/data/sys/wait.h-data: Likewise.
38648 * conform/data/time.h-data: Likewise.
38649 * conform/data/unistd.h-data: Likewise.
38650 * conform/data/utime.h-data: Likewise.
38652 * io/sys/stat.h: fchmod was always in POSIX.
38653 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
38654 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
38655 * rt/aio.h: Define __need_timespec before including <time.h>.
38656 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
38657 struct. Add forward declaration of pthread_attr_t and use it in
38659 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38660 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38661 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
38662 always remove CLK_TCK definition.
38664 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
38666 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
38668 2012-02-25 Ulrich Drepper <drepper@gmail.com>
38670 * conform/run-conformtest.sh: New file.
38671 * conform/Makefile: Run run-conformtest for tests.
38672 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
38675 * conform/data/uchar.h-data: New file.
38676 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
38677 * conform/data/arpa/inet.h-data: Likewise.
38678 * conform/data/assert.h-data: Likewise.
38679 * conform/data/complex.h-data: Likewise.
38680 * conform/data/cpio.h-data: Likewise.
38681 * conform/data/ctype.h-data: Likewise.
38682 * conform/data/dirent.h-data: Likewise.
38683 * conform/data/dlfcn.h-data: Likewise.
38684 * conform/data/errno.h-data: Likewise.
38685 * conform/data/fcntl.h-data: Likewise.
38686 * conform/data/float.h-data: Likewise.
38687 * conform/data/fmtmsg.h-data: Likewise.
38688 * conform/data/fnmatch.h-data: Likewise.
38689 * conform/data/ftw.h-data: Likewise.
38690 * conform/data/glob.h-data: Likewise.
38691 * conform/data/grp.h-data: Likewise.
38692 * conform/data/iconv.h-data: Likewise.
38693 * conform/data/inttypes.h-data: Likewise.
38694 * conform/data/langinfo.h-data: Likewise.
38695 * conform/data/libgen.h-data: Likewise.
38696 * conform/data/limits.h-data: Likewise.
38697 * conform/data/locale.h-data: Likewise.
38698 * conform/data/math.h-data: Likewise.
38699 * conform/data/monetary.h-data: Likewise.
38700 * conform/data/mqueue.h-data: Likewise.
38701 * conform/data/ndbm.h-data: Likewise.
38702 * conform/data/net/if.h-data: Likewise.
38703 * conform/data/netdb.h-data: Likewise.
38704 * conform/data/netinet/in.h-data: Likewise.
38705 * conform/data/nl_types.h-data: Likewise.
38706 * conform/data/poll.h-data: Likewise.
38707 * conform/data/pthread.h-data: Likewise.
38708 * conform/data/pwd.h-data: Likewise.
38709 * conform/data/regex.h-data: Likewise.
38710 * conform/data/sched.h-data: Likewise.
38711 * conform/data/search.h-data: Likewise.
38712 * conform/data/semaphore.h-data: Likewise.
38713 * conform/data/setjmp.h-data: Likewise.
38714 * conform/data/signal.h-data: Likewise.
38715 * conform/data/spawn.h-data: Likewise.
38716 * conform/data/stdarg.h-data: Likewise.
38717 * conform/data/stdio.h-data: Likewise.
38718 * conform/data/stdlib.h-data: Likewise.
38719 * conform/data/string.h-data: Likewise.
38720 * conform/data/strings.h-data: Likewise.
38721 * conform/data/stropts.h-data: Likewise.
38722 * conform/data/sys/ipc.h-data: Likewise.
38723 * conform/data/sys/mman.h-data: Likewise.
38724 * conform/data/sys/msg.h-data: Likewise.
38725 * conform/data/sys/resource.h-data: Likewise.
38726 * conform/data/sys/select.h-data: Likewise.
38727 * conform/data/sys/sem.h-data: Likewise.
38728 * conform/data/sys/shm.h-data: Likewise.
38729 * conform/data/sys/socket.h-data: Likewise.
38730 * conform/data/sys/stat.h-data: Likewise.
38731 * conform/data/sys/statvfs.h-data: Likewise.
38732 * conform/data/sys/time.h-data: Likewise.
38733 * conform/data/sys/timeb.h-data: Likewise.
38734 * conform/data/sys/times.h-data: Likewise.
38735 * conform/data/sys/types.h-data: Likewise.
38736 * conform/data/sys/uio.h-data: Likewise.
38737 * conform/data/sys/un.h-data: Likewise.
38738 * conform/data/sys/utsname.h-data: Likewise.
38739 * conform/data/sys/wait.h-data: Likewise.
38740 * conform/data/syslog.h-data: Likewise.
38741 * conform/data/tar.h-data: Likewise.
38742 * conform/data/termios.h-data: Likewise.
38743 * conform/data/utime.h-data: Likewise.
38744 * conform/data/utmpx.h-data: Likewise.
38745 * conform/data/varargs.h-data: Likewise.
38746 * conform/data/wchar.h-data: Likewise.
38747 * conform/data/wctype.h-data: Likewise.
38748 * conform/data/wordexp.h-data: Likewise.
38750 * include/stropts.h: New file.
38751 * include/uchar.h: New file.
38752 * include/aio.h: Changes to allow conformtest.pl to use the headers.
38753 * include/assert.h: Likewise.
38754 * include/ctype.h: Likewise.
38755 * include/dirent.h: Likewise.
38756 * include/dlfcn.h: Likewise.
38757 * include/fcntl.h: Likewise.
38758 * include/fnmatch.h: Likewise.
38759 * include/glob.h: Likewise.
38760 * include/grp.h: Likewise.
38761 * include/libio.h: Likewise.
38762 * include/locale.h: Likewise.
38763 * include/math.h: Likewise.
38764 * include/net/if.h: Likewise.
38765 * include/netdb.h: Likewise.
38766 * include/netinet/in.h: Likewise.
38767 * include/pthread.h: Likewise.
38768 * include/pwd.h: Likewise.
38769 * include/regex.h: Likewise.
38770 * include/sched.h: Likewise.
38771 * include/search.h: Likewise.
38772 * include/setjmp.h: Likewise.
38773 * include/signal.h: Likewise.
38774 * include/stdio.h: Likewise.
38775 * include/stdlib.h: Likewise.
38776 * include/string.h: Likewise.
38777 * include/sys/cdefs.h: Likewise.
38778 * include/sys/mman.h: Likewise.
38779 * include/sys/msg.h: Likewise.
38780 * include/sys/resource.h: Likewise.
38781 * include/sys/select.h: Likewise.
38782 * include/sys/socket.h: Likewise.
38783 * include/sys/stat.h: Likewise.
38784 * include/sys/statvfs.h: Likewise.
38785 * include/sys/time.h: Likewise.
38786 * include/sys/times.h: Likewise.
38787 * include/sys/uio.h: Likewise.
38788 * include/sys/utsname.h: Likewise.
38789 * include/sys/wait.h: Likewise.
38790 * include/termios.h: Likewise.
38791 * include/time.h: Likewise.
38792 * include/ulimit.h: Likewise.
38793 * include/unistd.h: Likewise.
38794 * include/utime.h: Likewise.
38795 * include/wchar.h: Likewise.
38796 * include/wctype.h: Likewise.
38797 * include/wordexp.h: Likewise.
38799 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
38801 * time/time.h: TIME_UTC must be a macro.
38802 Make timespec_get available for ISO C11 only as well.
38804 2012-02-24 Ulrich Drepper <drepper@gmail.com>
38806 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
38807 Reported by Peng Haitao <penght@cn.fujitsu.com>.
38809 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38811 * configure.in: Use -o not -a in test for unsupported multi-arch.
38813 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38815 * manual/texinfo.tex: Update to version 2012-01-19.16.
38817 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38819 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
38821 2012-02-24 Roland McGrath <roland@hack.frob.com>
38824 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
38825 * manual/fdl-1.3.texi: New file.
38826 * manual/fdl-1.1.texi: File removed.
38829 * manual/libc.texinfo (FDL_VERSION): New @set.
38830 Use it for mention of FDL in cover text.
38831 (Documentation License): Use it in @include file name.
38833 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38834 Roland McGrath <roland@hack.frob.com>
38837 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
38838 (not LONG_LONG_MAX and LONG_LONG_MIN.
38839 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
38840 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
38842 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
38844 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38848 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
38849 manipulate bits before adding and subtracting TWO23[sx].
38850 * math/libm-test.inc (nearbyint_test): Add more tests.
38852 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38855 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
38856 bits before adding and subtracting TWO23[sx].
38857 * math/libm-test.inc (rint_test): Add more tests.
38858 (rint_test_tonearest): Likewise.
38859 (rint_test_towardzero): Likewise.
38860 (rint_test_downward): Likewise.
38861 (rint_test_upward: Likewise.
38863 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38866 * include/stdc-predef.h: New file. Extracted from features.h.
38867 * include/features.h: Include stdc-predef.h.
38868 * Makefile (headers): Add stdc-predef.h.
38869 * CONFORMANCE (Compiler limitations): Update.
38871 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38873 * manual/libc.texinfo (VERSION, UPDATED): Revert.
38875 2012-02-21 David S. Miller <davem@davemloft.net>
38877 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
38878 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38880 2012-02-20 David S. Miller <davem@davemloft.net>
38882 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
38883 using a normal save/restore sequence, rather than allocating a
38884 dummy stack frame just to store a frame pointer and restore.
38885 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38887 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38889 * manual/install.texi: Fix stray word in line-wrapped comment.
38891 2012-02-20 David S. Miller <davem@davemloft.net>
38893 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
38894 both binutils and gcc support GOTDATA.
38896 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
38897 "rd %pc" in the PIC register setup sequences.
38899 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
38900 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38901 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38902 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38903 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38904 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38905 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38906 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38907 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
38908 (SYSCALL_ERROR_HANDLER): Likewise.
38909 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38910 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38911 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
38912 (SYSCALL_ERROR_HANDLER): Likewise.
38914 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
38915 (HAVE_GCC_GOTDATA): New.
38916 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
38917 relocation support in both binutils and gcc.
38918 * sysdeps/sparc/elf/configure: Regenerate.
38920 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
38921 * sysdeps/sparc/sparc32/elf/configure: Delete.
38922 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
38923 * sysdeps/sparc/sparc64/elf/configure: Delete.
38924 * sysdeps/sparc/elf/configure.in: New file.
38925 * sysdeps/sparc/elf/configure: Generate.
38927 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
38928 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
38929 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38930 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
38931 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
38933 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38935 * manual/install.texi: Do not mention specific glibc version
38937 * manual/libc.texinfo (VERSION, UPDATED): Update.
38938 (@copying): Use @copyright{} and range of years.
38940 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38943 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
38944 [crti.S not in sysdirs] (generated): Do not append.
38945 [crti.S not in sysdirs] (omit-deps): Likewise.
38946 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
38947 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
38948 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
38949 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
38950 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
38952 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
38953 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
38954 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
38955 * csu/defs.awk: Remove file.
38956 * sysdeps/generic/initfini.c: Likewise.
38957 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
38959 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
38962 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38964 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
38965 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38966 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
38967 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
38968 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38969 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38971 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38972 (__EPOLL_PACKED): Define to empty if not defined by
38974 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38975 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38978 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38980 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38981 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38982 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38983 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38985 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
38986 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38989 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38991 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38993 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38994 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38995 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38998 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
39000 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39001 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39003 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
39005 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39006 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39008 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39010 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39013 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
39015 * math/w_acos.c: Use non-signaling floating-point comparisons.
39016 * math/w_acosf.c: Likewise.
39017 * math/w_acosh.c: Likewise.
39018 * math/w_acoshf.c: Likewise.
39019 * math/w_acoshl.c: Likewise.
39020 * math/w_acosl.c: Likewise.
39021 * math/w_asin.c: Likewise.
39022 * math/w_asinf.c: Likewise.
39023 * math/w_asinl.c: Likewise.
39024 * math/w_atanh.c: Likewise.
39025 * math/w_atanhf.c: Likewise.
39026 * math/w_atanhl.c: Likewise.
39027 * math/w_exp2.c: Likewise.
39028 * math/w_exp2f.c: Likewise.
39029 * math/w_exp2l.c: Likewise.
39030 * math/w_j0.c: Likewise.
39031 * math/w_j0f.c: Likewise.
39032 * math/w_j0l.c: Likewise.
39033 * math/w_j1.c: Likewise.
39034 * math/w_j1f.c: Likewise.
39035 * math/w_j1l.c: Likewise.
39036 * math/w_jn.c: Likewise.
39037 * math/w_jnf.c: Likewise.
39038 * math/w_log.c: Likewise.
39039 * math/w_log10.c: Likewise.
39040 * math/w_log10f.c: Likewise.
39041 * math/w_log10l.c: Likewise.
39042 * math/w_log2.c: Likewise.
39043 * math/w_log2f.c: Likewise.
39044 * math/w_log2l.c: Likewise.
39045 * math/w_logf.c: Likewise.
39046 * math/w_logl.c: Likewise.
39047 * math/w_sqrt.c: Likewise.
39048 * math/w_sqrtf.c: Likewise.
39049 * math/w_sqrtl.c: Likewise.
39050 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39051 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39052 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39053 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39054 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39056 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39059 * manual/string.texi (strnlen): Use correct parameter name in
39060 equivalent expression.
39062 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39065 * manual/users.texi (seteuid): Consistently use neweuid for
39068 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39071 * manual/nss.texi (Services in the NSS configuration): Correct
39072 list of services in example configuration file.
39074 2012-02-19 Nick Bowler <nbowler@draconx.ca>
39077 * manual/arith.texi: Remove statements about negative zero
39078 behaving identically to zero.
39080 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39083 * manual/install.texi: Do not document upgrading from libc5.
39085 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39088 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39090 2012-02-18 David S. Miller <davem@davemloft.net>
39092 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39093 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39094 %o7 across the call.
39095 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39097 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39098 SETUP_PIC_REG_LEAF.
39099 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39100 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39101 * sysdeps/sparc/crtn.S: Likewise.
39103 2012-02-17 Ulrich Drepper <drepper@gmail.com>
39105 * aout/Makefile: Remove.
39107 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
39110 * manual/examples/argp-ex1.c (main): Format definition in GNU
39112 * manual/examples/argp-ex2.c (main): Likewise.
39113 * manual/examples/argp-ex3.c (main): Likewise.
39114 * manual/examples/argp-ex4.c (main): Likewise.
39115 * manual/examples/longopt.c (main): Use new-style prototype
39117 * manual/examples/strncat.c (main): Specify return type and use
39118 (void) for arguments.
39119 * manual/examples/subopt.c (main): Use char **argv argument.
39121 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39124 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
39127 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
39130 * manual/string.texi (strchr): Change when strchrnul is
39133 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
39136 * manual/locale.texi (setlocale): Document LOCPATH.
39138 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39141 * manual/process.texi (execle): Move @dots{} before last argument.
39143 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
39146 * manual/charset.texi (Generic Charset Conversion): Fix typo
39147 (LC_TYPE -> LC_CTYPE).
39149 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
39152 * manual/arith.texi (scalbn): Use @var{} on parameter names.
39153 (scalbnf): Likewise.
39154 (scalbnl): Likewise.
39155 (scalbln): Likewise.
39156 (scalblnf): Likewise.
39157 (scalblnl): Likewise.
39158 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
39159 (vwarnx): Likewise.
39162 * manual/filesys.texi (telldir): Use braces around return type.
39163 * manual/llio.texi (mmap): Add space after comma.
39164 (mmap64): Likewise.
39165 * manual/math.texi (jn): Use @var{} on parameter names.
39171 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
39173 * manual/resource.texi (ulimit): Use @dots{} instead of literal
39175 (sched_get_priority_min): Remove semicolon on @deftypefun line.
39176 (sched_get_priority_max): Likewise.
39177 * manual/signal.texi (sigvec): Add space after comma.
39178 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
39180 (if_indextoname): Likewise.
39181 (if_freenameindex): Likewise.
39182 (sendto): Use ',' instead of '.' in prototype.
39183 * manual/startup.texi (syscall): Use @dots{} instead of literal
39185 * manual/stdio.texi (__fpending): Separate initial words of
39186 paragraph from @deftypefun line.
39187 * manual/syslog.texi (syslog): Use @dots{} instead of literal
39189 (vsyslog): Use @var{} on parameter names.
39190 * manual/terminal.texi (stty): Use @var{} on parameter names.
39191 * manual/users.texi (getutmp): Use @var{} on parameter names.
39192 (getutmpx): Likewise.
39194 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39197 * manual/stdio.texi (fopen): Fix typos in description of
39200 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
39203 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
39204 get clock_id definition.
39206 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
39209 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
39210 (madvise): Cast every argument to void on its own.
39212 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39215 * manual/startup.texi (Exit Status): Fix typo.
39217 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39220 * manual/examples/argp-ex1.c: Include <stdlib.h>.
39221 * manual/examples/argp-ex2.c: Likewise.
39222 * manual/examples/argp-ex3.c: Likewise.
39224 2012-02-16 Richard Henderson <rth@redhat.com>
39226 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
39227 * sysdeps/s390/s390-32/initfini.c: Remove.
39228 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
39229 * sysdeps/s390/s390-64/initfini.c: Remove.
39231 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39233 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
39234 compiler output for sysdeps/generic/initfini.c.
39235 * sysdeps/sh/elf/initfini.c: Remove file.
39237 2012-02-16 David S. Miller <davem@davemloft.net>
39240 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
39242 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
39243 * sysdeps/sparc/crti.S: New file.
39244 * sysdeps/sparc/crtn.S: New file.
39245 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
39246 * sysdeps/sparc/sparc64/Makefile: Likewise.
39248 2012-02-15 Mike Frysinger <vapier@gentoo.org>
39251 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
39253 2012-02-15 Roland McGrath <roland@hack.frob.com>
39256 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
39258 * mach/devstream.c (cookie_io_functions_t): Macro removed.
39259 (write, read, close): Likewise.
39260 Patch by Aurelien Jarno <aurelien@aurel32.net>.
39262 2012-02-15 Joseph Myers <joseph@codesourcery.com>
39264 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
39265 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
39266 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
39267 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
39269 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
39270 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39273 2012-02-14 Marek Polacek <polacek@redhat.com>
39275 * sysdeps/x86_64/crti.S: New file.
39276 * sysdeps/x86_64/crtn.S: New file.
39277 * sysdeps/x86_64/elf/initfini.c: Remove file.
39279 2012-02-13 Joseph Myers <joseph@codesourcery.com>
39281 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
39282 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
39283 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
39284 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
39286 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
39287 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39290 2012-02-13 Joseph Myers <joseph@codesourcery.com>
39292 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
39293 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
39294 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
39295 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
39297 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
39298 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39301 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
39303 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
39304 __feraiseexcept instead of feraiseexcept.
39306 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
39307 nanosleep invocations.
39308 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
39309 strings, and add error checking for a nanosleep invocations.
39311 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
39313 Replace FSF snail mail address with URLs, as per GNU coding standards.
39314 Most of the snail mail addresses were wrong anyway, and omitting
39315 them makes the source code easier to maintain. Almost all of the
39316 changes are to license notices and to locale LC_IDENTIFICATION
39317 addresses, except for this one:
39318 * manual/libc.texinfo: In "Published by", give the FSF's URL,
39319 not its snail mail address.
39321 2012-02-09 Richard Henderson <rth@twiddle.net>
39323 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
39324 of kernel-features.h.
39326 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
39328 2012-02-08 Marek Polacek <polacek@redhat.com>
39330 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
39331 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
39332 * sysdeps/gnu/_G_config.h: Likewise.
39333 * sysdeps/generic/_G_config.h: Likewise.
39335 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
39337 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
39339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39341 * sysdeps/powerpc/powerpc32/crti.S: New file.
39342 * sysdeps/powerpc/powerpc32/crtn.S: New file.
39343 * sysdeps/powerpc/powerpc64/crti.S: New file.
39344 * sysdeps/powerpc/powerpc64/crtn.S: New file.
39346 * Makeconfig (have-initfini): Don't set.
39347 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
39348 * configure.in (nopic_initfini): Don't substitute.
39349 * config.h.in (HAVE_INITFINI): Don't #undef.
39350 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
39351 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
39353 2012-02-08 Joseph Myers <joseph@codesourcery.com>
39355 Support crti.S and crtn.S provided directly by architectures.
39356 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
39357 [crti.S in sysdirs] (omit-deps): Likewise.
39358 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
39359 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
39360 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
39361 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
39362 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
39363 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
39364 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
39365 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
39366 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
39367 compiler output for sysdeps/generic/initfini.c.
39368 * sysdeps/i386/elf/Makefile: Remove file.
39369 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
39371 2012-02-07 Marek Polacek <polacek@redhat.com>
39373 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
39374 * sysdeps/gnu/_G_config.h: Likewise.
39375 * sysdeps/mach/hurd/_G_config.h: Likewise.
39377 2012-02-07 Marek Polacek <polacek@redhat.com>
39379 * math/Makefile (tests): Add tst-CMPLX2.
39380 * math/tst-CMPLX2.c: New file.
39382 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
39384 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39386 * math/libm-test.inc (jn_test): Add missing L suffix.
39388 2012-02-06 Marek Polacek <polacek@redhat.com>
39390 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
39391 * sysdeps/i386/fpu/e_powf.S: Likewise.
39392 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39393 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39394 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39395 * sysdeps/i386/fpu/e_pow.S: Likewise.
39396 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39397 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39398 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39399 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39400 * sysdeps/i386/fpu/e_log2.S: Likewise.
39401 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39402 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39403 * sysdeps/i386/fpu/e_powl.S: Likewise.
39404 * sysdeps/i386/fpu/s_log1p.S: Likewise.
39405 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39406 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39407 * sysdeps/i386/fpu/e_logl.S: Likewise.
39408 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39409 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
39410 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39411 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39412 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39413 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39414 * sysdeps/i386/fpu/e_log.S: Likewise.
39415 * sysdeps/i386/fpu/s_cexp.S: Likewise.
39416 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39417 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
39418 * sysdeps/i386/fpu/e_logf.S: Likewise.
39419 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39420 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39421 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
39422 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39423 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39424 * sysdeps/i386/fpu/e_log10.S: Likewise.
39425 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39426 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39427 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39428 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39429 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39430 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39431 * sysdeps/i386/asm-syntax.h: Likewise.
39432 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39433 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39434 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39435 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
39436 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
39437 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39438 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39439 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39440 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39441 * sysdeps/powerpc/sysdep.h: Likewise.
39442 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
39443 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39445 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39448 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
39450 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39452 * sysdeps/i386/sysdep.h: Include <features.h>.
39453 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
39456 2012-02-05 Joseph Myers <joseph@codesourcery.com>
39458 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39460 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39463 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39465 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39466 (SETUP_PIC_REG): Use GET_PC_THUNK.
39467 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39470 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39472 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39473 for non-PIC compilation.
39474 (SETUP_PIC_REG): Add .p2align directive.
39475 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39476 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39477 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39478 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39479 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39480 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39481 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39482 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39483 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39484 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39485 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39486 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39487 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39488 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39489 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39490 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39491 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39492 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39493 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39494 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39495 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39496 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39497 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39498 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39499 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39500 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39501 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39502 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39503 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39504 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39505 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39506 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39507 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39508 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39509 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39510 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39511 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39512 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39513 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39514 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39515 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39517 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39519 * math/tst-CMPLX.c: Include <stdio.h>.
39521 2012-01-31 Joseph Myers <joseph@codesourcery.com>
39523 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39525 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39526 * sysdeps/sparc/bits/mathdef.h: Likewise.
39528 2012-01-31 Marek Polacek <polacek@redhat.com>
39530 * libio/libio.h: Don't define _PARAMS.
39531 * locale/programs/config.h: Don't define PARAMS.
39532 * stdlib/strtol_l.c: Likewise.
39533 (__strtol_l): Remove PARAMS from the prototype.
39535 2012-01-31 Ulrich Drepper <drepper@gmail.com>
39537 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
39538 names. Just use the correct names. Remove unnecessary wrapper
39540 * malloc/arena.c: Likewise.
39541 * malloc/hooks.c: Likewise.
39543 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39544 ARENA_TEST says not to. Simplify test for creation of a new arena.
39545 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39547 2012-01-30 Ulrich Drepper <drepper@gmail.com>
39549 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39551 (update_get_addr): New function.
39552 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39553 GET_ADDR_MODULE parameter.
39555 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39557 * crypt/cert.c: Remove __STDC__ conditionals.
39558 * crypt/crypt-entry.c: Likewise.
39559 * crypt/crypt_util.c: Likewise.
39560 * libio/filedoalloc.c: Likewise.
39561 * libio/fileops.c: Likewise.
39562 * libio/genops.c: Likewise.
39563 * libio/iofclose.c: Likewise.
39564 * libio/iofdopen.c: Likewise.
39565 * libio/iofopen.c: Likewise.
39566 * libio/iofopen64.c: Likewise.
39567 * libio/iogetdelim.c: Likewise.
39568 * libio/iopopen.c: Likewise.
39569 * libio/obprintf.c: Likewise.
39570 * libio/oldfileops.c: Likewise.
39571 * libio/oldiofclose.c: Likewise.
39572 * libio/oldiofdopen.c: Likewise.
39573 * libio/oldiofopen.c: Likewise.
39574 * libio/oldiopopen.c: Likewise.
39575 * libio/wfiledoalloc.c: Likewise.
39576 * libio/wgenops.c: Likewise.
39577 * locale/programs/xmalloc.c: Likewise.
39578 * misc/syslog.c: Likewise.
39579 * stdio-common/xbug.c: Likewise.
39580 * string/memchr.c: Likewise.
39581 * string/memcmp.c: Likewise.
39582 * string/memrchr.c: Likewise.
39583 * string/rawmemchr.c: Likewise.
39584 * sysdeps/posix/getcwd.c: Likewise.
39585 * time/strftime_l.c: Likewise.
39587 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39589 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
39590 * config.make.in (config-cflags-sse2avx): Define.
39591 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39594 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
39596 * scripts/config.guess: Update from upstream config git repository.
39597 * scripts/config.sub: Likewise.
39599 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
39601 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39603 (R_TILEPRO_*, R_TILEGX_*): New macros.
39605 * scripts/firstversions.awk: Fix bug in version range handling.
39607 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39609 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39611 * include/sys/epoll.h: New file.
39612 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39615 2012-01-28 Ulrich Drepper <drepper@gmail.com>
39617 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39618 Avoid unnecessary __WORDSIZE == 64 test.
39619 (fmaxf): Use VEX format if possible.
39624 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39625 * math/math_private.h: Remove libc_fegetround* and
39627 * sysdeps/i386/configure.in: Check for -msse2avx.
39628 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39629 also if SSE2AVX is defined.
39630 Remove libc_fegetround* and libc_fesetround*.
39631 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39632 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
39633 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
39635 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39636 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39637 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39638 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39639 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39641 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
39643 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39645 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
39647 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39649 2012-01-27 Ulrich Drepper <drepper@gmail.com>
39652 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
39654 * Makeconfig (libm): Define.
39655 * elf/Makefile: Add rules to build and run tst-relsort1.
39656 * elf/tst-relsort1.c: New file.
39657 * elf/tst-relsort1mod1.c: New file.
39658 * elf/tst-relsort1mod2.c: New file.
39660 2012-01-27 Joseph Myers <joseph@codesourcery.com>
39662 * math/s_ldexp.c: Remove __STDC__ conditionals.
39663 * math/s_ldexpf.c: Likewise.
39664 * math/s_ldexpl.c: Likewise.
39665 * math/s_nextafter.c: Likewise.
39666 * math/s_nexttowardf.c: Likewise.
39667 * math/s_significand.c: Likewise.
39668 * math/s_significandf.c: Likewise.
39669 * math/s_significandl.c: Likewise.
39670 * math/w_jnl.c: Likewise.
39671 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39672 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39673 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39674 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39675 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39676 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39677 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
39678 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39679 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39680 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39681 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39682 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39683 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39684 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39685 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39686 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39687 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39688 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39689 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39690 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39691 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39692 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39693 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39694 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39695 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39696 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39697 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39698 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39699 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39700 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39701 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39702 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39703 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39704 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39705 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39706 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39707 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39708 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39709 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39710 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39711 * sysdeps/ieee754/k_standard.c: Likewise.
39712 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39713 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39714 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39715 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39716 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39717 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39718 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39719 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39720 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39721 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39722 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39723 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39724 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39725 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39726 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39727 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39728 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39729 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39730 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39731 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39732 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39733 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39734 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39735 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39736 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39737 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39738 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39739 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39740 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39741 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39742 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39743 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
39744 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39745 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39746 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39747 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39748 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
39749 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39750 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39751 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
39752 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
39753 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39754 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39755 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
39756 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39757 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39758 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39759 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39760 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39761 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39762 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
39763 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39764 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39765 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39766 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39767 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39768 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
39769 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39770 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39771 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39772 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39773 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39774 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39775 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39776 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39777 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39778 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39779 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39780 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39781 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39782 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39783 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39784 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39785 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39786 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39787 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39788 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39789 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39790 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39791 * sysdeps/ieee754/s_matherr.c: Likewise.
39792 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39793 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39794 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39795 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39797 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39799 * crypt/md5.h: Remove __STDC__ conditionals.
39800 * libio/libioP.h: Likewise.
39801 * locale/programs/config.h: Likewise.
39802 * sysdeps/generic/sysdep.h: Likewise.
39803 * sysdeps/i386/asm-syntax.h: Likewise.
39804 * sysdeps/s390/asm-syntax.h: Likewise.
39805 * sysdeps/unix/sysdep.h: Likewise.
39806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39809 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39811 * libio/libio.h: Remove __STDC__ conditionals.
39812 * malloc/obstack.h: Likewise.
39813 * math/complex.h: Likewise.
39814 * math/math.h: Likewise.
39815 * sysdeps/generic/_G_config.h: Likewise.
39816 * sysdeps/gnu/_G_config.h: Likewise.
39817 * sysdeps/mach/hurd/_G_config.h: Likewise.
39818 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39819 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39820 * sysdeps/sparc/bits/mathdef.h: Likewise.
39822 2012-01-26 Ulrich Drepper <drepper@gmail.com>
39825 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
39826 Clean up HAS_* macros.
39827 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
39828 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
39830 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
39832 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39833 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39834 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39835 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39836 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39838 2012-01-25 Joseph Myers <joseph@codesourcery.com>
39840 * elf/tst-unique3.cc (gets): Remove declaration.
39841 * elf/tst-unique3lib.cc (gets): Likewise.
39842 * elf/tst-unique3lib2.cc (gets): Likewise.
39843 * elf/tst-unique4.cc (gets): Likewise.
39845 2012-01-24 Ulrich Drepper <drepper@gmail.com>
39847 * include/stdio.h: Add C++ protection. Add gets declarations and
39849 * debug/tst-chk1.c: Don't declare gets here.
39850 * stdio-common/tst-gets.c: Likewise.
39852 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39854 * posix/glob: Remove directory.
39856 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39858 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
39860 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
39862 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
39863 of the non-standard EPFNOSUPPORT.
39865 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
39867 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
39868 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
39869 ANYWHERE set to 1 only on KERN_NO_SPACE error.
39871 2012-01-21 Ulrich Drepper <drepper@gmail.com>
39873 * wcsmbs/uchar.h: Test __STDC_VERSION__.
39875 2012-01-20 Ulrich Drepper <drepper@gmail.com>
39877 * nscd/aicache.c (addhstaiX): Do not cache negative results of
39879 * nscd/grpcache.c (cache_addgr): Likewise.
39880 * nscd/hstcache.c (cache_addhst): Likewise.
39881 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39882 * nscd/pwdcache.c (cache_addpw): Likewise.
39883 * nscd/servicescache.c (cache_addserv): Likewise.
39885 2012-01-16 Ulrich Drepper <drepper@gmail.com>
39887 * malloc/malloc.c: Various cleanups.
39888 * malloc/hooks.c: Likewise.
39890 * stdlib/Makefile (tests): Add bug-fmtmsg1.
39891 * stdlib/bug-fmtmsg1.c: New file.
39893 * stdlib/fmtmsg.c (init): Add missing unlock.
39894 Patch by Peng Haitao <penght@cn.fujitsu.com>.
39896 2012-01-12 Marek Polacek <polacek@redhat.com>
39898 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
39901 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39903 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
39904 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
39905 macro to ensure uniqueness of label name.
39906 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39907 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39909 2012-01-11 Ulrich Drepper <drepper@gmail.com>
39911 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
39913 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
39914 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39915 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39916 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
39918 2012-01-10 Ulrich Drepper <drepper@gmail.com>
39920 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
39922 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
39923 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39924 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39926 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
39928 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
39929 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39930 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39931 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
39933 * math/bits/math-finite.h: Add ldexp support.
39935 2012-01-10 Marek Polacek <polacek@redhat.com>
39937 * locale/programs/localedef.h (show_archive_content): Add noreturn
39940 2012-01-09 Ulrich Drepper <drepper@gmail.com>
39942 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
39944 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39946 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
39948 * io/Makefile (headers): Add bits/poll2.h.
39950 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
39952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
39953 typo #include statement.
39955 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39957 * include/sys/cdefs.h: Define __attribute_alloc_size.
39958 * catgets/gencat.c: Add alloc_size attribute and apply consistently
39959 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
39960 * elf/pldd.c: Likewise.
39961 * iconv/iconv_charmap.c: Likewise.
39962 * iconv/iconvconfig.c: Likewise.
39963 * iconv/strtab.c: Likewise.
39964 * locale/programs/locale.c: Likewise.
39965 * locale/programs/localedef.h: Likewise.
39966 * locale/programs/simple-hash.c: Likewise.
39967 * nscd/nscd.h: Likewise.
39968 * nss/makedb.c: Likewise.
39969 * sysdeps/generic/ldconfig.h: Likewise.
39970 * locale/programs/localedef.c: Remove xmalloc prototype.
39971 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39973 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39975 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39978 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39980 * math/Makefile (tests): Add tst-CMPLX.
39981 * math/tst-CMPLX.c: New file.
39983 * math/complex.h (CMPLXL): Fix typo.
39985 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
39986 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
39988 * debug/tst-chk1.c: Add poll and ppoll tests.
39989 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
39990 * include/sys/poll.h: Add hidden proto for ppoll.
39991 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39992 * sysdeps/mach/hurd/ppoll.c: Likewise.
39993 * io/ppoll.c: Likewise.
39994 * debug/poll_chk.c: New file.
39995 * debug/ppoll_chk.c: New file.
39996 * include/bits/poll2.h: New file.
39997 * io/bits/poll2.h: New file.
40000 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40002 * configure.in: static is always set to yes. Remove.
40003 * config.make.in: Don't set build-static.
40004 * Makeconfig: Remove use of build-static.
40005 * dlfcn/Makefile: Likewise.
40006 * elf/Makefile: Likewise.
40007 * math/Makefile: Likewise.
40008 * misc/Makefile: Likewise.
40009 * nptl/Makefile: Likewise.
40010 * sysdeps/mach/hurd/Makefile: Likewise.
40012 * configure.in: PWD_P is not used anymore.
40013 * config.make.in: Remove PWD_P entry.
40015 * configure.in: Remove last remnants of RANLIB.
40016 No need to check for signed size_t anymore.
40017 Don't set libc_commonpagesize and libc_relro_required here for Alpha
40019 Remove __builtin_expect test because we require at least gcc 3.4.
40020 * aclocal.m4: Likewise.
40022 * wcsmbs/mbrtoc16.c: Implement using towc function.
40023 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40024 * wcsmbs/wcsmbsload.c: Likewise.
40025 * iconv/gconv_simple.c: Likewise.
40026 * iconv/gconv_int.h: Likewise.
40027 * iconv/gconv_builtin.h: Likewise.
40028 * iconv/iconv_prog.c: Remove CHAR16 handling.
40030 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40032 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40034 * configure.in: Remove --with-elf and --enable-bounded options.
40035 Dont set base_machine for ia64. More non-ELF conditions removed.
40036 Remove testing and setting of leading underscore information.
40037 * config.make.in (build-bounded): Set to no.
40038 * config.h.in: Remove NO_UNDERSCORES entry.
40039 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
40041 * csu/start.c: Remove !NO_UNDERSCORE code.
40042 * locale/localeinfo.h: Likewise.
40043 * sysdeps/generic/machine-gmon.h: Likewise.
40044 * sysdeps/generic/sysdep.h: Likewise.
40045 * sysdeps/i386/sysdep.h: Likewise.
40046 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40047 * sysdeps/mach/sysdep.h: Likewise.
40048 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40049 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40050 * sysdeps/sh/sysdep.h: Likewise.
40051 * sysdeps/sparc/sparc32/alloca.S: Likewise.
40052 * sysdeps/unix/i386/sysdep.S: Likewise.
40053 * sysdeps/unix/sparc/start.c: Likewise.
40054 * sysdeps/unix/sparc/sysdep.S: Likewise.
40055 * sysdeps/unix/sparc/sysdep.h: Likewise.
40056 * sysdeps/unix/start.c: Likewise.
40057 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40058 * sysdeps/x86_64/sysdep.h: Likewise.
40060 2012-01-07 Ulrich Drepper <drepper@gmail.com>
40063 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40065 * argp/argp-fmtstream.h: Use const instead __const.
40066 * argp/argp.h: Likewise.
40067 * assert/assert.h: Likewise.
40068 * bits/fenv.h: Likewise.
40069 * bits/sched.h: Likewise.
40070 * bits/sigset.h: Likewise.
40071 * bits/sigthread.h: Likewise.
40072 * catgets/nl_types.h: Likewise.
40073 * conform/data/pthread.h-data: Likewise.
40074 * crypt/crypt-private.h: Likewise.
40075 * crypt/crypt.h: Likewise.
40076 * crypt/crypt_util.c: Likewise.
40077 * ctype/ctype.h: Likewise.
40078 * debug/execinfo.h: Likewise.
40079 * debug/mbsnrtowcs_chk.c: Likewise.
40080 * debug/mbsrtowcs_chk.c: Likewise.
40081 * debug/wcsnrtombs_chk.c: Likewise.
40082 * debug/wcsrtombs_chk.c: Likewise.
40083 * debug/wcstombs_chk.c: Likewise.
40084 * dirent/dirent.h: Likewise.
40085 * dlfcn/dlfcn.h: Likewise.
40086 * elf/neededtest4.c: Likewise.
40087 * grp/grp.h: Likewise.
40088 * gshadow/gshadow.h: Likewise.
40089 * iconv/gconv.h: Likewise.
40090 * iconv/gconv_int.h: Likewise.
40091 * iconv/gconv_simple.c: Likewise.
40092 * iconv/iconv.h: Likewise.
40093 * iconv/loop.c: Likewise.
40094 * iconv/skeleton.c: Likewise.
40095 * include/aio.h: Likewise.
40096 * include/aliases.h: Likewise.
40097 * include/argz.h: Likewise.
40098 * include/arpa/inet.h: Likewise.
40099 * include/assert.h: Likewise.
40100 * include/dirent.h: Likewise.
40101 * include/dlfcn.h: Likewise.
40102 * include/execinfo.h: Likewise.
40103 * include/fcntl.h: Likewise.
40104 * include/fenv.h: Likewise.
40105 * include/glob.h: Likewise.
40106 * include/grp.h: Likewise.
40107 * include/libintl.h: Likewise.
40108 * include/mntent.h: Likewise.
40109 * include/netdb.h: Likewise.
40110 * include/pwd.h: Likewise.
40111 * include/rpc/netdb.h: Likewise.
40112 * include/sched.h: Likewise.
40113 * include/search.h: Likewise.
40114 * include/shadow.h: Likewise.
40115 * include/signal.h: Likewise.
40116 * include/stdio.h: Likewise.
40117 * include/stdlib.h: Likewise.
40118 * include/string.h: Likewise.
40119 * include/sys/socket.h: Likewise.
40120 * include/sys/stat.h: Likewise.
40121 * include/sys/statfs.h: Likewise.
40122 * include/sys/statvfs.h: Likewise.
40123 * include/sys/syslog.h: Likewise.
40124 * include/sys/time.h: Likewise.
40125 * include/sys/uio.h: Likewise.
40126 * include/time.h: Likewise.
40127 * include/unistd.h: Likewise.
40128 * include/utmp.h: Likewise.
40129 * include/wchar.h: Likewise.
40130 * include/wctype.h: Likewise.
40131 * inet/aliases.h: Likewise.
40132 * inet/arpa/inet.h: Likewise.
40133 * inet/netinet/ether.h: Likewise.
40134 * inet/netinet/in.h: Likewise.
40135 * intl/libintl.h: Likewise.
40136 * io/bits/fcntl2.h: Likewise.
40137 * io/fcntl.h: Likewise.
40138 * io/ftw.h: Likewise.
40139 * io/sys/poll.h: Likewise.
40140 * io/sys/stat.h: Likewise.
40141 * io/sys/statfs.h: Likewise.
40142 * io/sys/statvfs.h: Likewise.
40143 * io/utime.h: Likewise.
40144 * libio/bits/stdio.h: Likewise.
40145 * libio/bits/stdio2.h: Likewise.
40146 * libio/libio.h: Likewise.
40147 * libio/libioP.h: Likewise.
40148 * libio/stdio.h: Likewise.
40149 * locale/lc-ctype.c: Likewise.
40150 * locale/locale.h: Likewise.
40151 * login/utmp.h: Likewise.
40152 * malloc/arena.c: Likewise.
40153 * malloc/malloc.c: Likewise.
40154 * malloc/malloc.h: Likewise.
40155 * malloc/mcheck.c: Likewise.
40156 * malloc/mtrace.c: Likewise.
40157 * math/bits/mathcalls.h: Likewise.
40158 * math/fenv.h: Likewise.
40159 * math/math_private.h: Likewise.
40160 * misc/bits/error.h: Likewise.
40161 * misc/bits/syslog.h: Likewise.
40162 * misc/err.h: Likewise.
40163 * misc/error.h: Likewise.
40164 * misc/fstab.h: Likewise.
40165 * misc/mntent.h: Likewise.
40166 * misc/regexp.h: Likewise.
40167 * misc/search.h: Likewise.
40168 * misc/sgtty.h: Likewise.
40169 * misc/sys/mman.h: Likewise.
40170 * misc/sys/syslog.h: Likewise.
40171 * misc/sys/uio.h: Likewise.
40172 * misc/sys/xattr.h: Likewise.
40173 * misc/ttyent.h: Likewise.
40174 * nis/rpcsvc/ypclnt.h: Likewise.
40175 * nss/nss.h: Likewise.
40176 * posix/bits/unistd.h: Likewise.
40177 * posix/fnmatch.h: Likewise.
40178 * posix/glob.h: Likewise.
40179 * posix/sched.h: Likewise.
40180 * posix/spawn.h: Likewise.
40181 * posix/sys/wait.h: Likewise.
40182 * posix/unistd.h: Likewise.
40183 * posix/wordexp.h: Likewise.
40184 * pwd/pwd.h: Likewise.
40185 * resolv/netdb.h: Likewise.
40186 * resource/sys/resource.h: Likewise.
40187 * rt/aio.h: Likewise.
40188 * rt/bits/mqueue2.h: Likewise.
40189 * rt/mqueue.h: Likewise.
40190 * shadow/shadow.h: Likewise.
40191 * signal/signal.h: Likewise.
40192 * socket/send.c: Likewise.
40193 * socket/sendto.c: Likewise.
40194 * socket/sys/socket.h: Likewise.
40195 * stdio-common/printf.h: Likewise.
40196 * stdlib/bits/stdlib.h: Likewise.
40197 * stdlib/fmtmsg.h: Likewise.
40198 * stdlib/monetary.h: Likewise.
40199 * stdlib/stdlib.h: Likewise.
40200 * stdlib/ucontext.h: Likewise.
40201 * streams/stropts.h: Likewise.
40202 * string/argz.h: Likewise.
40203 * string/bits/string2.h: Likewise.
40204 * string/string.h: Likewise.
40205 * string/strings.h: Likewise.
40206 * sunrpc/rpc/auth.h: Likewise.
40207 * sunrpc/rpc/auth_des.h: Likewise.
40208 * sunrpc/rpc/clnt.h: Likewise.
40209 * sunrpc/rpc/netdb.h: Likewise.
40210 * sunrpc/rpc/pmap_clnt.h: Likewise.
40211 * sunrpc/rpc/xdr.h: Likewise.
40212 * sysdeps/generic/inttypes.h: Likewise.
40213 * sysdeps/generic/net/if.h: Likewise.
40214 * sysdeps/generic/sys/swap.h: Likewise.
40215 * sysdeps/gnu/net/if.h: Likewise.
40216 * sysdeps/gnu/utmpx.h: Likewise.
40217 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
40218 * sysdeps/i386/i486/bits/string.h: Likewise.
40219 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
40220 * sysdeps/s390/bits/string.h: Likewise.
40221 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
40222 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
40223 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
40224 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
40225 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
40226 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
40227 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
40228 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
40229 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
40230 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
40231 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
40232 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
40233 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
40234 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
40235 * sysdeps/unix/sysv/linux/readv.c: Likewise.
40236 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
40237 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40238 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40239 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40240 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40241 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40242 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
40243 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
40244 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
40245 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
40246 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
40247 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
40248 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40249 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
40250 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
40251 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
40252 * sysvipc/sys/ipc.h: Likewise.
40253 * sysvipc/sys/msg.h: Likewise.
40254 * sysvipc/sys/sem.h: Likewise.
40255 * sysvipc/sys/shm.h: Likewise.
40256 * termios/termios.h: Likewise.
40257 * time/sys/time.h: Likewise.
40258 * time/time.h: Likewise.
40259 * wcsmbs/bits/wchar2.h: Likewise.
40260 * wcsmbs/uchar.h: Likewise.
40261 * wcsmbs/wchar.h: Likewise.
40262 * wctype/wctype.h: Likewise.
40265 * Makeconfig: Remove all but ELF support including AIX support.
40266 * Makerules: Likewise.
40267 * config.h.in: Likewise.
40268 * config.make.in: Likewise.
40269 * configure: Likewise.
40270 * configure.in: Likewise.
40271 * csu/Makefile: Likewise.
40272 * csu/version.c: Likewise.
40273 * debug/Makefile: Likewise.
40274 * dlfcn/Makefile: Likewise.
40275 * elf/Makefile: Likewise.
40276 * extra-lib.mk: Likewise.
40277 * iconv/Makefile: Likewise.
40278 * include/libc-symbols.h: Likewise.
40279 * include/shlib-compat.h: Likewise.
40280 * resolv/Makefile: Likewise.
40281 * resolv/res_libc.c: Likewise.
40282 * rt/Makefile: Likewise.
40283 * sysdeps/i386/asm-syntax.h: Likewise.
40284 * sysdeps/i386/sysdep.h: Likewise.
40285 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40286 * sysdeps/mach/sysdep.h: Likewise.
40287 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
40288 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
40289 * sysdeps/s390/asm-syntax.h: Likewise.
40290 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40291 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40292 * sysdeps/sh/sysdep.h: Likewise.
40293 * sysdeps/unix/sparc/sysdep.h: Likewise.
40294 * sysdeps/wordsize-32/divdi3.c: Likewise.
40295 * sysdeps/x86_64/sysdep.h: Likewise.
40297 * argp/Versions: Remove _argp_unlock_xxx.
40300 * abilist/ld.abilist: Update. Adjust for removal of tls option.
40301 * abilist/libBrokenLocale.abilist: Likewise.
40302 * abilist/libanl.abilist: Likewise.
40303 * abilist/libc.abilist: Likewise.
40304 * abilist/libcrypt.abilist: Likewise.
40305 * abilist/libdl.abilist: Likewise.
40306 * abilist/libm.abilist: Likewise.
40307 * abilist/libnsl.abilist: Likewise.
40308 * abilist/libpthread.abilist: Likewise.
40309 * abilist/libresolv.abilist: Likewise.
40310 * abilist/librt.abilist: Likewise.
40311 * abilist/libthread_db.abilist: Likewise.
40312 * abilist/libutil.abilist: Likewise.
40313 * abilist/libnss_db.abilist: New file.
40315 * scripts/abilist.awk: Add support for indirect functions.
40317 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
40319 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
40321 * shlib-versions: Remove entries for ports architectures.
40323 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
40325 * elf/stackguard-macros.h: Remove support for IA-64.
40326 * elf/tst-auditmod1.c: Likewise.
40327 * sysdeps/generic/ldsodefs.h: Likewise.
40329 * sysdeps/unix/sysv/linux/configure.in: Ports should define
40330 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
40334 * configure.in: Remove --enable-omitfp support.
40336 * config.make.in: Likewise.
40337 * Makeconfig: Likewise.
40338 * manual/install.texi: Likewise.
40340 In case anyone cares, the IA-64 architecture could move to ports.
40341 * sysdeps/ia64/*: Removed.
40342 * sysdeps/unix/sysv/linux/ia64/*: Removed.
40343 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
40346 * configure.in: Remove entries for unsupported architectures.
40349 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
40350 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
40352 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
40353 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
40354 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
40355 fall back to using wcrtomb.
40356 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
40357 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
40359 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
40360 * wcsmbs/tst-c16c32-1.c: New file.
40362 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
40365 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
40367 * elf/tst-unique3.cc: Add explicit declaration of gets.
40368 * elf/tst-unique3lib.cc: Likewise.
40369 * elf/tst-unique3lib2.cc: Likewise.
40370 * elf/tst-unique4.cc: Likewise.
40372 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
40374 2012-01-06 Joseph Myers <joseph@codesourcery.com>
40377 * assert/assert.h (static_assert): Don't define for C++.
40378 * libio/stdio.h (gets): Do declare for C++ <= C++11.
40379 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
40381 2012-01-03 Ulrich Drepper <drepper@gmail.com>
40383 * iconv/loop.c (single loop): Fix assertion in storing of
40386 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
40388 2012-01-01 Ulrich Drepper <drepper@gmail.com>
40390 * posix/getconf.c: Update copyright year.
40391 * nss/getent.c: Likewise.
40392 * nss/makedb.c: Likewise.
40393 * iconv/iconvconfig.c: Likewise.
40394 * iconv/iconv_prog.c: Likewise.
40395 * elf/ldconfig.c: Likewise.
40396 * elf/pldd.c: Likewise.
40397 * elf/sotruss.ksh: Likewise.
40398 * catgets/gencat.c: Likewise.
40399 * csu/version.c: Likewise.
40400 * elf/ldd.bash.in: Likewise.
40401 * elf/sprof.c (print_version): Likewise.
40402 * locale/programs/locale.c: Likewise.
40403 * locale/programs/localedef.c: Likewise.
40404 * login/programs/pt_chown.c: Likewise.
40405 * nscd/nscd.c (print_version): Likewise.
40406 * debug/xtrace.sh: Likewise.
40407 * malloc/memusage.sh: Likewise.
40408 * malloc/mtrace.pl: Likewise.
40409 * debug/catchsegv.sh: Likewise.
40411 2011-12-30 Jakub Jelinek <jakub@redhat.com>
40413 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
40416 2011-12-24 Ulrich Drepper <drepper@gmail.com>
40419 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
40420 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
40422 * iconv/gconv_int.h: Likewise.
40423 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
40424 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
40425 from libc for GLIBC_2.16.
40426 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
40427 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
40428 * wcsmbs/uchar.h: Really define mbstate_t.
40429 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
40430 * wcsmbs/c16rtomb.c: New file.
40431 * wcsmbs/mbrtoc16.c: New file.
40432 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
40433 for C/POSIX locale.
40434 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
40435 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
40437 * wcsmbs/wchar.h: Add missing __restrict.
40439 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40442 * time/Makefile (routines): Add timespec_get.
40443 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
40444 * time/time.h: Define TIME_UTC and declare timespec_get. Define
40445 timespec for ISO C11.
40446 * time/timespec_get.c: New file.
40447 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
40448 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
40451 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
40452 * stdlib/stdlib.h: Declare aligned_alloc.
40453 * Versions.def: Add GLIBC_2.16 for libc.
40454 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
40457 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40460 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
40464 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40467 * assert/assert.h (static_assert): Define.
40469 * version.h: Update for 2.16 development version.
40472 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40475 * version.h (RELEASE): Bump for 2.15 release.
40476 * include/features.h (__GLIBC_MINOR__): Bump to 15.
40478 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40479 Patch by Marek Polacek <mpolacek@redhat.com>.
40481 * bits/byteswap.h: Protect long long constants with __extension__.
40482 * sysdeps/i386/bits/byteswap.h: Likewise.
40483 * sysdeps/ia64/bits/byteswap.h: Likewise.
40484 * sysdeps/s390/bits/byteswap.h: Likewise.
40485 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40487 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40490 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40491 destination buffer.
40492 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40494 2011-12-23 Marek Polacek <polacek@redhat.com>
40496 * elf/dl-addr.c (determine_info): Add inline keyword.
40497 * elf/tst-auditmod4b.c (check_avx): Likewise.
40498 * elf/tst-auditmod6b.c (check_avx): Likewise.
40499 * elf/tst-auditmod6c.c (check_avx): Likewise.
40500 * elf/tst-auditmod7b.c (check_avx): Likewise.
40502 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40504 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40507 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40510 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40511 processing for last bytes.
40513 2011-08-06 Bruno Haible <bruno@clisp.org>
40516 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40517 U+0385, not to U+1FEE.
40520 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40521 entry for U+00A5 U+0301.
40523 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40526 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40527 buffer for the output is too small.
40529 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40533 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40534 SSE flags if possible.
40536 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40539 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40540 processing for last bytes.
40542 2011-12-22 Joseph Myers <joseph@codesourcery.com>
40544 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40545 (syscall-list-default-options, syscall-list-default-condition)
40546 (syscall-list-includes): Define.
40547 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40548 list of ABIs and options and #if conditions for each ABI. Do not
40549 handle common syscalls between ABIs specially.
40550 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40552 (syscall-list-variants, syscall-list-32bit-options)
40553 (syscall-list-32bit-condition, syscall-list-64bit-options)
40554 (syscall-list-64bit-condition): Define.
40555 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
40556 (syscall-list-variants, syscall-list-32bit-options)
40557 (syscall-list-32bit-condition, syscall-list-64bit-options)
40558 (syscall-list-64bit-condition): Define.
40559 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
40561 (syscall-list-variants, syscall-list-32bit-options)
40562 (syscall-list-32bit-condition, syscall-list-64bit-options)
40563 (syscall-list-64bit-condition): Define.
40564 * sysdeps/unix/sysv/linux/x86_64/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.
40570 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40572 * locale/iso-639.def: Add brx entry.
40575 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40576 Proposed by Mariusz_Cukr <marcukr@op.pl>.
40578 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40579 __feraiseexcept_renamed.
40581 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40584 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40585 EPOLLET with unsigned values.
40586 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40587 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40589 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40590 to large cancellation.
40591 * math/s_cacoshf.c: Likewise.
40592 * math/s_cacoshl.c: Likewise.
40594 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
40598 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40599 * math/s_cacoshf.c: Likewise.
40600 * math/s_cacoshl.c: Likewise.
40602 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40605 * iconv/gconv.h: Define __GCONV_SWAP.
40606 * iconvdata/unicode.c: The swap bit must be stored in __flags.
40607 * iconvdata/utf-16.c: Likewise.
40608 * iconvdata/utf-32.c: Likewise.
40610 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
40613 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40614 numerator after shifting it by one limb.
40616 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
40618 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40619 under [__USE_EXTERN_INLINES].
40621 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40624 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40626 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40628 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40629 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40631 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40632 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
40633 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
40634 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
40635 for strncasecmp/strncasecmp_l compilation.
40636 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
40637 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
40639 2011-12-08 Marek Polacek <mpolacek@redhat.com>
40642 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
40645 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40648 * time/tzfile.c (__tzfile_read): Check values from file header.
40650 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
40652 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
40653 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
40654 * powerpc/powerpc32/dl-start.S: Likewise.
40655 * powerpc/powerpc32/elf/start.S: Likewise.
40656 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40657 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
40658 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
40659 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
40660 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40661 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
40662 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
40663 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40664 * powerpc/powerpc32/fpu/s_round.S: Likewise.
40665 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40666 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40667 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40668 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40669 * powerpc/powerpc32/memset.S: Likewise.
40670 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40671 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40672 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40673 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40674 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40675 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40676 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40677 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40678 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
40679 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
40680 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
40681 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40682 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40684 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40686 * math/libm-test.inc: Added more nearbyint tests.
40687 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
40688 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
40689 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
40690 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
40692 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
40694 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
40697 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40699 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
40700 Add wcscpy-ssse3 wcscpy-c.
40701 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
40702 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
40703 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
40704 * sysdeps/x86_64/wcschr.S: New file.
40705 * sysdeps/x86_64/wcsrchr.S: New file.
40706 * string/test-strcmp.c: Remove checking of wcscmp function for
40708 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
40709 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
40710 wcsrchr-sse2 wcsrchr-c.
40711 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
40712 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
40713 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
40714 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
40715 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
40716 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
40717 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
40718 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
40719 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
40720 * wcsmbc/wcschr.c (WCSCHR): New macro.
40722 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40724 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
40725 * wcsmbs/test-wcsrchr.c: New file.
40726 * string/test-strrchr.c: Add wcsrchr support.
40728 * wcsmbs/test-wcscpy.c: New file.
40729 * string/test-strcpy.c: Add wcscpy support.
40732 2011-12-10 Ulrich Drepper <drepper@gmail.com>
40734 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
40737 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
40740 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
40742 2011-12-04 Ulrich Drepper <drepper@gmail.com>
40744 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
40745 Minor optimizations.
40747 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
40748 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
40749 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
40751 2011-12-03 Ulrich Drepper <drepper@gmail.com>
40753 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
40754 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
40755 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
40756 for gcc to avoid warnings.
40757 * inet/Makefile (tests): Add tst-checks.
40758 * inet/tst-checks.c: New file.
40760 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
40763 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
40766 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
40767 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
40769 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
40771 2011-12-02 Ulrich Drepper <drepper@gmail.com>
40773 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
40776 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
40778 2011-11-29 Joseph Myers <joseph@codesourcery.com>
40780 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
40781 conditional on GCC version.
40782 (__arch_compare_and_exchange_val_8_acq)
40783 (__arch_compare_and_exchange_val_16_acq)
40784 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
40785 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
40786 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
40788 2011-12-02 Joseph Myers <joseph@codesourcery.com>
40790 * sysdeps/sh/backtrace.c: New file.
40792 2011-12-02 Andreas Schwab <schwab@redhat.com>
40794 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
40797 2011-12-01 Andreas Schwab <schwab@redhat.com>
40799 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
40800 falling back to utime.
40802 2011-11-30 Andreas Schwab <schwab@redhat.com>
40804 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
40805 expectations for float.
40807 2011-11-29 Andreas Schwab <schwab@redhat.com>
40809 * locale/weight.h (findidx): Add parameter len.
40810 * locale/weightwc.h (findidx): Likewise.
40811 * posix/fnmatch_loop.c (FCT): Adjust caller.
40812 * posix/regcomp.c (build_equiv_class): Likewise.
40813 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
40814 * posix/regexec.c (check_node_accept_bytes): Likewise.
40815 * string/strcoll_l.c (STRCOLL): Likewise.
40816 * string/strxfrm_l.c (STRXFRM): Likewise.
40818 2011-11-17 Ulrich Drepper <drepper@gmail.com>
40820 * Makefile.in: Remove CVSOPT handling.
40821 * configure.in: Remove use of AC_REVISION.
40822 * iconvdata/Makefile (distribute): No need to filter out CVS.
40823 * scripts/list-sources.sh: Remove CVS, subversion and monotone
40826 2011-11-16 Andreas Schwab <schwab@redhat.com>
40828 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
40829 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
40830 [USE_AS_STRNCASECMP_L]: Likewise.
40831 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
40832 NO_TLS_DIRECT_SEG_REFS.
40833 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
40834 Fix argument offsets for non-PIC.
40835 [USE_AS_STRNCASECMP_L]: Likewise.
40836 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
40837 NO_TLS_DIRECT_SEG_REFS.
40839 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40841 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
40843 * locale/loadlocale.c (_nl_load_locale): Likewise.
40845 2011-11-15 Andreas Schwab <schwab@redhat.com>
40847 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
40848 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
40849 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
40850 (SYSCALL_GETTIME): Set errno on error.
40852 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
40853 count references to noai6ai_cached.
40855 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40857 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
40859 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
40860 FD_CLOEXEC for /proc/self/maps.
40862 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
40863 FD_CLOEXEC for /proc/meminfo.
40865 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
40868 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
40869 FD_CLOEXEC for given file.
40871 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
40873 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
40874 FD_CLOEXEC for /etc/hosts.
40875 (_gethtent): Likewise.
40877 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
40879 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
40880 cancellation and set FD_CLOEXEC for /etc/netgroup.
40882 * nss/nss_files/files-key.c (search): Don't allow cancellation when
40883 reading /etc/publickey.
40885 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
40886 allow cancellation when reading /etc/group.
40888 * nss/nss_files/files-alias.c (internal_setent): Don't allow
40890 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
40892 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
40893 when using data file.
40895 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
40897 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
40898 (write_nis_obj): Use "c" and "e" in fopen.
40900 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
40902 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
40904 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
40906 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
40908 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
40911 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
40913 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
40915 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
40917 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
40918 file parsing and set FD_CLOEXEC.
40920 2011-11-14 Ulrich Drepper <drepper@gmail.com>
40922 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
40924 2011-11-14 Andreas Schwab <schwab@redhat.com>
40926 * malloc/arena.c (arena_get2): Don't call reused_arena when
40927 _int_new_arena failed.
40929 2011-11-14 Ulrich Drepper <drepper@gmail.com>
40931 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
40932 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
40933 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
40934 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40935 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40936 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
40937 to compile strcasecmp and strncasecmp.
40938 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
40939 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
40941 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
40943 2011-11-13 Ulrich Drepper <drepper@gmail.com>
40945 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
40946 locale-defines.sym to gen-as-const-headers.
40947 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
40948 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
40949 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
40950 to compile strcasecmp and strncasecmp.
40951 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
40952 strcasecmp_l and strncasecmp_l.
40953 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
40954 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
40955 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
40956 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
40957 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
40958 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
40959 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
40960 * sysdeps/i386/i686/multiarch/strncase.S: New file.
40961 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
40962 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
40963 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
40965 2011-11-12 Ulrich Drepper <drepper@gmail.com>
40967 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
40968 result of SYSDEP_GETTIME_CPU to retval.
40969 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40970 parameter list to macro. Remove trailing semicolon. Adjust users.
40972 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40975 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40977 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40979 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40980 from unused variable.
40982 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40984 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
40987 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
40990 * sunrpc/rpc_prot.c (rejected): Fix case value.
40992 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40993 unsigned long long int to avoid warnings in shift.
40995 * posix/regex_internal.c (re_string_reconstruct): Actually use result
40997 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41000 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41001 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41002 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41004 * nis/nis_table.c (nis_list): Use variable of correct type for
41005 result of __follow_path call.
41007 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41009 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41010 of math functions ceil, trunc, floor, round, and sqrt, when
41011 avaliable on the platform.
41012 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41014 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41015 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41016 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41018 2011-10-30 Marek Polacek <mpolacek@redhat.com>
41020 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41021 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41023 2011-11-11 Roland McGrath <roland@hack.frob.com>
41025 * include/unistd.h: Fix __readlink return type.
41026 Reported by Chris Metcalf <cmetcalf@tilera.com>.
41028 2011-11-11 Ulrich Drepper <drepper@gmail.com>
41030 * stdlib/ucontext.h: Undo last change for makecontext.
41032 2011-11-11 Andreas Schwab <schwab@redhat.com>
41034 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41036 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41037 * setjmp/setjmp.h: Mark functions as non-leaf.
41038 * setjmp/bits/setjmp2.h: Likewise.
41039 * stdlib/ucontext.h: Likewise.
41041 2011-11-10 Andreas Schwab <schwab@redhat.com>
41043 * malloc/arena.c (_int_new_arena): Don't increment narenas.
41044 (reused_arena): Don't check arena limit.
41045 (arena_get2): Atomically check arena limit.
41047 2011-11-08 Ulrich Drepper <drepper@gmail.com>
41049 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41050 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41052 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41055 2011-11-07 Andreas Schwab <schwab@redhat.com>
41057 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41058 handler when locking.
41060 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41061 Fix size of allocated buffer.
41063 2011-11-04 Andreas Schwab <schwab@redhat.com>
41066 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41067 declarations for long double functions.
41068 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41070 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41072 2011-11-03 Andreas Schwab <schwab@redhat.com>
41074 * nscd/nscd.c (main): Don't start AVC thread until credentials are
41077 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41080 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
41082 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41084 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
41086 * include/alloca.h (stackinfo_alloca_round): Define.
41087 (extend_alloca): Use it.
41088 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41089 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41092 * scripts/check-local-headers.sh: Ignore libaudit.h.
41094 * nscd/Makefile (extra-objs): Make recursively expanded.
41096 2011-11-01 Ulrich Drepper <drepper@gmail.com>
41098 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41099 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41101 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41102 * posix/tst-rfc3484-2.c: Likewise.
41103 * posix/tst-rfc3484-3.c: Likewise.
41105 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41107 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41109 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41110 process_vm_writev from libc using GLIBC_2.15 version.
41112 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41114 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
41116 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41119 2011-10-31 Ulrich Drepper <drepper@gmail.com>
41122 * nss/getent.c (initgroups_keys): Show error message in case no group
41125 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
41126 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
41127 __bump_nl_timestamp.
41128 * nscd/connections (nscd_init): When host database is served open
41129 netlink socket and request notification about configuration changes.
41130 (main_loop_poll): Track netlink file descriptor and bump timestamp
41131 in case data becomes available.
41132 (main_loop_epoll): Likewise.
41133 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
41134 (database_pers_head): Add extra_data fileds.
41135 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
41136 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
41137 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
41139 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
41140 in6ai data, call __free_in6ai.
41141 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
41142 Add -DHAVE_NETLINK.
41143 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
41144 interface information. Reuse previous data if netlink timestamp
41146 (__bump_nl_timestamp): New function.
41147 (__free_in6ai): New function.
41149 2011-10-30 Ulrich Drepper <drepper@gmail.com>
41151 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
41152 close_not_cancel_no_status here.
41153 (__check_pf): Reorganize code a bit to not call close twice if OOM.
41155 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41158 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
41161 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
41162 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
41163 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
41165 2011-07-03 Andreas Jaeger <aj@suse.de>
41168 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
41169 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
41170 * math/libm-test.inc (sin_test): Add test case.
41172 2011-10-29 Ulrich Drepper <drepper@gmail.com>
41175 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
41176 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41178 * elf/chroot_canon.c (chroot_canon): Cleanups.
41180 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
41183 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
41184 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41186 * string/test-strchr.c: Make usable for strchrnul testing.
41187 * string/test-strchrnul.c: New file.
41188 * string/Makefile (strop-tests): Add strchrnul.
41190 * po/it.po: Update from translation team.
41191 * po/es.po: Likewise.
41193 2011-10-28 Ulrich Drepper <drepper@gmail.com>
41195 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
41196 the three constants needed as parameters. Drop the others.
41197 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
41198 __m128i_strloadu_tolower.
41199 Create and initialize variable zero and use it in all the places
41200 where _mm_setzero_si128 was used.
41202 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
41203 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
41204 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
41205 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
41207 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
41208 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
41209 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
41210 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
41211 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
41212 __mpranred, __mptan.
41213 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
41214 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
41215 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
41216 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
41217 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
41218 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
41219 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
41220 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
41221 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
41223 2011-10-28 Andreas Schwab <schwab@redhat.com>
41225 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
41226 redefine if SHARED.
41227 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
41229 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
41230 wide char related routines to wcsmbs subdir.
41232 2011-10-27 Andreas Schwab <schwab@redhat.com>
41235 * misc/sys/cdefs.h (__THROWNL): Define.
41236 * posix/unistd.h: Use __THREADNL instead of __THREAD
41237 for memory synchronization functions.
41239 2011-10-26 Roland McGrath <roland@hack.frob.com>
41242 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
41244 * manual/stdio.texi (Obstack Streams): Node removed.
41246 2011-10-26 Andreas Schwab <schwab@redhat.com>
41248 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
41249 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41250 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41252 * math/math_private.h (math_force_eval): Allow non-addressable
41254 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
41256 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41258 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
41259 file is not needed.
41261 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
41262 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
41263 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41264 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41265 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41266 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41267 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41268 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
41270 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
41271 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
41272 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
41273 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
41274 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
41275 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
41276 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
41277 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
41278 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
41279 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
41280 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
41281 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
41282 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
41283 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
41284 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
41285 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
41286 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
41287 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
41288 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
41290 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
41291 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
41293 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
41294 place. Use VEX encoding when compiling for AVX.
41296 2011-10-25 Andreas Schwab <schwab@redhat.com>
41298 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
41299 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41301 * string/test-strchr.c (do_test): Don't generate NUL bytes.
41303 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41305 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
41306 useless if() expression.
41307 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41308 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41309 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41310 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41311 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41312 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41313 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41314 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41315 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41316 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41317 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41318 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41319 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41320 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41321 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41322 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41323 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41324 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41325 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41327 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
41329 2011-10-25 Andreas Schwab <schwab@redhat.com>
41331 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
41333 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41335 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41337 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
41338 .text section. Avoid duplicate constants.
41339 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41340 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41341 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41342 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41343 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41344 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41345 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41346 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41347 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41348 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
41349 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41350 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41351 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41352 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41353 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41354 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41355 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41356 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41357 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41358 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41359 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41360 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41361 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41362 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
41363 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
41364 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
41365 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
41366 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
41367 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
41368 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
41369 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
41370 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
41371 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41372 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
41373 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
41374 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
41375 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
41376 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
41377 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
41378 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
41379 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
41380 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
41381 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
41382 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
41383 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
41385 2011-10-24 Ulrich Drepper <drepper@gmail.com>
41387 * sysdeps/x86_64/dla.h: Move to ...
41388 * sysdeps/x86_64/fpu/dla.h: ...here.
41389 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
41390 situations. Use __builtin_fma only for gcc 4.6 and up.
41392 * config.make.in: Add have-mfma4 entry.
41393 * configure.in: Substitute libc_cv_cc_fma4.
41394 * math/Makefile (dbl-only-routines): Add sincostab.
41395 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
41396 Use __sincostab not sincos.
41397 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
41399 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41400 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41401 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41402 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
41404 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
41405 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
41406 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
41407 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
41409 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
41410 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
41412 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
41413 define aliases when function name is a macro.
41414 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
41415 sysdeps/ieee754/dbl-64/sincos.tbl.
41416 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
41417 fma4-enabled routines.
41418 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
41419 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
41420 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
41421 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
41422 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
41423 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
41424 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
41425 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
41426 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
41427 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
41428 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
41429 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
41430 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
41431 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
41432 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
41433 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
41434 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
41435 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
41436 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
41437 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
41438 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
41439 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
41440 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
41441 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
41442 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
41443 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
41444 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
41445 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
41446 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
41447 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
41449 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
41451 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41452 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41453 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41454 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41455 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41456 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41457 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41458 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41460 2011-10-24 Andreas Schwab <schwab@redhat.com>
41462 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41464 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41466 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41468 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41470 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41472 * string/strnlen.c: Don't define STRNLEN, reverse logic.
41473 Remove unused variable magic_bits.
41474 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41476 * string/strnlen.c: Define and use STRNLEN macro.
41477 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41478 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41479 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41480 * wcsmbs/wcslen.c: Define and use WCSLEN.
41481 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41482 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41483 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41484 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41485 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41486 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41487 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41489 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41491 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41492 strnlen-sse2-no-bsf.
41493 Rename strlen-no-bsf to strlen-sse2-no-bsf.
41494 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41495 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41496 Add strnlen support.
41497 (USE_AS_STRNLEN): New macro.
41498 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41499 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41500 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41501 * sysdeps/x86_64/wcslen.S: New file.
41503 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
41505 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41506 XMM-moves are used for copying on small sizes.
41508 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41510 * wcsmbs/Makefile (strop-tests): Add wcschr.
41511 * wcsmbs/test-wcschr.c: New file.
41512 * string/test-strchr.c: Update.
41513 Add wcschr support.
41516 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41518 * wcsmbs/Makefile (strop-tests): Add wcslen.
41519 * wcsmbs/test-wcslen.c: New file.
41520 * string/test-strlen.c: Update.
41521 Add wcslen support.
41524 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41526 * po/it.po: Update from translation team.
41528 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41530 * sysdeps/x86_64/wcscmp.S: Update.
41531 Fix wrong comparison semantics.
41532 wcscmp shall use signed comparison not unsigned.
41533 Don't use substraction to avoid overflow bug.
41534 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41535 * wcsmbc/wcscmp.c: Likewise.
41536 * string/test-strcmp.c: Likewise.
41537 Add new tests to check cases with negative values.
41539 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41541 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41542 * sysdeps/x86_64/dla.h: ...here. New file.
41543 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41544 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41545 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41546 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41547 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41548 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41549 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41550 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41551 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41553 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
41555 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41556 __ynl_finite aliases.
41558 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41560 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41562 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41564 [DLA_FMA] (EMULV): Use DLA_FMA.
41565 [DLA_FMA] (MUL12): Use EMULV.
41566 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41567 that are not needed.
41568 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41569 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41570 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41571 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41572 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41573 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41574 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41576 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
41578 * math/s_nan.c: Undef __nan.
41579 * math/s_nanf.c: Undef __nanf.
41580 * math/s_nanl.c: Undef __nanl.
41581 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41584 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41586 * math/s_catan.c: Add branch predictions.
41587 * math/s_catanf.c: Likewise.
41588 * math/s_catanh.c: Likewise.
41589 * math/s_catanhf.c: Likewise.
41590 * math/s_catanhl.c: Likewise.
41591 * math/s_catanl.c: Likewise.
41592 * math/s_cexp.c: Likewise.
41593 * math/s_cexpf.c: Likewise.
41594 * math/s_cexpl.c: Likewise.
41595 * math/s_clog.c: Likewise.
41596 * math/s_clog10.c: Likewise.
41597 * math/s_clog10f.c: Likewise.
41598 * math/s_clog10l.c: Likewise.
41599 * math/s_clogf.c: Likewise.
41600 * math/s_clogl.c: Likewise.
41601 * math/s_csqrt.c: Likewise.
41602 * math/s_csqrtf.c: Likewise.
41603 * math/s_csqrtl.c: Likewise.
41604 * math/s_ctanf.c: Likewise.
41605 * math/s_ctanh.c: Likewise.
41606 * math/s_ctanhf.c: Likewise.
41607 * math/s_ctanhl.c: Likewise.
41608 * math/s_ctanl.c: Likewise.
41610 * math/math_private.h: Define __nan, __nanf, __nanl.
41611 * math/s_cacosh.c: Include <math_private.h>.
41612 * math/s_cacoshl.c: Likewise.
41613 * math/s_casinh.c: Likewise.
41614 * math/s_casinhf.c: Likewise.
41615 * math/s_casinhl.c: Likewise.
41616 * math/s_ccos.c: Rely entire on ccosh.
41617 * math/s_ccosf.c: Rely entire on ccoshf.
41618 * math/s_ccosl.c: Rely entirely on ccoshl.
41619 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
41620 Remove tests for FE_INVALID.
41621 * math/s_ccoshf.c: Likewise.
41622 * math/s_ccoshl.c: Likewise.
41623 * math/s_csin.c: Likewise.
41624 * math/s_csinf.c: Likewise.
41625 * math/s_csinh.c Likewise.
41626 * math/s_csinhf.c: Likewise.
41627 * math/s_csinhl.c: Likewise.
41628 * math/s_csinl.c: Likewise.
41629 * math/s_ctan.c: Likewise.
41630 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41631 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41632 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
41634 2011-10-21 Ulrich Drepper <drepper@gmail.com>
41636 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
41637 compilation problems.
41639 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
41642 2011-10-20 Ulrich Drepper <drepper@gmail.com>
41644 * sysdeps/i386/configure.in: Test for -mfma4 option.
41645 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
41646 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
41647 COMMON_CPUID_INDEX_80000001.
41648 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
41649 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
41650 use it if FMA3 is not supported.
41651 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
41653 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
41654 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41656 2011-10-20 Andreas Schwab <schwab@redhat.com>
41659 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
41660 it would create a cycle with a link time dependency.
41662 2011-10-19 Ulrich Drepper <drepper@gmail.com>
41664 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
41666 * string/Makefile (strop-tests): Add rawmemchr.
41667 * string/test-rawmemchr.c: New file.
41669 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
41670 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
41671 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
41672 when compiling str{,n}casecmp and when AVX is available. Hook up
41673 new optimized code in initializers.
41675 2011-10-19 Andreas Schwab <schwab@redhat.com>
41677 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
41678 __feraiseexcept instead of feraiseexcept.
41680 2011-10-18 Ulrich Drepper <drepper@gmail.com>
41682 * math/math_private.h: Define defaults for libc_fetestexcept and
41684 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
41685 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
41686 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41687 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41688 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41689 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41690 libc_fetestexcept and libc_feupdateenv.
41692 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
41693 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
41694 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
41695 * sysdeps/x86_64/fpu/math_private.h: Define special version of
41696 libc_feholdexcept_setround.
41698 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
41699 Add s_nearbyint-c and s_nearbyintf-c.
41700 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
41701 nearbyintf inlines.
41702 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
41703 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
41704 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
41705 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
41707 * math/math_private.h: Define defaults for libc_fegetround,
41708 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
41709 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
41710 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
41711 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
41712 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
41713 standard functions.
41714 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41715 Remove comments and hacks for old compiler versions.
41716 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41717 libc_fegetround, libc_fesetround, libc_feholdexcept, and
41718 libc_feholdexceptl.
41720 2011-10-18 Andreas Schwab <schwab@redhat.com>
41722 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
41723 (__feraiseexcept_renamed): Add __NTH.
41724 (feraiseexcept): Add __NTH. Rename local variables to fix
41725 namespace violations.
41727 2011-10-17 Ulrich Drepper <drepper@gmail.com>
41729 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
41731 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
41733 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
41734 recently added interfaces.
41735 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
41737 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
41738 about macro parameter expansion.
41740 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
41741 __NO_MATH_INLINES is defined. Cleanups.
41743 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
41744 and __floorf is target has SSE4.1.
41745 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
41746 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
41747 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
41748 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
41750 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
41752 (floorf): Likewise.
41754 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
41756 2011-10-17 Andreas Schwab <schwab@redhat.com>
41758 * misc/sys/cdefs.h: Fix last change.
41760 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
41763 2011-10-16 Ulrich Drepper <drepper@gmail.com>
41765 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
41767 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
41768 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41769 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41770 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41771 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41772 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41773 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41774 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41775 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41776 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
41777 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
41778 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
41779 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
41780 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
41781 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
41782 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
41783 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
41784 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
41785 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
41786 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
41787 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
41788 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
41790 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
41791 ceil, ceilf, floor, floorf.
41793 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
41794 Perform IRELATIVE relocations last.
41796 * elf/do-rel.h: Add another parameter nrelative, replacing the
41797 local variable with the same name. Change name of the function
41798 to end in Rel or Rela (uppercase).
41799 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
41800 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
41801 elf_dynamic_do_##reloc function.
41803 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41805 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
41806 is sufficient, at least on modern CPUs.
41808 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
41810 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
41811 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
41813 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
41815 * math/bits/math-finite.h: Add entries for exp.
41816 * math/e_expl.c: Add __*_finite alias.
41817 * sysdeps/i386/fpu/e_exp.S: Likewise.
41818 * sysdeps/i386/fpu/e_expf.S: Likewise.
41819 * sysdeps/i386/fpu/e_expl.c: Likewise.
41820 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41821 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41822 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41823 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41824 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
41825 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41826 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41828 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
41829 is sufficient, at least on modern CPUs.
41831 * ctype/ctype-info.c (__ctype_init): Define.
41832 * include/ctype.h (__ctype_init): Declare.
41833 (__ctype_b_loc): The variable is always initialized.
41834 (__ctype_toupper_loc): Likewise.
41835 (__ctype_tolower_loc): Likewise.
41836 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
41837 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
41839 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
41841 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
41843 * configure.in: Also look in $cxxmachine/include for C++ system
41846 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41848 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
41849 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
41850 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
41851 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
41852 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
41853 (USE_AS_WMEMCMP): New macro.
41855 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
41856 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
41857 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
41858 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
41859 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41860 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
41861 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
41862 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
41863 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
41864 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
41865 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
41866 (USE_AS_WMEMCMP): New macro.
41867 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
41868 * sysdeps/string/test-memcmp.c: Update.
41869 Fix simple_wmemcmp.
41871 * wcsmbs/wmemcmp.c: Update.
41872 (WMEMCMP): New macro.
41875 2011-10-12 Andreas Jaeger <aj@suse.de>
41878 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
41880 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41882 * libio/iofwide.c (do_length): Avoid warning.
41884 * ctype/ctype.h (__isctype_f): Add missing __THROW.
41886 2011-10-14 Ulrich Drepper <drepper@gmail.com>
41888 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
41890 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
41891 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
41892 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
41893 * sysdeps/i386/i686/fpu/e_log.S: New file.
41894 * sysdeps/i386/i686/fpu/e_logf.S: New file.
41895 * sysdeps/i386/i686/fpu/e_logl.S: New file.
41897 * ctype/ctype.h: Add support for inlined isXXX functions when
41898 compiling C++ code.
41900 2011-10-14 Andreas Schwab <schwab@redhat.com>
41902 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41904 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
41906 2011-10-13 Roland McGrath <roland@hack.frob.com>
41909 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
41911 2011-10-13 Andreas Schwab <schwab@redhat.com>
41913 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
41914 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
41917 * sysdeps/x86_64/memrchr.S: Check for zero size.
41919 * string/stratcliff.c: Add memrchr tests.
41921 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41923 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41924 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
41925 rawmemchr-sse2 rawmemchr-sse2-bsf.
41926 * sysdeps/i386/i686/multiarch/memchr.S: New file.
41927 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
41928 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
41929 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
41930 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
41931 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
41932 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
41933 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
41934 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
41935 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
41936 * string/memrchr.c (MEMRCHR): New macro.
41938 2011-10-12 Ulrich Drepper <drepper@gmail.com>
41940 Add integration with gcc's -ffinite-math-only and optimize wrapper
41942 * Versions.def: Define GLIBC_2.15 version for libm.
41943 * math/Makefile (headers): Add bits/math-finite.h.
41944 * math/bits/math-finite.h: New file.
41945 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
41946 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
41947 * math/e_acoshl.c: Add __*_finite alias.
41948 * math/e_acosl.c: Likewise.
41949 * math/e_asinl.c: Likewise.
41950 * math/e_atan2l.c: Likewise.
41951 * math/e_atanhl.c: Likewise.
41952 * math/e_coshl.c: Likewise.
41953 * math/e_exp10.c: Likewise.
41954 * math/e_exp10f.c: Likewise.
41955 * math/e_exp10l.c: Likewise.
41956 * math/e_exp2l.c: Likewise.
41957 * math/e_fmodl.c: Likewise.
41958 * math/e_gammal_r.c: Likewise.
41959 * math/e_hypotl.c: Likewise.
41960 * math/e_j0l.c: Likewise.
41961 * math/e_j1l.c: Likewise.
41962 * math/e_jnl.c: Likewise.
41963 * math/e_lgammal_r.c: Likewise.
41964 * math/e_log10l.c: Likewise.
41965 * math/e_log2l.c: Likewise.
41966 * math/e_logl.c: Likewise.
41967 * math/e_powl.c: Likewise.
41968 * math/e_sinhl.c: Likewise.
41969 * math/e_sqrtl.c: Likewise.
41970 * math/e_scalb.c: Completely rewritten and optimized.
41971 * math/e_scalbf.c: Likewise.
41972 * math/e_scalbl.c: Likewise.
41973 * math/w_acos.c: Likewise.
41974 * math/w_acosf.c: Likewise.
41975 * math/w_acosl.c: Likewise.
41976 * math/w_acosh.c: Likewise.
41977 * math/w_acoshf.c: Likewise.
41978 * math/w_acoshl.c: Likewise.
41979 * math/w_asin.c: Likewise.
41980 * math/w_asinf.c: Likewise.
41981 * math/w_asinl.c: Likewise.
41982 * math/w_atan2.c: Likewise.
41983 * math/w_atan2f.c: Likewise.
41984 * math/w_atan2l.c: Likewise.
41985 * math/w_atanh.c: Likewise.
41986 * math/w_atanhf.c: Likewise.
41987 * math/w_atanhl.c: Likewise.
41988 * math/w_exp10.c: Likewise.
41989 * math/w_exp10f.c: Likewise.
41990 * math/w_exp10l.c: Likewise.
41991 * math/w_fmod.c: Likewise.
41992 * math/w_fmodf.c: Likewise.
41993 * math/w_fmodl.c: Likewise.
41994 * math/w_j0.c: Likewise.
41995 * math/w_j0f.c: Likewise.
41996 * math/w_j0l.c: Likewise.
41997 * math/w_j1.c: Likewise.
41998 * math/w_j1f.c: Likewise.
41999 * math/w_j1l.c: Likewise.
42000 * math/w_jn.c: Likewise.
42001 * math/w_jnf.c: Likewise.
42002 * math/w_log.c: Likewise.
42003 * math/w_logf.c: Likewise.
42004 * math/w_logl.c: Likewise.
42005 * math/w_log10.c: Likewise.
42006 * math/w_log10f.c: Likewise.
42007 * math/w_log10l.c: Likewise.
42008 * math/w_log2.c: Likewise.
42009 * math/w_log2f.c: Likewise.
42010 * math/w_log2l.c: Likewise.
42011 * math/w_pow.c: Likewise.
42012 * math/w_powf.c: Likewise.
42013 * math/w_powl.c: Likewise.
42014 * math/w_remainder.c: Likewise.
42015 * math/w_remainderf.c: Likewise.
42016 * math/w_remainderl.c: Likewise.
42017 * math/w_scalb.c: Likewise.
42018 * math/w_scalbf.c: Likewise.
42019 * math/w_scalbl.c: Likewise.
42020 * math/w_sqrt.c: Likewise.
42021 * math/w_sqrtf.c: Likewise.
42022 * math/w_sqrtl.c: Likewise.
42023 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42024 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
42026 * math/math_private.h: Declare __kernel_standard_f.
42027 * math/w_cosh.c: Remove cruft and optimize a bit.
42028 * math/w_coshf.c: Likewise.
42029 * math/w_coshl.c: Likewise.
42030 * math/w_exp2.c: Likewise.
42031 * math/w_exp2f.c: Likewise.
42032 * math/w_exp2l.c: Likewise.
42033 * math/w_hypot.c: Likewise.
42034 * math/w_hypotf.c: Likewise.
42035 * math/w_hypotl.c: Likewise.
42036 * math/w_lgamma.c: Likewise.
42037 * math/w_lgamma_r.c: Likewise.
42038 * math/w_lgammaf.c: Likewise.
42039 * math/w_lgammaf_r.c: Likewise.
42040 * math/w_lgammal.c: Likewise.
42041 * math/w_lgammal_r.c: Likewise.
42042 * math/w_sinh.c: Likewise.
42043 * math/w_sinhf.c: Likewise.
42044 * math/w_sinhl.c: Likewise.
42045 * math/w_tgamma.c: Likewise.
42046 * math/w_tgammaf.c: Likewise.
42047 * math/w_tgammal.c: Likewise.
42048 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42049 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42050 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42051 Minor optimizations. Pretty printing. Remove cruft.
42052 * sysdeps/i386/fpu/e_acosf.S: Likewise.
42053 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42054 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42055 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42056 * sysdeps/i386/fpu/e_acosl.c: Likewise.
42057 * sysdeps/i386/fpu/e_asin.S: Likewise.
42058 * sysdeps/i386/fpu/e_asinf.S: Likewise.
42059 * sysdeps/i386/fpu/e_atan2.S: Likewise.
42060 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42061 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42062 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42063 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42064 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42065 * sysdeps/i386/fpu/e_exp10.S: Likewise.
42066 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42067 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42068 * sysdeps/i386/fpu/e_exp2.S: Likewise.
42069 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42070 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42071 * sysdeps/i386/fpu/e_fmod.S: Likewise.
42072 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42073 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42074 * sysdeps/i386/fpu/e_hypot.S: Likewise.
42075 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42076 * sysdeps/i386/fpu/e_log.S: Likewise.
42077 * sysdeps/i386/fpu/e_log10.S: Likewise.
42078 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42079 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42080 * sysdeps/i386/fpu/e_log2.S: Likewise.
42081 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42082 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42083 * sysdeps/i386/fpu/e_logf.S: Likewise.
42084 * sysdeps/i386/fpu/e_logl.S: Likewise.
42085 * sysdeps/i386/fpu/e_pow.S: Likewise.
42086 * sysdeps/i386/fpu/e_powf.S: Likewise.
42087 * sysdeps/i386/fpu/e_powl.S: Likewise.
42088 * sysdeps/i386/fpu/e_remainder.S: Likewise.
42089 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42090 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42091 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42092 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42093 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42094 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42095 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42096 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42097 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42098 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42099 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42100 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42101 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42102 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42103 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42104 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42105 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42106 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42107 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42108 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42109 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42110 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42111 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42112 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42113 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42114 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42115 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42116 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42117 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42118 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42119 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42120 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42121 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42122 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42123 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42124 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42125 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
42126 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42127 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42128 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42129 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42130 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42131 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42132 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42133 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42134 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42135 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42136 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42137 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42138 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42139 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42140 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42141 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42142 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42143 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42144 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42145 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42146 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
42147 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42148 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42149 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42150 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42151 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42152 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42153 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42154 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42155 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42156 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42157 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42158 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42159 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42160 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42161 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42162 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42163 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42164 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42165 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
42166 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42167 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42168 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42169 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42170 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42171 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42172 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42173 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42174 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42175 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42176 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42177 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42178 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42179 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
42180 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42181 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42182 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42183 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42184 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42185 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42186 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42187 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42188 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42189 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42190 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42191 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42192 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42193 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42194 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
42195 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
42196 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
42197 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
42198 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
42199 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
42200 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
42201 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42202 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42203 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42204 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42205 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
42206 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42207 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
42208 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
42209 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
42210 (__isnanf): Likewise.
42211 (__isinf_ns): Likewise.
42212 (__isinf_nsf): Likewise.
42213 (__finite): Likewise.
42214 (__finitef): Likewise.
42215 (__ieee754_sqrt): Define as macro.
42216 (__ieee754_sqrtf): Define as macro.
42217 (__ieee754_sqrtl): Define as macro.
42218 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
42220 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
42221 __FINITE_MATH_ONLY__ consistent.
42222 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
42224 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
42226 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
42229 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
42231 2011-10-09 Ulrich Drepper <drepper@gmail.com>
42233 * po/ja.po: Update from translation team.
42235 2011-10-08 Roland McGrath <roland@hack.frob.com>
42237 * locale/programs/locarchive.c (prepare_address_space): New function.
42238 (create_archive, enlarge_archive, open_archive): Use it.
42240 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
42241 inside [SHARED], where it is used.
42243 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
42245 * nss/getent.c (netgroup_keys): Remove unused variable.
42246 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42248 2011-10-08 Ulrich Drepper <drepper@gmail.com>
42250 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
42251 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
42252 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
42253 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
42254 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
42255 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
42256 * math/Makefile (libm-calls): Add s_isinf_ns.
42257 * math/divtc3.c: Use __isinf_nsl instead of isinf.
42258 * math/multc3.c: Likewise.
42259 * math/s_casin.c: Likewise.
42260 * math/s_casinf.c: Likewise.
42261 * math/s_casinl.c: Likewise.
42262 * math/s_ccos.c: Likewise.
42263 * math/s_ccosf.c: Likewise.
42264 * math/s_ccosl.c: Likewise.
42265 * math/s_ctan.c: Likewise.
42266 * math/s_ctanf.c: Likewise.
42267 * math/s_ctanh.c: Likewise.
42268 * math/s_ctanhf.c: Likewise.
42269 * math/s_ctanhl.c: Likewise.
42270 * math/s_ctanl.c: Likewise.
42271 * math/w_fmod.c: Likewise.
42272 * math/w_fmodf.c: Likewise.
42273 * math/w_fmodl.c: Likewise.
42274 * math/w_remainder.c: Likewise.
42275 * math/w_remainderf.c: Likewise.
42276 * math/w_remainderl.c: Likewise.
42277 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
42278 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
42279 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
42280 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
42281 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
42282 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
42283 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
42284 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
42286 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
42288 * stdio-common/printf_fphex.c: Likewise.
42289 * stdio-common/printf_size.c: Likewise.
42291 * math/e_exp10.c: Include math_private.h using <...> not "...".
42292 * math/e_exp10f.c: Likewise.
42293 * math/e_exp10l.c: Likewise.
42294 * math/e_exp2l.c: Likewise.
42295 * math/e_j0l.c: Likewise.
42296 * math/e_j1l.c: Likewise.
42297 * math/e_jnl.c: Likewise.
42298 * math/e_lgammal_r.c: Likewise.
42299 * math/e_rem_pio2l.c: Likewise.
42300 * math/e_scalb.c: Likewise.
42301 * math/e_scalbf.c: Likewise.
42302 * math/e_scalbl.c: Likewise.
42303 * math/k_cosl.c: Likewise.
42304 * math/k_sinl.c: Likewise.
42305 * math/k_tanl.c: Likewise.
42306 * math/s_cacoshf.c: Likewise.
42307 * math/s_catan.c: Likewise.
42308 * math/s_catanf.c: Likewise.
42309 * math/s_catanh.c: Likewise.
42310 * math/s_catanhf.c: Likewise.
42311 * math/s_catanhl.c: Likewise.
42312 * math/s_catanl.c: Likewise.
42313 * math/s_ccosh.c: Likewise.
42314 * math/s_ccoshf.c: Likewise.
42315 * math/s_ccoshl.c: Likewise.
42316 * math/s_cexp.c: Likewise.
42317 * math/s_cexpf.c: Likewise.
42318 * math/s_cexpl.c: Likewise.
42319 * math/s_clog.c: Likewise.
42320 * math/s_clog10.c: Likewise.
42321 * math/s_clog10f.c: Likewise.
42322 * math/s_clog10l.c: Likewise.
42323 * math/s_clogf.c: Likewise.
42324 * math/s_clogl.c: Likewise.
42325 * math/s_csin.c: Likewise.
42326 * math/s_csinf.c: Likewise.
42327 * math/s_csinh.c: Likewise.
42328 * math/s_csinhf.c: Likewise.
42329 * math/s_csinhl.c: Likewise.
42330 * math/s_csinl.c: Likewise.
42331 * math/s_csqrt.c: Likewise.
42332 * math/s_csqrtf.c: Likewise.
42333 * math/s_csqrtl.c: Likewise.
42334 * math/s_ctan.c: Likewise.
42335 * math/s_ctanf.c: Likewise.
42336 * math/s_ctanh.c: Likewise.
42337 * math/s_ctanhf.c: Likewise.
42338 * math/s_ctanhl.c: Likewise.
42339 * math/s_ctanl.c: Likewise.
42340 * math/s_ldexp.c: Likewise.
42341 * math/s_ldexpf.c: Likewise.
42342 * math/s_ldexpl.c: Likewise.
42343 * math/s_significand.c: Likewise.
42344 * math/s_significandf.c: Likewise.
42345 * math/s_significandl.c: Likewise.
42346 * math/w_acos.c: Likewise.
42347 * math/w_acosf.c: Likewise.
42348 * math/w_acosh.c: Likewise.
42349 * math/w_acoshf.c: Likewise.
42350 * math/w_acoshl.c: Likewise.
42351 * math/w_acosl.c: Likewise.
42352 * math/w_asin.c: Likewise.
42353 * math/w_asinf.c: Likewise.
42354 * math/w_asinl.c: Likewise.
42355 * math/w_atan2.c: Likewise.
42356 * math/w_atan2f.c: Likewise.
42357 * math/w_atan2l.c: Likewise.
42358 * math/w_atanh.c: Likewise.
42359 * math/w_atanhf.c: Likewise.
42360 * math/w_atanhl.c: Likewise.
42361 * math/w_cosh.c: Likewise.
42362 * math/w_coshf.c: Likewise.
42363 * math/w_coshl.c: Likewise.
42364 * math/w_dremf.c: Likewise.
42365 * math/w_exp10.c: Likewise.
42366 * math/w_exp10f.c: Likewise.
42367 * math/w_exp10l.c: Likewise.
42368 * math/w_exp2.c: Likewise.
42369 * math/w_exp2f.c: Likewise.
42370 * math/w_fmod.c: Likewise.
42371 * math/w_fmodf.c: Likewise.
42372 * math/w_fmodl.c: Likewise.
42373 * math/w_hypot.c: Likewise.
42374 * math/w_hypotf.c: Likewise.
42375 * math/w_hypotl.c: Likewise.
42376 * math/w_j0.c: Likewise.
42377 * math/w_j0f.c: Likewise.
42378 * math/w_j0l.c: Likewise.
42379 * math/w_j1.c: Likewise.
42380 * math/w_j1f.c: Likewise.
42381 * math/w_j1l.c: Likewise.
42382 * math/w_jn.c: Likewise.
42383 * math/w_jnf.c: Likewise.
42384 * math/w_jnl.c: Likewise.
42385 * math/w_lgamma.c: Likewise.
42386 * math/w_lgamma_r.c: Likewise.
42387 * math/w_lgammaf.c: Likewise.
42388 * math/w_lgammaf_r.c: Likewise.
42389 * math/w_lgammal.c: Likewise.
42390 * math/w_lgammal_r.c: Likewise.
42391 * math/w_log.c: Likewise.
42392 * math/w_log10.c: Likewise.
42393 * math/w_log10f.c: Likewise.
42394 * math/w_log10l.c: Likewise.
42395 * math/w_log2.c: Likewise.
42396 * math/w_log2f.c: Likewise.
42397 * math/w_log2l.c: Likewise.
42398 * math/w_logf.c: Likewise.
42399 * math/w_logl.c: Likewise.
42400 * math/w_pow.c: Likewise.
42401 * math/w_powf.c: Likewise.
42402 * math/w_powl.c: Likewise.
42403 * math/w_remainder.c: Likewise.
42404 * math/w_remainderf.c: Likewise.
42405 * math/w_remainderl.c: Likewise.
42406 * math/w_scalb.c: Likewise.
42407 * math/w_scalbf.c: Likewise.
42408 * math/w_scalbl.c: Likewise.
42409 * math/w_sinh.c: Likewise.
42410 * math/w_sinhf.c: Likewise.
42411 * math/w_sinhl.c: Likewise.
42412 * math/w_sqrt.c: Likewise.
42413 * math/w_sqrtf.c: Likewise.
42414 * math/w_sqrtl.c: Likewise.
42415 * math/w_tgamma.c: Likewise.
42416 * math/w_tgammaf.c: Likewise.
42417 * math/w_tgammal.c: Likewise.
42419 * po/ja.po: Update from translation team.
42421 2011-09-29 Andreas Jaeger <aj@suse.de>
42424 * sunrpc/netname.c (netname2host): Fix logic.
42428 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
42430 * math/w_remainder.c (__remainder): Likewise.
42431 * math/w_remainderf.c (__remainderf): Likewise.
42432 * math/libm-test.inc (remainder_test): Add test cases.
42434 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42436 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
42439 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42441 * string/test-memcmp.c: Avoid unncessary #defines.
42442 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42444 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42446 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
42447 Use new sse2 version for core i3 - i7 as it's faster
42448 than sse42 version.
42449 (bit_Prefer_PMINUB_for_stringop): New.
42450 * sysdeps/x86_64/rawmemchr.S: Update.
42451 Replace with faster SSE2 version.
42452 * sysdeps/x86_64/memrchr.S: New file.
42453 * sysdeps/x86_64/memchr.S: Update.
42454 Replace with faster SSE2 version.
42456 2011-09-12 Marek Polacek <mpolacek@redhat.com>
42458 * elf/dl-load.c (lose): Add cast to avoid warning.
42460 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42462 * po/ca.po: Update from translation team.
42464 * inet/getnetgrent_r.c: Hook up nscd.
42465 * nscd/Makefile (routines): Add nscd_netgroup.
42466 (nscd-modules): Add netgroupcache.
42467 (CFLAGS-netgroupcache.c): Define.
42468 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42469 (cache_search): Add const to second parameter.
42470 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42472 (dbs): Add netgrdb entry.
42473 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42474 (verify_persistent_db): Handle netgrdb.
42475 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42476 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42478 (netgroup_response_header): Define.
42479 (innetgroup_response_header): Define.
42480 (datahead): Add netgroup_response_header and innetgroup_response_header
42482 * nscd/nscd.conf: Add entries for netgroup cache.
42483 * nscd/nscd.h (dbtype): Add netgrdb.
42484 (_PATH_NSCD_NETGROUP_DB): Define.
42485 (netgroup_iov_disabled): Declare.
42486 (xmalloc, xcalloc, xrealloc): Move declarations here.
42487 (cache_search): Adjust prototype.
42488 Add netgroup-related prototypes.
42489 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42490 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42491 (__nscd_innetgr): Declare.
42492 * nscd/selinux.c (perms): Use access_vector_t as element type and
42493 add netgroup-related initializers.
42494 * nscd/netgroupcache.c: New file.
42495 * nscd/nscd_netgroup.c: New file.
42496 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42497 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42498 For four parameters use innetgr.
42499 * nss/nss_files/files-init.c: Add definition and callback for netgr.
42500 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42501 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42502 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42504 * nscd/connections.c (register_traced_file): Don't register file
42505 for disabled databases.
42507 2011-10-06 Ulrich Drepper <drepper@gmail.com>
42509 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42511 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42512 from tree and freeing node.
42514 2011-09-25 Jiri Olsa <jolsa@redhat.com>
42516 * nss/nsswitch.c (__nss_database_lookup): Handle
42517 nss_parse_service_list out of memory case.
42519 2011-09-15 Jiri Olsa <jolsa@redhat.com>
42521 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42522 out of memory case.
42524 2011-10-04 Andreas Schwab <schwab@redhat.com>
42526 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42527 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42529 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42530 elf_machine_rela, elf_machine_lazy_rel.
42531 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42532 (ELF_DYNAMIC_DO_REL): Likewise.
42533 (ELF_DYNAMIC_DO_RELA): Likewise.
42534 (ELF_DYNAMIC_RELOCATE): Likewise.
42535 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42536 to ELF_DYNAMIC_DO_REL.
42537 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42538 (dl_main): In trace mode always set __RTLD_NOIFUNC.
42539 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42541 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42542 skip_ifunc, don't call ifunc function if non-zero.
42543 (elf_machine_rela): Likewise.
42544 (elf_machine_lazy_rel): Likewise.
42545 (elf_machine_lazy_rela): Likewise.
42546 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42547 (elf_machine_lazy_rel): Likewise.
42548 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42550 (elf_machine_lazy_rel): Likewise.
42551 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42553 (elf_machine_lazy_rel): Likewise.
42554 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42555 (elf_machine_lazy_rel): Likewise.
42556 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42557 (elf_machine_lazy_rel): Likewise.
42558 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42559 (elf_machine_lazy_rel): Likewise.
42560 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42561 (elf_machine_lazy_rel): Likewise.
42562 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42563 (elf_machine_lazy_rel): Likewise.
42564 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42565 (elf_machine_lazy_rel): Likewise.
42567 2011-09-28 Ulrich Drepper <drepper@gmail.com>
42569 * nss/nss_files/files-init.c (_nss_files_init): Use static
42570 initialization for all the *_traced_file variables.
42572 2011-09-28 Andreas Schwab <schwab@redhat.com>
42574 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42576 2011-09-27 Roland McGrath <roland@hack.frob.com>
42579 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42581 2011-09-27 Andreas Schwab <schwab@redhat.com>
42583 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42584 Reread the line before reparsing it.
42586 2011-09-26 Andreas Schwab <schwab@redhat.com>
42588 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42590 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
42591 Maxim Kuvyrkov <maxim@codesourcery.com>
42592 Joseph Myers <joseph@codesourcery.com>
42594 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42595 if needed for __stack_chk_guard.
42597 2011-09-19 Roland McGrath <roland@hack.frob.com>
42599 * sysdeps/posix/spawni.c (script_execute): Always define it.
42600 It will be optimized away if unused.
42601 (maybe_script_execute): New function.
42602 (__spawni): Call it.
42604 * Makerules: Don't include tls.make.
42605 (config-tls): Always set to thread.
42606 * tls.make.c: File removed.
42608 2011-09-19 Mike Frysinger <vapier@gentoo.org>
42610 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42611 * config.make.in (CPPFLAGS-config): New substituted variable.
42613 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42615 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42618 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42619 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42621 2011-09-15 Roland McGrath <roland@hack.frob.com>
42623 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42624 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42625 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42626 (CALL_FAIL): Likewise.
42627 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42628 (CALL_FAIL): Macro removed.
42629 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42631 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42633 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
42634 for __FINITE_MATH_ONLY__ == 1.
42636 2011-09-15 Andreas Schwab <schwab@redhat.com>
42638 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
42639 __ieee754_sqrt instead of sqrt.
42640 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
42641 __ieee754_sqrtf instead of sqrtf.
42642 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
42643 __floorf instead of floorf.
42644 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
42645 __floorf, __truncf instead of floorf, truncf.
42647 2011-09-14 Ulrich Drepper <drepper@gmail.com>
42649 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
42651 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
42652 __extern_always_inline.
42653 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
42656 2011-09-14 Andreas Schwab <schwab@redhat.com>
42658 * elf/rtld.c (dl_main): Also relocate in dependency order when
42659 doing symbol dependency testing.
42661 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
42663 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42664 Always define `refsym'.
42666 2011-09-13 Andreas Schwab <schwab@redhat.com>
42668 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
42669 (__FD_ELT): Renamed from __FDELT.
42670 * misc/bits/select2.h (__FD_ELT): Likewise.
42671 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
42672 __FD_MASK instead of __FDELT, __FDMASK.
42673 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42675 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42678 * elf/Makefile (gen-ldd): Fix pattern.
42680 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
42681 (init_tls): Likewise.
42683 2011-09-12 Ulrich Drepper <drepper@gmail.com>
42685 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
42687 2011-09-12 Andreas Schwab <schwab@redhat.com>
42689 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
42690 `struct cmsghdr *' instead of `void *'.
42691 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
42694 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
42696 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
42698 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
42699 ldd_rewrite_script.
42701 2011-09-11 Ulrich Drepper <drepper@gmail.com>
42703 * configure.in: Remove --with-tls option.
42704 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
42705 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
42706 out in case it is missing.
42707 * sysdeps/ia64/elf/configure.in: Likewise.
42708 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
42709 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
42710 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
42711 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
42712 * sysdeps/sh/elf/configure.in: Likewise.
42713 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
42714 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42715 * sysdeps/x86_64/elf/configure.in: Likewise.
42716 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
42717 * sysdeps/mach/hurd/tls.h: Likewise.
42720 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
42723 * configure.in: Fix use of AC_INIT.
42725 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
42727 2011-09-10 Ulrich Drepper <drepper@gmail.com>
42729 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
42731 * malloc/hooks.c: Likewise.
42734 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
42735 variables statically.
42736 (narenas): Initialize.
42737 (list_lock): Initialize.
42738 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
42739 initializtion of main_arena and list_lock. Small cleanups.
42740 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
42741 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
42742 Add initializers to main_arena and mp_.
42743 (malloc_state): Remove pagesize member. Change all users to use
42746 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
42747 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
42748 is always initialized.
42750 * malloc/malloc.c: Removed unused configurations and dead code.
42751 * malloc/arena.c: Likewise.
42752 * malloc/hooks.c: Likewise.
42753 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
42755 * include/tls.h: Removed. USE___THREAD must always be defined.
42756 * bits/libc-tsd.h: Don't handle !USE___THREAD.
42757 * elf/dl-libc.c: Likewise.
42758 * elf/dl-tsd.c: Likewise.
42759 * include/errno.h: Likewise.
42760 * include/netdb.h: Likewise.
42761 * include/resolv.h: Likewise.
42762 * inet/herrno-loc.c: Likewise.
42763 * inet/herrno.c: Likewise.
42764 * malloc/arena.c: Likewise.
42765 * malloc/hooks.c: Likewise.
42766 * malloc/malloc.c: Likewise.
42767 * resolv/res-state.c: Likewise.
42768 * resolv/res_libc.c: Likewise.
42769 * sysdeps/i386/dl-machine.h: Likewise.
42770 * sysdeps/ia64/dl-machine.h: Likewise.
42771 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42772 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42773 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42774 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42775 * sysdeps/sh/dl-machine.h: Likewise.
42776 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42777 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42778 * sysdeps/unix/i386/sysdep.S: Likewise.
42779 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42780 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42781 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42782 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42783 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42784 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42785 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42786 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42787 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42788 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42789 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42790 * sysdeps/x86_64/dl-machine.h: Likewise.
42791 * tls.make.c: Likewise.
42793 * configure.in: Remove --with-__thread option. Make tests for
42794 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
42795 tls_model attribute fail if no support is available. Remove
42797 * Makeconfig: Adjust for dropped configure option. All features are
42799 * Makerules: Likewise.
42800 * Versions.def: Likewise.
42801 * argp/argp-fmtstream.c: Likewise.
42802 * argp/argp-fmtstream.h: Likewise.
42803 * argp/argp-help.c: Likewise.
42804 * assert/assert.c: Likewise.
42805 * config.h.in: Likewise.
42806 * config.make.in: Likewise.
42807 * configure: Likewise.
42808 * configure.in: Likewise.
42809 * csu/Versions: Likewise.
42810 * csu/init.c: Likewise.
42811 * elf/tst-audit2.c: Likewise.
42812 * elf/tst-tls10.c: Likewise.
42813 * elf/tst-tls10.h: Likewise.
42814 * elf/tst-tls11.c: Likewise.
42815 * elf/tst-tls12.c: Likewise.
42816 * elf/tst-tls14.c: Likewise.
42817 * elf/tst-tlsmod11.c: Likewise.
42818 * elf/tst-tlsmod12.c: Likewise.
42819 * elf/tst-tlsmod13.c: Likewise.
42820 * elf/tst-tlsmod13a.c: Likewise.
42821 * elf/tst-tlsmod14a.c: Likewise.
42822 * elf/tst-tlsmod15b.c: Likewise.
42823 * elf/tst-tlsmod16a.c: Likewise.
42824 * elf/tst-tlsmod16b.c: Likewise.
42825 * elf/tst-tlsmod7.c: Likewise.
42826 * elf/tst-tlsmod8.c: Likewise.
42827 * elf/tst-tlsmod9.c: Likewise.
42828 * gmon/gmon.c: Likewise.
42829 * grp/fgetgrent_r.c: Likewise.
42830 * grp/putgrent.c: Likewise.
42831 * hurd/fopenport.c: Likewise.
42832 * include/libc-symbols.h: Likewise.
42833 * include/tls.h: Likewise.
42834 * intl/gettextP.h: Likewise.
42835 * intl/loadinfo.h: Likewise.
42836 * locale/global-locale.c: Likewise.
42837 * locale/localeinfo.h: Likewise.
42838 * mach/devstream.c: Likewise.
42839 * malloc/arena.c: Likewise.
42840 * malloc/set-freeres.c: Likewise.
42841 * misc/err.c: Likewise.
42842 * misc/getttyent.c: Likewise.
42843 * misc/mntent_r.c: Likewise.
42844 * posix/getopt.c: Likewise.
42845 * posix/wordexp.c: Likewise.
42846 * pwd/fgetpwent_r.c: Likewise.
42847 * resolv/Versions: Likewise.
42848 * resolv/res_hconf.c: Likewise.
42849 * shadow/fgetspent_r.c: Likewise.
42850 * shadow/putspent.c: Likewise.
42851 * stdio-common/printf_fphex.c: Likewise.
42852 * stdio-common/tmpfile.c: Likewise.
42853 * stdlib/abort.c: Likewise.
42854 * stdlib/fmtmsg.c: Likewise.
42855 * sunrpc/auth_unix.c: Likewise.
42856 * sunrpc/clnt_perr.c: Likewise.
42857 * sunrpc/clnt_tcp.c: Likewise.
42858 * sunrpc/clnt_udp.c: Likewise.
42859 * sunrpc/clnt_unix.c: Likewise.
42860 * sunrpc/openchild.c: Likewise.
42861 * sunrpc/svc_simple.c: Likewise.
42862 * sunrpc/svc_tcp.c: Likewise.
42863 * sunrpc/svc_udp.c: Likewise.
42864 * sunrpc/svc_unix.c: Likewise.
42865 * sunrpc/xdr.c: Likewise.
42866 * sunrpc/xdr_array.c: Likewise.
42867 * sunrpc/xdr_rec.c: Likewise.
42868 * sunrpc/xdr_ref.c: Likewise.
42869 * sunrpc/xdr_stdio.c: Likewise.
42871 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42873 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42875 2011-07-03 Andreas Jaeger <aj@suse.de>
42877 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
42878 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
42879 regenerate with gen-libm-tests.pl.
42881 2010-05-12 Petr Baudis <pasky@suse.cz>
42884 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
42885 around j0() zero points by switching to j1().
42886 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42887 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42888 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42889 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42891 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42893 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
42895 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
42897 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42898 Patch in part by Pavel Roskin <proski@gnu.org>.
42901 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
42903 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
42904 Free memory block if necessary.
42907 * libio/genops.c (INTDEF): For string streams the _lock pointer can
42908 be NULL. Don't lock in this case.
42910 2011-09-09 Roland McGrath <roland@hack.frob.com>
42912 * elf/elf.h (ELFOSABI_GNU): New macro.
42913 (ELFOSABI_LINUX): Define to that.
42915 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
42917 * string/strncat.c (strncat): Undef the symbol in case it has been
42918 defined in bits/string.h.
42920 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42922 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
42924 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
42927 2011-08-17 Andreas Jaeger <aj@suse.de>
42929 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
42931 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
42932 Ian Lance Taylor <iant@google.com>
42934 * math/libm-test.inc (lround_test): New testcase.
42935 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
42937 2011-09-08 Ulrich Drepper <drepper@gmail.com>
42939 * Makefile: Remove support for automatic cvs check-ins.
42940 * Makerules: Likewise.
42941 * config.make.in: Likewise.
42942 * configure.in: Likewise.
42943 * intl/Makefile: Likewise.
42944 * locale/Makefile: Likewise.
42945 * po/Makefile: Likewise.
42946 * posix/Makefile: Likewise.
42947 * sysdeps/gnu/Makefile: Likewise.
42948 * sysdeps/mach/hurd/Makefile: Likewise.
42949 * sysdeps/sparc/sparc32/Makefile: Likewise.
42952 * posix/Makefile (bug-regex32-ENV): Define.
42953 Patch by John Stanley <jpsinthemix@verizon.net>.
42955 * misc/Makefile (headers): Add bits/select2.h.
42956 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
42957 * misc/bits/select2.h: New file.
42958 * include/bits/select2.h: New file.
42959 * debug/Makefile (routines): Add fdelt_chk.
42960 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
42961 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
42963 * debug/fdelt_chk.c: New file.
42965 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
42966 * wcsmbs/test-wmemcmp.c: Likewise.
42967 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
42968 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
42970 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42972 * string/Makefile (strop-tests): Add memcmp.
42973 * string/test-wmemcmp.c: New file.
42974 * string/test-memcmp.c: Add wmemcmp support.
42976 2011-09-08 Roland McGrath <roland@hack.frob.com>
42979 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42982 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42983 garbage value in a __mach_port_mod_refs call in the cases of the
42984 task-self and thread-self ports.
42986 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42988 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
42990 2011-09-08 Andreas Schwab <schwab@redhat.com>
42992 * elf/dl-load.c (lose): Check for non-null L.
42994 2011-09-07 Ulrich Drepper <drepper@gmail.com>
42996 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42998 * elf/dl-libc.c (dlerror_run): Pass back error code from
43002 * elf/dl-load.c (lose): Free l_origin if it is valid.
43004 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43006 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43007 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43008 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43009 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43010 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43011 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43013 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43015 * sysdeps/powerpc/fpu/e_hypot.c: New file.
43016 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43017 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43018 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43019 * sysdeps/powerpc/fpu/k_cosf.c: New file.
43020 * sysdeps/powerpc/fpu/k_sinf.c: New file.
43021 * sysdeps/powerpc/fpu/s_cosf.c: New file.
43022 * sysdeps/powerpc/fpu/s_sinf.c: New file.
43023 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43024 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43026 2011-08-15 Alan Modra <amodra@gmail.com>
43029 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43030 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43031 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
43032 ppc_mcount to static-only-routines.
43033 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43035 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43036 __mcount_internal with usual JUMPTARGET. Remove useless nop.
43038 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
43040 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43041 for finite and infinity parameters.
43043 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43045 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43046 and add nop instructions for throughput optimization.
43047 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43049 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
43051 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43052 aligned copy for power7 with vector-scalar instructions.
43053 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43055 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
43057 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43060 2011-09-07 Andreas Schwab <schwab@redhat.com>
43063 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43066 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43068 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43069 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43070 syscall wrapper around clock_gettime in __vdso_clock_gettime.
43071 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43074 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43076 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43077 Forgot to demangle the pointer.
43079 * sysdeps/i386/sysdep.h: Define atom_text_section.
43080 * sysdeps/x86_64/sysdep.h: Likewise.
43081 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43082 section with atom_text_section.
43083 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43084 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43085 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43086 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43087 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43089 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43090 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43091 already be defined. Change to take two parameters and don't assign
43092 result to variable. Adjust all users.
43093 Define INTERNAL_GETTIME if not already defined.
43094 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43096 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43097 HAVE_CLOCK_GETTIME_VSYSCALL.
43098 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43100 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43101 gettimeofday vsyscall, just use time.
43103 2011-09-06 Andreas Schwab <schwab@redhat.com>
43105 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43108 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43110 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43112 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43114 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43115 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43116 syscall if possible.
43118 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43120 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43121 e_ident. Don't pass to find_mapsXX.
43122 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43124 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43126 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43127 strchr-sse2-no-bsf strrchr-sse2-no-bsf
43128 * sysdeps/x86_64/multiarch/strchr.S: Update.
43129 Check bit_slow_BSF bit.
43130 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43131 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
43132 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
43134 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43137 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
43139 (tryshell): Define.
43140 (__spawni): Change last parameter to be flag. Test
43141 SPAWN_XFLAGS_USE_PATH flag to use path or not.
43142 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
43143 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
43144 * posix/spawni.c: Likewise.
43145 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
43146 * posix/spawnp.c: Likewise. Change normal version to use
43147 SPAWN_XFLAGS_USE_PATH.
43148 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
43149 SPAWN_XFLAGS_TRY_SHELL.
43152 * posix/glob.h: Remove gcc 1.x support.
43155 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
43157 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43159 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43160 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
43162 * sysdeps/i386/i686/multiarch/strchr.S: New file.
43163 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
43164 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
43165 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
43166 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
43167 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
43169 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43171 * sysdeps/x86_64/wcscmp.S: New file.
43173 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
43174 wcscmp-c wcscmp-sse2
43175 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
43176 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
43177 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
43178 * wcsmbs/wcscmp.c: Allow renaming.
43180 2011-09-05 David S. Miller <davem@davemloft.net>
43182 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
43183 stack slot, rather than the struct return pointer slot.
43184 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
43185 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
43186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
43187 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
43189 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43191 * po/ja.po: Update from translation team.
43194 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
43195 kernel in 64-bit binaries.
43197 2011-09-01 David S. Miller <davem@davemloft.net>
43199 * elf/elf.h (HWCAP_SPARC_*): Move to..
43200 * sysdeps/sparc/sysdep.h: this new file and add new values.
43201 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
43202 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
43203 _DL_HWCAP_COUNT to 24.
43204 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43206 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
43207 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
43208 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
43209 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
43210 instead of magic constants.
43211 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43213 2011-08-31 David S. Miller <davem@davemloft.net>
43215 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
43216 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
43217 Reimplement to do errno handling inline.
43218 (SYSCALL_ERROR_HANDLER): New macro.
43219 (__SYSCALL_STRING): Do not do errno handling in asm.
43220 (__CLONE_SYSCALL_STRING): Delete.
43221 (__INTERNAL_SYSCALL_STRING): Delete.
43222 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
43223 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
43224 (PSEUDO): Reimplement to do errno handling inline.
43225 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
43226 (SYSCALL_ERROR_HANDLER): New macro.
43227 (__SYSCALL_STRING): Do not do errno handling in asm.
43228 (__CLONE_SYSCALL_STRING): Delete.
43229 (__INTERNAL_SYSCALL_STRING): Delete.
43230 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
43231 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
43233 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
43234 (inline_syscall*): Add 'err' argument.
43235 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
43236 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
43237 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
43238 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
43240 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
43241 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43243 2011-08-30 Andreas Schwab <schwab@redhat.com>
43245 * elf/rtld.c (dl_main): Relocate objects in dependency order.
43247 2011-08-29 Jiri Olsa <jolsa@redhat.com>
43249 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
43252 2011-08-24 David S. Miller <davem@davemloft.net>
43254 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
43256 2011-08-24 Andreas Schwab <schwab@redhat.com>
43258 * elf/Makefile: Add rules to build and run unload8 test.
43259 * elf/unload8.c: New file.
43260 * elf/unload8mod1.c: New file.
43261 * elf/unload8mod1x.c: New file.
43262 * elf/unload8mod2.c: New file.
43263 * elf/unload8mod3.c: New file.
43265 * elf/dl-close.c (_dl_close_worker): Reset private search list if
43268 2011-08-23 David S. Miller <davem@davemloft.net>
43270 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
43271 subtract stack bias.
43272 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
43273 %sp not %fp in calculations.
43274 (_JMPBUF_UNWINDS_ADJ): Likewise.
43276 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
43277 (aio_suspend): Call it to force an exception region around the
43278 AIO_MISC_WAIT() invocation.
43280 2011-08-23 Andreas Schwab <schwab@redhat.com>
43282 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
43285 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
43287 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
43289 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
43290 and <dl-machine.h>.
43291 (Elf64_FuncDesc): Remove.
43293 2011-08-22 David S. Miller <davem@davemloft.net>
43295 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
43296 sigaltstack check, add missing cfi directives.
43297 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
43298 missing cfi directives, and sigaltstack handling.
43300 2011-08-16 Andreas Schwab <schwab@redhat.com>
43303 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
43304 object is seen twice.
43305 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43307 * elf/Makefile (distribute): Add tst-initorder2.c.
43308 (tests): Add tst-initorder2.
43309 (modules-names): Add tst-initorder2a tst-initorder2b
43310 tst-initorder2c tst-initorder2d. Add rules to build them.
43311 ($(objpfx)tst-initorder2.out): New rule.
43312 * elf/tst-initorder2.c: New file.
43313 * elf/tst-initorder2.exp: New file.
43315 2011-08-22 Andreas Schwab <schwab@redhat.com>
43317 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
43319 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
43320 dependencies back to end of function.
43322 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43323 $(elfobjdir)/ld.so.
43325 2011-08-21 Ulrich Drepper <drepper@gmail.com>
43327 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
43328 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
43329 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
43330 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
43331 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
43332 of __vdso_gettimeofday.
43333 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
43334 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
43336 (_libc_vdso_platform_setup): Remove initialization of
43337 __vdso_gettimeofday and __vdso_time.
43339 2011-08-20 Ulrich Drepper <drepper@gmail.com>
43341 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
43342 and fgetc_unlocked.
43343 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
43346 * elf/dl-open.c (add_to_global): Report additions to the global scope
43347 for LD_DEBUG=scopes.
43348 (dl_open_worker): Also print scope of newly loaded dependencies.
43349 (_dl_show_scope): Indicate if there is no scope.
43352 * stdio-common/Makefile (tests): Add bug24.
43353 * stdio-common/bug24.c: New file.
43355 2011-08-19 Andreas Jaeger <aj@suse.de>
43358 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
43359 non-existant file when using close-on-exec mode.
43361 2011-08-20 Ulrich Drepper <drepper@gmail.com>
43363 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
43364 the very first instruction.
43366 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
43367 the CFI state in the end.
43368 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
43369 inclusion of dl-trampoline.h.
43370 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
43372 2011-08-19 Andreas Schwab <schwab@redhat.com>
43374 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
43375 expectations for long double.
43377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
43378 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
43380 2011-08-14 David S. Miller <davem@davemloft.net>
43382 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
43383 artificual limit depends upon the system page size.
43385 2011-08-17 Ulrich Drepper <drepper@gmail.com>
43387 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
43388 * resolv/Makefile: Define CFLAGS-libresolv.
43390 2011-08-17 Andreas Schwab <schwab@redhat.com>
43392 * nss/makedb.c (compute_tables): Make variables used in nested
43395 2011-08-17 Ulrich Drepper <drepper@gmail.com>
43397 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
43398 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
43399 if buffer was too small.
43401 * elf/pldd.c (main): Attach to all threads in the process.
43402 Rewrite /proc handling to use *at functions.
43404 2011-08-16 Ulrich Drepper <drepper@gmail.com>
43406 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
43407 specifies first scope to show.
43408 (dl_open_worker): Update callers. Move printing scope of new
43409 object to before the relocation.
43410 * elf/rtld.c (dl_main): Update _dl_show_scope call.
43411 * sysdeps/generic/ldsodefs.h: Update declaration.
43413 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
43414 string for the scope number.
43416 2011-08-14 Ulrich Drepper <drepper@gmail.com>
43418 * nscd/servicescache.c (cache_addserv): Make sure written is always
43421 2011-08-14 Roland McGrath <roland@hack.frob.com>
43423 * sysdeps/i386/i486/bits/atomic.h
43424 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
43425 statement expression, so as to suppress "set but not used" warning.
43426 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
43428 * string/strncat.c (STRNCAT): Use prototype definition.
43430 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
43431 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
43433 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
43434 (localedef-modules): Add localedef.
43435 (locale-modules): Add locale.
43437 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
43438 * elf/rtld.c (dl_main): Invert order of assignment in last change,
43439 to avoid a warning.
43441 2011-08-14 David S. Miller <davem@davemloft.net>
43443 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
43444 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
43446 2011-08-13 Ulrich Drepper <drepper@gmail.com>
43448 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
43449 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
43450 * elf/rtld.c (dl_main): Set l_name of vDSO.
43451 Call _dl_show_scope when DL_DEBUG_SCOPES.
43452 (process_dl_debug): Recognize scopes flag and also set it for all.
43453 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
43454 Declare _dl_show_scope.
43456 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43457 (do_dlopen): Pass caller_dlopen to dl_open.
43458 (__libc_dlopen_mode): Initialize caller_dlopen.
43460 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43461 of libc. Make tolower call locale-independent. Optimize a bit by
43462 using isdigit instead of isalnum.
43463 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43465 2011-08-12 Ulrich Drepper <drepper@gmail.com>
43467 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43468 was a dependency or dynamically loaded.
43470 2011-08-11 Ulrich Drepper <drepper@gmail.com>
43472 * intl/l10nflist.c: Allow architecture-specific pop function.
43473 * sysdeps/x86_64/l10nflist.c: New file.
43475 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43478 2011-08-10 Andreas Schwab <schwab@redhat.com>
43480 * include/dirent.h: Add libc_hidden_proto for scandirat and
43481 scandirat64. Don't declare __scandirat64.
43482 * dirent/scandirat.c: Add libc_hidden_def.
43483 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43484 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43486 2011-08-10 David S. Miller <davem@davemloft.net>
43488 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43490 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43491 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43492 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43494 2011-08-09 Ulrich Drepper <drepper@gmail.com>
43496 * Versions.def [libc]: Add GLIBC_2.15.
43497 * dirent/Makefile (routines): Add scandirat and scandirat64.
43498 * dirent/Versions [libc]: Export scandirat and scandirat64 for
43500 * dirent/dirent.h: Declare scandirat and scandirat64.
43501 * dirent/scandirat.c: New file.
43502 * dirent/scandirat64.c: New file.
43503 * sysdeps/wordsize-64/scandirat.c: New file.
43504 * sysdeps/wordsize-64/scandirat64.c: New file.
43505 * dirent/opendir.c: Define opendirat.
43506 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
43508 * dirent/scandir64.c: Adjust for scandir.c change.
43509 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
43510 __scandirat64, and __scandir_cancel_handler.
43511 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
43512 additional parameter and use openat instead of open (outside of ld.so).
43513 Add new __opendir as wrapper around __opendirat.
43514 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43515 here without requiring old scandirat implementation.
43517 2011-08-08 Ulrich Drepper <drepper@gmail.com>
43519 * dirent/scandir.c (cancel_handler): Renamed to
43520 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
43521 defined. Adjust users.
43522 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43523 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43525 2011-08-04 Ulrich Drepper <drepper@gmail.com>
43527 * string/test-string.h (IMPL): Use __STRING to expand name and then
43530 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
43533 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43535 * string/Makefile: Update.
43536 (strop-tests): Append strncat.
43537 * string/test-wcscmp.c: New file.
43538 New comprehensive test for wcscmp.
43539 * string/test-strcmp.c: Update.
43540 (WIDE): New define.
43542 2011-07-22 Andreas Schwab <schwab@redhat.com>
43544 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43547 2011-07-26 Andreas Schwab <schwab@redhat.com>
43549 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43550 encoding to ACE if AI_IDN.
43552 2011-08-01 Jakub Jelinek <jakub@redhat.com>
43554 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43555 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43557 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43559 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43560 Fix overflow bug in strncat.
43561 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43563 * string/test-strncat.c: Update.
43564 Add new tests for checking overflow bugs.
43566 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43568 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43569 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43570 * sysdeps/i386/i686/multiarch/strcat.S: New file.
43571 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43572 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43573 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43574 * sysdeps/i386/i686/multiarch/strncat.S: New file.
43575 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43576 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43578 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43579 (USE_AS_STRCAT): Define.
43580 Add strcat and strncat support.
43581 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43583 2011-07-25 Andreas Schwab <schwab@redhat.com>
43585 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43586 __n bigger than INT_MAX+1.
43587 (__strncmp_g): Likewise.
43589 2011-07-23 Ulrich Drepper <drepper@gmail.com>
43591 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43592 * libio/stido.h: Likewise.
43594 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43596 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43599 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43600 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43601 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43602 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43603 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43606 * scripts/test-installation.pl: Don't expect libnss_test1 to be
43609 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43611 (_dl_x86_64_save_sse): Likewise.
43613 2011-07-22 Ulrich Drepper <drepper@gmail.com>
43615 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43617 (_dl_x86_64_save_sse): Likewise.
43619 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43621 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43623 2011-07-21 Andreas Schwab <schwab@redhat.com>
43625 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43627 (_dl_x86_64_save_sse): Use correct AVX check.
43629 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43631 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43632 bug in strncpy/strncat.
43633 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43635 2011-07-21 Ulrich Drepper <drepper@gmail.com>
43637 * string/tester.c (test_strcat): Add tests for different alignments
43638 of source and destination.
43639 (test_strncat): Likewise.
43641 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43644 * posix/glob.c (glob): Check passed in values before using them in
43645 expressions to avoid some overflows.
43646 (glob_in_dir): Likewise.
43649 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
43650 check for AVX enablement so that we don't crash with old kernels and
43652 * elf/tst-audit4.c: Add same checks here.
43653 * elf/tst-audit6.c: Likewise.
43655 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
43657 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
43659 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
43661 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43663 * po/cs.po: Update from translation team.
43664 * po/bg.po: Likewise.
43666 2011-07-12 Marek Polacek <mpolacek@redhat.com>
43668 * misc/sys/cdefs.h: Add support for const attribute.
43669 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
43670 to gnu_dev_{major,minor,makedev} functions.
43672 2011-07-20 Marek Polacek <mpolacek@redhat.com>
43674 * intl/dcigettext.c (get_output_charset): Add missing bracket.
43676 2011-07-20 Andreas Schwab <schwab@redhat.com>
43678 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
43681 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43683 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
43684 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
43685 register in order to avoid conflicts with the soft frame pointer
43686 being held in r11 when necessary.
43687 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
43688 (INTERNAL_VSYSCALL_NCS): Likewise.
43690 2011-07-14 Marek Polacek <mpolacek@redhat.com>
43692 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
43693 * elf/dl-fini.c (_dl_fini): Adjust caller.
43694 * elf/dl-close.c (_dl_close_worker): Likewise.
43695 * sysdeps/generic/ldsodefs.h: Adjust declaration.
43697 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43699 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
43700 "aux_cache->nlibs < 0".
43702 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
43703 in the reload-count case.
43705 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43707 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43708 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
43709 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
43710 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
43711 * sysdeps/x86_64/multiarch/strcat.S: New file.
43712 * sysdeps/x86_64/multiarch/strncat.S: New file.
43713 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
43714 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
43715 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
43716 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
43717 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
43718 (USE_AS_STRCAT): Define.
43719 Add strcat and strncat support.
43720 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43721 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43722 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
43723 * string/strncat.c: Update.
43724 (USE_AS_STRNCAT): Define.
43725 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43726 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
43728 * sysdeps/x86_64/multiarch/init-arch.h
43729 (bit_Prefer_PMINUB_for_stringop): New.
43730 (index_Prefer_PMINUB_for_stringop): Likewise.
43731 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
43732 bit_Prefer_PMINUB_for_stringop.
43734 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43736 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
43738 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
43739 of casting of buffer.
43740 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
43741 buffer32 and buffer64.
43742 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
43743 writes instead of casting of buffer.
43744 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
43746 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
43749 2011-07-19 Andreas Schwab <schwab@redhat.com>
43751 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
43753 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43755 * nscd/nscd.c (termination_handler): Don't do anything for a database
43756 if it has not yet been initialized.
43758 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43760 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43762 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43764 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43766 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43768 * po/nl.po: Update from translation team.
43769 * po/sv.po: Likewise.
43771 2011-07-16 Roland McGrath <roland@hack.frob.com>
43773 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
43774 now disallowed by GCC.
43776 * configure.in (use-default-link): Default to yes if a test -shared
43777 link meets our qualifications.
43778 * configure: Regenerated.
43780 * config.make.in (output-format): New variable.
43781 * configure.in: Check for ld --print-output-format support.
43782 * configure: Regenerated.
43783 * Makerules ($(common-objpfx)format.lds)
43784 [$(output-format) != unknown]: Just use $(output-format),
43785 instead of the linker-script munging.
43787 2011-07-14 Roland McGrath <roland@hack.frob.com>
43789 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
43790 of $(common-objpfx)shlib.lds.
43791 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
43793 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
43794 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
43796 * configure.in (-z relro check): Adjust test code to add a large
43797 writable data section after it.
43798 * configure: Regenerated.
43800 2011-07-11 Roland McGrath <roland@hack.frob.com>
43802 * configure.in (-z relro check): Fix test code to make the variable
43804 * configure: Regenerated.
43806 2011-07-11 Ulrich Drepper <drepper@gmail.com>
43808 * nscd/nscd.h (struct traced_file): Define.
43809 (struct database_dyn): Remove inotify_descr, reset_res, and filename
43810 elements. Add traced_files.
43811 (inotify_fd): Declare.
43812 (register_traced_file): Declare.
43813 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
43814 (inotify_fd): Export.
43815 (resolv_conf_descr): Remove.
43816 (nscd_init): Move inotify descriptor creation to main.
43817 Don't register files for notification here.
43818 (register_traced_file): New function.
43819 (invalidate_cache): Don't use reset_res to determine whether to call
43820 res_init, go through the list of registered files.
43821 (main_loop_poll): The inotify descriptors are now stored in the
43822 structures for the traced files.
43823 (main_loop_epoll): Likewise
43824 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
43825 to __nss_disable_nscd.
43826 * nscd/cache.c (prune_cache): There is no single inotify descriptor
43827 for a database anymore. Check the records for all the registered
43829 * nss/Makefile (libnss_files-routines): Add files-init.
43830 (libnss_db-routines): Add db-init.
43831 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
43832 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
43833 * nss/nss_db/db-init.c: New file.
43834 * nss/nss_files/files-init.c: New file.
43835 * nss/nsswitch.c (nss_load_library): New function. Broken out of
43836 __nss_lookup_function.
43837 (__nss_lookup_function): Call nss_load_library.
43838 (nss_load_all_libraries): New function.
43839 (__nss_disable_nscd): Take parameter with callback function for files
43840 to register. Set is_nscd. Load all the DSOs for the NSS modules
43841 used for the cached services.
43842 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
43843 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
43844 options for features to all the files in nscd.
43846 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
43848 2011-07-10 Roland McGrath <roland@hack.frob.com>
43850 * csu/elf-init.c (__libc_csu_init): Comment typo.
43852 2011-07-09 Ulrich Drepper <drepper@gmail.com>
43854 * po/pl.po: Update from translation team.
43855 * po/ja.po: Likewise.
43856 * po/ru.po: Likewise.
43857 * po/ko.po: Likewise.
43858 * po/fr.po: Likewise.
43860 2011-07-09 Roland McGrath <roland@hack.frob.com>
43862 * configure.in (.ctors/.dtors header and trailer check):
43863 Use an empirical test on a built program.
43864 * configure: Regenerated.
43866 * configure.in (-z relro check): Use an empirical test on a built DSO.
43867 Detect, but do not require, on ia64.
43868 * configure: Regenerated.
43870 * configure.in (READELF): Find it with AC_CHECK_TOOL.
43871 Update tests that use readelf to use $READELF instead.
43872 * configure: Regenerated.
43874 2011-07-08 Ulrich Drepper <drepper@gmail.com>
43876 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
43877 if the result is not used.
43879 2011-07-05 Andreas Jaeger <aj@suse.de>
43882 * stdlib/tst-strtod.c: Add testcase.
43884 2011-07-07 Ulrich Drepper <drepper@gmail.com>
43886 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
43887 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
43888 The latter has a higher limit. Take additional parameter to pass to
43890 (__pathconf): Pass file to __statfs_link_max.
43891 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
43893 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
43897 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
43898 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43900 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
43901 (__statfs_filesize_max): Likewise.
43902 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
43904 2011-07-05 Andreas Jaeger <aj@suse.de>
43906 * resolv/res_comp.c (dn_skipname): Remove unused variable.
43908 2011-07-06 Marek Polacek <mpolacek@redhat.com>
43910 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
43912 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
43915 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
43917 * Makefile (strop-tests): Add strncat.
43918 * string/test-strncat.c: New file.
43920 2011-06-30 Marek Polacek <mpolacek@redhat.com>
43922 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
43924 2011-06-21 Andreas Jaeger <aj@suse.de>
43926 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
43927 Copy rule from iconvdata/Makefile.
43929 2011-07-06 Ulrich Drepper <drepper@gmail.com>
43932 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
43933 but no long options are defined, just return 'W'.
43935 2011-06-22 Marek Polacek <mpolacek@redhat.com>
43938 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
43940 2011-07-06 Ulrich Drepper <drepper@gmail.com>
43942 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
43944 (innetgr): Likewise.
43946 2011-07-05 Roland McGrath <roland@hack.frob.com>
43948 * config.make.in (install_root): Default to $(DESTDIR).
43950 2011-07-05 Ulrich Drepper <drepper@gmail.com>
43952 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
43954 2011-07-02 Roland McGrath <roland@hack.frob.com>
43956 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
43958 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
43959 containing directory rather than embedding absolute directory names.
43961 * scripts/check-local-headers.sh: Rewritten using awk.
43962 Match by word, not by line. Print error messages for matches.
43963 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
43965 * Makerules [shlib-lds-flags empty]:
43966 ($(common-objpfx)libc_pic.opts): New target.
43967 ($(common-objpfx)libc_pic.os.clean): New target.
43968 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
43970 * config.make.in (OBJCOPY): New variable.
43971 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43972 * configure: Regenerated.
43974 * config.make.in (use-default-link): New variable.
43975 * configure.in (use_default_link): Grok --with-default-link to set it.
43976 * configure: Regenerated.
43977 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43978 (shlib-lds, shlib-lds-flags): Define to empty.
43980 * Makerules (shlib-lds): New variable.
43981 (shlib-lds-flags): New variable.
43982 (build-shlib, build-moduile, build-module-asneeded): Use it.
43983 ($(common-objpfx)libc.so): Use $(shlib-lds).
43984 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43985 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
43987 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
43988 DT_FLAGS/DT_FLAGS_1 with zero flags.
43990 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
43991 linker script munging.
43993 2011-07-02 Ulrich Drepper <drepper@gmail.com>
43995 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43997 * crypt/sha512.c (sha512_process_block): Perform total addition using
43998 128-bit if possible.
43999 (__sha512_finish_ctx): Likewise.
44000 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44002 * crypt/sha256.c (SWAP64): Define.
44003 (sha256_process_block): Perform total addition using 64-bit if
44005 (__sha256_finish_ctx): Likewise.
44007 2011-07-01 Ulrich Drepper <drepper@gmail.com>
44009 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
44010 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44011 * nscd/hstcache.c (cache_addhst): Likewise.
44012 * nscd/grpcache.c (cache_addgr): Likewise.
44013 * nscd/aicache.c (addhstaiX): Likewise
44014 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44016 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
44018 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44019 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44020 * nscd/hstcache.c (cache_addhst): Likewise.
44021 * nscd/grpcache.c (cache_addgr): Likewise.
44022 * nscd/aicache.c (addhstaiX): Likewise
44024 2011-07-01 Andreas Schwab <schwab@redhat.com>
44026 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44027 domain only when needed.
44029 2011-06-30 Andreas Schwab <schwab@redhat.com>
44031 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44032 is always restored.
44034 2011-06-29 Ulrich Drepper <drepper@gmail.com>
44036 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44037 are re-adding the entry.
44038 * nscd/servicescache.c (cache_addserv): Likewise.
44040 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
44042 * sysdeps/generic/dl-irel.h: fix protection against multiple
44044 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44046 2011-06-28 Ulrich Drepper <drepper@gmail.com>
44049 * malloc/memusage.sh: Fix quoting in message.
44050 * debug/xtrace.sh: Likewise.
44052 * configure.in: Remove support for --experimental-malloc option, make
44054 * config.make.in: Likewise.
44055 * malloc/Makefile: Likewise.
44057 2011-06-27 Andreas Schwab <schwab@redhat.com>
44059 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44060 two-byte characters.
44062 2011-06-27 Roland McGrath <roland@hack.frob.com>
44064 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44065 AC_CACHE_CHECK invocation.
44066 * configure: Regenerated.
44068 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44070 2011-06-27 Ulrich Drepper <drepper@gmail.com>
44073 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
44074 bit from old_res_options.
44076 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44078 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44079 value type for setfct.
44081 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
44083 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44084 __gettimeofday instead of gettimeofday.
44086 2011-06-26 Ulrich Drepper <drepper@gmail.com>
44088 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44090 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
44092 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44094 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44097 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44099 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44100 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44101 strcpy-sse2-unaligned strncpy-sse2-unaligned
44102 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44103 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44104 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44105 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44106 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44107 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44108 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44109 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44110 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44111 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44112 (STRCPY): Support SSE2 and SSSE3 versions.
44114 2011-06-24 Ulrich Drepper <drepper@gmail.com>
44117 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44118 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44119 kernels which artificially limit size of requests.
44121 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44123 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44124 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44125 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
44126 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
44127 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
44128 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
44129 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
44130 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
44131 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
44132 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
44133 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
44134 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
44135 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
44136 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
44137 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
44138 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44139 Enable unaligned load optimization for Intel Core i3, i5 and i7
44141 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
44143 (index_Fast_Unaligned_Load): Define.
44144 (HAS_FAST_UNALIGNED_LOAD): Define.
44146 2011-06-23 Marek Polacek <mpolacek@redhat.com>
44148 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
44150 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44153 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
44154 until it is clear that the information is realy needed.
44155 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
44157 2011-06-22 Andreas Schwab <schwab@redhat.com>
44159 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
44161 2011-06-22 Ulrich Drepper <drepper@gmail.com>
44163 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44164 /sys/devices/system/cpu/online if it is usable.
44166 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
44167 reading the information from the /proc filesystem to once a second.
44169 2011-06-21 Andreas Jaeger <aj@suse.de>
44171 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
44172 NULL after inclusion of kernel headers.
44174 2011-06-21 Ulrich Drepper <drepper@gmail.com>
44176 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
44177 calls to internal_setent.
44180 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
44181 addresses using gethostbyname4_r ignore IPv4 addresses.
44183 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
44184 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
44186 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
44188 2011-06-20 David S. Miller <davem@davemloft.net>
44190 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
44192 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
44194 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
44195 (elf_irel): Use it.
44196 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
44197 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
44198 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
44199 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
44200 * sysdeps/x86_64/dl-irel.h: Likewise.
44202 * elf/dl-runtime.c: Use elf_ifunc_invoke.
44203 * elf/dl-sym.c: Likewise.
44205 2011-06-15 Ulrich Drepper <drepper@gmail.com>
44207 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
44208 need to dereference resplen2.
44210 2011-06-14 Andreas Schwab <schwab@redhat.com>
44212 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
44214 2011-06-15 Ulrich Drepper <drepper@gmail.com>
44216 * Makeconfig: Define vardbdir and inst_vardbdir.
44217 * nss/Makefile: Add rules to install db-Makefile.
44219 * nss/nss_db/db-XXX.c: Cleanup.
44221 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
44222 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
44224 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
44225 * nss/makedb.c: Implement -g option to specify that value strings
44226 are generated and should not be added to table iterated over for
44228 * nss/nss_db/db-initgroups.c: New file.
44230 * nss/getent.c: Add support for initgroups lookups through getgrouplist
44233 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
44234 (internal_getgrouplist): Adjust to name change.
44235 Update use_initgroups_entry if this is not the first call.
44236 * nss/databases.def: Add initgroups entry.
44238 * nss/makedb.c (compute_tables): Check result of multiple hash table
44239 sizes to minimize maximum chain length.
44241 2011-06-14 Ulrich Drepper <drepper@gmail.com>
44243 * Versions.def: Add entry for libnss_db.
44244 * shlib-versions: Likewise.
44245 * nss/Makefile: Add rules to build libnss_db.
44246 * nss/Versions: Add libnss_db information. Organize libnss_files
44248 * nss/db-Makefile: Add gshadow support. Change rules for the new
44249 makedb progra. Some minor improvements to generate smaller files.
44250 * nss/nss_db/nss_db.h: Move NSS database header data structures to
44252 * nss/makedb.c: ...here.
44253 Improve database format to be smaller and require less memory at
44255 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
44257 * nss/nss_db/db-netgrp.c: Likewise.
44258 * nss/nss_db/db-open.c: Likewise.
44259 * nss/nss_files/flies-XXX.x: Adjust comments.
44260 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
44261 * nss/nss_files/files-grp.c: Likewise.
44262 * nss/nss_files/files-hosts.c: Likewise.
44263 * nss/nss_files/files-network.c: Likewise.
44264 * nss/nss_files/files-proto.c: Likewise.
44265 * nss/nss_files/files-pwd.c: Likewise.
44266 * nss/nss_files/files-rpc.c: Likewise.
44267 * nss/nss_files/files-service.c: Likewise.
44268 * nss/nss_files/files-sgrp.c: Likewise.
44269 * nss/nss_files/files-spwd.c: Likewise.
44270 * nss/nss_db/db-alias.c: Removed.
44271 * nss/nss_db/dummy-db.h: Removed.
44273 2011-06-02 Ulrich Drepper <drepper@gmail.com>
44275 * nss/makedb.c: Rewritten to not use database library.
44276 * nss/Makefile: Update to build new makedb program.
44278 2011-06-14 Andreas Jaeger <aj@suse.de>
44280 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
44281 memset declaration.
44283 2011-06-10 Andreas Schwab <schwab@redhat.com>
44285 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
44288 2011-06-10 Roland McGrath <roland@hack.frob.com>
44290 * Makerules (shlib.lds): Fail if the linker script comes out empty.
44291 * elf/Makefile ($(objpfx)ld.so): Likewise.
44293 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
44294 Don't list ld.so twice in dependencies.
44296 * posix/bug-regex31.c: Include <stdlib.h>.
44298 * nscd/hstcache.c (cache_addhst): Remove unused variable.
44300 * nis/nss_compat/compat-spwd.c
44301 (getspent_next_nss_netgr): Remove unused variable.
44302 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
44304 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
44305 nonmembers" output to use the right array.
44307 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
44309 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
44311 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
44312 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
44313 * catgets/gencat.c (read_input_file): Likewise.
44314 * locale/programs/locarchive.c (enlarge_archive): Likewise.
44316 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
44317 variable definition inside #if's controlling its use.
44319 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
44321 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
44323 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
44325 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
44328 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
44330 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
44331 * configure: Regenerated.
44333 * Makerules: Revert last change.
44334 * elf/Makefile: Likewise.
44336 2011-06-09 Roland McGrath <roland@hack.frob.com>
44338 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
44339 * elf/Makefile ($(objpfx)librtld.os): Likewise.
44340 (reloc-link): Likewise.
44342 2011-06-09 Ulrich Drepper <drepper@gmail.com>
44344 * elf/Makefile: Add rules to build pldd.
44345 * elf/pldd.c: New file.
44346 * elf/pldd-xx.c: New file.
44348 2011-06-07 Ulrich Drepper <drepper@gmail.com>
44350 * version.h: Update for 2.15 development version.
44352 2011-06-07 David S. Miller <davem@davemloft.net>
44354 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
44356 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
44357 elf_machine_lazy_rel): Likewise.
44358 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44359 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
44360 elf_machine_lazy_rel): Likewise.
44361 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
44362 dl_hwcap via passed in argument.
44363 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
44366 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44368 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
44370 2011-06-06 Roland McGrath <roland@hack.frob.com>
44373 * manual/fdl-1.1.texi: New file, verbatim from:
44374 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
44375 * manual/lgpl-2.1.texi: New file, verbatim from:
44376 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
44377 * manual/Makefile (licenses): New variable, list those new file names.
44379 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
44381 * manual/fdl.texi: File removed.
44382 * manual/lesser.texi: File removed.
44383 * manual/libc.texinfo (Copying, Documentation License):
44384 Use new @include file names, put @appendix directive before @include.
44386 2011-06-04 Jakub Jelinek <jakub@redhat.com>
44389 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
44390 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
44391 (mq_open): Add __NTH.
44393 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
44395 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44396 Assume Intel Core i3/i5/i7 processor if AVX is available.
44398 2011-05-31 Ulrich Drepper <drepper@gmail.com>
44400 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44403 2011-05-31 Andreas Schwab <schwab@redhat.com>
44405 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
44406 memory. Use alloca_account. Fix memory leak when retrying.
44408 2011-05-31 Ulrich Drepper <drepper@gmail.com>
44410 * version.h (RELEASE): Bump for 2.14 release.
44411 * include/features.h (__GLIBC_MINOR__): Bump to 14.
44413 * config.make.in (RANLIB): Remove entry.
44415 2011-05-30 Ulrich Drepper <drepper@gmail.com>
44417 * po/Makefile (po-sed-cmd): Add ksh to extensions.
44418 (libc.pot): Work around missing support for .ksh extension in xgettext.
44421 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
44422 if both request failed.
44423 (send_dg): In case of server errors clear resplen or *resplen2.
44426 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
44427 when there are multiple maps.
44428 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
44429 (_dl_fini): Remove test here.
44431 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
44433 2011-05-29 Ulrich Drepper <drepper@gmail.com>
44436 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
44437 bit from old_res_options.
44438 (gaih_inet): Likewise.
44441 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
44444 * resolv/res_init.c (res_setoptions): Make the code more compact.
44447 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
44451 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
44453 * malloc/malloc.h: Mark malloc hook variables as deprecated.
44456 * malloc/malloc.h: Declare malloc hook variables as volatile.
44458 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44462 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
44463 raise in the comment.
44464 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44465 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44466 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
44468 2011-05-28 Ulrich Drepper <drepper@gmail.com>
44471 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44472 grow the buffers more if it already has to be sufficient.
44473 (build_wcs_upper_buffer): Likewise.
44474 * posix/regexec.c (check_matching): Likewise.
44475 (clean_state_log_if_needed): Likewise.
44476 (extend_buffers): Don't enlarge buffers beyond size of the input
44478 Patches mostly by Emil Wojak <emil@wojak.eu>.
44479 * posix/bug-regex32.c: New file.
44480 * posix/Makefile (tests): Add bug-regex32.
44482 * locale/findlocale.c (_nl_find_locale): Return right away if
44483 _nl_explode_name failed.
44484 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44486 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44488 * debug/xtrace.sh: Unify messages.
44489 * malloc/memusage.sh: Likewise.
44492 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44493 time symbol from vDSO. Substitute with vsyscall if not available.
44494 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44497 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44498 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44499 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44500 Add sendmmsg and internal_sendmmsg.
44501 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44502 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44503 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44505 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44506 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44507 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44509 2011-05-27 Ulrich Drepper <drepper@gmail.com>
44512 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44513 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
44515 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44519 * iconvdata/Makefile (tests): Add bug-iconv9.
44520 * iconvdata/bug-iconv9.c: New file.
44522 2011-05-27 Andreas Schwab <schwab@redhat.com>
44525 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44527 2011-05-25 Jakub Jelinek <jakub@redhat.com>
44529 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44530 (struct user_regs_struct): Change intcs field back to cs.
44532 2011-05-25 Ulrich Drepper <drepper@gmail.com>
44534 * po/ja.po: Update from translation team.
44536 2011-05-23 Ulrich Drepper <drepper@gmail.com>
44539 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44540 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44542 2011-05-20 Andreas Schwab <schwab@redhat.com>
44544 * stdlib/longlong.h: Update from GCC.
44546 2011-05-23 Andreas Schwab <schwab@redhat.com>
44548 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44550 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44551 Add parameter name.
44552 (__sysconf): Pass it down.
44554 2011-05-22 Ulrich Drepper <drepper@gmail.com>
44557 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44559 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44560 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44561 add in in __libc_use_alloca calls. Adjust callers.
44562 (glob): Use malloc in some situations.
44564 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44565 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44568 2011-05-21 Ulrich Drepper <drepper@gmail.com>
44570 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44571 and CLOCK_BOOTTIME_ALARM.
44574 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44577 * string/_strerror.c (__strerror_r): Print negative errors as signed
44581 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44582 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44583 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44585 * configure.in: Fix typo in redirection and correct removal of test
44586 files in two cases.
44589 * locale/setlocale.c (new_composite_name): Fix test to check for
44590 identical name of all categories.
44593 * libio/filedoalloc.c (local_isatty): New function.
44594 (_IO_file_doallocate): Use local_isatty.
44595 * stdio-common/perror.c (perror): In case a new stream is used
44596 forward the stream error.
44597 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44600 2011-05-20 Ulrich Drepper <drepper@gmail.com>
44603 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44605 * include/alloca.h (extend_alloca_account): Define.
44608 * posix/regex.h: Fix comments with documentation of user-accessible
44609 fields after compilation and describe correct free'ing of pattern
44610 after re_compile_pattern.
44611 Patch by Reuben Thomas <rrt@sc3d.org>.
44613 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
44615 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44616 and -mno-altivec to prevent the compiler from using Altivec and/or
44617 VSX instructions when the corresponding registers are not available.
44619 2011-05-19 Andreas Schwab <schwab@redhat.com>
44621 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44623 2011-05-19 Ulrich Drepper <drepper@gmail.com>
44625 * libio/freopen.c (freopen): Use __dup2, not dup2.
44626 * libio/freopen64.c (freopen64): Likewise.
44628 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
44631 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44632 * math/Makefile (tests): Add test-powl.
44633 (CFLAGS-test-powl.c): Define.
44634 * math/test-powl.c: New file.
44636 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
44638 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
44640 2011-05-17 Ulrich Drepper <drepper@gmail.com>
44643 * iconvdata/gb18030.c: Update to GB18020-2005.
44645 2011-05-16 Ulrich Drepper <drepper@gmail.com>
44647 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
44648 RE_SYNTAX_POSIX_AWK): Update to match recent development.
44649 Patch by Aharon Robbins <arnold@skeeve.com>.
44652 * stdlib/putenv.c (putenv): Don't always create copy of the variable
44656 * misc/pselect.c (__pselect): Handle timeout value errors hidden
44657 through underflows.
44660 * misc/error.c (error_at_line): Ensure file_name and old_file_name
44661 point to strings before performing equality test for error_one_per_line
44665 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
44668 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44669 (struct user_fpregs_struct): Avoid __uint*_t types.
44672 * malloc/mtrace.c (tr_where): Add additional parameter to point to
44673 symbol info. Use it instead of calling _dl_addr locally.
44674 (lock_and_info): New function.
44675 (tr_freehook): Call lock_and_info and pass symbol info as additional
44676 parameter to tr_where.
44677 (tr_mallochook): Likewise.
44678 (tr_reallochook): Likewise.
44679 (tr_memalignhook): Likewise.
44681 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
44682 used and couldn't be at all thread-safe.
44684 2011-05-15 Ulrich Drepper <drepper@gmail.com>
44686 * libio/freopen.c (freopen): Don't close old file descriptor
44687 before the new one is opened. Instead dup the new file descriptor
44688 to the old one after the new stream is created.
44689 * libio/freopen64.c (freopen64): Likewise.
44690 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
44691 * libio/fileops.c (_IO_new_file_close_it): Handle new
44692 _IO_FLAGS2_NOCLOSE flag.
44693 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
44694 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
44695 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
44696 _IO_FLAGS2_NOCLOSE flag.
44697 * include/unistd.h: Add hidden_proto for dup3.
44698 Define __have_dup3.
44699 * io/dup3.c: Define hidden symbol.
44700 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
44703 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
44704 when an incomplete long option is used.
44705 * posix/tst-getopt_long1.c: New file.
44706 * posix/Makefile (tests): Add tst-getopt_long1.
44709 * scripts/config.guess: Update from autoconf-2.68.
44710 * scripts/config.sub: Likewise.
44713 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
44715 (has_cpuclock): ...this. New function.
44716 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
44717 macro here based on has_cpuclock code.
44720 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44721 First byte (not low byte) is now always NUL.
44722 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
44724 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44725 Use non-cancelable interfaces.
44728 * locale/iso-639.def: Add entry for Sorani.
44731 * include/stdlib.h: Move include protection to the right place.
44732 Define abort_msg_s. Declare __abort_msg with it.
44733 * stdlib/abort.c (__abort_msg): Adjust type.
44734 * assert/assert.c (__assert_fail_base): New function. Majority
44735 of code from __assert_fail. Allocate memory for __abort_msg with
44737 (__assert_fail): Now call __assert_fail_base.
44738 * assert/assert-perr.c: Remove bulk of implementation. Use
44739 __assert_fail_base.
44740 * include/assert.hL Declare __assert_fail_base.
44741 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
44743 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
44745 2011-05-14 Ulrich Drepper <drepper@gmail.com>
44749 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
44750 until all modules are registered in the DTV.
44751 * elf/Makefile: Add rules to build and run tst-tls19.
44752 * elf/tst-tls19.c: New file.
44753 * elf/tst-tls19mod1.c: New file.
44754 * elf/tst-tls19mod2.c: New file.
44755 * elf/tst-tls19mod3.c: New file.
44756 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
44759 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
44763 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
44764 two-byte sequence errors.
44765 * iconvdata/Makefile (tests): Add bug-iconv8.
44766 * iconvdata/bug-iconv8.c: New file.
44769 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
44772 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
44775 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
44776 (dummy_getcfa): New function.
44777 (init): Get _Unwind_GetCFA address, use dummy if not found.
44778 (backtrace_helper): In recursion check, also check whether CFA changes.
44779 (__backtrace): Completely initialize arg.
44781 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
44782 storing incomplete byte sequence in state object. Avoid testing for
44783 guaranteed too small input if we know there is enough data available.
44785 2011-05-11 Andreas Schwab <schwab@redhat.com>
44787 * Makeconfig (+link-pie): Indent.
44788 * Rules (binaries-pie): Define if $(have-fpie) and
44790 (binaries-shared): Also filter out $(binaries-pie).
44791 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
44792 * nscd/Makefile (others-pie): Add nscd.
44793 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
44794 ($(objpfx)nscd): Remove command override.
44795 * login/Makefile (others-pie): Add pt_chown.
44796 ($(objpfx)pt_chown): Remove command override.
44797 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
44798 remove command overrides.
44800 2011-05-13 Ulrich Drepper <drepper@gmail.com>
44802 * libio/tst_putwc.c: Fix error messages.
44805 * libio/fileops.c (_IO_new_file_close_it): Always flush when
44806 currently writing and seek to current position when not.
44807 * libio/Makefile (tests): Add bug-fclose1.
44808 * libio/bug-fclose1.c: New file.
44810 2011-05-12 Ulrich Drepper <drepper@gmail.com>
44813 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
44814 don't set DF_1_NODELETE here.
44815 (do_lookup_x): When entering new entry test for copy relocation
44816 and if necessary set DF_1_NODELETE flag.
44817 * elf/tst-unique4.cc: New file.
44818 * elf/tst-unique4.h: New file.
44819 * elf/tst-unique4lib.cc: New file.
44820 * elf/Makefile: Add rules to build and run tst-unique4.
44821 Patch by Piotr Bury <pbury@goahead.com>.
44823 2011-05-11 Ulrich Drepper <drepper@gmail.com>
44826 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
44829 * misc/mntent_r.c (addmntent): Flush the stream after the output
44832 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
44833 (is_trusted_path_normalize): Skip initial colon. Append slash
44834 to empty buffer. Duplicate is_trusted_path code but allow
44835 constructed patch to be prefix.
44836 (is_dst): Allow $ORIGIN followed by /.
44837 (_dl_dst_substitute): Correct clearing of check_for_trusted.
44838 Correct testing of result of is_trusted_path_normalize
44839 (decompose_rpath): Fix warning.
44841 2011-05-10 Ulrich Drepper <drepper@gmail.com>
44844 * grp/initgroups.c (internal_getgrouplist): When we found the service
44845 list through the initgroups entry in nsswitch.conf do not always
44846 continue on a successful lookup. Don't always use the
44847 __nss_group_database value if it is set.
44848 * nss/nsswitch.conf (initgroups): Change action for successful db
44849 lookup to continue for compatibility.
44851 2011-05-09 Ulrich Drepper <drepper@gmail.com>
44854 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
44856 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
44858 * iconvdata/tst-tables.sh: Likewise.
44859 * iconvdata/cp770.c: New file.
44860 * iconvdata/cp771.c: New file.
44861 * iconvdata/cp772.c: New file.
44862 * iconvdata/cp773.c: New file.
44863 * iconvdata/cp774.c: New file.
44864 * iconvdata/testdata/CP770: New file.
44865 * iconvdata/testdata/CP770..UTF8: New file.
44866 * iconvdata/testdata/CP771: New file.
44867 * iconvdata/testdata/CP771..UTF8: New file.
44868 * iconvdata/testdata/CP772: New file.
44869 * iconvdata/testdata/CP772..UTF8: New file.
44870 * iconvdata/testdata/CP773: New file.
44871 * iconvdata/testdata/CP773..UTF8: New file.
44872 * iconvdata/testdata/CP774: New file.
44873 * iconvdata/testdata/CP774..UTF8: New file.
44875 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
44877 * iconvdata/gen-8bit-gap.sh: Likewise.
44878 * iconvdata/gen-8bit.sh: Likewise.
44880 * locale/iso-639.def: Add ary entry.
44883 * locale/C-translit.h.in: Add U20A1 transliteration.
44886 * locale/iso-639.def: Add wae entry.
44887 Patch by Kevin Bortis <bortis@translate-wae.ch>.
44890 * locale/programs/localedef.c (construct_output_path): Use ssize_t
44894 * locale/C-translit.h.in: Add entry for U20B9.
44895 Patch by pravin.d.s@gmail.com.
44897 2011-05-08 Ulrich Drepper <drepper@gmail.com>
44900 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
44901 ENAMETOOLONG use generic getcwd.
44902 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
44903 in rtld. Use *stat64.
44904 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
44905 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
44906 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
44907 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
44908 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
44909 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
44910 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
44911 __fstatat64 macros.
44912 * include/dirent.h: Add libc_hidden_proto for rewinddir.
44913 * dirent/rewinddir.c: Add libc_hidden_def.
44914 * sysdeps/mach/hurd/rewinddir.c: Likewise.
44915 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
44917 * include/dirent.h (__alloc_dir): Add flags parameter.
44918 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
44919 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
44921 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
44922 from fdopendir if O_CLOEXEC is already set.
44924 2011-03-15 Alan Modra <amodra@gmail.com>
44926 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
44927 l_tls_firstbyte_offset non-zero. Save padding offset in
44928 l_tls_firstbyte_offset for later use.
44929 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
44930 freeing static tls block.
44932 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
44934 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
44935 where #ifdef was intended. The intent is to prevent ARG_MAX from
44936 being defined by the kernel headers.
44938 2011-05-07 Ulrich Drepper <drepper@gmail.com>
44941 * resolv/resolv.h: Define RES_NOTLDQUERY.
44942 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
44943 no-tld-query and set RES_NOTLDQUERY.
44944 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
44945 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
44946 modern BIND to search name as TLD unless forbidden.
44948 2011-05-07 Petr Baudis <pasky@suse.cz>
44949 Ulrich Drepper <drepper@gmail.com>
44952 * elf/dl-load.c (fillin_rpath): Move trusted path check...
44953 (is_trusted_path): ...to here.
44954 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
44955 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
44956 using is_trusted_path_normalize() in setuid scripts.
44958 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44960 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
44961 __BEGIN/__END_DECLS.
44963 2011-05-06 Ulrich Drepper <drepper@gmail.com>
44965 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44966 NSS_STATUS_NOTFOUND if no record was found.
44968 2011-05-05 Andreas Schwab <schwab@redhat.com>
44970 * sunrpc/Makefile (headers): Add rpc/netdb.h.
44971 (headers-not-in-tirpc): Remove rpc/netdb.h
44972 * resolv/netdb.h: Revert last change.
44974 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44976 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44977 circular dependency between libgcc.a and libc.a.
44979 2011-05-05 Andreas Schwab <schwab@redhat.com>
44981 * resolv/netdb.h: Don't include <rpc/netdb.h>.
44982 * nis/Makefile: Don't install rpcsvc/*.
44983 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44984 instead of <rpc/types.h>.
44985 (MAXHOSTNAMELEN): Define.
44987 2011-05-03 Andreas Schwab <schwab@redhat.com>
44989 * elf/ldconfig.c (add_dir): Don't crash on empty path.
44991 2011-04-28 Maciej Babinski <mbabinski@google.com>
44994 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44995 gethostbyname4_r when IPv6 results are possible.
44997 2011-05-02 Ulrich Drepper <drepper@gmail.com>
45000 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45001 _PC_PIPE_BUF handling.
45003 2011-04-30 Bruno Haible <bruno@clisp.org>
45006 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45007 * resolv/netdb.h (getnameinfo): Change type of flags parameter
45009 * inet/getnameinfo.c (getnameinfo): Likewise.
45011 2011-04-29 Ulrich Drepper <drepper@gmail.com>
45013 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45014 to groups setting in database lookup.
45015 * nss/nsswitch.conf: Add initgroups entry.
45017 2011-04-22 Ulrich Drepper <drepper@gmail.com>
45020 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45022 Patch by Eric Blake <eblake@redhat.com>.
45024 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
45026 * sunrpc/Makefile (need-export-routines): Add svc_run.
45027 (routines): Remove svc_run.
45028 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45029 * sunrpc/clnt_perr.c (clnt_perrno): Export.
45030 * sunrpc/svc_run.c (svc_run): Likewise.
45031 * sunrpc/svc_udp.c (svcudp_create): Likewise.
45033 2011-04-21 Ulrich Drepper <drepper@gmail.com>
45035 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45036 problem in reallocation in last patch.
45038 2011-04-20 Ulrich Drepper <drepper@gmail.com>
45040 * sunrpc/Makefile: Move inclusion of Rules.
45042 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45044 * nss/nss_files/files-initgroups.c: New file.
45045 * nss/Makefile (libnss_files-routines): Add files-initgroups.
45046 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45047 _nss_files_initgroups_dyn.
45049 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
45051 * elf/elf.h (R_ARM_IRELATIVE): Define.
45053 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45055 * po/ru.po: Update from translation team.
45057 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45059 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45062 2011-02-06 Mike Frysinger <vapier@gentoo.org>
45065 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45066 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45067 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45068 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45069 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45071 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
45073 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45075 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45076 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45077 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45079 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45082 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45084 * stdlib/bug-getcontext.c: New file.
45085 * stdlib/Makefile: Add rules to build and run bug-getcontext.
45087 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45089 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45090 instructions into .machine "z9-109".
45091 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45092 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45094 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45096 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45097 between environment variables and auxiliary vector.
45099 2011-04-16 Ulrich Drepper <drepper@gmail.com>
45101 * Makefile: Add rules to build linkobj/libc.so.
45102 * include/libc-symbols.h: Define libc_hidden_nolink.
45103 * include/rpc/auth.h: Mark functions which are to be hidden.
45104 * include/rpc/auth_des.h: Likewise.
45105 * include/rpc/auth_unix.h: Likewise.
45106 * include/rpc/clnt.h: Likewise.
45107 * include/rpc/des_crypt.h: Likewise.
45108 * include/rpc/key_prot.h: Likewise.
45109 * include/rpc/pmap_clnt.h: Likewise.
45110 * include/rpc/pmap_prot.h: Likewise.
45111 * include/rpc/pmap_rmt.h: Likewise.
45112 * include/rpc/rpc_msg.h: Likewise.
45113 * include/rpc/svc.h: Likewise.
45114 * include/rpc/svc_auth.h: Likewise.
45115 * include/rpc/xdr.h: Likewise.
45116 * nis/Makefile: Link all DSOs against linkobj/libc.so.
45117 * nss/Makefile: Likewise.
45118 * sunrpc/Makefile: Don't install headers. Build library with normal
45119 entry points. Don't build rpcinfo. Link RPC tests appropriately.
45120 * sunrpc/auth_des.c: Hide exported symbols by default, export some
45121 for the compat linking library. Remove use of INTDEF/INTUSE.
45122 * sunrpc/auth_none.c: Likewise.
45123 * sunrpc/auth_unix.c: Likewise.
45124 * sunrpc/authdes_prot.c: Likewise.
45125 * sunrpc/authuxprot.c: Likewise.
45126 * sunrpc/clnt_gen.c: Likewise.
45127 * sunrpc/clnt_perr.c: Likewise.
45128 * sunrpc/clnt_raw.c: Likewise.
45129 * sunrpc/clnt_simp.c: Likewise.
45130 * sunrpc/clnt_tcp.c: Likewise.
45131 * sunrpc/clnt_udp.c: Likewise.
45132 * sunrpc/clnt_unix.c: Likewise.
45133 * sunrpc/des_crypt.c: Likewise.
45134 * sunrpc/des_soft.c: Likewise.
45135 * sunrpc/get_myaddr.c: Likewise.
45136 * sunrpc/key_call.c: Likewise.
45137 * sunrpc/key_prot.c: Likewise.
45138 * sunrpc/netname.c: Likewise.
45139 * sunrpc/pm_getmaps.c: Likewise.
45140 * sunrpc/pm_getport.c: Likewise.
45141 * sunrpc/pmap_clnt.c: Likewise.
45142 * sunrpc/pmap_prot.c: Likewise.
45143 * sunrpc/pmap_prot2.c: Likewise.
45144 * sunrpc/pmap_rmt.c: Likewise.
45145 * sunrpc/publickey.c: Likewise.
45146 * sunrpc/rpc_cmsg.c: Likewise.
45147 * sunrpc/rpc_common.c: Likewise.
45148 * sunrpc/rpc_dtable.c: Likewise.
45149 * sunrpc/rpc_prot.c: Likewise.
45150 * sunrpc/rpc_thread.c: Likewise.
45151 * sunrpc/rtime.c: Likewise.
45152 * sunrpc/svc.c: Likewise.
45153 * sunrpc/svc_auth.c: Likewise.
45154 * sunrpc/svc_authux.c: Likewise.
45155 * sunrpc/svc_raw.c: Likewise.
45156 * sunrpc/svc_run.c: Likewise.
45157 * sunrpc/svc_simple.c: Likewise.
45158 * sunrpc/svc_tcp.c: Likewise.
45159 * sunrpc/svc_udp.c: Likewise.
45160 * sunrpc/svc_unix.c: Likewise.
45161 * sunrpc/svcauth_des.c: Likewise.
45162 * sunrpc/xcrypt.c: Likewise.
45163 * sunrpc/xdr.c: Likewise.
45164 * sunrpc/xdr_array.c: Likewise.
45165 * sunrpc/xdr_float.c: Likewise.
45166 * sunrpc/xdr_intXX_t.c: Likewise.
45167 * sunrpc/xdr_mem.c: Likewise.
45168 * sunrpc/xdr_rec.c: Likewise.
45169 * sunrpc/xdr_ref.c: Likewise.
45170 * sunrpc/xdr_sizeof.c: Likewise.
45171 * sunrpc/xdr_stdio.c: Likewise.
45173 2011-04-10 Ulrich Drepper <drepper@gmail.com>
45176 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
45177 * sysdeps/ia64/dl-tls.h: Likewise.
45178 * sysdeps/powerpc/dl-tls.h: Likewise.
45179 * sysdeps/s390/dl-tls.h: Likewise.
45180 * sysdeps/sh/dl-tls.h: Likewise.
45181 * sysdeps/sparc/dl-tls.h: Likewise.
45182 * sysdeps/x86_64/dl-tls.h: Likewise.
45183 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
45185 2011-03-14 Andreas Schwab <schwab@redhat.com>
45187 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
45188 rpath element also skip the following colon.
45189 (expand_dynamic_string_token): Add is_path parameter and pass
45190 down to DL_DST_REQUIRED and _dl_dst_substitute.
45191 (decompose_rpath): Call expand_dynamic_string_token with
45192 non-zero is_path. Ignore empty rpaths.
45193 (_dl_map_object_from_fd): Call expand_dynamic_string_token
45196 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
45198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45201 2011-04-09 Ulrich Drepper <drepper@gmail.com>
45204 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
45205 Patch by Filipe David Manana <fdmanana@apache.org>.
45207 2011-04-07 Andreas Schwab <schwab@redhat.com>
45209 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
45210 Maintain aligned stack.
45211 (CHECK_RSP): Remove unused macro.
45213 2011-04-03 Ulrich Drepper <drepper@gmail.com>
45215 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
45216 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
45218 2011-04-02 Ulrich Drepper <drepper@gmail.com>
45220 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
45222 * include/features.h: Mention __USE_XOPEN2K8 in comment.
45224 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
45227 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
45228 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
45229 * sysdeps/x86_64/memmove.c: New file.
45230 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
45231 (memcpy): Renamed to ...
45232 (__new_memcpy): This.
45233 (memcpy): Provide GLIBC_2_14 memcpy.
45234 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
45235 (memcpy): Provide GLIBC_2_2_5 memcpy.
45237 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45240 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
45242 2011-03-30 Andreas Schwab <schwab@redhat.com>
45244 * misc/syncfs.c: New file.
45245 * misc/Makefile (routines): Add syncfs.
45246 * posix/unistd.h: Declare syncfs.
45247 * sysdeps/unix/syscalls.list: Add syncfs.
45249 2011-04-01 Andreas Schwab <schwab@redhat.com>
45251 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
45253 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45254 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45255 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45256 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45257 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45258 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
45259 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45261 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45263 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
45264 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45265 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
45266 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45267 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45268 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45269 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45271 * io/Makefile: Compile fallocate.c, fallocate64.c, and
45272 sync_file_range.c with -fexceptions.
45273 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
45274 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
45275 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
45276 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
45277 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
45278 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45279 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
45280 sync_file_range as cancellation point
45281 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
45282 now a wrapper around __call_sync_file_range with cancellation handling.
45283 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
45284 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
45285 function name to __call_sync_file_range.
45286 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
45287 Add call_sync_file_range.
45289 2011-04-01 Andreas Schwab <schwab@redhat.com>
45291 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45294 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45296 * iconv/iconv.h: Fix typo in comment.
45297 * io/fcntl.h: Likewise.
45298 * libio/stdio.h: Likewise.
45299 * posix/spawn.h: Likewise.
45300 * posix/unistd.h: Likewise.
45301 * stdlib/stdlib.h: Likewise.
45302 * time/time.h: Likewise.
45303 * wcsmbs/wchar.h: Likewise.
45305 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
45306 open_by_handle): Add.
45307 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
45308 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
45309 Augment a few comments.
45310 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45311 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45312 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45313 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45314 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45315 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
45318 * io/fcntl.h (AT_EMPTY_PATH): Define.
45320 2011-03-30 Ulrich Drepper <drepper@gmail.com>
45322 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
45323 * sysdeps/unix/sysv/linux/bits/time.h: New file.
45324 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
45326 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
45327 * Versions.def: Add GLIBC_2.14.
45328 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
45331 2011-03-22 Ulrich Drepper <drepper@gmail.com>
45333 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
45335 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45337 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
45340 * string/test-strncmp.c (do_page_test): New function.
45341 (check2): Likewise.
45342 (test_main): Call check2.
45343 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
45345 2011-03-20 Ulrich Drepper <drepper@gmail.com>
45348 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
45349 Handle cache information in CPU leaf 4.
45350 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45352 2011-03-18 Ulrich Drepper <drepper@gmail.com>
45355 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
45356 character representation.
45357 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
45359 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
45361 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
45362 END(__isnan) to END(__isnanf) to match function entry point/label
45363 EALIGN(__isnanf,...).
45365 2011-03-10 Jakub Jelinek <jakub@redhat.com>
45367 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
45369 2011-03-10 Ulrich Drepper <drepper@gmail.com>
45372 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
45373 copy from the symbol referenced in the relocation to initialize the
45375 Patch by Piotr Bury <pbury@goahead.com>.
45376 * elf/Makefile: Add rules to build and tst-unique3.
45377 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
45378 * elf/tst-unique3.cc: New file.
45379 * elf/tst-unique3.h: New file.
45380 * elf/tst-unique3lib.cc: New file.
45381 * elf/tst-unique3lib2.cc: New file.
45383 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
45385 2011-03-10 Mike Frysinger <vapier@gentoo.org>
45387 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
45388 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
45391 2011-03-06 Ulrich Drepper <drepper@gmail.com>
45393 * elf/dl-load.c (_dl_map_object): If we are looking for the first
45394 to-be-loaded object along a path to loader is ld.so.
45396 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45397 Ulrich Drepper <drepper@gmail.com>
45399 * sysdeps/x86_64/memset.S: After aligning destination, code
45400 branches to different locations depending on the value of
45401 misalignment, when multiarch is enabled. Fix this.
45403 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45405 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
45406 Set _x86_64_preferred_memory_instruction for AMD processsors.
45407 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45408 Set bit_Prefer_SSE_for_memop for AMD processors.
45410 2011-03-04 Ulrich Drepper <drepper@gmail.com>
45412 * libio/fmemopen.c (fmemopen): Optimize a bit.
45414 2011-03-03 Andreas Schwab <schwab@redhat.com>
45416 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
45418 2011-03-03 Roland McGrath <roland@redhat.com>
45420 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
45422 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
45424 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
45425 __bzero_ultra1 instead of __memset_ultra1.
45427 2011-02-23 Andreas Schwab <schwab@redhat.com>
45428 Ulrich Drepper <drepper@gmail.com>
45431 * include/link.h (struct link_map): Add l_orig_initfini.
45432 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
45433 returning unsuccessfully.
45434 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
45435 close of a file loaded at startup, restore the original l_initfini
45437 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
45438 list, store the pointer.
45439 * elf/Makefile ($(objpfx)noload-mem): New rule.
45440 (noload-ENV): Define.
45441 (tests): Add $(objpfx)noload-mem.
45442 * elf/noload.c: Include <memcheck.h>.
45443 (main): Call mtrace. Close all opened handles.
45445 2011-02-17 Andreas Schwab <schwab@redhat.com>
45448 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
45449 dependencies are missing.
45451 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
45453 Fix __if_freereq crash: Unlike the generic version which uses free,
45455 * sysdeps/mach/hurd/ifreq.h: New file.
45457 2011-01-27 Petr Baudis <pasky@suse.cz>
45458 Ulrich Drepper <drepper@gmail.com>
45461 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45462 to extend_alloca().
45463 * stdio-common/bug23.c: New file.
45464 * stdio-common/Makefile (tests): Add bug23.
45466 2010-09-28 Andreas Schwab <schwab@redhat.com>
45467 Ulrich Drepper <drepper@gmail.com>
45470 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45471 before performing relro protection. At old place add assertion
45472 to make sure nothing changed.
45474 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
45475 Glauber de Oliveira Costa <glommer@gmail.com>
45477 * elf/elf.h: Add new ARM TLS relocs.
45479 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
45481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45482 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45484 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
45486 * sysdeps/wordsize-64/tst-writev.c: New file.
45488 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
45490 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45491 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45492 insns in _dl_start to prevent a TOC reference before relocs are
45495 2011-02-15 Ulrich Drepper <drepper@gmail.com>
45498 * Makeconfig: Remove RANLIB definition.
45499 * Makerules: Don't use RANLIB.
45500 * aclocal.m4: Remove ranlib test.
45501 * configure.in: No need to check for ranlib.
45502 * elf/rtld-Rules: Don't use RANLIB.
45504 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
45506 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45508 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45509 inclusion protection macro.
45511 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45512 SIGRTMIN and SIGRTMAX and print information in that case only when
45513 SIGRTMIN is defined.
45515 2011-02-11 Jakub Jelinek <jakub@redhat.com>
45517 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45518 arginfo fn returning -1.
45520 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45521 and thousands string is zero terminated.
45523 2011-02-03 Andreas Schwab <schwab@redhat.com>
45525 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45526 sysdeps/unix/sysv/linux/bits/socket.h.
45528 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
45530 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45531 (__CPU_COUNT): Remove old macros.
45532 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45533 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45534 (__CPU_ALLOC, __CPU_FREE): Add macros.
45535 (__sched_cpualloc, __sched_cpufree): Add declarations.
45537 2011-02-05 Ulrich Drepper <drepper@gmail.com>
45539 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45540 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45541 * nscd/aicache.c (addhstaiX): Return timeout of added value.
45542 (readdhstai): Return value of addhstaiX call.
45543 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45544 (addgrbyX): Return value returned by cache_addgr.
45545 (readdgrbyname): Return value returned by addgrbyX.
45546 (readdgrbygid): Likewise.
45547 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45548 (addpwbyX): Return value returned by cache_addpw.
45549 (readdpwbyname): Return value returned by addhstbyX.
45550 (readdpwbyuid): Likewise.
45551 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45552 (addservbyX): Return value returned by cache_addserv.
45553 (readdservbyname): Return value returned by addservbyX:
45554 (readdservbyport): Likewise.
45555 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45556 (addhstbyX): Return value returned by cache_addhst.
45557 (readdhstbyname): Return value returned by addhstbyX.
45558 (readdhstbyaddr): Likewise.
45559 (readdhstbynamev6): Likewise.
45560 (readdhstbyaddrv6): Likewise.
45561 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45562 (readdinitgroups): Return value returned by addinitgroupsX.
45563 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45564 (prune_cache): Keep track of timeout value of re-added entries.
45565 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45566 * nscd/nscd.h: Adjust prototypes of readd* functions.
45568 2011-02-04 Roland McGrath <roland@redhat.com>
45570 * nis/nis_server.c (nis_servstate): Use the right name for 0.
45571 (nis_stats): Likewise.
45572 * nis/nis_modify.c (nis_modify): Likewise.
45573 * nis/nis_remove.c (nis_remove): Likewise.
45574 * nis/nis_add.c (nis_add): Likewise.
45576 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45578 * posix/fnmatch_loop.c: Add some consts.
45580 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45582 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
45585 * config.make.in (config-cflags-novzeroupper): Define.
45586 * configure.in: Substitute libc_cv_cc_novzeroupper.
45587 * elf/Makefile (AVX-CFLAGS): Define.
45588 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45589 (CFLAGS-tst-auditmod4a.c): Likewise.
45590 (CFLAGS-tst-auditmod4b.c): Likewise.
45591 (CFLAGS-tst-auditmod6b.c): Likewise.
45592 (CFLAGS-tst-auditmod6c.c): Likewise.
45593 (CFLAGS-tst-auditmod7b.c): Likewise.
45594 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45596 2011-02-02 Ulrich Drepper <drepper@gmail.com>
45598 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45599 function to the callback.
45600 Patch partly by Jiri Olsa <jolsa@redhat.com>.
45602 2011-02-02 Andreas Schwab <schwab@redhat.com>
45604 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45607 2011-01-19 Ulrich Drepper <drepper@gmail.com>
45610 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45612 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45614 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45617 * elf/Makefile: Add rules to build and run new test.
45618 * elf/tst-initorder.c: New file.
45619 * elf/tst-initorder.exp: New file.
45620 * elf/tst-initordera1.c: New file.
45621 * elf/tst-initordera2.c: New file.
45622 * elf/tst-initordera3.c: New file.
45623 * elf/tst-initordera4.c: New file.
45624 * elf/tst-initorderb1.c: New file.
45625 * elf/tst-initorderb2.c: New file.
45626 * elf/tst-order-a1.c: New file.
45627 * elf/tst-order-a2.c: New file.
45628 * elf/tst-order-a3.c: New file.
45629 * elf/tst-order-a4.c: New file.
45630 * elf/tst-order-b1.c: New file.
45631 * elf/tst-order-b2.c: New file.
45632 * elf/tst-order-main.c: New file.
45633 New test case by George Gensure <werkt0@gmail.com>.
45635 2010-10-01 Andreas Schwab <schwab@redhat.com>
45637 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45638 decoding ACE if AI_CANONIDN.
45640 2011-01-18 Ulrich Drepper <drepper@gmail.com>
45642 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
45644 2011-01-17 Ulrich Drepper <drepper@gmail.com>
45646 * version.h (RELEASE): Bump for 2.13 release.
45647 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
45649 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
45651 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
45653 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
45654 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45655 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45656 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45657 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45658 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45660 * posix/getconf.c: Update copyright year.
45661 * catgets/gencat.c: Likewise.
45662 * csu/version.c: Likewise.
45663 * debug/catchsegv.sh: Likewise.
45664 * debug/xtrace.sh: Likewise.
45665 * elf/ldconfig.c: Likewise.
45666 * elf/ldd.bash.in: Likewise.
45667 * elf/sprof.c (print_version): Likewise.
45668 * iconv/iconv_prog.c: Likewise.
45669 * iconv/iconvconfig.c: Likewise.
45670 * locale/programs/locale.c: Likewise.
45671 * locale/programs/localedef.c: Likewise.
45672 * malloc/memusage.sh: Likewise.
45673 * malloc/mtrace.pl: Likewise.
45674 * nscd/nscd.c (print_version): Likewise.
45675 * nss/getent.c: Likewise.
45677 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
45678 PF_CAIF, and PF_ALG.
45679 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45681 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
45683 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
45684 (modules-names): Use them.
45685 (ifunc-test-modules, ifunc-pie-tests): Define.
45686 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
45687 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
45688 (test-extras): Likewise.
45689 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
45690 $(compile-command.c).
45691 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
45692 (all-built-dso): Define.
45693 (check-textrel.out, check-execstack.out): Depend on it.
45695 * configure.in: Don't override --enable-multi-arch.
45697 2011-01-15 Ulrich Drepper <drepper@gmail.com>
45700 * nscd/hstcache.c (tryagain): Define.
45701 (cache_addhst): Return tryagain not notfound for temporary errors.
45702 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
45705 2011-01-14 Ulrich Drepper <drepper@gmail.com>
45708 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
45709 to make the syscall.
45710 * sysdeps/unix/sysv/linux/setgroups.c: New file.
45713 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
45714 and fall back to matching as normal character if the string ends before
45715 the matching ']' is found. This is what POSIX requires.
45716 * posix/testfnm.c: Adjust test result.
45717 * posix/globtest.sh: Adjust test result. Add new test.
45718 * posix/tst-fnmatch.input: Likewise.
45719 * posix/tst-fnmatch2.c: Add new test.
45721 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
45723 * elf/Makefile (check-execstack): Revert last change. Depend on
45725 (check-execstack.h): New target.
45726 (generated): Add check-execstack.h.
45727 * elf/check-execstack.c: Include "check-execstack.h".
45728 (main): Revert last change.
45729 (handle_file): Return zero if GNU_STACK is absent and
45730 DEFAULT_STACK_PERMS doesn't include PF_X.
45732 2011-01-13 Ulrich Drepper <drepper@gmail.com>
45734 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
45735 in child fails because the descriptor is already closed.
45736 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
45737 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
45738 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
45741 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
45745 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
45746 temporary buffer used to handle multi lookups locally.
45747 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
45749 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45751 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
45754 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
45756 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
45757 alignment for SSE2.
45759 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45762 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
45763 characters. When rounding increased number of integer digits recompute
45765 * stdio-common/tst-grouping.c: New file.
45766 * stdio-common/Makefile: Add rules to build and run tst-grouping.
45768 2011-01-09 Ulrich Drepper <drepper@gmail.com>
45770 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
45771 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
45773 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
45775 * bits/select.h: Likewise.
45777 2011-01-08 Ulrich Drepper <drepper@gmail.com>
45779 * po/ja.po: Update from translation team.
45781 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
45784 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
45785 implementation just like for lxstat, fxstatat, et al.
45787 2010-12-27 Jim Meyering <meyering@redhat.com>
45790 * posix/regexec.c (build_trtable): Return failure indication upon
45791 calloc failure. Otherwise, re_search_internal could infloop on OOM.
45793 2010-12-25 Ulrich Drepper <drepper@gmail.com>
45796 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
45797 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
45798 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
45799 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
45802 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
45805 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
45806 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
45808 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
45810 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
45811 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
45812 script has SORT_BY_INIT_PRIORITY.
45813 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
45814 NO_CTORS_DTORS_SECTIONS is defined.
45815 * elf/soinit.c: Likewise.
45816 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
45817 NO_CTORS_DTORS_SECTIONS is defined.
45818 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
45819 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
45820 * sysdeps/sh/init-first.c: Likewise.
45821 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
45823 2010-12-24 Ulrich Drepper <drepper@gmail.com>
45825 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
45826 always use the slow path.
45828 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
45830 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
45831 similar rule which adds the sysdep directories to the header search in
45832 order to pick up the correct platform stackinfo.h.
45833 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
45834 perform test if it is, otherwise return successfully without testing.
45835 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
45836 DEFAULT_STACK_PERMS define in stackinfo.h.
45837 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
45838 defined in stackinfo.h.
45839 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
45840 DEFAULT_STACK_PERMS defined in stackinfo.h.
45841 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
45842 * sysdeps/ia64/stackinfo.h: Likewise.
45843 * sysdeps/s390/stackinfo.h: Likewise.
45844 * sysdeps/sh/stackinfo.h: Likewise.
45845 * sysdeps/sparc/stackinfo.h: Likewise.
45846 * sysdeps/x86_64/stackinfo.h: Likewise.
45847 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
45848 PF_X for powerpc64. Retain PF_X for powerpc32.
45850 2010-12-19 Ulrich Drepper <drepper@gmail.com>
45852 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
45854 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
45855 GETDENTS_64BIT_ALIGNED.
45857 2010-12-14 Ulrich Drepper <dreper@gmail.com>
45859 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
45861 2010-12-10 Andreas Schwab <schwab@redhat.com>
45863 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
45866 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
45867 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
45869 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
45870 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
45872 2010-12-09 Ulrich Drepper <drepper@gmail.com>
45875 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
45878 2010-12-09 Jakub Jelinek <jakub@redhat.com>
45880 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
45882 2010-12-03 Ulrich Drepper <drepper@gmail.com>
45884 * po/it.po: Update from translation team.
45886 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
45888 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
45891 2010-11-30 Ulrich Drepper <drepper@gmail.com>
45893 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
45895 2010-11-24 Andreas Schwab <schwab@redhat.com>
45897 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
45899 (gaih_getanswer_slice): Likewise.
45901 2010-10-20 Jakub Jelinek <jakub@redhat.com>
45903 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
45905 2010-05-31 Petr Baudis <pasky@suse.cz>
45908 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
45909 silently even in the chroot mode.
45911 2010-11-22 Ulrich Drepper <drepper@gmail.com>
45913 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
45914 last patch a bit. Pretty printing
45916 2010-05-31 Petr Baudis <pasky@suse.cz>
45919 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
45920 initialization of skip_initgroups_dyn.
45922 2010-11-19 Ulrich Drepper <drepper@gmail.com>
45924 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
45925 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45927 2010-11-16 Ulrich Drepper <drepper@gmail.com>
45929 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
45931 2010-11-11 Andreas Schwab <schwab@redhat.com>
45933 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
45934 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
45935 (tst-fnmatch-ENV): Set MALLOC_TRACE.
45936 ($(objpfx)tst-fnmatch-mem): New rule.
45937 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
45938 * posix/tst-fnmatch.c (main): Call mtrace.
45940 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
45942 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45943 Support Intel processor model 6 and model 0x2c.
45945 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
45947 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
45950 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
45953 * string/test-strncasecmp.c (check_result): New function.
45954 (do_one_test): Use it.
45955 (check1): New function.
45956 (test_main): Use it.
45957 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
45958 Support strcasecmp and strncasecmp.
45960 2010-11-08 Ulrich Drepper <drepper@gmail.com>
45963 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
45964 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45966 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
45968 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
45970 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45972 * sysdeps/x86_64/multiarch/bzero.S: New file.
45973 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45974 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45975 * sysdeps/x86_64/multiarch/memset.S: New file.
45976 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45977 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45978 Set bit_Prefer_SSE_for_memop for Intel processors.
45979 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45981 (index_Prefer_SSE_for_memop): Define.
45982 (HAS_PREFER_SSE_FOR_MEMOP): Define.
45984 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
45986 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
45987 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
45989 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
45992 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45993 (__x86_64_raw_data_cache_size_half): Likewise.
45994 (__x86_64_raw_shared_cache_size): Likewise.
45995 (__x86_64_raw_shared_cache_size_half): Likewise.
45997 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45998 (__x86_64_raw_data_cache_size_half): Likewise.
45999 (__x86_64_raw_shared_cache_size): Likewise.
46000 (__x86_64_raw_shared_cache_size_half): Likewise.
46001 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46002 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46003 and __x86_64_raw_shared_cache_size_half. Round
46004 __x86_64_data_cache_size_half, __x86_64_data_cache_size
46005 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46006 to multiple of 256 bytes.
46008 2010-11-03 Ulrich Drepper <drepper@gmail.com>
46011 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46012 of inacessible symlinks. Verify result of symlink before returning it.
46013 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46014 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46016 2010-10-28 Erich Ritz <erichritz@gmail.com>
46018 * math/math.h (isinf): Fix typo in comment.
46020 2010-11-01 Ulrich Drepper <drepper@gmail.com>
46022 * po/da.po: Update from translation team.
46024 2010-10-26 Ulrich Drepper <drepper@gmail.com>
46026 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46027 is added to the list.
46029 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46030 Ulrich Drepper <drepper@gmail.com>
46032 * elf/dl-object.c (_dl_new_object): Don't append the new object to
46033 the global list here. Move code to...
46034 (_dl_add_to_namespace_list): ...here. New function.
46035 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46036 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46037 * elf/dl-load.c (lose): Don't remove the element from the list.
46038 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46039 (_dl_map_object): Likewise.
46041 2010-10-25 Ulrich Drepper <drepper@gmail.com>
46044 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46045 into all bytes of SSE register.
46046 Patch by Richard Li <richardpku@gmail.com>.
46048 2010-10-24 Ulrich Drepper <drepper@gmail.com>
46051 * malloc/malloc.c (_int_free): Fill correct number of bytes when
46054 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
46056 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46057 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46058 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46059 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46064 2010-10-22 Andreas Schwab <schwab@redhat.com>
46066 * include/dlfcn.h (__RTLD_SECURE): Define.
46067 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
46068 mode & __RTLD_SECURE instead.
46069 (open_path): Rename preloaded parameter to secure.
46070 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46071 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46072 * elf/dl-deps.c (openaux): Likewise.
46073 * elf/rtld.c (struct map_args): Remove is_preloaded.
46074 (map_doit): Don't use it.
46075 (dl_main): Likewise.
46076 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46077 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46079 2010-09-09 Andreas Schwab <schwab@redhat.com>
46081 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46082 (sysd-rules-targets): Remove duplicates.
46083 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46084 rtld-%.$o dependency.
46086 2010-10-18 Andreas Schwab <schwab@redhat.com>
46088 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46089 _dl_map_object do it.
46091 2010-10-19 Ulrich Drepper <drepper@gmail.com>
46093 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46094 fast fma builtins, define the macros in the C99 standard.
46095 (FP_FAST_FMAF): Likewise.
46096 (FP_FAST_FMAL): Likewise.
46097 * sysdeps/x86_64/bits/mathdef.h: Likewise.
46099 * bits/mathdef.h: Update copyright year.
46100 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46102 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
46104 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46105 builtins, define the macros in the C99 standard.
46106 (FP_FAST_FMAF): Likewise.
46107 (FP_FAST_FMAL): Likewise.
46108 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46110 (FP_FAST_FMAF): Likewise.
46112 2010-10-15 Jakub Jelinek <jakub@redhat.com>
46115 * math/libm-test.inc (fma_test): Some new testcases.
46116 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46117 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46118 y and infinite z. Do multiplication by C already in long double.
46119 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46120 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46121 y and infinite z. Do bitwise or of inexact bit into u.d.
46122 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46123 * sysdeps/i386/fpu/s_fmaf.S: Removed.
46124 * sysdeps/i386/fpu/s_fma.S: Removed.
46125 * sysdeps/i386/fpu/s_fmal.S: Removed.
46127 2010-10-16 Jakub Jelinek <jakub@redhat.com>
46130 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
46131 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
46132 computation is not scheduled after fetestexcept. Fix value
46133 of minimum denormal long double.
46135 2010-10-14 Jakub Jelinek <jakub@redhat.com>
46138 * math/libm-test.inc (fma_test): Add some more tests.
46139 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
46142 2010-10-15 Andreas Schwab <schwab@redhat.com>
46144 * scripts/data/localplt-s390-linux-gnu.data: New file.
46145 * scripts/data/localplt-s390x-linux-gnu.data: New file.
46147 2010-10-13 Jakub Jelinek <jakub@redhat.com>
46150 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
46151 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
46153 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
46155 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
46156 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
46157 if one of x and y is very large and the other is subnormal.
46158 * sysdeps/s390/fpu/s_fmaf.c: New file.
46159 * sysdeps/s390/fpu/s_fma.c: New file.
46160 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
46161 * sysdeps/powerpc/fpu/s_fma.S: New file.
46162 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
46163 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
46164 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
46166 2010-10-12 Jakub Jelinek <jakub@redhat.com>
46169 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
46171 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
46172 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
46173 * sysdeps/i386/i686/multiarch/s_fma.c: Include
46174 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
46175 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
46176 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
46177 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
46179 2010-10-12 Ulrich Drepper <drepper@redhat.com>
46182 * posix/regcomp.c (parse_branch): One more memory leak plugged.
46183 * posix/bug-regex31.input: Add test case.
46185 2010-10-11 Ulrich Drepper <drepper@gmail.com>
46187 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
46188 * posix/bug-regex31.input: New file.
46191 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
46192 (parse_sub_exp): Fix last change, use postorder.
46194 * posix/bug-regex31.c: New file.
46195 * posix/Makefile: Add rules to build and run bug-regex31.
46197 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
46200 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
46203 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
46204 to have entries in sys_siglist.
46207 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
46210 2010-10-07 Jakub Jelinek <jakub@redhat.com>
46213 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
46214 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
46215 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
46216 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
46217 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46218 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
46219 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
46220 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
46221 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
46222 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
46223 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
46224 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
46225 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
46226 * math/ftestexcept.c (fetestexcept): Likewise.
46227 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
46228 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
46229 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
46230 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
46231 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
46232 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
46233 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46235 2010-10-11 Ulrich Drepper <drepper@gmail.com>
46238 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
46241 2010-10-06 Ulrich Drepper <drepper@gmail.com>
46243 * string/bug-strstr1.c: New file.
46244 * string/Makefile: Add rules to build and run bug-strstr1.
46246 2010-10-05 Eric Blake <eblake@redhat.com>
46249 * string/str-two-way.h (two_way_long_needle): Always clear memory
46250 when skipping input due to the shift table.
46252 2010-10-03 Ulrich Drepper <drepper@gmail.com>
46255 * malloc/mcheck.c: Handle large requests.
46258 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
46259 for strncmp and strncasecmp.
46260 * string/stratcliff.c: Add tests for strcmp and strncmp.
46261 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
46263 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46265 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
46268 2010-09-30 Andreas Jaeger <aj@suse.de>
46270 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
46271 (CGROUP_SUPER_MAGIC): Define.
46272 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46273 Handle btrfs and cgroup file systems.
46274 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46277 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
46279 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
46280 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
46282 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46285 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
46286 trying to locate the ELF header.
46288 2010-09-27 Andreas Schwab <schwab@redhat.com>
46291 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
46292 Mask out sign-bit copies when constructing f_fsid.
46294 2010-09-24 Petr Baudis <pasky@suse.cz>
46296 * debug/stack_chk_fail_local.c: Add missing licence exception.
46297 * debug/warning-nop.c: Likewise.
46299 2010-09-15 Joseph Myers <joseph@codesourcery.com>
46301 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
46302 implementing getdents64 using getdents syscall, set d_type if
46303 __ASSUME_GETDENTS32_D_TYPE.
46305 2010-09-16 Andreas Schwab <schwab@redhat.com>
46307 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
46308 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
46310 2010-09-21 Ulrich Drepper <drepper@redhat.com>
46313 * posix/unistd.h: Undo change of feature selection for ftruncate from
46316 2010-09-20 Ulrich Drepper <drepper@redhat.com>
46318 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
46321 2010-09-20 Andreas Schwab <schwab@redhat.com>
46323 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
46325 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46327 2010-09-14 Andreas Schwab <schwab@redhat.com>
46329 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
46330 variables after CHECK_SP call.
46331 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
46333 2010-09-13 Andreas Schwab <schwab@redhat.com>
46334 Ulrich Drepper <drepper@redhat.com>
46336 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
46337 re-relocationg ld.so.
46338 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
46339 _dl_init_paths call.
46340 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
46343 2010-09-14 Ulrich Drepper <drepper@redhat.com>
46345 * resolv/res_init.c (__res_vinit): Count the default server we added.
46347 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
46348 Ulrich Drepper <drepper@redhat.com>
46351 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46352 (____longjmp_chk): Use %ebx for saving value across system call.
46355 2010-09-06 Andreas Schwab <schwab@redhat.com>
46357 * manual/Makefile: Don't mix pattern rules with normal rules.
46359 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
46361 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
46363 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
46364 * libio/iofopncook.c (_IO_cookie_init): Likewise.
46365 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
46366 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
46367 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46370 2010-09-04 Ulrich Drepper <drepper@redhat.com>
46373 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
46374 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
46376 2010-09-02 Ulrich Drepper <drepper@redhat.com>
46378 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
46379 * sysdeps/x86_64/addmul_1.S: Likewise.
46380 * sysdeps/x86_64/lshift.S: Likewise.
46381 * sysdeps/x86_64/mul_1.S: Likewise.
46382 * sysdeps/x86_64/rshift.S: Likewise.
46383 * sysdeps/x86_64/sub_n.S: Likewise.
46384 * sysdeps/x86_64/submul_1.S: Likewise.
46386 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
46388 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
46389 Define __sched_param instead of SCHED_* and sched_param when
46390 <bits/sched.h> is included with __need_schedparam defined.
46391 * bits/sched.h [__need_schedparam]
46392 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
46393 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
46394 (__defined_schedparam): Define to 1.
46395 (__sched_param): New structure, identical to sched_param.
46396 (__need_schedparam): Undefine.
46398 2010-08-31 Mike Frysinger <vapier@gentoo.org>
46400 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
46401 (epoll_create1): Declare.
46403 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
46405 2010-08-31 Andreas Schwab <schwab@redhat.com>
46408 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
46409 shifting retval into place.
46411 2010-09-01 Ulrich Drepper <drepper@redhat.com>
46413 * nis/rpcsvc/nis.h: Update copyright notice.
46414 * nis/rpcsvc/nis.x: Likewise.
46415 * nis/rpcsvc/nis_callback.h: Likewise.
46416 * nis/rpcsvc/nis_callback.x: Likewise.
46417 * nis/rpcsvc/nis_object.x: Likewise.
46418 * nis/rpcsvc/nis_tags.h: Likewise.
46419 * nis/rpcsvc/yp.h: Likewise.
46420 * nis/rpcsvc/yp.x: Likewise.
46421 * nis/rpcsvc/ypupd.h: Likewise.
46422 * nis/yp_xdr.c: Likewise.
46423 * nis/ypupdate_xdr.c: Likewise.
46425 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
46426 mainly the body of pmap_getport. Add parameters to specify timeouts.
46427 (pmap_getport): Use __libc_rpc_getport.
46428 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
46429 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
46430 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
46432 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
46434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
46437 2010-08-27 Roland McGrath <roland@redhat.com>
46439 * sysdeps/i386/i686/multiarch/Makefile
46440 (CFLAGS-varshift.c): New variable.
46442 2010-08-27 Ulrich Drepper <drepper@redhat.com>
46444 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
46445 * sysdeps/i386/i686/multiarch/varshift.c: New file.
46447 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
46449 * sysdeps/x86_64/strlen.S: Minimal code improvement.
46451 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
46453 * sysdeps/x86_64/strlen.S: Unroll the loop.
46454 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46455 strlen-sse2 strlen-sse2-bsf.
46456 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46457 __strlen_no_bsf if bit_Slow_BSF is set.
46458 (__strlen_sse42): Removed.
46459 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46460 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46462 2010-08-25 Roland McGrath <roland@redhat.com>
46464 * sysdeps/x86_64/multiarch/varshift.S: File removed.
46465 * sysdeps/x86_64/multiarch/varshift.c: New file.
46466 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46467 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46468 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46469 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46471 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
46473 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46474 strlen-sse2 strlen-sse2-bsf.
46475 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46476 __strlen_sse2_bsf if bit_Slow_BSF is unset.
46477 (__strlen_sse2): Removed.
46478 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46479 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46480 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46481 bit_Slow_BSF for Atom.
46482 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46483 (index_Slow_BSF): Define.
46484 (HAS_SLOW_BSF): Define.
46486 2010-08-25 Ulrich Drepper <drepper@redhat.com>
46489 * resolv/res_init.c (__res_vinit): When no server address at all
46490 is given default to loopback.
46492 2010-08-24 Roland McGrath <roland@redhat.com>
46494 * configure.in: Remove config-name.h generation.
46495 * configure: Regenerated.
46496 * config-name.in: File removed.
46497 * scripts/config-uname.sh: New file.
46498 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46499 ($(objdir)config-name.h): New target.
46501 * sunrpc/rpc_parse.h: Avoid nested comment.
46503 2010-08-24 Richard Henderson <rth@redhat.com>
46504 Ulrich Drepper <drepper@redhat.com>
46505 H.J. Lu <hongjiu.lu@intel.com>
46507 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46508 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46509 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46510 Replace _mm_srli_si128 with __m128i_shift_right. Replace
46511 _mm_alignr_epi8 with _mm_loadu_si128.
46512 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46513 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46514 (__m128i_shift_right): Removed.
46515 * sysdeps/i386/i686/multiarch/varshift.h: New file.
46516 * sysdeps/i386/i686/multiarch/varshift.S: New file.
46517 * sysdeps/x86_64/multiarch/varshift.h: New file.
46518 * sysdeps/x86_64/multiarch/varshift.S: New file.
46520 2010-08-21 Mike Frysinger <vapier@gentoo.org>
46522 * configure.in: Move assembler checks to before sysdep dir checking.
46524 2010-08-20 Petr Baudis <pasky@suse.cz>
46526 * LICENSES: Sync the sunrpc license.
46528 2010-08-19 Ulrich Drepper <drepper@redhat.com>
46530 * sunrpc/auth_des.c: Update copyright notice once again.
46531 * sunrpc/auth_none.c: Likewise.
46532 * sunrpc/auth_unix.c: Likewise.
46533 * sunrpc/authdes_prot.c: Likewise.
46534 * sunrpc/authuxprot.c: Likewise.
46535 * sunrpc/bindrsvprt.c: Likewise.
46536 * sunrpc/clnt_gen.c: Likewise.
46537 * sunrpc/clnt_perr.c: Likewise.
46538 * sunrpc/clnt_raw.c: Likewise.
46539 * sunrpc/clnt_simp.c: Likewise.
46540 * sunrpc/clnt_tcp.c: Likewise.
46541 * sunrpc/clnt_udp.c: Likewise.
46542 * sunrpc/clnt_unix.c: Likewise.
46543 * sunrpc/des_crypt.c: Likewise.
46544 * sunrpc/des_soft.c: Likewise.
46545 * sunrpc/get_myaddr.c: Likewise.
46546 * sunrpc/getrpcport.c: Likewise.
46547 * sunrpc/key_call.c: Likewise.
46548 * sunrpc/key_prot.c: Likewise.
46549 * sunrpc/openchild.c: Likewise.
46550 * sunrpc/pm_getmaps.c: Likewise.
46551 * sunrpc/pm_getport.c: Likewise.
46552 * sunrpc/pmap_clnt.c: Likewise.
46553 * sunrpc/pmap_prot.c: Likewise.
46554 * sunrpc/pmap_prot2.c: Likewise.
46555 * sunrpc/pmap_rmt.c: Likewise.
46556 * sunrpc/rpc/auth.h: Likewise.
46557 * sunrpc/rpc/auth_unix.h: Likewise.
46558 * sunrpc/rpc/clnt.h: Likewise.
46559 * sunrpc/rpc/des_crypt.h: Likewise.
46560 * sunrpc/rpc/key_prot.h: Likewise.
46561 * sunrpc/rpc/netdb.h: Likewise.
46562 * sunrpc/rpc/pmap_clnt.h: Likewise.
46563 * sunrpc/rpc/pmap_prot.h: Likewise.
46564 * sunrpc/rpc/pmap_rmt.h: Likewise.
46565 * sunrpc/rpc/rpc.h: Likewise.
46566 * sunrpc/rpc/rpc_des.h: Likewise.
46567 * sunrpc/rpc/rpc_msg.h: Likewise.
46568 * sunrpc/rpc/svc.h: Likewise.
46569 * sunrpc/rpc/svc_auth.h: Likewise.
46570 * sunrpc/rpc/types.h: Likewise.
46571 * sunrpc/rpc/xdr.h: Likewise.
46572 * sunrpc/rpc_clntout.c: Likewise.
46573 * sunrpc/rpc_cmsg.c: Likewise.
46574 * sunrpc/rpc_common.c: Likewise.
46575 * sunrpc/rpc_cout.c: Likewise.
46576 * sunrpc/rpc_dtable.c: Likewise.
46577 * sunrpc/rpc_hout.c: Likewise.
46578 * sunrpc/rpc_main.c: Likewise.
46579 * sunrpc/rpc_parse.c: Likewise.
46580 * sunrpc/rpc_parse.h: Likewise.
46581 * sunrpc/rpc_prot.c: Likewise.
46582 * sunrpc/rpc_sample.c: Likewise.
46583 * sunrpc/rpc_scan.c: Likewise.
46584 * sunrpc/rpc_scan.h: Likewise.
46585 * sunrpc/rpc_svcout.c: Likewise.
46586 * sunrpc/rpc_tblout.c: Likewise.
46587 * sunrpc/rpc_util.c: Likewise.
46588 * sunrpc/rpc_util.h: Likewise.
46589 * sunrpc/rpcinfo.c: Likewise.
46590 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46591 * sunrpc/rpcsvc/key_prot.x: Likewise.
46592 * sunrpc/rpcsvc/klm_prot.x: Likewise.
46593 * sunrpc/rpcsvc/mount.x: Likewise.
46594 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46595 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46596 * sunrpc/rpcsvc/rex.x: Likewise.
46597 * sunrpc/rpcsvc/rstat.x: Likewise.
46598 * sunrpc/rpcsvc/rusers.x: Likewise.
46599 * sunrpc/rpcsvc/sm_inter.x: Likewise.
46600 * sunrpc/rpcsvc/spray.x: Likewise.
46601 * sunrpc/rpcsvc/yppasswd.x: Likewise.
46602 * sunrpc/rtime.c: Likewise.
46603 * sunrpc/svc.c: Likewise.
46604 * sunrpc/svc_auth.c: Likewise.
46605 * sunrpc/svc_authux.c: Likewise.
46606 * sunrpc/svc_raw.c: Likewise.
46607 * sunrpc/svc_run.c: Likewise.
46608 * sunrpc/svc_simple.c: Likewise.
46609 * sunrpc/svc_tcp.c: Likewise.
46610 * sunrpc/svc_udp.c: Likewise.
46611 * sunrpc/svc_unix.c: Likewise.
46612 * sunrpc/svcauth_des.c: Likewise.
46613 * sunrpc/xcrypt.c: Likewise.
46614 * sunrpc/xdr.c: Likewise.
46615 * sunrpc/xdr_array.c: Likewise.
46616 * sunrpc/xdr_float.c: Likewise.
46617 * sunrpc/xdr_mem.c: Likewise.
46618 * sunrpc/xdr_rec.c: Likewise.
46619 * sunrpc/xdr_ref.c: Likewise.
46620 * sunrpc/xdr_sizeof.c: Likewise.
46621 * sunrpc/xdr_stdio.c: Likewise.
46623 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46626 2010-08-19 Andreas Schwab <schwab@redhat.com>
46628 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46630 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
46632 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
46633 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
46634 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
46635 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
46636 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
46637 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
46638 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
46639 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
46640 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
46641 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
46642 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
46643 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
46644 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
46645 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
46647 2010-07-26 Anton Blanchard <anton@samba.org>
46649 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
46650 * malloc/arena.c (heap_trim): Likewise.
46652 2010-08-16 Ulrich Drepper <drepper@redhat.com>
46654 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
46656 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
46657 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
46659 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
46661 * sysdeps/i386/elf/Makefile: New file.
46663 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46665 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
46666 from fanotify_init.
46667 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
46668 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46670 2010-08-15 Ulrich Drepper <drepper@redhat.com>
46672 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
46674 * sysdeps/multiarch/strcmp.S: Likewise.
46676 2010-08-14 Ulrich Drepper <drepper@redhat.com>
46678 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46679 strncase_l-nonascii.
46680 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46681 Add strncase_l-ssse3.
46682 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
46683 * sysdeps/x86_64/strcmp.S: Likewise.
46684 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
46685 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
46686 * sysdeps/x86_64/strncase.S: New file.
46687 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
46688 * sysdeps/x86_64/strncase_l.S: New file.
46689 * string/Makefile (strop-tests): Add strncasecmp.
46690 * string/test-strncasecmp.c: New file.
46692 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
46695 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
46696 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
46698 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46700 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
46702 2010-08-12 Ulrich Drepper <drepper@redhat.com>
46704 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
46705 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
46706 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
46708 2010-05-01 Alan Modra <amodra@gmail.com>
46710 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
46711 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
46712 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
46713 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
46714 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
46715 tidying. Don't tail-call __sigjmp_save for static lib.
46716 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
46718 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
46719 (CALL_MCOUNT): Add eh info, and nop after bl.
46720 (TAIL_CALL_SYSCALL_ERROR): New macro.
46721 (PSEUDO_RET): Use it.
46722 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46723 Correct save location of integer regs and cr.
46724 (_dl_profile_resolve): Correct cr save location. Delete nops
46725 after bl when SHARED. Reduce cfi size a little by better
46726 placement of cfi directives.
46727 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
46728 make a stack frame. Instead use parm save area as a temp.
46729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
46730 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
46731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46732 Don't make a stack frame for parent, use parm save area.
46733 Increase child stack frame to 112 bytes. Don't save unused reg,
46734 and adjust reg usage. Set up cfi on error recovery and
46735 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
46736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46737 (__makecontext): Add dummy nop after jump to exit.
46738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
46739 Use correct parm save area and cr save, reduce stack frame.
46740 Correct cfi for possible PSEUDO_RET frame setup.
46741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
46742 Branch to local label emitted by PSEUDO_RET rather than
46745 2010-08-12 Andreas Schwab <schwab@redhat.com>
46748 * locale/programs/locale.c (print_assignment): New function.
46749 (show_locale_vars): Use it.
46751 2010-08-11 Ulrich Drepper <drepper@redhat.com>
46753 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
46755 (struct statfs64): Likewise.
46756 (_STATFS_F_FLAGS): Define.
46757 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
46758 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46759 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
46760 (ST_VALID): Define locally.
46761 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
46762 __statvfs_getflags, use the provided value.
46763 * sysdeps/unix/sysv/linux/kernel-features.h: Define
46764 __ASSUME_STATFS_F_FLAGS.
46766 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
46768 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
46769 Add sys/fanotify.h.
46770 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
46771 fanotify_mask for GLIBC_2.13.
46772 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
46773 fanotify_init and fanotify_mark.
46774 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46775 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
46777 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
46779 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
46780 prlimit64 for GLIBC_2.13.
46781 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
46783 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
46785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
46786 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46787 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
46788 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
46789 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
46791 * sysdeps/unix/sysv/linux/prlimit.c: New file.
46794 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
46795 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
46797 * nss/Makefile: Add rules to build and run tst-nss-test1.
46798 * shlib-versions: Add entry for libnss_test1.
46799 * nss/nss_test1.c: New file.
46800 * nss/tst-nss-test1.c: New file.
46802 * nss/nsswitch.c (__nss_database_custom): Define new variable.
46803 (__nss_configure_lookup): Set appropriate entry in
46804 __nss_configure_lookup to true.
46805 * nss/nsswitch.h: Define enum with indeces of databases in
46806 databases and __nss_database_custom arrays. Declare
46807 __nss_database_custom.
46808 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
46809 to avoid using nscd when custom rules are installed.
46810 * nss/getXXbyYY_r.c: Likewise.
46811 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46813 * nss/nss_files/files-parse.c: Whitespace fixes.
46815 2010-08-09 Ulrich Drepper <drepper@redhat.com>
46818 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
46819 * posix/fnmatch_loop.c: Likewise.
46821 2010-07-17 Andi Kleen <ak@linux.intel.com>
46823 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
46824 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
46825 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
46826 * Versions.def [GLIBC_2.13]: Add.
46828 2010-08-06 Ulrich Drepper <drepper@redhat.com>
46830 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46831 Also fail if tpwd after pwuid call is NULL.
46833 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
46835 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
46836 when converting to ms.
46838 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46840 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
46841 EOPNOTSUPP errors with ENOTTY.
46842 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
46843 EOPNOTSUPP errors with ENOTTY.
46845 2010-07-31 Ulrich Drepper <drepper@redhat.com>
46847 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46848 Add strcasecmp_l-ssse3.
46849 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
46851 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
46852 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
46853 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
46855 2010-07-30 Ulrich Drepper <drepper@redhat.com>
46857 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
46859 * string/Makefile (strop-tests): Add strcasecmp.
46860 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46861 strcasecmp_l-nonascii.
46862 (gen-as-const-headers): Add locale-defines.sym.
46863 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
46864 * sysdeps/x86_64/strcasecmp.S: New file.
46865 * sysdeps/x86_64/strcasecmp_l.S: New file.
46866 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
46867 * sysdeps/x86_64/locale-defines.sym: New file.
46868 * string/test-strcasecmp.c: New file.
46870 * string/test-strcasestr.c: Test both ends of the range of characters.
46871 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
46873 2010-07-29 Roland McGrath <roland@redhat.com>
46876 * manual/locale.texi (Yes-or-No Questions): Fix example code.
46878 2010-07-27 Ulrich Drepper <drepper@redhat.com>
46880 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
46883 2010-07-27 Andreas Schwab <schwab@redhat.com>
46885 * manual/memory.texi (Malloc Tunable Parameters): Document
46888 2010-07-26 Roland McGrath <roland@redhat.com>
46891 * configure.in (-fgnu89-inline check): Set and substitute
46892 gnu89_inline, not libc_cv_gnu89_inline.
46893 * configure: Regenerated.
46894 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
46896 2010-07-26 Ulrich Drepper <drepper@redhat.com>
46898 * string/test-strnlen.c: New file.
46899 * string/Makefile (strop-tests): Add strnlen.
46900 * string/tester.c (test_strnlen): Add a few more test cases.
46901 * string/tst-strlen.c: Better error reporting.
46903 * sysdeps/x86_64/strnlen.S: New file.
46905 2010-07-24 Ulrich Drepper <drepper@redhat.com>
46907 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
46908 lower-latency instructions.
46910 2010-07-23 Ulrich Drepper <drepper@redhat.com>
46912 * string/test-strcasestr.c: New file.
46913 * string/test-strstr.c: New file.
46914 * string/Makefile (strop-tests): Add strstr and strcasestr.
46915 * string/str-two-way.h: Don't undefine MAX.
46916 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
46918 2010-07-21 Andreas Schwab <schwab@redhat.com>
46920 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46921 strcasestr-nonascii.
46922 (CFLAGS-strcasestr-nonascii.c): Define.
46923 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
46924 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
46925 Remove unused attribute.
46927 2010-07-20 Roland McGrath <roland@redhat.com>
46929 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
46930 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
46931 ld.so.cache was broken. With it, there is no way to disable dsocaps
46932 like LD_HWCAP_MASK can disable hwcaps.
46934 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46936 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
46938 2010-07-16 Ulrich Drepper <drepper@redhat.com>
46940 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
46941 call in strcasestr.
46942 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
46943 __strcasestr_sse42_nonascii.
46944 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
46945 strcasestr-nonascii.c.
46946 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
46948 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
46950 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
46951 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
46952 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
46953 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
46955 2010-07-09 Ulrich Drepper <drepper@redhat.com>
46957 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
46960 2010-07-06 Andreas Schwab <schwab@redhat.com>
46963 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
46966 2010-07-06 Ulrich Drepper <drepper@redhat.com>
46968 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
46969 _PC_PIPE_BUF using F_GETPIPE_SZ.
46971 2010-07-05 Roland McGrath <roland@redhat.com>
46973 * manual/arith.texi (Rounding Functions): Fix rint description
46974 implicit in round description.
46976 2010-07-02 Ulrich Drepper <drepper@redhat.com>
46978 * elf/Makefile: Fix linking for a few tests to make recent linker
46981 2010-06-30 Andreas Schwab <schwab@redhat.com>
46983 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46984 $(common-objpfx)libc_nonshared.a.
46986 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
46988 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
46989 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
46990 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46991 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46992 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46993 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46994 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46995 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47010 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47011 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47012 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47013 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47014 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47015 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47016 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47017 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47018 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47019 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47020 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47021 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47037 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
47039 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47040 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
47041 * string/memmove.c (memmove): Renamed to ...
47042 (MEMMOVE): ...this. Default to memmove.
47043 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47044 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47046 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47047 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47048 mempcpy-ssse3-back memmove-ssse3-back.
47049 * sysdeps/x86_64/multiarch/bcopy.S: New file .
47050 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47051 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47052 * sysdeps/x86_64/multiarch/memcpy.S: New file.
47053 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47054 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47055 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47056 * sysdeps/x86_64/multiarch/memmove.c: New file.
47057 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47058 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47059 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47060 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47061 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47062 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47064 (index_Fast_Copy_Backward): Define.
47065 (HAS_ARCH_FEATURE): Define.
47066 (HAS_FAST_REP_STRING): Define.
47067 (HAS_FAST_COPY_BACKWARD): Define.
47069 2010-06-21 Andreas Schwab <schwab@redhat.com>
47071 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47072 Restore proper fallback handling.
47074 2010-06-19 Ulrich Drepper <drepper@redhat.com>
47077 * posix/group_member.c (__group_member): Correct checking loop.
47079 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47080 OOM in getpwuid_r correctly. Return error number when the caller
47081 should return, otherwise -1.
47082 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47083 call returning > 0 value.
47084 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47086 2010-06-07 Andreas Schwab <schwab@redhat.com>
47088 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47089 libc_nonshared.a from targets in modules-names.
47091 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
47093 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47096 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
47098 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47099 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47100 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47101 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47103 2010-06-02 Andreas Schwab <schwab@redhat.com>
47105 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47107 2010-06-14 Ulrich Drepper <drepper@redhat.com>
47109 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47111 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47112 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47113 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47114 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47115 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47116 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47118 2010-06-14 Roland McGrath <roland@redhat.com>
47120 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47122 2010-06-07 Jakub Jelinek <jakub@redhat.com>
47124 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47125 __REDIRECT followed by __THROW.
47126 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
47127 * posix/getopt.h (getopt): Likewise.
47129 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47131 * hurd/lookup-at.c (__file_name_lookup_at): Accept
47132 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
47133 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
47135 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
47136 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
47138 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
47140 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
47142 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
47145 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47146 Properly check family and model.
47148 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
47150 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
47152 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
47154 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
47156 2010-05-21 Ulrich Drepper <drepper@redhat.com>
47158 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
47161 2010-05-19 Andreas Schwab <schwab@redhat.com>
47163 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
47166 2010-05-21 Andreas Schwab <schwab@redhat.com>
47168 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
47169 and internal_recvmmsg.
47170 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
47171 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
47172 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
47173 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
47175 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
47176 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47177 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47179 2010-05-20 Andreas Schwab <schwab@redhat.com>
47181 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
47183 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
47185 POWER7 optimizations.
47186 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
47187 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
47189 2010-05-19 Ulrich Drepper <drepper@redhat.com>
47191 * version.h: Update for 2.13 development version.
47193 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
47195 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
47196 exceptions. Return 0.
47198 2010-05-07 Roland McGrath <roland@redhat.com>
47200 * elf/ldconfig.c (main): Add a const.
47202 2010-05-06 Ulrich Drepper <drepper@redhat.com>
47204 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
47205 (args_options): Add no-idn option.
47206 (ahosts_keys_int): Add idn_flags to ai_flags.
47207 (parse_option): Handle 'i' option to clear idn_flags.
47209 * malloc/malloc.c (_int_free): Possible race in the most recently
47210 added check. Only act on the data if no current modification
47213 See ChangeLog.17 for earlier changes.